7. Basic Commands
SFT, SFTP
- 137 -
SFT input OFF
SFT command
ON
SFTP command
Executed per scan Executed per scan
Program example
(1) Program to shift the data of Y57 to Y5B when X8 turns ON.
SFT
Y5B
SFT Y5A
SFT Y59
SFT Y58
PLS M8
X7
M0
(pules coding)
SET Y57
M8
Shifting is executed when M0 turns ON.
(program from the largest device No.)
X57 is turned ON when X7 turns ON.
23
25
9
PLS
M0
X8
6
Coding
No. of
steps
Com-
mand
Device
6 LD X8
7 PLS M0
9 LD M0
10 SFT Y5B
13 SFT Y5A
16 SFT Y59
19 SFT Y58
22 LD X7
23 PLS M8
25 LD M8
26 SET Y57
M0
X7
Y57
Y58
Y59
Y5A
Y5B
27