Configuration of Scanned Peripheral Devices
Original instructions
Introduction
Scanned peripheral devices are configured in a table that is used to:
The IP Address and Unit ID Fields
The IP Address field is used to list the devices which must be scanned by the Ethernet module.
The Unit ID field is used to associate the slave address of the device connected to an Ethernet/Modbus gateway with the IP address:
Refer to Architecture Supported by a Modbus Communication on the TCP/IP Profile.
Health Time Out
The Health Time out field is used to set the maximum interval between 2 responses from a remote device, from 1 to 50000 ms. Beyond this time limit, the Health bit switches to 0.
Repetitive Rate
The Repetitive rate field is used to associate an IP address with its scanning period, from 0 to 50000 ms.
Master RD Ref. and Master WR Ref.
These parameters give the addresses of the beginning of each range reserved for the device.
These parameters cannot be accessed. They are calculated automatically as the sum of:
Example
The Ethernet module scans two devices:
Furthermore, the read field address starts at %MW100.
In this case, master RD ref. for the address IP1 equals 100. The internal word range reserved for the address IP1 starts at %MW100 and is made up of 4 words.
Therefore, master RD ref. for the address IP2 equals 104. The internal word range reserved for the address IP2 starts at %MW104 (=%MW100 + 4 input words).
Slave RD Ref. and Slave WR Ref.
These fields correspond to the indices of the first word to be read and written for remote devices to be scanned.
Input Fallback
This field is used to configure the behavior of inputs in the event of an access error in relation to the remote device (example: cut-off of the device, etc.):
Description
This field is not used by the module. It is only used to locate the device in the configuration more easily.
It has a maximum size of 32 characters.