Specifications

Chapter 17. Spread Spectrum Communication (For models equipped with a spread spectrum wireless block)
427
Syntax: CALL "SS.FN3" .fcSyncInf TIMEOUT%,ASSOC%
Description:
This function checks whether the wireless block is synchronized with the
master.
According to the timeout length specified by TIMEOUT%, the system oper-
ates as follows:
- If greater than zero (0) is specified to TIMEOUT% (recommended), this
program will check synchronization with the master during the specified
time. Upon completion of synchronization, the program will set zero (0)
to
ASSOC% to end the checking operation.
If the wireless block fails to synchronize with the master within the spec-
ified time, the program will set -1 to
ASSOC% to end the checking opera-
tion.
- If zero (0) is specified to TIMEOUT%, this function will check synchroni-
zation with the master and immediately return.
- If -1 is specified to TIMEOUT%, no timeout will occur so that this function
will wait until synchronization will be complete.
Parameters: TIMEOUT% Maximum period (unit: 100 ms) to wait for synchronization
with master
Returned value: ASSOC%
Note:
The above parameter should be referred to after execution of OPEN
"COM3:"
statement.
Run-time errors:
.fcSyncInf Check wireless block synchronization with master
.ssNowInf 0 Synchronization with master com-
plete
.ssWtSync -1 Failed to synchronize with master
Error code Meaning
F0h
Mismatch parameter number
F1h
Mismatch parameter type
105h
Power-off detected