EasyManua.ls Logo

IDEC SmartAXIS Touch FT1A Series

IDEC SmartAXIS Touch FT1A Series
1232 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Script Coding Examples
20-50 SmartAXIS Touch User’s Manual
Indirect assignment
Script
Operation description
When the value of D20 is 8, the value of LDR18, the device 8 words from LDR10, is read and stored in LDR200.
Script
Operation description
When the value of D20 is 3, the constant 1234 is stored in LDR13, the device 3 words from LDR10.
Example 5.7.39 Indirect read
[LDR 200] = OFFSET([LDR 10],[D 20]);
Read
0000LDR10 0008D20
+8
1234LDR181234LDR200
Example 5.7.40 Indirect write
OFFSET([LDR 10],[D 20]) = 1234;
Write
0000LDR10 0003D20
+3
1234LDR131234

Table of Contents

Related product manuals