SMC100CC & SMC100PP
EDH0311En1021 – 09/18
2.2.2.49 PW_Get
Syntax
int PW_Get(int controllerAddress, out int ConfigurationMode, out string errstring)
controllerAddress: controllerAddress
ConfigurationMode: ConfigurationMode
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous PW Get command which is used to
Enter/Leave CONFIGURATION state. Refer to the Controller's manual to get the
command description.
2.2.2.50 PW_Set
Syntax
int PW_Set(int controllerAddress, int ConfigurationMode, out string errstring)
controllerAddress: controllerAddress
ConfigurationMode: ConfigurationMode
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous PW Set command which is used to
Enter/Leave CONFIGURATION state. Refer to the Controller's manual to get the
command description.
2.2.2.51 QIL_Get
Syntax
int QIL_Get(int controllerAddress, out double MotorPeakCurrentLimits, out string
errstring)
controllerAddress: controllerAddress
MotorPeakCurrentLimits: MotorPeakCurrentLimits
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous QIL Get command which is used to Get
motor's peak current limits. Refer to the Controller's manual to get the command
description.
18
Command Interface Manual