Delta AS Series Programming Manual page 569

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
3.
If S
specifies a hardware counter and the value of the specified counter reaches the lower bound (S
1
bound (S
), the DHSZ instruction makes the comparison immediately according to the count direction (up/down).
3
The comparison condition and output state are shown in the following table.
Count direction
Count down
4.
If the device specified by D is Y0.0–Y0.15, the comparison result is output to the external output terminals Y0.0–
Y0.15. Other Y devices are affected by the scan cycle, but this instruction updates all devices immediately and is not
affected by the scan cycle. For PLC with FW V1.06.00 (V1.06.00 included) or later versions, devices Y0.12 ~ Y0.15
are affected by the scan cycle.
5.
Refer to the DHSCS instruction (API 1005) for more information on the high-speed zone comparison.
_6
Example
1.
When D is specified as Y0.10, Y0.11–Y0.12 are also specified automatically.
2.
The instruction compares the current value in HC200 with the upper/lower bound (1500/2000) of the comparison
zone, and one of Y0.10–Y0.12 is ON according to the comparison result.
3.
When the current value in HC200 <1500, Y0.10 is ON. When 1500<= the current value in HC200<2000, Y0.11 is
ON.
When the current value in HC200>=2000, Y0.12 is ON.
6 - 2 9 0
The count value of S
lower bound (S
Count up
The count value of S
upper bound (S
The count value of S
lower bound (S
The count value of S
upper bound (S
Comparison condition
== the
1
)
2
== the
1
)
3
== the
1
)
2
== the
1
)
3
or the upper
2)
D+0 state
D+1 state
D+2 state
OFF
ON
OFF
OFF
ON
OFF
OFF
ON
OFF
ON
OFF
OFF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents