![Xinje XD Series Скачать руководство пользователя страница 188](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444188.webp)
187
5-7
.
HSC instruction
This section introduces the usage of single-phase high-speed counting instruction (CNT), AB-
phase high-speed counting instruction (CNT_AB), reset of high-speed counting, reading and
writing of high-speed counting.
5-7-1
.
Single phase HSC [CNT]
Instruction Summary
Single phase HSC instruction.
Single phase HSC [CNT]
16 bits Instruction
-
32 bits Instruction
CNT
Execution
condition
Normally ON/OFF
coil
Suitable models
XD, XL
Hardware
requirement
Software
requirement
-
Operands
Operands Function
Type
S
Specify HSC code (Eg. HSC0)
32 bits, BIN
D
Specify the compare value (Eg. K100, D0)
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.
CNT
HSC0
D20
S1.
S2.
M0
When M0 is on, HSC0 counts X0 signal in single phase mode, compares the high-speed
counting value with the value set in register D20. When the high-speed counting value is
equal to the set value, HSC0 coil is set on immediately, and the counting value is
accumulated in HSCD0 (double words).
If the driving condition M0 is not disconnected, HSC0 will remain on state and continue
counting, and the counting value in HSCD0 will continue to accumulate.
If the driving condition M0 is disconnected, HSC0 will remain on state and the counting
value in HSCD0 will remain unchanged.
During the counting process, if M0 is disconnected and connected again, the values in
HSCD0 will continue to accumulate after the last counting value.
Operand
System
Constant Module
D
*
FD
TD
*
CD
*
DX
DY
DM
DS
*
K /H
ID
QD
S1
Only can be HSC
S2
●
●
word
FUNCTIONS AND ACTIONS
Содержание 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 ...