EasyManua.ls Logo

Xinje XD Series - AB phase 100-segment HSC[CNT_AB]

Xinje XD Series
456 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...
220
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS. M includes M,HM,SM
S includes S,HS
T includes T,HT
C includes C, HC.
When the high-speed counter HSC0 counts in single-phase mode, high-speed
counting value is compared to data block starting from HD100 (such as HD102,
HD102, HD104 and other double-word registers), it will immediately produce the
corresponding high-speed counting interrupt when the condition is met, each section
of the corresponding interrupt marks please refer to chapter 5-9-4.
During the high-speed counting process, it is invalid to modify the set value of 100
segments.
In the process of high-speed counting, the driving condition M0 can not be
disconnected. If M0 is disconnected and then rebooted, no interruption will occur.
The high-speed counter must be reset first, and thenset ON M0 again to produce
interruption.
When the interrupt is finished in a single execution, if it needs to start the interruption
again, the high-speed counter must be reset first, and then the driving condition must
be ON again.
In interrupt loop mode, interrupts can be generated in sequence as long as M0
remains on state.
5-9-3 AB phase 100-segment HSC[CNT_AB]
1)Summarization
AB phase 100-segment HSC instruction.
AB phase 100-segment HSC [CNT_AB]
16 bits instruction
-
32 bits instruction
CNT_AB
Execution condition
Normal ON/OFF
Suitable model
XD, XL (exclude
XL1, XD1)
Hardware
requirements
-
Software
requirements
-
2)Operands
Operands
Function
Type
S1
Set the HSC (such as:HSC0)
32 bits, BIN
S2
Set the compare value (such as: K100, D0 )
32 bits, BIN
S3
Set the 100-segment setting value
32 bits, BIN
3)Suitable soft components
Description
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series