6. Configuring the Gateway
6.8. Changing the Periodic Data Exchanged With a Modbus Slave
This operation consists of replacing, adding or deleting periodic data exchanged with one of the Modbus slaves. With each of these operations, we shall take the default configuration of the LUFP9 gateway as an example, that is to say that any changes previously made will have been cancelled at the start of each operation. In addition, the operations to be carried out are shown as part of a targeted example.
You must never forget to save the changes you have made, or to transfer the whole configuration to the gateway. This will allow you to check that the configuration is valid.
6.8.1. Replacing a Periodic Input Data Element
E.g. “TeSys U n°3” motor starter. We are trying to replace the monitoring of the “TeSys U Status Register” (address 455 = 16#01C7) with the monitoring of the “1st Fault Register” (address 452 = 16#01C4).
The operation is a very simple one and consists purely of changing the value of the “Starting Address (Hi, Lo)” element of the “Query” from the “Read Holding Registers” command (Modbus command for reading the values of a number of registers).
Select this element, then change its value as shown below. You can enter the address of the parameter in decimal format. AbcConf will automatically convert it to hexadecimal.
This operation in no way changes the content of the gateway’s memory, because we do not need to change the values of the “Data length” and “Data location” fields of the “Data” element of the “Response” to the aforementioned command. So no additional operations will be necessary, either in AbcConf, or in RsNetWorx.
On the other hand, the DeviceNet master PLC software will have to take account of the change in the nature of the corresponding input. In the chapter 8.2.1 Input Data Memory Area, page 84, the description of the word located at address 16#0006 becomes “value of the motor starter e 1st default register.” This word corresponds to the PLC input word I:1.4 (see chapter 4.2.6 Configuring Inputs from the Gateway, page 29).
48