IDEC FT1A Series User Manual page 338

Hide thumbs Also See for FT1A Series:
Table of Contents

Advertisement

13: S
CRIPTS
Indirect assignment
Example 7.29 Indirect read
Script
[D0200] = OFFSET([D0010],[D0020]);
Operation Description
When the value of D0020 is 8, the value of D0018, the device 8 words from D0010, is read and stored in D0200.
D0010
D0200
1234
D0018
Read
Example 7.30 Indirect write
Script
OFFSET([D0010],[D0020]) = 1234;
Operation Description
When the value of D0020 is 3, the constant 1234 is stored in D0013, the device 3 words from D0010.
D0010
1234
D0013
Write
13-34
0000
D0020
0008
+8
1234
0000
D0020
0003
+3
1234
S
AXIS P
/L
MART
RO
U
'
M
FT9Y-B1378
ITE
SER
S
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents