Skip to main content
Skip table of contents

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 NameData TypeDefault ValueDescription

name

string

-

Name of the registered Modbus multiple signal

Return

ValueDescription

0

Success

Negative value

Failed

Exception

ExceptionDescription

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

PY
# 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 
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.