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

Page 264

Advertising
background image

Logic Functions - Book 1

APPENDIX B - MODBUS MASTER CONFIGURATION

B-20

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 0 to 247. Global addr 0 is supported.

INPUT10

STARTING REGISTER NUMBER

LSP or Local Data

Count

Values can be: 1 - 9999

Modbus function code 6 or 16 as required.

INPUT11 through INPUTn DATA

LSP or Local Data Any Data Type

except momentary discrete

This is the data which will be written to the slave device. See Modcell
datatype to register mapping table above.

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

If the data fits in 1 register Modbus function code 6 or 16 is used per CFG
item SINGLE WRITE FUNCTION CODE. If more than 1 register is to be
written the Modbus function code 16 is used.

Advertising