<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for ray1981</title><link href="https://forge.codesys.com/u/ray1981/activity/" rel="alternate"/><id>https://forge.codesys.com/u/ray1981/activity/</id><updated>2022-04-21T20:05:41.672000Z</updated><subtitle>Recent activity for ray1981</subtitle><entry><title>ray1981 posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/870d690884/?limit=25#dc44" rel="alternate"/><published>2022-04-21T20:05:41.672000Z</published><updated>2022-04-21T20:05:41.672000Z</updated><author><name>ray1981</name><uri>https://forge.codesys.com/u/ray1981/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/870d690884/?limit=25#dc44</id><summary type="html">Hello All, Im trying to make a timed loop with a TON and place each second a value in a array. So the counter of the for loop with add each second the new value to the array. But when I run in simmulation mode I would expect to see the array getting new values each second. Unfortunately I only see after a couple of seconds (i.e. the interval loop time) all values appearing. Is this normal behaviour? Im using CodesysV2.3.</summary></entry><entry><title>ray1981 posted a comment on discussion Codesys V2.3 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6f842207f0/?limit=25#1cab" rel="alternate"/><published>2022-04-21T11:10:01.525000Z</published><updated>2022-04-21T11:10:01.525000Z</updated><author><name>ray1981</name><uri>https://forge.codesys.com/u/ray1981/profile/</uri></author><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6f842207f0/?limit=25#1cab</id><summary type="html">Hello All, Im new to the forum and to CoDeSYS. Im trying to create a function block which needs a timer unfortunately all examples I have found do not work I guess I make a beginner error. I hope someone want to help me FOR vCount := 0 TO 1999 DO vVsample[vCount] := INT_TO_REAL(WORD_TO_INT(vVin)); Delay(IN:=TRUE, PT:=T#1S); IF NOT(Delay.Q) THEN RETURN; END_IF Delay(IN:=FALSE); vCount := vCount + 1; END_FOR I use here a delay of 1s for testing purposes at the end it should sample faster. This code...</summary></entry></feed>