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 chapter 5.4, page 43.
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 execute_list_1 or
execute_list_2. See select_list (page 102).
The external stop signal corresponds to the command stop_execution.
= 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
simulate_ext_start (page 14) and set_ext_start_delay (page 10).
= 0: No effect. To turn on the external start delay, use the command
set_ext_start_delay or simulate_ext_start.
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 set_control_mode resets the counter for external list starts to zero.
• If execution is aborted by the command stop_execution, bit #0 is reset to zero, i.e.
external start inputs are disabled.
References select_list, get_counts, set_max_counts
List Command set_control_mode_list
Function similar to set_control_mode (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 set_control_mode