Data Swap Function - Mitsubishi Electric Melsec Q Series User Manual

Profibus-dp master module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

4
FUNCTIONS

4.4 Data Swap Function

This function swaps the upper and lower bytes in word units when I/O data is sent and
received.
Use this function for DP-Slaves whose word structure is different (upper and lower bytes
are reversed) from that of the QJ71PB92V.
This function enables you to swap upper and lower bytes to exchange I/O data without the
need to create a special sequence program for the swapping.
Input data
area
Output
data area
(1) Data swap setting
Configure the data swap setting using the slave parameter ("Slave Settings" window
in GX Configurator-DP).
Data swap setting must be made for each DP-Slave.
Select the "Swap I/O Bytes in Master" checkbox to enable the swap setting for a DP-
Slave.
QJ71PB92V
Data 1
Data 1
(H)
(L)
Data 2
Data 2
(H)
(L)
Data 3
Data 3
(H)
(L)
Data 4
Data 4
(H)
(L)
Figure 4.15 Data Swap Function
Figure 4.16 Data swap Setting (GX Configurator-DP)
4.4 Data Swap Function
DP-Slave
Input data
Input area
Data 1
Data 1
Data 1
(L)
(H)
(L)
Data 2
Data 2
Data 2
(L)
(H)
(L)
Output data
Output area
Data 3
Data 3
Data 3
(L)
(H)
(L)
Data 4
Data 4
Data 4
(L)
(H)
(L)
I/O data exchange
H : High byte
1
2
Data 1
3
(H)
Data 2
(H)
Data 3
(H)
Data 4
(H)
4
L : Low byte
5
6
7
8
4
- 18

Advertisement

Table of Contents
loading

Table of Contents