RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
620
Ctrl Command set_control_mode
Function Enables or disables the external control input and resets the counter for External Starts to
zero.
Call
set_control_mode( Mode )
Parameters
Mode
As an unsigned 32-bit value.
Bit # Value Description
Bit #0
(LSB)
= 1: The external start input (by /START, /START2 or /Slave-START)
is enabled.
= 0: The external start input is disabled.
Bit #1 = 1: With an External Stop (/STOP, /STOP2, /Slave-STOP or
simulate_ext_stop) causes explicit cancellation of the
external start queue entries (/START, /START2, /Slave-START
or simulate_ext_start).
= 0: No effect.
Bit #2 = 1: The track delay (defined by simulate_ext_start,
set_ext_start_delay or set_ext_start_delay_list) that
postpones execution of the start relative to the triggering
input signal or simulate_ext_start or
simulate_ext_start_ctrl command (see Section ”External
Start”, page 290) is deactivated.
= 0: No effect. To define and activate the track delay (for
example, for Processing-on-the-fly applications), use
simulate_ext_start, set_ext_start_delay or
set_ext_start_delay_list.
Bit #3 = 1: The external start input is not disabled by an external stop
signal.
= 0: The external start input is disabled by an external stop signal.
Bit #4 Disables simulate_ext_start_ctrl.
Bit #5 Reserved.
Bit #6 Reserved.
Bit #7 Reserved.
Bit #8 Reserved.
Bit #9 = 1: Encoder resets of the 2 internal encoder counters occur by:
• An external start signal
• simulate_ext_start
• simu
late_ext_start_ctrl, p
ostponed by a track delay set
by simulate_ext_start, set_ext_start_delay or
set_ext_start_delay_list, see also Bit #2
= 0: Encoder resets occur immediately with each initiating
Processing-on-the-fly command.