PROFIBUS DP Master Driver Manual
Page 9 of 14
4.6
Map Descriptor Examples
This example shows the transfer of I/O data with Remote PROFIBUS DP Slaves using Station Addresses
of 1 and 125.
Map Descriptor
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name
Word_In_003
, Word_Input
, 0
, Rdbc
, PDP_SLV003
Word_Out_003
, Word_Output
, 0
, Wrbc
, PDP_SLV003
Byte_In_125
, Byte_Input
, 0
, Rdbc
, PDP_SLV125
Byte_Out_125
, Byte_Output
, 0.
, Wrbc
, PDP_SLV125
, PROFIBUS_Data_Type , Address , Length , Scan_Interval
, Word
, 0
, 50
, 1s
, Word
, 0
, 50
, 1s
, Byte
, 0
, 120
, 1s
, Byte
, 0
, 120
, 1s
If the device only has an input buffer:
Map
Descriptor
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name
Word_In
, Word_Input
, 0
, Rdbc
, PDP_SLV003
Byte_In
, Byte_Input
, 0
, Rdbc
, PDP_SLV003
, PROFIBUS_Data_Type , Address , Length , Scan_Interval
, Word
, 0
, 50
, 1s
, Byte
, 0
, 120
, 1s
If the device only has an output buffer:
Map Descriptor
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name
Word_Out
, Word_Out
, 0
, Wrbc
, PDP_SLV003
Byte_Out
, Byte_Out
, 0
, Wrbc
, PDP_SLV003
, PROFIBUS_Data_Type , Address , Length , Scan_Interval
, Word
, 0
, 50
, 1s
, Byte
, 0
, 120
, 1s
If the device has both an input and an output buffer:
Map Descriptor
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name
Word_In
, Word_Input
, 0
, Rdbc
, PDP_SLV003
Word_Out
, Word_Output
, 0
, Wrbc
, PDP_SLV003
Byte_In
, Byte_Input
, 0
, Rdbc
, PDP_SLV003
Byte_Out
, Byte_Output
, 0
, Wrbc
, PDP_SLV003
, PROFIBUS_Data_Type , Address , Length , Scan_Interval
, Word
, 0
, 50
, 1s
, Word
, 0
, 50
, 1s
, Byte
, 0
, 120
, 1s
, Byte
, 0
, 120
, 1s
The table below shows the map descriptor function that to use in the config.csv with a specific module.
Module Map Descriptor Function
In
Rdbc
Out
Wrbc
In/Out
Wrbc/Rdbc
4
A PROFIBUS Slave device will have one of three types of I/O Modules, Input, Output or Input/Output. The
I/O Module type can only be found by analyzing the GDS file of the device in a PROFIBUS Software
system.
4
Two Map Descriptors need to be configured, one for the input module and one for the output.