Data Swap Function - Mitsubishi Electric FX5-DP-M User Manual

Melsec iq-f series
Table of Contents

Advertisement

4.4

Data Swap Function

This function swaps the upper byte and lower byte of exchanged data in units of words when I/O data are sent/received.
This function can be used when data is exchanged with DP-Slaves whose word configuration differs from the FX5-DP-M
(upper and lower bytes are opposite).
This function enables data exchange by swapping the upper and lower bytes without creating a program for the processing.
For the data swap
For DP-Slaves whose word configuration is opposite to the FX5-DP-M, activate the data swap function.
FX5-DP-M
(1)H
(1)L
b15
b8
b7
b0
(2)H
(2)L
b15
b8
b7
b0
(3)H
(3)L
b15
b8
b7
b0
(4)H
(4)L
b15
b8
b7
b0
(1) Data 1
(2) Data 2
(3) Data 3
(4) Data 4
(5) DP-Slave
(6) Swap
H: Upper byte, L: Lower byte
Data swap function setting
Set the data swap function in the "Slave Settings" window of PROFIBUS Configuration Tool. ( Page 87 Slave Settings)
Check "Swap I/O Bytes in Master" for each DP-Slave to which the swap function is applied.
4 FUNCTIONS
34
4.4 Data Swap Function
(1)L
b7
b0
(2)L
b7
b0
(6)
(3)L
b7
b0
(4)L
b7
b0
(1)H
(1)L
b15
b8
b7
b0
(2)H
(2)L
b15
b8
b7
b0
(3)H
(3)L
b15
b8
b7
b0
(4)H
(4)L
b15
b8
b7
b0
(5)
(1)H
b15
b8
(2)H
b15
b8
(3)H
b15
b8
(4)H
b15
b8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents