33
Signametrics
SCANCleanRelays
H/W access Command
;
Polled Command
;
Description
Clean all relays.
#include “SM4040.H”
int SCANCleanRelays
(int
iScan
)
Remarks
This function Cleans all relays. The test connector must be present to clean all contacts.
This function verifies that the test connector is present. Cleaning takes about 13 seconds
for the SM404X and a bit less for the SM402X. Vibrating of the contacts at varying
switching patterns, while sourcing a high voltage/low current signal, causes deposits of
contaminants as well as oxidations to bounce off or be pinched through, thus resulting in
cleaner contacts. Doing this on a regular basis will prolong the contacts’ life. Both
Channel relays and Configuration relays are cleaned. Function type: Polled, requires
SCANReady() prior to using additional functions.
Parameter
Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
Return Value
The return value is one of the following constants.
Value
Meaning
SCAN_OKAY
Scanner is OK.
Negative Value
Error
Example
SCANCleanRelays(0);
// Issue clean command
while( !SCANReady(0) ); // Wait for completion
Содержание SM4020
Страница 61: ...Signametrics 60...