EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Signal Input; 16-Bit Digital Input Port; Interface; Mcbsp Interface

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
9 Programming Peripheral Interfaces
288
innovators for industry
9.2 Signal Input
Signals of peripherals (for example, signals of a
transport system, workpiece recognition system or
process monitoring camera) can be queried by the
interfaces described below through control
commands at any desired time or during processing
of a list – with list commands.
9.2.1 16-Bit Digital Input Port
The EXTENSION 1 socket connector provides a 16-bit
digital TTL input (DIGITAL IN0…15), see Section
”16-Bit Digital Input Port and 16-Bit Digital
Output Port”, page 78, for receiving 16-bit digital
values. For synchronization of data transmission, the
EXTENSION 1 socket connector outputs a SYNC
signal.
The read_io_port or read_io_port_buffer and
read_io_port_list commands can be used to read the
current value of the digital input port.
Further commands are provided for conditional
command execution, see Chapter 9.3.2 ”Conditional
Command Execution”, page 295.
9.2.2 2-Bit Digital Input Port
For querying 2-bit digital values, the
LASER Connector provides a 2-bit digital input port
(DIGITAL IN1 and DIGITAL IN2), see Section ”2-Bit
Digital Input Port”, page 74.
The input port can be read by get_laser_pin_in.
Further commands are provided for conditional
command execution (see Chapter 9.3.2 ”Conditional
Command Execution”, page 295).
9.2.3 RS-232 Interface
The RS232 socket connector provides an RS-232
interface for reading signals, see Chapter 4.6.5
”RS232 Socket Connector”, page 83.
For configuring the RS-232 interface, see
Chapter 4.6.5 ”RS232 Socket Connector”, page 83.
Data can be read in by rs232_read_data.
9.2.4 McBSP Interface
At the McBSP interface, see Chapter 4.6.6
”McBSP/ANALOG Socket Connector”, page 84, the
32-bit data word most recently fully transmitted to
the specified memory location can be queried with
read_mcbsp.
The interpretation as one 32 bit data word or two 16
bit data words is the responsibility of the user.
Signals (position values) received by the
McBSP interface can also be integrated directly into
Processing-on-the-fly correction of workpiece or
scan-system motion (see Chapter 8.6
”Processing-on-the-fly”, page 242 and Chapter 9.3.4
”Synchronization and Online Positioning by McBSP
Signals”, page 300) or can be used for an
Online Positioning, see Chapter 8.3.1
”“Local Online Positioning“”, page 228 and
Chapter 8.3.2 ”“Global Online Positioning“”,
page 231.
Notes
For signals and operating conditions, see
Chapter 4.6.6 ”McBSP/ANALOG Socket
Connector”, page 84.

Table of Contents