Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) System, I/O and Communications Functions User Manual

Page 260

Advertising
background image

Logic Functions - Book 1

APPENDIX B - MODBUS MASTER CONFIGURATION

B-16

INPUT7

REFRESH STATE

Local Long State

Support for the value of 255 was added in the release of Logic Controller
version 5 and Advanced Controller version 2.

IF REFRESH STATE = 0
Value 0 indicates the SEND INPUT is used and INPUT8 (SEND INPUT) must
be configured. The value 0 can only be written through the message handler
if the SEND INPUT is present.

ELSE IF REFRESH STATE = 255
If the SEND INPUT value is NONE or is TRUE, this message is sent to the
slave device.

ELSE IF REFRESH STATE = 1 through 254
This is how many times this block should execute before this message is sent
to the slave device. SEND INPUT value is not used.

INPUT8

SEND INPUT

LSP, Local Data or NONE Discrete

IF REFRESH STATE = 0
This input must be present. This signal is used to trigger this EX block’s
message. Signal is edge trigged, 0 (FALSE) to 1 (TRUE). Send input triggers
are ignored while this message transaction is ACTIVE.

ELSE IF REFRESH STATE = 255
If this value is NONE or is TRUE, this message is sent to the slave device.

ELSE IF REFRESH STATE = 1 through 254
This value is not used.

INPUT9

SLAVE ADDR

LSP or Local Data

Long State

Values can be 1 to 247.

INPUT10

STARTING REGISTER NUMBER LSP or Local Data Count
Values can be: 1 - 9999

Modbus function code 3

INPUT11 through INPUTn

Local Data

Any Data Type

except momentary discrete

This is where the data read from the slave device is stored.

INPUT11 will contain the value from the STARTING REGISTER NUMBER.
Depending on the data type the data may be contained in multiple registers.
See Modcell datatype to register mapping table above.

Advertising