Parameterizing and diagnosis functions for all bus couplers
PCD0
26/766 E2
(HB_PCD0 26 766_E2.DOC)
SAIA-Burgess Controls Ltd.
Page 159
10.17
Function 18 Byte swap mode ON/OFF
Function 18 sets the byte swap mode. The byte swap mode changes
the assignment of input/output data to the I/O maps. See also service
function 10 on page 141.
Diagnose Output
Diagnose Input
Byte 3
Byte 2
Byte 1
Byte 0
Byte 3
Byte 2
Byte 1
Byte 0
EC/BC
Diagnose Output
Byte 2 MOD (mode)
0
OFF
1
ON for all digital expansion modules
2
ON for all digital expansion modules, counter,
positioning and analog modules, and diagnosis
data
3
ON for all counter, positioning and analog
modules, and diagnosis data
Default setting: Mode 0
Diagnose Input
Byte 2 0/1
0
Setting rejected
1
Byte swap mode turned on successfully
The setting will be stored permanently in the bus coupler.
Example
RIO 16 I without byte swap
With byte swap
Byte 1
Byte 2
Byte 1
Byte 2
Bit
Terminal
Bit
Terminal
Bit
Terminal
Bit
Terminal
8
X2.8
0
X1.0
8
X1.0
0
X2.8
9
X2.9
1
X1.1
9
X1.1
1
X2.9
10
X2.10
2
X1.2
10
X1.2
2
X2.10
11
X2.11
3
X1.3
11
X1.3
3
X2.11
12
X2.12
4
X1.4
12
X1.4
4
X2.12
13
X2.13
5
X1.5
13
X1.5
5
X2.13
14
X2.14
6
X1.6
14
X1.6
6
X2.14
15
X2.15
7
X1.7
15
X1.7
7
X2.15