innovators for industry
RTC
®
4 PC Interface Board
Rev. 1.3 e
103
Ctrl Command select_rtc
Function
defines the active RTC
®
4 board in a multi-board system. See
Parameter
CardNo
number of the RTC
®
4 board
Integration
Pascal:
procedure select_rtc(CardNo: word);
C:
void select_rtc(unsigned short CardNo);
Basic:
sub select_rtc(ByVal CardNo%)
Comments
• All subsequent commands (except for multi-board commands) are sent to the specified
RTC
®
4 board.
• By default, all commands are sent to board number 1.
Ctrl Command set_control_mode
Function
enables or disables the external control input /START (and /START2, if the Processing-on-
the-fly option is installed). See
"External Control Inputs", page 13
Parameter
control_mode
(unsigned 16-bit value):
Bit #
Value
Description
Bit #0 (LSB)
= 1:
The external start input is enabled.
The external
start
signal corresponds to the command
or
The external
stop
signal corresponds to the command
= 0:
no external start signal
Bit #1
not used
Bit #2
= 1:
The
external start delay
(encoder delay) is turned off.
See the supplement manual
"Processing-On-The-Fly Software"
, commands
.
= 0:
No effect. To turn on the external start delay, use the command
Bit #3
= 1:
The external start input is
not
disabled by an external stop request.
= 0:
The external start input is disabled by an external stop request.
Bits #4 … #15
not used
Integration
Pascal:
procedure set_control_mode(control_mode: word);
C:
void set_control_mode(unsigned short control_mode);
Basic:
sub set_control_mode(ByVal control_mode%)
Comments
• The command
resets the counter for external list starts to zero.
• If execution is aborted by the command
, bit #0 is reset to zero, i.e.
external start inputs are disabled.
References
,
List Command
set_control_mode_list
Function
similar to
(see above), but a list command
Integration
Pascal:
procedure set_control_mode_list(control_mode: word);
C:
void set_control_mode_list(unsigned short control_mode);
Basic:
sub set_control_mode_list(ByVal control_mode%)
Comments
• The counter for external list starts is
not
reset by this command.
References