RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
440
innovators for industry
Ctrl Command set_laser_control
Function
defines and enables or disables the laser control signals
Call
set_laser_control( Ctrl )
Parameter
Ctrl
(as an unsigned 32-bit value):
Bit #
Description
Bit #0 (LSB)
Pulse Switch Setting (doesn’t apply neither to laser mode 4 nor to laser mode 6):
The setting only affects those laser control signals (more precisely: those LASER1 or LASER2
“laser active” modulation pulses in CO
2
mode or LASER1 Q-Switch pulses in the YAG modes) that are
not yet fully processed at completion of the LASERON signal (see
).
= 0:
The signals are cut off at the end of the LASERON signal.
= 1:
The final pulse will fully execute despite completion of the LASERON signal.
Bit #1
Phase shift of the laser control signals (doesn’t apply neither to laser mode 4 nor to laser mode 6)
= 0:
no phase shift
= 1:
CO
2
mode: The LASER1 signal is exchanged with the LASER2 signal.
YAG modes: The LASER1 is shifted back 180° (half a signal period).
Bit #2
Enabling or disabling of laser control signals for “Laser active” operation
= 0:
The “Laser active” laser control signals will be enabled.
= 1:
The “Laser active” laser control signals will be disabled (then the laser output ports are in the
high impedance tristate mode).
Bit #3
LASERON signal level
= 0:
The signal at the LASERON port will be set to active-high.
= 1:
The signal at the LASERON port will be set to active-low.
Bit #4
LASER1/LASER2 signal level
= 0:
The signals at the LASER1 and LASER2 output ports will be set to active-high.
= 1:
The signals at the LASER1 and LASER2 output ports will be set to active-low.
Bit #5
whether external signal pulses (at the LASER connector’s
DIGITAL IN1 digital input) are to be counted at rising or falling edges:
= 0:
at the falling edge
= 1:
at the rising edge
Bit #6
= 0:
Output synchronization is switched off (default setting).
= 1:
Output synchronization is switched on (see
Bit #7
= 0:
The constant pulse length mode is switched off (default setting).
= 1:
The constant pulse length mode is switched on (see
and
)
Bits #8-15
Reserved.
Bit #16
PowerOK of head A’s X axis is used for laser-signal auto-suppression
Bit #17
TempOK of head A’s X axis is used for laser-signal auto-suppression
Bit #18
PosAck of head A’s X axis is used for laser-signal auto-suppression
Bit #19
PowerOK of head A’s Y axis is used for laser-signal auto-suppression
Bit #20
TempOK of head A’s Y axis is used for laser-signal auto-suppression
Bit #21
PosAck of head A’s Y axis is used for laser-signal auto-suppression
Bit #22
PowerOK of head B’s X axis is used for laser-signal auto-suppression
Bit #23
TempOK of head B’s X axis is used for laser-signal auto-suppression
Bit #24
PosAck of head B’s X axis is used for laser-signal auto-suppression
Bit #25
PowerOK of head B’s Y axis is used for laser-signal auto-suppression
Bit #26
TempOK of head B’s Y axis is used for laser-signal auto-suppression
Bit #27
PosAck of head B’s Y axis is used for laser-signal auto-suppression
Bit #28
= 1:
In case of error, automatic monitoring (laser-signal auto-suppression) will automatically
generate a /STOP signal (list will stop, laser control signals get permanently switched off).
Bits #29-31
Reserved.