You are on page 1of 7

Digi Protocol Bridging Calculator

For Master speaking Modbus protocols


P/N: 90000653_A.XLS
Summary of sheets included in this file:
B-File : Given Rockwell B-File notation, determine Modbus 0x Coil notation
N-File : Given Rockwell N-File notation, determine Modbus 4x Register notation

What is a Protocol Bridge?


The Digi protocol bridge is a powerful new componant to speed your integration tasks.
The Bridge allows PLC speaking one protocol to directly read and write slave devices
speaking another. For example, Modicon PLC can use MAST blocks to query Rockwell
slave devices as if they were Modbus PLC.

How is this different from existing protocol converters?

1)

The Digi Protocol Bridge is easier to setup. Most conversion products act like a
"virtual PLC" or a shared memory device. The user must configure an explicit list of how
to map protocol A to B. It acts as Master to poll data in protocol A, and acts as slave to
serve data in protocol B. In contrast, the Digi Protocol Bridge requires no such
configuration. It uses a fixed calculation to convert between protocols; meaning every
read or write request in protocol A creates a predefined read or write request in protocol
B. This is ideal for OEM and integrators because they can document the conversion
once and the document remains valid for all applications.

2)

The Digi Protocol Bridge enables multiple concurrent protocols. Most conversion
products create a protocol road block. Although they enable protocol A to be used to talk
to the protocol B device, they block direct access in the native protocol B. In contrast, the
Digi Protocol Bridge enables concurrant Modbus and native protocol access to a
single-port slave. In the above diagram, the Rockwell DF1 slave can be concurrantly
accessed as both a Rockwell and Modbus/TCP slave.

3)

The Digi Protocol Bridge enables direct Ethernet protocol support without consuming a
PLC rack slot. Most Ethernet conversion products require an additional PLC slot, 2nd IP
address, and 2nd Ethernet switch or hub resources. In contrast, the Digi Protocol
Bridge enables direct Ethernet protocol support - such as Modbus/TCP to
Ethernet/IP - without change to the PLC.

Digi Protocol Bridging Calculator


P/N: 90000653_A.XLS
Master (Polling) device is Modbus protocol
Slave (Polled) device is Rockwell protocol
The Digi One IAP does bridging based on formula. Look at the data documentation for
your slave device and use this calculator to determine which master protocol request
creates the correct slave protocol request.

You have Rockwell B-File notation,


what is the Modbus Coil notation?
0

Enter N-File: B 3
Starting Element: 0

<< Valid Files: 3, 9 to 24


<< Enter Slave Value Here

Note: Digi One IAP Release "E" swaps the Modbus bytes
This is fixed in release "E1"
Absolute
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

SLC500 File
Notation
B3: 0
/0
B3: 0
/1
B3: 0
/2
B3: 0
/3
B3: 0
/4
B3: 0
/5
B3: 0
/6
B3: 0
/7
B3: 0
/8
B3: 0
/9
B3: 0
/10
B3: 0
/11
B3: 0
/12
B3: 0
/13
B3: 0
/14
B3: 0
/15
B3: 1
/0
B3: 1
/1
B3: 1
/2
B3: 1
/3
B3: 1
/4
B3: 1
/5
B3: 1
/6
B3: 1
/7
B3: 1
/8
B3: 1
/9
B3: 1
/10

Modbus
Notation
0x 00001
0x 00002
0x 00003
0x 00004
0x 00005
0x 00006
0x 00007
0x 00008
0x 00009
0x 00010
0x 00011
0x 00012
0x 00013
0x 00014
0x 00015
0x 00016
0x 00017
0x 00018
0x 00019
0x 00020
0x 00021
0x 00022
0x 00023
0x 00024
0x 00025
0x 00026
0x 00027

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:

1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
4
4

/11
/12
/13
/14
/15
/0
/1
/2
/3
/4
/5
/6
/7
/8
/9
/10
/11
/12
/13
/14
/15
/0
/1
/2
/3
/4
/5
/6
/7
/8
/9
/10
/11
/12
/13
/14
/15
/0
/1
/2
/3
/4
/5
/6
/7
/8
/9
/10
/11
/12
/13

0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x

00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127

B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:
B3:

4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7

/14
/15
/0
/1
/2
/3
/4
/5
/6
/7
/8
/9
/10
/11
/12
/13
/14
/15
/0
/1
/2
/3
/4
/5
/6
/7
/8
/9
/10
/11
/12
/13
/14
/15
/0
/1
/2
/3
/4
/5
/6
/7
/8
/9
/10
/11
/12
/13
/14
/15

0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x
0x

00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128

Digi Protocol Bridging Calculator


P/N: 90000653_A.XLS
Master (Polling) device is Modbus protocol
Slave (Polled) device is Rockwell protocol
The Digi One IAP does bridging based on formula. Look at the data documentation for your
slave device and use this calculator to determine which master protocol request creates the
correct slave protocol request.

You have Rockwell N-File notation,


what is the Modbus Holding register notation?
0

Enter N-File: N 7
Starting Element: 0
Absolute SLC500 File
Word Notation
0
N7: 0
1
N7: 1
2
N7: 2
3
N7: 3
4
N7: 4
5
N7: 5
6
N7: 6
7
N7: 7
8
N7: 8
9
N7: 9
10
N7: 10
11
N7: 11
12
N7: 12
13
N7: 13
14
N7: 14
15
N7: 15
16
N7: 16
17
N7: 17
18
N7: 18
19
N7: 19
20
N7: 20
21
N7: 21
22
N7: 22
23
N7: 23
24
N7: 24
25
N7: 25
26
N7: 26
27
N7: 27
28
N7: 28
29
N7: 29
30
N7: 30

Modbus
Notation
4x 00001
4x 00002
4x 00003
4x 00004
4x 00005
4x 00006
4x 00007
4x 00008
4x 00009
4x 00010
4x 00011
4x 00012
4x 00013
4x 00014
4x 00015
4x 00016
4x 00017
4x 00018
4x 00019
4x 00020
4x 00021
4x 00022
4x 00023
4x 00024
4x 00025
4x 00026
4x 00027
4x 00028
4x 00029
4x 00030
4x 00031

<< Enter Slave Value Here


<< Enter Slave Value Here

4x00001/N0 treated as N7
4x00251/N1 accesses I1 ReadOnly
4x00501/N2 accesses S2 ReadOnly
4x00751/N3 accesses B3 Read/Write
4x01001/N4 accesses T4 ReadOnly
4x01251/N5 accesses C5 ReadOnly
4x01501/N6 accesses R6 ReadOnly
4x01751/N7 accesses N7 Read/Write
4x02001/N8 accesses F8 Read/Write
4x63251/N253 accesses O0 ReadOnly
All others must exist as N-file or
Modbus Exception returned
For O,I,S,T,C,R files see AB docs
to interpret integer values returned
For F8 file, float words returned in
Modicon low-word/high-word format
Read 2 registers for each float value

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x

00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082

82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127

N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:
N7:

82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127

4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x
4x

00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128

You might also like