Messages

The messages list displays all of the messages defined for a slave device in the order that these are executed by the
Modbus®
master. Perform these tasks to manage the messages list:
  • Add a new message at the bottom of the messages list
  • Insert a message above a selected message in the messages list
  • Edit an existing message
  • Delete a message from the messages list and edit messages
  • Rearrange the order of messages in the list, by dragging and dropping
For slave messages, define these properties:
Property
Description
Message Type
Use the appropriate
Modbus
command depending on the address range and the number of addresses. The
T8151 Communications Interface
supports these commands:
Address Range
Size
Direction
Modbus
Command
Low
High
Type
Code
1
9999
1
Read
Read Coil Status (Read Coils)
0x01
1
9999
1
Write
Force single Coil (Write Coils)
0x05
1
9999
2 - 512
Read
Read Coil Status (Read Coils)
0x01
1
9999
2 - 512
Write
Force Multiple Coils (Write Coils)
0x15
10001
19999
1 - 512
Read
Read Input Status (Read Digital Inputs)
0x02
30001
39999
1 - 125
Read
Read Analog Inputs (Read IP Registers)
0x04
40001
49999
1 - 125
Read
Read Holding Register (Read Registers)
0x03
40001
49999
1
Write
Preset Single Register (Write Registers)
0x06
40001
49999
2 - 123
Write
Preset Multiple Registers (Write Registers)
0x16
Variable Network Address
Modbus
address range of the variables as mapped in the
Trusted®
system. Requires only the starting address; automatically calculates the end address.
Modbus
Slave Address
Address range of variables for the slave. Enter the start and end addresses. See
Message Type
for available address ranges and maximum number of addresses in a single message.
Message Control
Modbus
address of an application variable used to control the message. Where a control variable is defined for either a broadcast or slave message, the message is enabled when the coil or holding register contains a zero value. These are the valid values for a message control coil or holding register. All other values disable the message. The data type used for control variable can be either Boolean (coil) or integer (holding register).
Use different
Modbus
addresses for all control and status holding registers, and control variable coils.
Variable Data Type
Value
Message
Boolean (coil)
False
Enabled
True
Disabled
Integer (holding register)
0
Enabled
Non-zero
Disabled
To manage the messages list from a
Modbus
master to a slave
  1. Add a new message to the messages list:
    1. Click
      New
      .
    2. In the
      New Message
      dialog box, define the properties for the message:
      • Message Type
        ,
        Modbus
        command message type
      • Variable Network Address
        ,
        Modbus
        address range of the variables as mapped in the
        Trusted®
        system
      • Modbus
        Slave Address
        , start and end of slave address range for the variables
    3. (optional) In the
      Message Control
      area, select the
      Application Controls Message
      check box, and then specify the
      Modbus
      address of the application variable used to control the message.
  2. Insert a new message in the messages list:
    1. In the messages list, select the message above which to insert the message.
    2. Click
      Insert
      .
    3. In the
      Insert Message
      dialog box, define the properties for the message. See step 1 for message properties to define.
      The message appears in the list above the selected message.
  3. Edit an existing message:
    1. In the messages list, select the message to edit and click
      Edit
      .
    2. In the
      Edit Message
      dialog box, make the necessary changes.
  4. To delete a message from the messages list, select the message to remove and click
    Delete
    .
  5. To rearrange the order of a message in the messages list, select the message, and then drag and drop the message to its new position in the list.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal