User Manual
Section 8
GFK-2958L
May 2021
Commissioning
440
Swap Bytes
The swap bytes field is used to manipulate the byte order. Because PROFIBUS devices
often do not follow the standard, the ability to change byte ordering is provided. The
analog areas travel in MSB and should be swapped if LSB is required.
•
If Type is Digital and the module has an odd number of bytes, Swap Bytes is
set to False (no swapping) and read-only.
•
If Type is Digital and the module has an even number of bytes, default is set
to False. Setting Swap Bytes to True causes the LSB and MSB to be swapped
before the data is mapped into PLC memory.
•
If Type is Analog, default is set to False. Setting Swap Bytes to True causes
the LSB and MSB to be swapped before the data is mapped into PLC
memory.
•
For EP-5111, EP-5112, EP-5212, EP-5442 and EP-5422 modules, user should
set Swap Bytes to true. In the application, if the user wants to access the
DWORD for these modules, use SWAP_DWORD function block.
8.3.3
Configuring DP-V1 Settings for a Slave
Whether a slave device supports DP-V1 functions or not is indicated in the GSD file provided
by the vendor of that device. For devices that do provide DP-V1 functions, support is
disabled by default.
•
To enable DP-V1:
1.
From the Project Navigator, right-click the Slave and select Properties.
Figure 284
2.
In the Properties
window, click the ellipsis (…) in the
DPV1 Settings field. The
PROFIBUS DPV1 Setup dialog box displays.