Scanlab RTC 5 PC Interface Board Installation And Operation Manual page 469

Table of Contents

Advertisement

Ctrl Command set_port_default
Function
defines the default output value for the selected output port.
Call
set_port_default( Port, Value )
Parameters
Port
Value
Comments
• During initialization of the RTC
output ports are set to "–1" (= 2
• If a default value "–1" has been specified for an output port, the port will be set to
this default value as soon as processing of a list has ended with
an external stop signal. For a default value of "–1", the corresponding output port will
not be addressed (any existing high-impedance state of the digital output ports is
retained).
• Default values ("–1") at the output ports 0/1 (ANALOG OUT1 or ANALOG OUT2) will
also be set at the end of pixel output mode (see
• After initialization of position- and/or speed-dependent laser control via
set_auto_laser_control, the corresponding default value (for output port 0, 1, 2 or 3,
depending on the selected laser signal parameter Ctrl), will also be outputted each
time the laser is switched off after marking or when position- and/or speed-dependent
laser control is set to another Ctrl parameter via
vated via
defined as "–1", then the maximum allowable value (4095, 4095, 255 or 65535) will
be outputted.
• If the values for Port is invalid, then set_port_default will not be executed
(get_last_error
• The default values for the output ports 0-2 can also be defined via the command
set_laser_off_default.
®
®
RTC
4 RTC
5 new command
®
In RTC
4 compatibility mode, the RTC
4 (the RTC
References
set_laser_off_default,
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
Selection of the output port for which a default Value shall be defined as an
unsigned 32-bit value; allowed values:
= 0:
ANALOG OUT1 output port (also see
= 1:
ANALOG OUT2 output port (also see
= 2:
8-bit digital output port (also see
= 3:
16-bit digital output port (also see
= 4:
2-bit digital output port (also see
Desired default value as an unsigned 32-bit value; allowed values:
for Port = 0/1: 12-bit values[0 ... 4095], higher bits are ignored.
for Port = 2: 8-bit values [0 ... 255], higher bits are ignored.
for Port = 3: 16-bit values [0 ... (2
for Port = 4: 2-bit values [0 ... 3], higher bits are ignored.
32
For Value = "–1" (= 2
1 = 0xFFFFFFFF), the corresponding default output
functionality is switched off (see comment below).
®
5 (via load_program_file), the default values of all
set_auto_laser_control
return code: RTC5_PARAM_ERROR).
®
4's analog outputs only handled 10-bit values).
set_default_pixel
page
47)
page
47)
page
50)
page
49)
page
46)
16 –
1)], higher bits are ignored.
32 –
1).
page
192).
set_auto_laser_control
(Ctrl = 0) (see
page
141). If the default value is then
®
5 multiplies the specified Value for Port = 0/1 by
stop_execution
or via
or deacti-
469

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?

Related Products for Scanlab RTC 5 PC Interface Board

Table of Contents

Save PDF