ModbusInteger

Top  Previous  Next

CIRCON~1_img400

 

Reports the last polled value from a Modbus input register on the slave device.

CommError is hidden by default.

 

Outputs


 

Slots

Type

Description

 

Out

Integer

The last polled value from the slave device, or the default value if communications with the slave device was lost.

 

CommError

Digital

Set to True by the block when communication with the slave device is lost.

 

Properties

 

Slots

Description

 

DefaultValue

The default value of the Out slot when the program starts, and the value that the block will revert to when communication is lost with the slave device.

 

Format

Specifies the bit format of the register on the slave device. Can be set to one of the following values:

SignedInt16: 16‑bit signed integer

UnsignedInt16: 16‑bit unsigned integer

SignedInt32: signed 32‑bit integer

 

MaxReceiveTime

The maximum time, in seconds, that can elapse with no communication to the slave device before the block assumes that communication has been lost.

 

RegAddr

The address of the discrete input.