A H 5 0 0 M o t i o n C o n t r o l M o d u l e M a n u a l
Example:
LD X1.0
OUT SM255
LD X1.1
RST C255
LD X1.2
DCNT
C255 K-5
LD C255
OUT Y0.0
C255
Y0.0
X1.2
C255
K-5
DCNT
X1.1
C255
RST
X1.0
SM 255
1. SM255 is driven by X1.0. The state of SM255 determines whether C255 counts up or counts
down.
2. If X1.1 is turned form OFF to ON, the instruction RST will be executed, the present value of
C255 will become 0, and the contact will be OFF.
3. If X1.2 is turned form OFF to ON, the present value of the counter will increase by one or
decrease by one.
4. If the present value of the counter C255 increases from K-6 to K-5, the contact C255 will be
turned form OFF to ON. If the present value of the counter C255 decreases from K-5 to K-6,
the contact C255 will be turned from ON to OFF.
5. If a value greater than the setting value of C255 is moved to C255 by means of the instruction
MOV, the contact C255 will be ON, and the present value of the counter will become the
setting value next time X1.1 is turned from OFF to ON.
X1 .0
X1 .1
X1 .2
The o utpu t
c onta ct is ON.
Y0 .0, C2 55
Cont ac t
C255 cou nts .
Pres en t v alue
In crea sing
In crea sing
Dec reas ing
0
1
2
3
4
5
4
3
2
1
0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
0
- 7
- 6
- 5
- 4
- 3
3 - 1 0
Summary of Contents for AH500
Page 9: ...viii...
Page 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Page 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Page 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Page 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Page 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Page 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Page 436: ...Chapter 8 Electronic Cam 8 17...
Page 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Page 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Page 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Page 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...