<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for mak1891</title><link href="https://forge.codesys.com/u/mak1891/activity/" rel="alternate"/><id>https://forge.codesys.com/u/mak1891/activity/</id><updated>2022-09-14T12:52:36.815000Z</updated><subtitle>Recent activity for mak1891</subtitle><entry><title>mak1891 posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/363b69368e/?limit=25#c199" rel="alternate"/><published>2022-09-14T12:52:36.815000Z</published><updated>2022-09-14T12:52:36.815000Z</updated><author><name>mak1891</name><uri>https://forge.codesys.com/u/mak1891/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/363b69368e/?limit=25#c199</id><summary type="html">Hello guys. New to codesys here, and trying to write into a position. What i want is the following: For the positions between 42 and 60, if tool "status" is valid, that tool gets the positions number, if not continue. My code does not work, i get values between 45 and 65. Code: //====================Write Tool Numbers X3 ================= FOR X3:=42 TO 60 DO FOR Index3:=1 TO 22 DO IF DbAutomatic.PosX3.Index = 3 THEN IF DbAutomatic.PosX3.Status[Index3] THEN DbAutomatic.PosX3.ToolNumber[Index3]:=X3;...</summary></entry></feed>