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
Instruction code
Operand
Function
CNT
S1, S2
16-bit counter
Device
X Y M S K 16#
F
KnM KnS
D W
T C V Z
S1
S2
E xp la nat io n
When the counter coil specified by the instruction CNT is turned from
OFF to ON, the counter value increases by 1. If the counter value
matches the setting value (counter value=setting value), the contact
specified will act in the way described below.
NO (Normally-open) contact
OFF
NC (Normally-closed) contact
ON
If there are pulses sent to the counter specified by the instruction CNT
after the counter value matches the setting value, the state of the
contact specified and the counter value will remain unchanged.
E xa mple
Ladder diagram
X0.0
C20
CNT
K100
Instruction code: Description:
LD X0.0
Loading the Form
A contact X0.0
CNT C20 K100
The setting value
in the counter
C20 is K100.
Instruction code
Operand
Function
DCNT
S1, S2
32-bit counter
Device
X Y M S K 16#
F
KnM KnS
D W
T C V Z
S1
S2
E xp la nat io n
C200~C220 are special counters. Please refer to chapter 10 for more
information.
DCNT is an instruction which is used to enable the 32-bit counters
C200~C255.
C221~C2255 are general up/down counters. When the counter coil
specified by the instruction DCNT is turned from OFF to ON, the counter
value increases or decreases by one according to the setting of
SM221~SM255.
E xa mple
Ladder diagram
M0
C254
DCNT
K1000
Instruction code:
Description:
LD M0
Loading the Form
A contact M0
DCNT C254 K1000
The setting value
in the counter
C254 is K1000.
4 - 1 0
Содержание 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...