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:
SM 0
DMOV
HSC0
D10
D
≥
D10
K1000
(
)
D
≥
D20
K1000
S
CNT_AB
HSC0
K999999999
SM 0
DMOV
HSC2
D20
CNT_AB
HSC2
K999999999
Y0
5-7-5
.
Write HSC value [DMOV]
Instruction Summary
Write the specified register value into HSC;
Write HSC value [DMOV]
16 bits
Instruction
-
32 bits
Instruction
DMOV
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable models XD, XL (exclude XD1,
XL1)
Hardware
requirement
Software
requirement
-
operands
Operands Function
Type
S
Specify HSC code
32 bits, BIN
D
Specify the read/written register
32 bits, BIN
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.
Operand
System
Constant Module
D
*
FD
TD
*
CD
*
DX
DY
DM
DS
*
K /H
ID
QD
S
●
●
D
Only can be HSC
word
Содержание XD Series
Страница 1: ...XD XL series PLC User manual Instruction WUXI XINJE ELECTRIC CO LTD Data No PD05 20201022 3 5 ...
Страница 210: ...209 ...
Страница 314: ...313 B Double click the middle part to modify ...