EasyManua.ls Logo

Xinje XD5 - HSC Reset [RST]; Read HSC Value [DMOV]

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
189
5-7-3. HSC reset [RST]
The reset mode of high-speed counter is software reset mode.
CNT HSC0 K12000
M0
M1
RST HSC0
As shown above, when M0 is ON, HSC0 begins to count the pulse input of X0 port; when M1
changes from OFF to ON, HSC0 is reset, and the count value in HSCD0 (double words) is
cleared.
5-7-4Read HSC value [DMOV]
Instruction Summary
Read HSC value to the specified register;
Read 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.
DMOV HSC0 D10
S. D.
When the trigger condition is established, the high-speed count value in the accumulative
register HSCD0 (double words) corresponding to HSC0 of the high-speed counter is read into
the data register D10 (double words).
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
DS
*
K /H
ID
QD
S
Only can be HSC
D
word
FUNCTIONS AND ACTIONS

Table of Contents

Related product manuals