EasyManua.ls Logo

IDEC WindO/I-NV4 - Page 1215

IDEC WindO/I-NV4
1738 pages
Print Icon
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...
WindO/I-NV4 User’s Manual 20-59
5 Script Coding Examples
20
Script
Indirect assignment
Script
Operation description
When the value of D20 is 8, the value of LDR18, the device address 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 address 3 words from LDR10.
Example 5.7.36 Indirect read
[LDR 200] = OFFSET([LDR 10],[D 20]);
Read
0000LDR10 0008D20
+8
1234LDR181234LDR200
Example 5.7.37 Indirect write
OFFSET([LDR 10],[D 20]) = 1234;
Write
0000LDR10 0003D20
+3
1234LDR131234

Table of Contents