AS Ser ies Pro gra mm in g M anu al
Timer and counter instructions
Instruction code
API
16-bit
1000
RST
1001
TMR
1002
TMRH
_3
1003
CNT
─
1004
─
1005
─
1006
─
1007
─
1008
1009
PWD
─
1010
1011
TMRM
1012
IETS
1013
IETE
─
1014
1015
PPDT
3 - 2 4
Pulse
instruction
32-bit
─
DRST
─
─
─
─
─
─
─
DCNT
─
DHSCS
─
DHSCR
─
DHSZ
─
DSPD
─
─
─
DCAP
─
─
─
─
─
DHSCY
─
─
Symbol
Resetting the contact to OFF or clearing
the value in the register
16-bit timer (Unit: 100ms)
16-bit timer (Unit: 1ms)
16-bit counter
32-bit counter (Including the use of high-
speed counters)
Setting high-speed comparison
Resetting high-speed comparison
High-speed input zone comparison
Speed detection
Pulse width detection
Capturing the high-speed count value in
the external input interrupt
16-bit timer (Unit: 10ms)
The start of the instruction execution time
measurement
The end of the instruction execution time
measurement
Cyclic counting, comparing and outputting
Detecting the time difference between two
phases
Function