ModbusEnableSlave

ModbusEnableSlave — enables and disables Modbus slave connections.

Synopsis

(ModbusEnableSlave slaveNamePattern 0|1)
    

Arguments

slaveNamePattern

An alphanumeric string that matches the name(s) of one or more slave connections.

0|1

If 1, the specified Modbus slave connection or connections are enabled; if 0, they are disabled.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command enables or disables slave connections, the equivalent to the check-boxes in the list of Modbus slave connections in the Modbus option of the Properties window.