EasyManua.ls Logo

Panasonic FP-E - Page 393

Panasonic FP-E
1334 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...
High−level Instructions
3 − 129
Precautions when using two or more comparison instructions
The comparison instruction flags R900A to R900C are updated with each execution of the comparison
instruction.
If you use two or more comparison instructions in your program, be sure to use the flags immediately after
each comparison instruction, by employing output relays or internal relays.
Example: Compares DT0 with K100, and DT1 with K200.
Y10
Y11
Y12
R0
R0
R0
R0
F60 CMP, DT 0, K 100
R900A
R900B
R900C
Y13
Y14
Y15
R1
R1
R1
R1
F60 CMP, DT 1, K 200
R900A
R900B
R900C
b)
c)
a)
d)
The comparison result for a) is output to the output relays
(Y10, Y11, and Y12) of program b).
The comparison result for c) is output to the output relays
(Y13, Y14, and Y15) of program d).
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com