SMC100CC & SMC100PP
2.2.2.32 KP_Get
Syntax
int KP_Get(int controllerAddress, out double ProportionalGain, out string errstring)
controllerAddress: controllerAddress
ProportionalGain: ProportionalGain
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous KP Get command which is used to Get
proportional gain. Refer to the Controller's manual to get the command description.
2.2.2.33 KP_Set
Syntax
int KP_Set(int controllerAddress, double ProportionalGain, out string errstring)
controllerAddress: controllerAddress
ProportionalGain: ProportionalGain
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous KP Set command which is used to Set
proportional gain. Refer to the Controller's manual to get the command description.
2.2.2.34 KV_Get
Syntax
int KV_Get(int controllerAddress, out double VelocityFeedForward, out string
errstring)
controllerAddress: controllerAddress
VelocityFeedForward: VelocityFeedForward
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous KV Get command which is used to Get
velocity feed forward. Refer to the Controller's manual to get the command description.
2.2.2.35 KV_Set
Syntax
int KV_Set(int controllerAddress, double VelocityFeedForward, out string errstring)
controllerAddress: controllerAddress
VelocityFeedForward: VelocityFeedForward
errString: The failure reason
return: 0 in success and -1 on failure
Description
This function is used to process synchronous KV Set command which is used to Set
velocity feed forward. Refer to the Controller's manual to get the command description.
13
Command Interface Manual
EDH0311En1021 – 09/18