49
Signametrics
CtoC, DtoD,
and
DtoC
. The
CtoA, DtoA, CtoC, DtoD,
and
DtoC
are only available with
the SM4040 and SM4042. It takes t-Actuation to execute this command.
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 “SM4040.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 20 for the
SM4020,22 and 0 to 40 for the SM4040,42. On power up the contents of the table is not
defined. Consider the configuration of the Scanner when writing data to the Scan Table.
Parameter
Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
iAddress
int
Identifies the address to write to. It can be a value between 0 and
191.
iChannel
int
Channel number maybe a value between 0 to 40 (0 for all open)
Return Value
Integer error code.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Summary of Contents for SM4020
Page 61: ...Signametrics 60...