Delta AS Series Programming Manual page 792

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Symbol
Explanation
1.
This instruction is for AS02HC-A only. It is used for comparing the counter value in a cyclic manner and once the value
is matched, the set action is taken. When the last group is done for comparison, set the counter value as the first
compared value and the comparison goes back to the first group.
2.
This instruction can only work for one direction. If you change the direction in the middle of instruction execution, the
result may be incorrect. Up to 10 compared values can be set. You need to arrange the values (should be non-identical)
in order, either ascending or descending. When in ascending order, the counting method is count-up and the values
used should be positive integer numbers. When in descending order, the counting method is count-down and the
values used should be negative integer numbers. When the counter value matched the compared value, the output
points or the counter react according to your settings.
3.
This instruction is available for PLC with FW V1.08.or later and ISPSoft V3.10 or later.
4.
Use this instruction with DHCCNT instruction. When executing DHCCNT instruction, the counting starts. And then you
can use DHCCMPT instruction to do the comparison.
5.
Before executing this instruction, you need to set up CmpLen, CompS, ActionS, YnoS and InoS. Once En is
activated, the PLC scans the values in CmpLen, CompS, ActionS, YnoS and InoS immediately.
6.
You can edit the values in CmpLen, CompS, ActionS, YnoS and InoS during operation. Set new values and set the
Update to ON. Once the values are updated, the flag of Update switches to OFF automatically.
7.
Module: The module number that is connected to the right side of PLC directly or connected to the remote module
that acts as PLC, e.g. the first connected module is module number 1, the second connected module is module number
2. Up to 32 modules can be connected and counted and each type of modules should be included in the count.
8.
ChNo: Channel number for counter, channel 1 is number 1; channel 2 is number 2.
9.
CmpLen: the data length for comparison in a cycle; the setting range is 2~10. When the setting value is out of the
range, the system cannot execute the instruction and an error code appears.
: Module number
Module
: Channel number
ChNo
: Parameter updating flag
Update
CmpLen :
Data length for comparison
CompS :
Compared value (32-bit)
: Actions to take when the Compsis ON
ActionS
: Number of output point to output when the Compsis ON
YnoS
: Number of interrupt to be executed when the Compsis ON
InoS
: Current group number for comparison
CurNo
: Error flag
Error
: Error code
ErrCode
Cha p ter 6 App l ied Ins truc tio ns
6_
6-513

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents