beautypg.com

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

Page 262

background image

Logic Functions - Book 1

APPENDIX B - MODBUS MASTER CONFIGURATION

B-18

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 COIL NUMBER

LSP or Local Data

Count

Values can be: 1 - 9999

Modbus function code 5 or 15 as required.

INPUT11 through INPUTn DATA

LSP or Local Data

Discrete only

This is the data which will be written to the slave device.

INPUT11 will contain the value for the STARTING COIL NUMBER, INPUT12
will contain the value for the next coil etc.

If one discrete attribute is to be written the Modbus function code 5 or 15 is
used per CFG item SINGLE WRITE FUNCTION CODE. If more than one
discrete attribute is to be written the Modbus function code 15 is used.