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)
Содержание FX5-DP-M
Страница 1: ...MELSEC iQ F FX5 User s Manual PROFIBUS ...
Страница 2: ......
Страница 9: ...7 MEMO ...
Страница 12: ...10 INDEX 168 REVISIONS 170 WARRANTY 171 TRADEMARKS 172 ...
Страница 13: ...11 CONTENTS ...
Страница 19: ...1 DESCRIPTION 17 1 MEMO ...
Страница 100: ...98 9 PROGRAMMING 9 2 DP Master settings DP Slave FDL address 2 ...
Страница 101: ...9 PROGRAMMING 9 2 DP Master settings 99 9 DP Slave FDL address 3 ...
Страница 108: ...106 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Страница 109: ...9 PROGRAMMING 9 8 Program Example of the Global Control Function 107 9 ...
Страница 110: ...108 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Страница 112: ...110 9 PROGRAMMING 9 9 Program Example of Acyclic Communication Acyclic Communication ...
Страница 114: ...112 9 PROGRAMMING 9 10 Program Example of the Alarm Acquisition Function ...
Страница 169: ...APPX Appendix 4 Processing Time 167 A MEMO ...
Страница 175: ......