Parameter data transfer

Data communication with PROFINET is characterised by the simultaneous operation of cyclic and acyclic services in the network. As an optional extension, the parameter data transfer belongs to the acyclic services, which provides access to all device parameters.
 
Details
–
The access to the device data depends on the PROFIdrive profile.
 
–
Only one parameter request is processed at a time (no pipelining).
 
–
No spontaneous messages are transferred.
 
–
There are only acyclic parameter requests.
 
 
Basically, a IO-Controller can always be used to request parameters from IO-Device if the IO-Device is in the DATA_EXCHANGE state.
 
Transmission directions for acyclic data transfer
1.
A "Write.req" is used to transmit the data set (DB47) as parameter request to the IO-Device.
 
2.
"Write.res" is used to confirm the input of the message for IO-Controller.
 
3.
With Read.req, the IO-Controller requests the response of the IO-Device
 
4.
The IO-Device responds with a "Read.res (-)" if processing has not been completed yet.
 
5.
After parameter processing, the parameter request is completed by transmitting the parameter response to the IO-Controller by "Read.res (+)".
 
 
Frame structure
Destr
ScrAddr
VLAN
Type
0x0800
RPC
NDR
Read/Write Block
Data
FCS
6 bytes
6 bytes
4 bytes
4 bytes
80 bytes
64 bytes
64 bytes
0 .... 240 bytes
4 bytes
In the "Read / Write Block field", the initiator specifies the access to the "DB47" data set. The data that is written on this index or read by it, contain a header and the parameter request or the parameter response. The read data or the data to be written are contained in the "Data" field.
 
Assignment of the user data depending on the data type
Depending on the data type used, the user data is assigned as follows:
Data type
Length
User data assignment
Byte 1
Byte 2
Byte 3
Byte 4
Byte ...
String
x bytes
Data (x bytes)
U8
1 byte
Data
0x00
U16
2 bytes
HIGH byte
LOW byte
Data
Data
U32
4 bytes
HIGH word
LOW word
HIGH byte
LOW byte
HIGH byte
LOW byte
Data
Data
Data
Data