del_modbus_signal_multi(name)
Features
This function deletes the registered Modbus multiple signal. The Modbus I/O must be set in the Teach Pendant I/O set-up menu. Use this command only for testing if it is difficult to use the Teach Pendant. The Modbus menu is disabled in the Teach Pendant if it is set using this command.
Parameters
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
name | string | - | Name of the registered Modbus multiple signal |
Return
Value | Description |
---|---|
0 | Success |
Negative value | Failed |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
DR_Error (DR_ERROR_VALUE) | Parameter value is invalid |
DR_Error (DR_ERROR_RUNTIME) | C extension module error occurred |
DR_Error (DR_ERROR_STOP) | Program terminated forcefully |
Example
# Use the following command when the Modbus multiple signal is registered as "multi1"(cnt=5)
# and this signal registration is to be deleted. .
del_modbus_signal_multi("multi1") # Deletes the registered "multi1" contact