EasyManua.ls Logo

Inovance H3U Series - Page 360

Inovance H3U Series
737 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...
359
5
5 High-speed Input 5.4.2 HSCS Comparison Setting
[S2] variables must be high-speed counters C252–C254. As all counters involved are 32-bit counters, the
32-bit instruction DHSCS must be used.
C252 and other 32-bit high-speed counters:
Set value Remarks
C252 Corresponding to X axis
C253 Corresponding to Y axis
C254 Corresponding to Z axis
[D] is the storage unit for the comparison result and can also be used to call counter interrupt subprograms
and start electronic cams.
When it is Y0 to Y17 port, the result is immediately output; when it is a port with the number greater
than Y20, the result is output after the user program is scanned; for M, S, or SM variable, the result is
immediately refreshed.
When [D] is I010 to I080, 0–7 input interrupt subprograms of the high-speed counter are called. The
corresponding interrupt subprograms must be programmed and the corresponding "Enable Interrupts" and
"Enable Global Interrupts" ags must be turned on before timer interrupts are triggered. When M8059 is set
to ON, all high-speed counter interrupts (I010–I080) are disabled.
When [D] is SM60, SM160, or SM260, electronic cams are immediately started provided that the
corresponding cam conguration (see 8 Electronic Cam) must have been programmed.
Set value Interrupt output result
Y, M, and S Bit element output
I interrupts High-speed counter interrupts
SM60 Starting X-axis electronic cam
SM160 Starting Y-axis electronic cam
SM260 Starting Z-axis electronic cam
For details about starting electronic cams, see
“8.4 Starting Electronic Cams or Electronic Gears” on page 568
.
1
)
Note:
Like common instructions, DHSCS, DHSCR, and DHSZ can be executed repeatedly, but there should be less than
eight simultaneously active instructions. Only one DHSZ instruction in special mode (high-speed table comparison
mode or frequency control mode) can be active.
Comparison objects of DHSCS, DHSCR, DHSZ, DHSOS, and DHSOR instructions (see the description of
comparison objects below) include high-speed counters, position values of high-speed outputs, and position
values of electronic cams. Comparison objects of high-speed interrupt comparison instructions driven by one axis
must be consistent; otherwise, errors will be reported. The following describes comparison objects:
Interrupt Comparison Object
1
Interrupt Comparison
Object 2
Interrupt Comparison
Object 3
Remarks
C252
(DHSCS, DHSCR, and DHSZ
instructions are driven)
K0
(DHSOS and DHSOR
instructions are driven)
K11
(DHSOS and DHSOR
instructions are driven)
The instructions cannot be driven
simultaneously but at different time.
C253
(DHSCS, DHSCR, and DHSZ
instructions are driven)
K1
(DHSOS and DHSOR
instructions are driven)
K12
(DHSOS and DHSOR
instructions are driven)
The instructions cannot be driven
simultaneously but at different time.
C254
(DHSCS, DHSCR, and DHSZ
instructions are driven)
K2
(DHSOS and DHSOR
instructions are driven)
K13
(DHSOS and DHSOR
instructions are driven)
The instructions cannot be driven
simultaneously but at different time.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals