Configuring the gateway – Schneider Electric Gateway LUFP7 User Manual

Page 60

Advertising
background image

61

6. Configuring the Gateway

To see which memory locations are occupied by data from the command you are interested in, all you have
to do is uncheck the box corresponding to the “Preset Multiple Registers” command from the “TeSys U n°4”
node, as shown above. We can see that the Modbus data transmitted with the query corresponding to this
command occupy 2 bytes located from address 16#0208.

Memory locations 16#0200 and 16#0201 are reserved (see chapter 5 Gateway Initialization
and Diagnostics, page 37). So you will not be able to place any Modbus data in these
locations.

The sizes displayed above the graphics areas of this window (“In Area 32 bytes” and “Out
Area 32 bytes”) correspond to the total input and ouput sizes you must configure using the
modules presented under SysCon (see point 6) on next page).

If you wish to place the 4 bytes of Modbus data which will be transmitted by the gateway for this command
into memory, once the changes have been made, we will have to move all the other output data by 2 bytes,
which may be tedious, or change the memory location of the block of data transmitted. In the example
described here, we will be using the second solution, although the first solution is actually preferable, in
principle, as it avoids leaving any “holes” in the gateway’s memory, thus optimising the transfer of all of the
data from the Profibus-DP master PLC. The TSX PBY 100 coupler can exchange up to 242 output words with
Profibus-DP slaves. If communication with a larger number of slaves is required, if possible, try to limit the
volume of exchanges with the LUFP7 gateway. In that case, leaving such "blanks" in the gateway memory is
not advisable.

We will place the 4 bytes of data from address 16#0220 (544 in decimal). N.B. As far as possible, place the
data at even add
resses in order to align the Modbus data (in 16-bit format) on the %QW4.0.x outputs of the
Profibus-DP TSX PBY 100 coupler.

Close the “Sub-network Monitor” window, then once you are back in the main AbcConf window, select the
“Data length” and “Data location” fields of the “Data” element from the “Query” one after another and change
their values as shown at the top of the next page. AbcConf will automatically convert any value entered in
decimal to hexadecimal.

Advertising