C h a p t e r 3 D e v i c e s
Example:
LD X0.0
RST C0
LD X0.1
CNT
C0 K5
LD C0
OUT Y0.0
C0
Y0.0
X0.1
C0
K5
CNT
X0.0
C0
RST
1. If X0.0 is ON, the instruction RST will be executed, the present value of C0 will become zero,
and the output contact will be reset to OFF.
2. If X0.1 is turned from OFF to ON, the present value of the counter will increase by one.
3. If the present value of C0 matches the setting value K5, the contact C0 will be ON (Present
value of C0=Setting value=K5). K5 will be retained even if X0.1 is turned from OFF to ON
again.
X0 .0
X0 .1
Y0 .0, C0 c ont act
Pres en t v alue of C0
0
1
2
3
4
5
S etti ng val ue
0
32-bit up/down counter:
1. The setting value of a 32-bit general up/down counter must be in the range of K-2,147,483,648
to K2,147,483,647. The states of the special auxiliary relays SM240~SM255 determine
whether the 32-bit general up/down counters C240~C255 count up or count down. For
example, C240 will count up if SM240 is OFF, and C240 will count down if SM240 is ON.
2. The setting value of a 32-bit up/down counter can be a constant preceded by K, or the value
stored in two consecutive data registers. A setting value can be a positive value, or a negative
value.
3. If a power cut occurs when a general counter counts, the present value of the counter will be
cleared. If a power cut occurs when a latching counter counts, the counter value and the state
of the contact which are before the power cut will be retained, and the latching counter will not
continue to count until power is restored.
4. If a counter counts up from the present value 2,147,483,647, the next value following
2,147,483,647 will be -2,147,483,648. If a counter counts down from the present value
-2,147,483,648, the next value following -2,147,483,648 will be 2,147,483,647.
3 - 9
Содержание AH500
Страница 9: ...viii...
Страница 52: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Panasonic CN5 series servo drive 2 31...
Страница 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Страница 54: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Mitsubishi MJR2 series servo drive 2 33...
Страница 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Страница 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Страница 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Страница 376: ...Chapter 6 Data Transmission Table of Contents 6 1 Functions 6 2 6 2 Parameters 6 2 6 3 Usage 6 5 6 1...
Страница 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Страница 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Страница 436: ...Chapter 8 Electronic Cam 8 17...
Страница 482: ...Chapter 10 High speed Counters and High speed Timers 3 The cyclic mode is used to measure a frequency 10 7...
Страница 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Страница 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Страница 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Страница 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...
Страница 547: ...AH500 Motion Control Module Manual A 4 MEMO...