WI-GTWY-9-xxx Wireless Gateway V1.18
97
Profibus Network Configuration
Once the GSD file for the Profibus slave has been installed, the slave device can be added to the
Profibus network (see
Configuration
section above). For this example, the slave is a
modular
device, therefore we add the necessary I/O modules to the slave. The example requires 8 x digital
points to be transferred
to
the slave - hence we add the
‘1 Byte Out’
module - and 1 x analog
point (16-bit) to be transferred
from
the slave – hence we add the
‘2 Byte In’
module (see below).
When these modules are added, configuration software automatically picks the next free
fieldbus
interface
registers (shown in the
Input Address
and
Output Address
columns), which may later be
altered by double-clicking on the relevant I/O module. In this example, the automatically chosen
locations are
Fieldbus IN
locations 0..1, and
Fieldbus OUT
location 0.
Fieldbus Configuration.
The next configuration step is to transfer the I/O in the
Fieldbus Interface
to the
Radio Interface
so that the Profibus I/O is available to the radio network. The 8 x digital output to be sent to the
Profibus slave are transferred using a
fieldbus write mapping
. Since the 8 x digital outputs are all
contained in a ‘1 Byte Out’ module, we use
‘Single Bit Mode’
for the fieldbus write mapping.
The configured mapping (see below) transfers the 8 x I/O Registers 100..107 in the radio
interface to single bits in Fieldbus Location 0 of the fieldbus interface (corresponding to the
Output Address of the corresponding ‘1 Byte Out’ module).
The 1 x analog input to be read from the slave must now be transferred to the radio interface.
Here we use a fieldbus read mapping using a ‘Word Mode’ (16-bit) transfer from Fieldbus
Locations 0..1 to I/O Register 200.
Byte order can be changed by selecting ‘MS Byte’