Ctrl Command get_sync_status
Function
returns the master/slave synchronization status of the addressed RTC
Call
MasterSlaveSyncStatus = get_sync_status()
Result
Master/slave synchronization status [0 ... 640] as an unsigned 32-bit value:
< 11:
= 640: The addressed board is operated as master.
Comments
• For usage of this command, see
• If the addressed board has not been initialized previously via load_program_file, the
get_sync_status returns 0.
• First synchronize the boards of the master/slave chain via the
before using get_sync_status.
• To ensure that get_sync_status will actually return the current master/slave synchroni-
zation status, you should first have already triggered an external list start for the master
board via an external start signal or a command (see
page
each board's /SLAVE start pulse and the corresponding 10 µs clock. This time difference
gets stored on each board as the master/slave synchronization status (in units of 15 ns)
and remains stored there until the a new external list start is triggered for the master
board. This gives you the flexibility to query the synchronization status via
get_sync_status even at a later point in time.
• In the synchronized state, measured time differences are shorter than the transit time
difference for synchronization between the boards themselves (see
master/slave synchronization status < 11. The master/slave synchronization status is
typically 7.
• In a not-explicitly-synchronized state (prior to sync_slaves), the master/slave synchro-
nization status might coincidentally be < 11. If so, then the boards will behave as if
synchronized.
®
®
RTC
4 RTC
5 new command
Version info
Available beginning with version DLL 531, OUT 532, RBF 523
References
sync_slaves,
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
The board is synchronized to the master board (or to the preceding board in
the master/slave chain)
210). This list start then initiates measurement of the time differences between
get_master_slave
chapter 6.6.3 "Master/Slave Operation", page
section "External List Start" on
®
5 board.
84.
sync_slaves
command
page
84):
284
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?