34
4 FUNCTIONS
4.4 Data Swap Function
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.
Data swap function setting
Set the data swap function in the "Slave Settings" window of PROFIBUS Configuration Tool. (
Check "Swap I/O Bytes in Master" for each DP-Slave to which the swap function is applied.
(1) Data 1
(2) Data 2
(3) Data 3
(4) Data 4
(5) DP-Slave
(6) Swap
H: Upper byte, L: Lower byte
FX5-DP-M
(1)L
b7
b0
(1)H
b15
b8
(2)L
b7
b0
(2)H
b15
b8
(3)L
b7
b0
(3)H
b15
b8
(4)L
b7
b0
(4)H
b15
b8
(1)L
b7
b0
(1)H
b15
b8
(2)L
b7
b0
(2)H
b15
b8
(3)L
b7
b0
(3)H
b15
b8
(4)L
b7
b0
(4)H
b15
b8
(5)
(1)L
b7
b0
(1)H
b15
b8
(2)L
b7
b0
(2)H
b15
b8
(3)L
b7
b0
(3)H
b15
b8
(4)L
b7
b0
(4)H
b15
b8
(6)
Summary of Contents for FX5-DP-M
Page 1: ...MELSEC iQ F FX5 User s Manual PROFIBUS ...
Page 2: ......
Page 9: ...7 MEMO ...
Page 12: ...10 INDEX 168 REVISIONS 170 WARRANTY 171 TRADEMARKS 172 ...
Page 13: ...11 CONTENTS ...
Page 19: ...1 DESCRIPTION 17 1 MEMO ...
Page 100: ...98 9 PROGRAMMING 9 2 DP Master settings DP Slave FDL address 2 ...
Page 101: ...9 PROGRAMMING 9 2 DP Master settings 99 9 DP Slave FDL address 3 ...
Page 108: ...106 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Page 109: ...9 PROGRAMMING 9 8 Program Example of the Global Control Function 107 9 ...
Page 110: ...108 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Page 112: ...110 9 PROGRAMMING 9 9 Program Example of Acyclic Communication Acyclic Communication ...
Page 114: ...112 9 PROGRAMMING 9 10 Program Example of the Alarm Acquisition Function ...
Page 169: ...APPX Appendix 4 Processing Time 167 A MEMO ...
Page 175: ......