Ctrl Command set_auto_laser_control
Function
Initializes or deactivates "Automatic Laser Control", see
Control"", page
ErrorCode = set_auto_laser_control( Ctrl, Value, Mode, MinValue, MaxValue )
Call
Ctrl
Parameters
Value
Mode
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
197.
Control parameter.
As an unsigned 32-bit value.
= 1...7: Defines which signal parameter is corrected by "Automatic Laser
Control".
= 1:
12-bit output value at the
= 2:
12-bit output value at the
= 3:
Output value at the 8-bit digital output port.
= 4:
Pulse length (PulseLength) of the
LASER1 and LASER2.
= 5:
Output period (HalfPeriod) of the
LASER1 and LASER2.
= 6:
Output value at the 16-bit digital output.
= 7:
As 5. However, the pulse distance is geometrically constant
("Spot Distance
= 0 or > 7: Deactivates "Automatic Laser Control"
(for Ctrl > 7:
get_last_error
Defines the 100% value for the parameter selected by Ctrl.
As an 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
1 bit equals 1/64 µs.
For Ctrl = 5:
[0...(2
1 bit equals 1/64 µs.
For Ctrl = 6:
16-bit values [0...65,535].
Higher bits are ignored.
Speed-dependent laser control (Mode =1...5) lets you select which data is to be
used for calculating speed-dependent correction.
As an unsigned 32-bit value.
=1:
Set speed.
=2:
Actual speed (as well as extensions, see below).
=3:
Reserved.
=4:
Reserved.
=5:
Encoder speed (counter pulse rate).
Chapter 7.4.9 ""Automatic Laser
ANALOG OUT1
ANALOG OUT2
Laser Control Signals
Laser Control Signals
Control").
return code RTC6_PARAM_ERROR).
32
–1)].
32
–1)].
output port.
output port.
613
Need help?
Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?