Ctrl Command set_auto_laser_control
Function
initializes or deactivates position- and/or speed-dependent or encoder-speed-dependent laser
control
Call
ErrorCode = set_auto_laser_control( Ctrl, Value, Mode, MinValue, MaxValue )
Parameters
Ctrl
Value
Mode
MinValue
MaxValue
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
Control parameter (unsigned 32-bit value) for initializing or deactivating position-
and/or speed-dependent or encoder-speed-dependent laser control:
= 1 ... 6: defines which signal parameter will be automatically corrected via position-
and/or speed-dependent or encoder-speed-dependent laser control:
= 1:
12-bit output value at the ANALOG OUT1 output port
= 2:
12-bit output value at the ANALOG OUT2 output port
= 3:
output value at the 8-bit digital output port
= 4:
pulse length (PulseLength) of the laser signals LASER1 and LASER2
= 5:
output period (HalfPeriod) of the laser signals LASER1 and LASER2
= 6:
output value at the 16-bit digital output
= 0 or > 6: deactivates position-, speed- and encoder-speed-dependent laser control
(for Ctrl > 6:
get_last_error
defines the 100% value for the parameter selected via Ctrl (unsigned 32-bit value);
allowed values:
for Ctrl = 1/2: 12-bit values [0 ... 4095], higher bits are ignored.
for Ctrl = 3: 8-bit values [0 ... 255], higher bits are ignored.
for Ctrl = 4: [0 ... (2
for Ctrl = 5: [0 ... (2
for Ctrl = 6: 16-bit values [0 ... (2
Control parameter (unsigned 32-bit value) for initializing or deactivating speed-
dependent or encoder-speed-dependent (but not position-dependent) laser control.
Speed-dependent laser control (Mode =1...5) lets you select which data is to be used
for calculating speed-dependent correction.
=1:
set velocity (for all scan systems)
=2:
queried actual velocity (only with iDRIVE
®
intelliSCAN
intelliWELD
=3:
Reserved.
=4:
Reserved.
=5:
encoder speed (counter pulse rate)
= 0 or > 5: deactivates speed-dependent and encoder-speed-dependent laser
control (for Mode > 5:
get_last_error
defines the lower range limit of the parameter selected via Ctrl for automatic
correction and that cannot be undercut (unsigned 32-bit value);
allowed values: see Value
defines the upper range limit of the parameter selected via Ctrl for automatic
correction and that cannot be exceeded (unsigned 32-bit value);
allowed values: see Value
return code RTC5_PARAM_ERROR)
32
1)], 1 bit equals 1/64 µs
–
32
1)], 1 bit equals 1/64 µs
–
16
1)], higher bits are ignored.
–
®
, intelliSCAN
, intelliDRILL
de
®
, varioSCAN
)
de
return code RTC5_PARAM_ERROR)
®
scan systems:
®
®
, intellicube
,
407
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?