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:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
|
To manage the messages list from a
Modbus
master to a slave- Add a new message to the messages list:
- ClickNew.
- In theNew Messagedialog box, define the properties for the message:
- Message Type,Modbuscommand message type
- Variable Network Address,Modbusaddress range of the variables as mapped in theTrusted®system
- , start and end of slave address range for the variablesModbusSlave Address
- (optional) In theMessage Controlarea, select theApplication Controls Messagecheck box, and then specify theModbusaddress of the application variable used to control the message.
- Insert a new message in the messages list:
- In the messages list, select the message above which to insert the message.
- ClickInsert.
- In theInsert Messagedialog 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.
- Edit an existing message:
- In the messages list, select the message to edit and clickEdit.
- In theEdit Messagedialog box, make the necessary changes.
- To delete a message from the messages list, select the message to remove and clickDelete.
- 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