570
8
8 Electronic Cam8.4 Starting Electronic Cams or Electronic Gears
Startup latency in software startup mode:
Cam enabling
Startup latency
enabling
Number of pulses for
startup latency
P1
… …
P1
Master axis
position
Execution of electronic
cam
Startup latency in event trigger mode:
Cam enabling
Startup latency
enabling
Number of pulses for
startup latency
P1
… …
P1
Master axis
position
Execution of electronic
cam
Trigger signal
8.4.4 Using Comparison Interrupt
You can use comparison instructions to trigger electronic cams or electronic gears by comparison
interrupts.
DHSCS and DHSOS comparison instructions can be used to trigger electronic cams or electronic gears.
DHSCS is an instruction for high speed counter comparison interrupts. It compares a high speed counter
with the counter of the input channel and thereby generates an interrupt.
DHSOS is an instruction for high speed interrupts. It compares the position of the high speed output axis
with the current position of the output axis and thereby generates an interrupt.
For information on usage and parameters of the preceding instructions, see
“5.4.2 HSCS Comparison Setting”
on page 358
and
“5.4.5 DHSOS High-speed Interrupt Comparison Setting” on page 370
.
The following conditions must be met to trigger electronic cams or electronic gears by comparison
interrupts:
●
When SM elements for the startup mode are set to ON, electronic cams or gears will be triggered by
events.
●
When SM elements for the event trigger mode are set to ON, electronic cams or gears will be triggered
by comparison interrupts.
●
SM elements for cam enabling must be ON.
●
The DHSCS or DHSOS instruction species SM elements in event trigger mode.