SMC100CC & SMC100PP
2.2.2.58 RB
Syntax
int RB(int controllerAddress, out int TTLInputValue, out string errstring)
controllerAddress: controllerAddress
TTLInputValue: TTLInputValue
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous RB Get command which is used to Get
TTL input value. Refer to the Controller's manual to get the command description.
2.2.2.59 RS
Syntax
int RS(int controllerAddress, out string errstring)
controllerAddress: controllerAddress
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous RS Set command which is used to Reset
controller. Refer to the Controller's manual to get the command description.
2.2.2.60 SA_Get
Syntax
int SA_Get(int controllerAddress, out int Address, out string errstring)
controllerAddress: controllerAddress
Address: Address
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous SA Get command which is used to Get
controller's RS-485 address. Refer to the Controller's manual to get the command
description.
2.2.2.61 SA_Set
Syntax
int SA_Set(int controllerAddress, int Address, out string errstring)
controllerAddress: controllerAddress
Address: Address
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous SA Set command which is used to Set
controller's RS-485 address. Refer to the Controller's manual to get the command
description.
21
Command Interface Manual
EDH0311En1021 – 09/18