2. Prog rammi ng Con cep ts
M N050 03003E F or m ore info rm ati on vi sit:
www.eaton.co m
2-45
Example:
LD X0
RST C0
LD X1
CNT
C0 K5
LD C0
OUT Y0
C0
Y0
X1
C0
K5
CNT
X0
C0
RST
When X0=ON, RST instruction will
reset C0. When X1 transitions
OFF
ON, C0 will count up (add 1).
When C0 reaches the preset value
K5, C0 output coil Y0 will = ON and
C0 will stop counting and ignore the
X1 trigger signal.
X0
X1
0
1
2
3
4
5
0
Contacts Y0, C0
C0
present
value
settings
M relays M1200 ~ M1255 are used to set the up/down count direction for C200 ~ C255 respectively.
Setting the corresponding M relay ON will set the counter to count down.
Example:
LD
X10
OUT M1200
LD X11
RST C200
LD X12
CNT
C200 K-5
LD C200
OUT Y0
C200
Y0
X12
C200
K-5
DCNT
X11
C200
RST
X10
M1200
1.
X10 drives M1200 to determine counting direction (up / down) of C200
2.
When X11 goes from OFF to ON, RST instruction will be executed and the present value in
C200 will be cleared and contact C200 is OFF.
3.
When X12 goes from OFF to ON, present value of C200 will count up (plus 1) or count down
(minus 1).
4.
When present value in C200 changes from K-6 to K-5, the contact C200 will be energized.
5.
When present value in C200 changes from K-5 to K-6, the contact of C200 will be reset.
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...