ModbusNumericWritable

Top  Previous  Next

CIRCON~1_img403

 

Reports the last polled value from a Modbus holding register on the slave device, while allowing a numeric input value to be written to the register.

CommError is hidden by default.

 

Inputs

 

Slots

Type

Default

Description

 

In

Numeric

Null

The value to be written to the register. Null values are ignored and not written to the register.

 

Outputs


 

Slots

Type

Description

 

Out

Numeric

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.

 

MaxSendTime

The maximum time, in seconds, that can elapse before the controller will resend values to the slave device. Useful in resending commands if the slave device loses communication and comes back online.

 

RegAddr

The address of the Holding register.