Operator`s manual
Signametrics 50
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
SCANSetConfig(0, TwoWire) // Set scanner to 2-Wire
//configuration
SCANSetConfigRelay
H/W access Command Polled Command
Description Set one of the configuration relays.
#include “SMX4032.H”
#include “ScanUser.H”
int SCANSetConfigRelay(int iScan, int iState, int iRelay)
Remarks This function opens or closes the selected configuration and tree relays. It is only
available while the Scanner is set to the Universal configuration. With iState set to
CLOSE the selected relay is closed, while OPEN opens it. The Configuration and Tree
relays are defined in the ScanUser.H file. They include AtoA, BtoA, BtoB, CtoA, CtoC,
DtoD, and DtoC. It takes t-Actuation to execute this command. Its channel relays
selection couter part is the SCANSetChannelRelay function.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed
iState
int Indicates if relay is to be opened or closed. [OPEN | CLOSE]
iRelay
int Identify the configuration/tree relay to act on
Return Value Integer error code.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
SCANSetConfigRelay(0, CLOSE, CtoA) // Close CtoA relay
SCANSetScanList
H/W access Command Polled Command
Description Set a single Scan List entry.
#include “SMX4032.H”
int SCANSetScanList(int iScan, int iAddress, int iChannel )
Remarks This function writes a single entry to the Scan List table on-board the Scanner. iAddress
is the location to be written to, and iChannel is the channel number to be set. The address
can be between 0 and 191, while the channel can be a value between 0 to 32. On power
up the contents of the table is not defined. Consider the configuration of the Scanner
when writing data to the Scan Table.