2.
Check the operation.
Synchronize (download) the program. Assign any value to variables of two points (X0, Y0,
X1, Y1), and then press SW3. Check that the calculation result is displayed in the Online
value Column of Length.
3.
Go offline. Save and export the project file.
Additional Information
Write the code created in 4 Creating Programs to Handle Data in ST.
Instead of using the MOVE and Inc instructions, you can use ST language that is a
BASIC or C-like language.
•
Ladder programming
•
ST programming (inline ST)
Assigns the right side to the left side
(= MOVE instruction)
Assigns the result of the expression n+1 to n
(= Inc instruction)
105