EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Set_Port_Default

Scanlab RTC6 PCIe Board
1004 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
716
innovators for industry
Ctrl Command set_port_default
Function Defines the default output value for the selected output port.
Call
set_port_default( Port, Value )
Parameters
Port
Output port for which a default
Value
is to be defined.
As an unsigned 32-bit value.
Allowed values:
= 0: ANALOG OUT1 output port.
See also Section ”12-Bit Analog Output Port 1 and 2”, page 74.
= 1: ANALOG OUT2 output port.
See also Section ”12-Bit Analog Output Port 1 and 2”, page 74.
= 2: 8-bit digital output port.
See also Section ”8-Bit Digital Output Port”, page 81.
= 3: 16-bit digital output port.
See also Section ”16-Bit Digital Input Port and 16-Bit Digital Output Port”,
page 78.
= 4: 2-bit digital output port.
See also Section ”2-Bit Digital Output Port”, page 74.
Value
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…65,535]. Higher bits are ignored.
For
Port
= 4: 2-bit values [0…3]. Higher bits are ignored.
For
Value
= “–1“ (= 2
32
–1 = 0xFFFFFFFF), the corresponding default output
functionality is switched off (see comment below).
Comments During initialization of the RTC6 (by load_program_file), the default values of all
output ports are set to “–1“ (= 2
32
–1).
If a default value “–1“ has been specified for an output port, it is set to this default
value as soon as processing of a list has ended with stop_execution or by an External
Stop. For a default value of “–1”, the corresponding output port is not addressed (any
existing high-impedance state of the digital output ports is retained).
Default values (“–1“) at the output ports 0…3 are also set at the end of Pixel Output
Mode, see Chapter 8.7 ”Pixel Output Mode”, page 263.
After initialization of position-dependent or speed-dependent laser control by
set_auto_laser_control, the corresponding default value (for output port 0, 1, 2 or 3,
depending on the selected laser control signal parameter
Ctrl
), is also outputted when
the laser is switched off after marking or when position-dependent or speed-
dependent laser control is set to another
Ctrl
parameter by set_auto_laser_control or
deactivated by set_auto_laser_control (
Ctrl
= 0), see Chapter 7.4.1 ”Enabling,
Activating and Switching Laser Control Signals”, page 184 and Section ”General
Notes”, page 198. If the default value is set to “–1”, then the maximum allowed value
(4095, 4095, 255 or 65,535) is outputted.

Table of Contents