190
High-speed counter can not directly participate in any application instructions or data
comparison instructions (such as DMUL, LD > etc.) except DMOV, but can only be carried
out after reading and writing into other registers.
As high speed counter is double words counter, so it must use 32-bit instruction DMOV.
DMOV often uses together with high speed counter.
Program example:
SM0
DMOV HSC0
D10
D≥
D10 K1000
( )
D≥
D20 K1000
S
CNT_AB HSC0 K999999999
SM0
DMOV HSC2
D20
CNT_AB HSC2 K999999999
Y0
5-7-5.Write HSC value [DMOV]
Instruction Summary
Write the specified register value into HSC;
Normally ON/OFF,
rising/falling edge
XD, XL (exclude XD1,
XL1)
Specify the read/written register
suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.