
ADwin-Pro II
Hardware, manual Dec. 2018
181
Pro II: Extension and Interface Modules
Pro II-Profi-SL Rev. E
ADwin
Integrate the Slave
– In the configuration tool, add the Slave, i.e. the fieldbus node to the Profibus by
selecting the GSD file
hmsb1811.gsd
. The station address must equal the
address used for
ADbasic
initialization with
P2_Init_Profibus
.
Afterwards the bus could be structured as below:
Configure the Slave
– Configure number and length of input and output data of input and output data
in the fieldbus node memory one by one.
Please note the following rules:
•
The terms "input" and "output" have reverse meanings in
ADbasic
(slave)
and in the configuration tool (master).
•
Configure the outputs (as seen from the master) first and then the inputs.
If there are inputs initialized in
ADbasic
, you have to configure outputs as
correspondent in the configuration tool.
•
Number and length of data ranges must equal the data used for
ADbasic
initialization with
P2_Init_Profibus
.
•
You may use only a single data length for each input data and output data.
Input and output data can be set to a length of 1, 2, 4 or 8 Byte (2 byte = 1
word).
The following example line in
ADbasic
configures the slave with 2 inputs of
1 byte and 3 outputs of 1 byte.
Par_31
=
P2_Init_Profibus
(
2
,
2
,
1
,
3
,
1
,
conf_Arr
,
Data_1
)
To configure the slave correctly in the configuration tool you have to set the 2
outputs first and the 3 inputs afterwards (1 byte each). The graphic below shows
this example configuration:
Module Revisions
The differences between the revisions are described below:
Revision
Output date Previous changes
E1
July 2008
First version