<< Prev        Next >>

ID : 3390

IAI*.SwitchPIOModbus

Function

To switch enables/disables the Modbus command.

Syntax

IAI*.SwitchPIOModbus Enable/Disable

Guaranteed Entry

Enable/Disable
Specify whether to enable the Modbus command with integer type.
To enable the Modbus command, enter True or an integer other than 0.
To disable the Modbus command, enter False or 0.

Description

Enables/disables the Modbus command. This function is available in Ver.2.7.* or higher.

For an asterisk written after IAI, enter an ID of the control target PCON.

Attention

-

Example

'!TITLE "IAI Sample SwitchPIOModbus"

Sub Main

  ' Enable the Modbus command
  IAI1.SwitchPIOModbus False
  IAI1.SwitchPIOModbus True

  ' Disable the Modbus command
  IAI1.SwitchPIOModbus False

End Sub

ID : 3390

<< Prev        Next >>