High-Speed Counter - Hdm(98) - Omron SYSMAC C20P Operation Manual

Sysmac programmable controllers
Hide thumbs Also See for SYSMAC C20P:
Table of Contents

Advertisement

Timer and Counter Instructions
Precautions
Flags
5–11–6 High-speed Counter – HDM(98)
Limitations
68
was OFF for II for the last execution. The present value (PV) will be decre-
mented by one whenever CNTR(12) is executed with an ON execution condi-
tion for DI and the execution condition was OFF for DI for the last execution.
If OFF to ON changes have occurred in both II and DI since the last execu-
tion, the PV will not be changed.
If the execution conditions have not changed or has changed from ON to
OFF for both II and DI, the PV of CNT will not be changed.
When decremented from 0000, the present value is set to SV and the Com-
pletion Flag is turned ON until the PV is decremented again. When incre-
mented past the SV, the PV is set to 0000 and the Completion Flag is turned
ON until the PV is incremented again.
CNTR(12) is reset with a reset input, R. When R goes from OFF to ON, the
PV is reset to zero. The PV will not be incremented or decremented while R
is ON. Counting will begin again when R goes OFF. The PV for CNTR(12)
will not be reset in interlocked program sections or for power interruptions.
Changes in II and DI execution conditions, the Completion Flag, and the PV
are illustrated below starting from part way through CNTR(12) operation (i.e.,
when reset, counting begins from zero). PV line height is meant to indicate
changes in the PV only.
Execution condition
ON
on increment (II)
OFF
Execution condition
ON
on decrement (DI)
OFF
ON
Completion Flag
OFF
PV
Program execution will continue even if a non-BCD SV is used, but the SV
will not be correct.
ER:
SV is not in BCD.
Ladder Symbol
HDM(98) N
R
If any of the lower limits for the DM ranges are set to "0000", the correspond-
ing output bits are turned ON when the high-speed counter is reset.
SV
SV – 1
SV – 2
0000
Operand Data Areas
Section 5–11
SV
SV – 1
0001
SV – 2
0000
Definer Values
N: TC number
Must be 47
R: Result word
IR, HR, DM

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents