A SERVICE OF

logo

9. Exclusive Commands 1
FROM, TO
- 305 -
Execution conditions
The execution conditions for FROM, TO are as shown below.
ON
Command
Executed per scan
FROM
TO
Executed per scan
OFF
Program example
(1) To read 32 words of data in Area 2 of the FL-net unit (buffer memory address 2000H) and write
them into D0 to D31 of data register. (When the I/O number of FL-net unit is 000.)
Coding
No. of
steps
Com-
mand
Device
10 LD
11 FROM H0
H2000
D0 K32
10
FROM H0 H2000 D0 K32
16
(2) To write 32 words of data in data register D1000 to D1031 into the buffer memory addresses
2040H to 205FH of FL-net unit’s Area 2. (When the I/O number of FL-net unit is 000.)
Coding
No. of
steps
Com-
mand
Device
10 LD
11 TO H0
H2040 D1000
K32
TO H0 H2040 D1000 K32
10
16