RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
346
Ctrl Command control_command
Function Sends a control command. Whether and how the addressed scan system reacts depends
on its properties (among other things, the scan system firmware). See also Comments,
page 347.
Call
control_command( Head, Axis, Data )
Parameters
Head
Scan head connector number of the RTC board.
As an unsigned 32-bit value.
Allowed values:
= 1: The scan system at 1st scan head connector.
= 2: The scan system at 2nd scan head connector.
Axis
Number of the axis.
As an unsigned 32-bit value.
Allowed values:
= 1: x axis (STATUS channel, Galvanometer scanner 2).
= 2: y axis (STATUS1 channel, Galvanometer scanner 1).
Data
Command code with optional parameter. See Chapter 20 ”Appendix E:
iDRIVE Scan Systems – Control Commands and Signals Transmitted to
RTC Boards”, page 941.
As an unsigned 32-bit value.
The upper part (Bit #16…Bit #31) is not evaluated.
The lower part (Bit #0…Bit #15) is evaluated as follows:
• Code
HIGH
The more significant data byte (Bit #8…Bit 15). Represents a command code.
Presented as hexadecimal number “(hex)” in Chapter 20 ”Appendix E:
iDRIVE Scan Systems – Control Commands and Signals Transmitted to
RTC Boards”, page 941.
• Code
LOW
The less significant data byte (Bit #0…Bit #7). Represents an optional
parameter.
Presented as hexadecimal number “(hex)” in Chapter 20 ”Appendix E:
iDRIVE Scan Systems – Control Commands and Signals Transmitted to
RTC Boards”, page 941.
Example: By
Data
= 0501
H,
that is,
Code
HIGH
= 05
(SetMode) and Code
LOW
= 01
the actual position is set as the data type to be transmitted.