DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
Fetching the Value in a Hardware Counter
Contents:
1. The special M devices and the Special D devices which are related to the function of fetching
the value in a hardware counter are listed below.
Hardware counter
Fetchinng
signal
of the value in the
Value which
is fetched
C243/C245/C246/C247/C248/C251/C252
X6 M1598
C244/C249/C250/C253/C254 X7 M1599
2. The function needs to be used with an external interrupt (X6 (I600/I601) or X7 (I700/I701)). The
value in a hardware counter is moved to a special D device when there is a transition in a
fetching signal from low to high or form high to low. The setting of an external interrupt
determines when the value in a hardware counter is moved to a special D device.
3. DVP-ES2/EX2/SS2 series PLCs whose firmware version is 3.28 (or above), and DVP-
SA2/SX2 series PLCs whose firmware version is 2.82 (or above) support this function.
4. Example: The value in C243 is fetched when there is a transition in X6’s signal from low to high.
Program in the PLC:
Function Group
When the conditional contacts are closed, execute the ramp-down on the
outputs
Contents:
1. When M1334 or M1335 is enabled, execute API59 PLSR/DPLSR instructions on Y0 or Y2 to
ramp-down when the conditional contacts are closed.
2. When M1334 or M1335 is enabled, execute API158 DDRVI or API159 DDRVA instructions on
CH0 (CH1) to ramp-down when the conditional contacts are closed.
3. Once the conditional contacts are closed, the deceleration stops and the flags M1334 and
M135 are cleared automatically. You need to enable the flags M1334 and M1335 again for next
execution.
4. This function is available for the followings:
Series
ES2/EX2
ES2-C
SS2 12SE 26SE 28SA2
version
(including
later
V3.42 V3.48 V1.00 V2.86 V3.28 V2.02 V1.0 V3.0