Skip to content

MODBUS SERVER v6.10

WARNING

This manual is about MODBUS server(slave).

1. Outline

The Modbus TCP server (slave) of the RB Series is fixed to port number 502. The IP address changes depending on the network settings through the UI (initial IP address: 10.0.2.7).

The Modbus server of the RB Series allows multiple clients to connect and performs the following operation commands.

Function CodeFunction Name
Bit Address2Read Discrete Inputs
1Read Coils
5Write Single Coil
15Write Multiple Coils
16-bit (Word) Address4Read Input Registers
3Read Multiple Holding Registers
6Write Single Holding Register
16Write Multiple Holding Registers

2. Exception Code

If an incorrect address is accessed, the value range is incorrect, or an incorrect command is sent, the error message below is returned.

Exception CodeException Name
1Illegal Function
2Illegal Data Address
3Illegal Value

3. Bit Address Map

Bit Address
AddressFunctionReadWrite
0Box digital input 0OX
1Box digital input 1OX
2Box digital input 2OX
3Box digital input 3OX
4Box digital input 4OX
5Box digital input 5OX
6Box digital input 6OX
7Box digital input 7OX
8Box digital input 8OX
9Box digital input 9OX
10Box digital input 10OX
11Box digital input 11OX
12Box digital input 12OX
13Box digital input 13OX
14Box digital input 14OX
15Box digital input 15OX
16Box digital output 0OO
17Box digital output 1OO
18Box digital output 2OO
19Box digital output 3OO
20Box digital output 4OO
21Box digital output 5OO
22Box digital output 6OO
23Box digital output 7OO
24Box digital output 8OO
25Box digital output 9OO
26Box digital output 10OO
27Box digital output 11OO
28Box digital output 12OO
29Box digital output 13OO
30Box digital output 14OO
31Box digital output 15OO
32Tool digital input 0OX
33Tool digital input 1OX
34Tool digital output 0OO
35Tool digital output 1OO
36Extend I/O digital input 0OX
37Extend I/O digital input 1OX
38Extend I/O digital input 2OX
39Extend I/O digital input 3OX
40Extend I/O digital input 4OX
41Extend I/O digital input 5OX
42Extend I/O digital input 6OX
43Extend I/O digital input 7OX
44Extend I/O digital input 8OX
45Extend I/O digital input 9OX
46Extend I/O digital input 10OX
47Extend I/O digital input 11OX
48Extend I/O digital input 12OX
49Extend I/O digital input 13OX
50Extend I/O digital input 14OX
51Extend I/O digital input 15OX
52Extend I/O digital output 0OO
53Extend I/O digital output 1OO
54Extend I/O digital output 2OO
55Extend I/O digital output 3OO
56Extend I/O digital output 4OO
57Extend I/O digital output 5OO
58Extend I/O digital output 6OO
59Extend I/O digital output 7OO
60Extend I/O digital output 8OO
61Extend I/O digital output 9OO
62Extend I/O digital output 10OO
63Extend I/O digital output 11OO
64Extend I/O digital output 12OO
65Extend I/O digital output 13OO
66Extend I/O digital output 14OO
67Extend I/O digital output 15OO
68Tool digital input 2OX
69Tool digital input 3OX
70Tool digital input 4OX
71Tool digital input 5OX

4. Word(16 bit) Address Map

Word Address
AddressFunctionReadWriteComments
0Box digital input 0 ~ 15OX[BBBB BBBB BBBB BBBB]
1Box digital output 0 ~ 15OO[BBBB BBBB BBBB BBBB]
2Box analog input 0OX1mV unit
3Box analog input 1OX1mV unit
4Box analog input 2OX1mV unit
5Box analog input 3OX1mV unit
6Box analog output 0OO1mV unit
7Box analog output 1OO1mV unit
8Box analog output 2OO1mV unit
9Box analog output 3OO1mV unit
10Extend digital input 0 ~ 15OX[BBBB BBBB BBBB BBBB]
11Extend digital output 0 ~ 15OO[BBBB BBBB BBBB BBBB]
12Extend analog input 0OX1mV unit
13Extend analog input 1OX1mV unit
14Extend analog input 2OX1mV unit
15Extend analog input 3OX1mV unit
16Extend analog output 0OO1mV unit
17Extend analog output 1OO1mV unit
18Extend analog output 2OO1mV unit
19Extend analog output 3OO1mV unit
20Reserved (Box I/O)XX
21Reserved (Box I/O)XX
22Reserved (Box I/O)XX
23Reserved (Box I/O)XX
24Reserved (Box I/O)XX
25Reserved (Box I/O)XX
26Reserved (Box I/O)XX
27Reserved (Box I/O)XX
28Reserved (Box I/O)XX
29Reserved (Box I/O)XX
30Tool output voltageOO0, 12, 24
31Tool digital input 0~1 (or 0~5)OX[TTEE EExx xxxx xxxx]
32Tool digital output 0~1OO[TTxx xxxx xxxx xxxx]
33Tool analog input 0OX1mV unit
34Tool analog input 1OX1mV unit
35Reserved (Tool I/O)XX
36Reserved (Tool I/O)XX
37Reserved (Tool I/O)XX
38Reserved (Tool I/O)XX
39Reserved (Tool I/O)XX
40Reserved (Tool I/O)XX
41Reserved (Tool I/O)XX
42Reserved (Tool I/O)XX
43Reserved (Tool I/O)XX
44Reserved (Tool I/O)XX
45Reserved (Tool I/O)XX
46Reserved (Tool I/O)XX
47Reserved (Tool I/O)XX
48Reserved (Tool I/O)XX
49Reserved (Tool I/O)XX
50Is Robot ActivatedOX0 or 1
51Is Real-modeOX0 or 1
52Is Collision DetectedOX0 or 1
53Is Robot arm power engagedOX0 or 1
54Is Direct teaching modeOX0 or 1
55Is Robot movingOX0 or 1
56Is Pause stateOX0 or 1
57Is Teaching pendant is connectedOX0 or 1
58Is Program RunOX0 or 1
59Is No-Arc mode is onOX0 or 1
60Is EMG button releasedOX0 or 1
61Is First Program RunOX0 or 1
62Is Last Program Load DoneOX0 or 1
63Control Box AmphereOX0.02A unit
64Is Under ActivationOX0 or 1
65Collision On/Off StateOX0 or 1
66Collision ThresholdOX% unit
67TCP PxOX0.1mm unit / Signed
68TCP PyOX0.1mm unit / Signed
69TCP PzOX0.1mm unit / Signed
70TCP RxOX0.02deg unit / Signed
71TCP RyOX0.02deg unit / Signed
72TCP RzOX0.02deg unit / Signed
73Mass mOX0.1kg unit / Signed
74Is System SOSOXArm SOS Flag
75Is Home Is BeginOX0 or 1
76Control Box Heart Beat (0 or 1)OX0 or 1 (Every 1 second)
77Speed Bar ValueOX% unit
78N/AOX
79N/AOX
80RB->MBUS Welder Weld Start CmdOX0 or 1
81RB->MBUS Welder Gas on offOX0 or 1
82RB->MBUS Welder InchingOX0 or 1
83RB->MBUS Welder Re InchingOX0 or 1
84RB->MBUS Welder Touch Start CmdOX0 or 1
85RB->MBUS Welder Control parameter 1OX-
86RB->MBUS Welder Control parameter 2OX-
87RB->MBUS Welder Control parameter 3OX-
88RB->MBUS Welder Control parameter 4OX-
89RB->MBUS Welder Control parameter 5OX-
90Reserved (Future System)XX
91Reserved (Future System)XX
92Reserved (Future System)XX
93Reserved (Future System)XX
94Reserved (Future System)XX
95Reserved (Future System)XX
96Reserved (Future System)XX
97Reserved (Future System)XX
98Reserved (Future System)XX
99Reserved (Future System)XX
100Command: Start Program OnceOORising Edge is command
101Command: Start Program RepeatOORising Edge is command
102Command: Pause ProgramOORising Edge is command
103Command: Stop ProgramOORising Edge is command
104Command: Resume from pauseOORising Edge is command
105Command: Resume from collisionOORising Edge is command
106Command: Load default ProgramOORising Edge is command
107Command: Robot Arm activationOORising Edge is command
108Command: Change to Real-modeOORising Edge is command
109Command: Power off the robot armOORising Edge is command
110Command: Load Program TableOO#
111Command: Reset SOS FlagOO
112Command: Speed Bar ChageOO% unit
113N/AOO
114N/AOO
115N/AOO
116N/AOO
117N/AOO
118MBUS Welder->RB Info Arc ONOO0 or 1
119MBUS Welder->RB Welder ERROROO0 or 1
120MBUS Welder->RB Touch SensedOO0 or 1
121MBUS Welder->RB INFO parameter 1OO-
122MBUS Welder->RB INFO parameter 2OO-
123MBUS Welder->RB INFO parameter 3OO-
124MBUS Welder->RB INFO parameter 4OO-
125MBUS Welder->RB INFO parameter 5OO-
126N/AOO
127N/AOO
128 ~ 255User General Purpose Register
(User can read/write this area for program)
SD_MOD_USER_#
OOUser Define Area
256Joint reference 0OX0.02deg unit / Signed
257Joint reference 1OX0.02deg unit / Signed
258Joint reference 2OX0.02deg unit / Signed
259Joint reference 3OX0.02deg unit / Signed
260Joint reference 4OX0.02deg unit / Signed
261Joint reference 5OX0.02deg unit / Signed
262Joint angle 0OX0.02deg unit / Signed
263Joint angle 1OX0.02deg unit / Signed
264Joint angle 2OX0.02deg unit / Signed
265Joint angle 3OX0.02deg unit / Signed
266Joint angle 4OX0.02deg unit / Signed
267Joint angle 5OX0.02deg unit / Signed
268Joint current 0OX10mA unit / Signed
269Joint current 1OX10mA unit / Signed
270Joint current 2OX10mA unit / Signed
271Joint current 3OX10mA unit / Signed
272Joint current 4OX10mA unit / Signed
273Joint current 5OX10mA unit / Signed
274Joint information 0OX
275Joint information 1OX
276Joint information 2OX
277Joint information 3OX
278Joint information 4OX
279Joint information 5OX
280Joint temperature 0OXcelcius unit
281Joint temperature 1OXcelcius unit
282Joint temperature 2OXcelcius unit
283Joint temperature 3OXcelcius unit
284Joint temperature 4OXcelcius unit
285Joint temperature 5OXcelcius unit
286Joint 0 Estimated CurrentOX10mA unit / Signed
287Joint 1 Estimated CurrentOX10mA unit / Signed
288Joint 2 Estimated CurrentOX10mA unit / Signed
289Joint 3 Estimated CurrentOX10mA unit / Signed
290Joint 4 Estimated CurrentOX10mA unit / Signed
291Joint 5 Estimated CurrentOX10mA unit / Signed
292Joint 0 Gap(Esti.-Meas.) CurrentOX10mA unit / Signed
293Joint 1 Gap(Esti.-Meas.) CurrentOX10mA unit / Signed
294Joint 2 Gap(Esti.-Meas.) CurrentOX10mA unit / Signed
295Joint 3 Gap(Esti.-Meas.) CurrentOX10mA unit / Signed
296Joint 4 Gap(Esti.-Meas.) CurrentOX10mA unit / Signed
297Joint 5 Gap(Esti.-Meas.) CurrentOX10mA unit / Signed
298Joint 0 Gap(Esti.-Meas.) Curr+LPFOX10mA unit / Signed
299Joint 1 Gap(Esti.-Meas.) Curr+LPFOX10mA unit / Signed
300Joint 2 Gap(Esti.-Meas.) Curr+LPFOX10mA unit / Signed
301Joint 3 Gap(Esti.-Meas.) Curr+LPFOX10mA unit / Signed
302Joint 4 Gap(Esti.-Meas.) Curr+LPFOX10mA unit / Signed
303Joint 5 Gap(Esti.-Meas.) Curr+LPFOX10mA unit / Signed
304External FT Sensor Data FXOX0.02 unit / Signed
305External FT Sensor Data FYOX0.02 unit / Signed
306External FT Sensor Data FZOX0.02 unit / Signed
307External FT Sensor Data MXOX0.02 unit / Signed
308External FT Sensor Data MYOX0.02 unit / Signed
309External FT Sensor Data MZOX0.02 unit / Signed
310External Axis Reference 0OX0.5 unit / Signed
311External Axis Reference 1OX0.5 unit / Signed
312External Axis Reference 2OX0.5 unit / Signed
313External Axis Reference 3OX0.5 unit / Signed
314External Axis Reference 4OX0.5 unit / Signed
315External Axis Reference 5OX0.5 unit / Signed
316External Axis Encoder 0OX0.5 unit / Signed
317External Axis Encoder 1OX0.5 unit / Signed
318External Axis Encoder 2OX0.5 unit / Signed
319External Axis Encoder 3OX0.5 unit / Signed
320External Axis Encoder 4OX0.5 unit / Signed
321External Axis Encoder 5OX0.5 unit / Signed
322Reserved (Future System)XX
323Reserved (Future System)XX
324Reserved (Future System)XX
325Reserved (Future System)XX
326Reserved (Future System)XX
327Reserved (Future System)XX
328Reserved (Future System)XX
329Reserved (Future System)XX
330TCP reference XOX0.1mm unit / Signed
331TCP reference YOX0.1mm unit / Signed
332TCP reference ZOX0.1mm unit / Signed
333TCP reference RXOX0.02deg unit / Signed
334TCP reference RYOX0.02deg unit / Signed
335TCP reference RZOX0.02deg unit / Signed
336TCP position XOX0.1mm unit / Signed
337TCP position YOX0.1mm unit / Signed
338TCP position ZOX0.1mm unit / Signed
339TCP position RXOX0.02deg unit / Signed
340TCP position RYOX0.02deg unit / Signed
341TCP position RZOX0.02deg unit / Signed
342TCP Speed XOX0.5 unit / Signed
343TCP Speed YOX0.5 unit / Signed
344TCP Speed ZOX0.5 unit / Signed
345TCP Speed NormOX0.5 unit / Signed
346Reserved (Future System)XX
347Reserved (Future System)XX
348Reserved (Future System)XX
349Reserved (Future System)XX
350Reserved (Future System)XX
351Reserved (Future System)XX
352Reserved (Future System)XX
353Reserved (Future System)XX
354Reserved (Future System)XX
355Reserved (Future System)XX
356Reserved (Future System)XX
357Reserved (Future System)XX
358Reserved (Future System)XX
359Reserved (Future System)XX
360Reserved (Future System)XX
361Reserved (Future System)XX
362Reserved (Future System)XX
363Reserved (Future System)XX
364Reserved (Future System)XX
365Reserved (Future System)XX
366Reserved (Future System)XX
367Reserved (Future System)XX
368Reserved (Future System)XX
369Reserved (Future System)XX
370Reserved (Future System)XX
371Reserved (Future System)XX
372Reserved (Future System)XX
373Reserved (Future System)XX
374Reserved (Future System)XX
375Motion Generator: Parameter 0OO
376Motion Generator: Parameter 1OO
377Motion Generator: Parameter 2OO
378Motion Generator: Parameter 3OO
379Motion Generator: Parameter 4OO
380Motion Generator: Parameter 5OO
381Motion Generator: Parameter SpeedOO
382Motion Generator: Parameter Accel.OO
383Motion Generator: -OO
384Motion Generator: -OO
385Motion Generator: -OO
386Motion Generator: -OO
387Motion Generator: -OO
388Motion Generator: Motion CommandOO
389Motion Generator: Error ReportOO
EOT