CDRFLEx.set_modbus_output
Features
This is a function for outputting a signal at the modbus I/O contact point in the robot controller.
Parameter
Parameter Name | Data Type | Default Value | Description |
strSymbol | string | - | Modbus name |
nValue | unsigned short | - |
|
Return
Value | Description |
0 | Error |
1 | Success |
Example
//When the Modbus digital I/O is connected and the signal is registered as “di1” and “do1,”
drfl.set_modbus_output("do1",1);
drfl.set_modbus_output("do2",0);