Delta Electronics AH500 Manual page 65

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

A H 5 00 M o ti on C on tr ol M od ul e Ma nua l
AH05PM-5A
Function
C0~C199
16-bit up
counter
200 counters
C240~C255
32-bit
up/down
16 counters
counter
(Accumulation)
32-bit
high-speed
C200
counter
Characteristics of counters:
Item
Type
General counter
Direction
Counting up
Setting value
0~32,767
Specification
Constant preceded by K, or value
of a setting
stored in a data register
value
If the present value matches the
Change of the
setting value, the counter will stop
present value
counting.
If the present value matches the
Output contact
setting value, the output contact
will be ON.
Resetting of a
If the instruction RST is executed, the present value will becomes zero, and the
contact
contact will be reset to OFF.
Actions of
After the scan of a program is
contacts
complete, the contacts will act.
Functions of counters:
If the input signal of a counter is turned from OFF to ON, and the present value of the counter
matches the setting value, the output coil will be ON. A setting value can be a constant preceded
by K, or the value stored in a data register.
16-bit counter:
1. The setting value of a 16-bit counter must be in the range of K0 to K32,767. (K0 is equal to
K1. If the setting value of a counter is K0 or K1, the output contact will be ON after the
counter counts for the first time.)
2. If a value greater than the setting value of C0 is moved to C0 by means of the instruction
MOV, the contact C0 will be ON, and the present value of the counter will become the setting
value next time X1 is turned from OFF to ON.
3. The setting value of a counter can be a constant preceded by K, or the value stored in a data
register.
4. If the setting value of a counter is a value preceded by K, the setting value can only be a
positive value. If the setting value of a counter is the value stored in a data register, the
setting value can be a positive value or a negative value. If a counter counts up from the
present value 32,767, the next value following 32,767 will be -32,768.
3 - 8
Range
216
If the present value of the counter specified by the
counters
instruction CNT (DCNT) matches the setting value, the
in total
contact represented by the counter will be ON
1 counter
Input contact of C200: X0.8/X0.9
in total
16-bit counter
Remark
32-bit counter
General counter
Counting up/down
-2,147,483,648~+2,147,483,647
Constant preceded by K, or value stored in
two consecutive data registers
Even if the present value matches the setting
value, the counter will keep counting.
Counting up: If the present value matches the
setting value, the output contact will be ON.
Counting down: If the present value matches
the setting value, the output contact will be
reset to OFF.
After the scan of a
program is complete,
the contacts will act.
High-speed counter
If the present value
matches the setting
value, the contact
will be ON.

Advertisement

Table of Contents
loading

Table of Contents