Program example
(1) Program to set Y8B (ON) when X8 turns ON, and reset Y8B (OFF) when X9 turns ON.
X9
10
X8
12
X8 (SET input)
X9 (RST input)
Y8B
RST
Y8B
SET
Y8B
ON
OFF
OFF
ON
OFF
Operation of SET and RST commands
- 55 -
Coding
No. of
Com-
steps
mand
10
LD
11
RST
12
LD
13
SET
14
ON
SET
Device
X9
Y8B
X8
Y8B