7.LADDER DIAGRAM
88
7. LADDER DIAGRAM
The following is a sample ladder program using a F159 (unit No.0) and CJ1
series. This program sets initial values to parameters required to carry out
weighing process, and writes and reads Final using R/W and request signal.
A200.11
000000
MOV
(
021
)
#0
D20000
Weighing setting data
(
000000
)
Upper limit
MOV
(
021
)
#0
D20001
Upper limit
MOV
(
021
)
#0
D20002
Lower limit
MOV
(
021
)
#0
D20003
Lower limit
MOV
(
021
)
#0
D20004
Near zero
MOV
(
021
)
#0
D20005
Near zero
MOV
(
021
)
#0
D20006
Set point 1
MOV
(
021
)
#0
D20007
Set point 1
MOV
(
021
)
#0
D20008
Set point 2
MOV
(
021
)
#0
D20009
Set point 2
MOV
(
021
)
#0
D20010
FF CPS.
MOV
(
021
)
#0
D20011
Over
MOV
(
021
)
#0
D20012
Under
write
(lower 4 digits)
(upper 1 digit)
(lower 4 digits)
(upper 1 digit)
(lower 4 digits)
(upper 1 digit)
(lower 4 digits)
(upper 1 digit)
(lower 4 digits)
)
(upper 1 digit)
P_First_Cycle
ON flag is set to allow
single cycle execution