- Home
- Modbus register maps
- Brainboxes
- ED-538 Ethernet digital I/O (Modbus TCP)
Sensor / remote I/O module · Modbus register map
Brainboxes ED-538 Ethernet digital I/O (Modbus TCP) Modbus register map
Updated 17 November 2026
The ED-538 is a Brainboxes Ethernet I/O module with 8 digital inputs with pulse counters and 4 digital outputs. It ships speaking the Brainboxes ASCII protocol; once its web page is switched to Modbus TCP, the I/O is exposed as coils, discrete inputs and registers. This map lists every object in the manufacturer's product table.
This page lists 51 Modbus registers for the Brainboxes ED-538 Ethernet digital I/O (Modbus TCP) — 13 writable — with the table, 0-based wire address, data type, word order, scale, units and access of each, re-typed from Brainboxes’s own free documentation (linked below) and checked against it.
- Manufacturer
- Brainboxes
- Model
- ED-538 Ethernet digital I/O (Modbus TCP)
- Equipment type
- Sensor / remote I/O module
- Registers
- 51 (13 writable)
- Transport
- Modbus TCP
- Default unit ID
- Not stated
- TCP port
- 502
- Documented addressing
- hexadecimal, 0-based
- Also known as
- ED-538, ED538
- Source document
- Using Modbus TCP with Brainboxes products
Integration notes: Brainboxes ED-538 Ethernet digital I/O (Modbus TCP)
Switch the module to Modbus TCP on its web page, then read the packed input or output register for a whole-module snapshot, or use the per-channel coils and discrete inputs. All values are single 16-bit registers or bits, so there is no word-order question.
Minimum registers to map
Addresses are 0-based wire addresses. Enough to monitor and run the unit; map more as the job needs.
| Register | Name | Type | Why | Access |
|---|---|---|---|---|
| IR 32 | Digital inputs (packed) | UINT16 | All digital input states in one read | Read |
| DI 0 | Digital input 0 | BIT | First digital input | Read |
| IR 0 | DI 0 counter | UINT16 | First input's pulse counter | Read |
| CO 512 | Clear DI 0 counter | BIT | Clear the first counter | Write |
| HR 32 | Digital outputs (packed) | UINT16 | Read or write all outputs at once | Read/write |
| CO 0 | Digital output 0 | BIT | Switch the first output | Read/write |
| IR 1024 | Output overload flags (packed) | UINT16 | Output overload flags | Read |
Enable Modbus control & writes
Open the module's web page (http://<ip>/#/protocol) and change Current Protocol from ASCII to Modbus TCP. The factory IP is 192.168.127.254 unless DHCP assigned one.
Byte order & addressing
- Inputs appear three ways (coils from 0x0020, discrete inputs from 0x0000, packed input register 0x0020); they carry the same states.
- Counters can be read as input registers or holding registers at the same addresses.
Network setup
- TCP port defaults to 502, idle timeout 0 (never drop), up to 8 simultaneous connections; all set on the protocol web page.
Watch out for
- The module answers ASCII, not Modbus, until the protocol is changed on the web page.
- An idle timeout other than 0 closes quiet connections; poll faster than the timeout or leave it at 0.
Brainboxes ED-538 Ethernet digital I/O (Modbus TCP) Modbus registers
Address = 0-based wire address (the documented number is shown under it when it differs) · Order: ABCD = high word first, CDAB = low word first · Scale: engineering value = raw × scale.
| Table | Address | Name | Description | Type | Order | Scale | Units | Access | Values / bits |
|---|---|---|---|---|---|---|---|---|---|
| CO | 0doc 00001 | Digital output 0 | Set or read output 0 (FC1/FC5/FC15). | BIT | Read/write | ||||
| CO | 1doc 00002 | Digital output 1 | Set or read output 1 (FC1/FC5/FC15). | BIT | Read/write | ||||
| CO | 2doc 00003 | Digital output 2 | Set or read output 2 (FC1/FC5/FC15). | BIT | Read/write | ||||
| CO | 3doc 00004 | Digital output 3 | Set or read output 3 (FC1/FC5/FC15). | BIT | Read/write | ||||
| CO | 32doc 00033 | Digital input 0 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 33doc 00034 | Digital input 1 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 34doc 00035 | Digital input 2 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 35doc 00036 | Digital input 3 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 36doc 00037 | Digital input 4 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 37doc 00038 | Digital input 5 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 38doc 00039 | Digital input 6 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 39doc 00040 | Digital input 7 (coil view) | Input state, readable as a coil with FC1. | BIT | Read | ||||
| CO | 512doc 00513 | Clear DI 0 counter | Write to clear this input's counter. | BIT | Write | ||||
| CO | 513doc 00514 | Clear DI 1 counter | Write to clear this input's counter. | BIT | Write | ||||
| CO | 514doc 00515 | Clear DI 2 counter | Write to clear this input's counter. | BIT | Write | ||||
| CO | 515doc 00516 | Clear DI 3 counter | Write to clear this input's counter. | BIT | Write | ||||
| CO | 516doc 00517 | Clear DI 4 counter | Write to clear this input's counter. | BIT | Write | ||||
| CO | 517doc 00518 | Clear DI 5 counter | Write to clear this input's counter. | BIT | Write | ||||
| CO | 518doc 00519 | Clear DI 6 counter | Write to clear this input's counter. | BIT | Write | ||||
| CO | 519doc 00520 | Clear DI 7 counter | Write to clear this input's counter. | BIT | Write | ||||
| DI | 0doc 10001 | Digital input 0 | Input state via FC2. | BIT | Read | ||||
| DI | 1doc 10002 | Digital input 1 | Input state via FC2. | BIT | Read | ||||
| DI | 2doc 10003 | Digital input 2 | Input state via FC2. | BIT | Read | ||||
| DI | 3doc 10004 | Digital input 3 | Input state via FC2. | BIT | Read | ||||
| DI | 4doc 10005 | Digital input 4 | Input state via FC2. | BIT | Read | ||||
| DI | 5doc 10006 | Digital input 5 | Input state via FC2. | BIT | Read | ||||
| DI | 6doc 10007 | Digital input 6 | Input state via FC2. | BIT | Read | ||||
| DI | 7doc 10008 | Digital input 7 | Input state via FC2. | BIT | Read | ||||
| DI | 1024doc 11025 | Output 0 overload flag | Set when output 0 is overloaded. | BIT | Read | ||||
| DI | 1025doc 11026 | Output 1 overload flag | Set when output 1 is overloaded. | BIT | Read | ||||
| DI | 1026doc 11027 | Output 2 overload flag | Set when output 2 is overloaded. | BIT | Read | ||||
| DI | 1027doc 11028 | Output 3 overload flag | Set when output 3 is overloaded. | BIT | Read | ||||
| IR | 0doc 30001 | DI 0 counter | Pulse counter for input 0. | UINT16 | Read | ||||
| IR | 1doc 30002 | DI 1 counter | Pulse counter for input 1. | UINT16 | Read | ||||
| IR | 2doc 30003 | DI 2 counter | Pulse counter for input 2. | UINT16 | Read | ||||
| IR | 3doc 30004 | DI 3 counter | Pulse counter for input 3. | UINT16 | Read | ||||
| IR | 4doc 30005 | DI 4 counter | Pulse counter for input 4. | UINT16 | Read | ||||
| IR | 5doc 30006 | DI 5 counter | Pulse counter for input 5. | UINT16 | Read | ||||
| IR | 6doc 30007 | DI 6 counter | Pulse counter for input 6. | UINT16 | Read | ||||
| IR | 7doc 30008 | DI 7 counter | Pulse counter for input 7. | UINT16 | Read | ||||
| IR | 32doc 30033 | Digital inputs (packed) | All inputs in one register; packed bits, layout not given in the manual. | UINT16 | Read | ||||
| IR | 1024doc 31025 | Output overload flags (packed) | Overload flags in one register; packed bits, layout not given in the manual. | UINT16 | Read | ||||
| HR | 0doc 40001 | DI 0 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 1doc 40002 | DI 1 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 2doc 40003 | DI 2 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 3doc 40004 | DI 3 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 4doc 40005 | DI 4 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 5doc 40006 | DI 5 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 6doc 40007 | DI 6 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 7doc 40008 | DI 7 counter (holding view) | Same counter read with FC3. | UINT16 | Read | ||||
| HR | 32doc 40033 | Digital outputs (packed) | All outputs in one register; packed bits, layout not given in the manual. | UINT16 | Read/write |
Notes on this map
- The product table gives every object twice: as a logical (wire) address in hex and as a 984-style address (logical + 1 with a 0/1/3/4 prefix). The two columns agree, so the hex logical address is used here.
- Channel numbers in register names count from 0, matching the order of the logical addresses (channel 0 = first address of each block).
- The manual does not state the counter width; each counter occupies one 16-bit register in the table, so it is listed as UINT16.
- Brainboxes' own Node-RED guide (docs.brainboxes.com, 'Using Modbus TCP with Node-RED', ED-588) writes coil address 0 for output 0 and reads input registers from address 0 for inputs 0-7, which matches the product table. The manual's section 10 worked example (ED-527 only) instead puts the outputs at 0x0001-0x0010; that example also labels a 0xFF00 write as 'low', so it is treated as an error here.
- The same objects can also be reached with IEC 61131 %M/%MW addresses in some PLCs; those are listed in the manual and not repeated here.
- The manual prints the ED-538 overload discrete-input range as 11025-8; for four outputs starting at logical 0x0400 that is 11025-11028.
- The manual does not say which bit of a packed register belongs to which channel, so no bit list is given; check against the per-channel objects on site.
Check it against the live device. A register map tells you what the controller can expose; the unit in front of you may differ by firmware or options. Read a few registers and compare them with the unit’s own display; for a 32-bit value the float and byte-order decoder shows all four word orders at once, so a wrong word order or scale is obvious. New to this? Read what a register map is and why addresses are off by one.
Questions about the Brainboxes ED-538 Ethernet digital I/O (Modbus TCP)
What Modbus registers does the Brainboxes ED-538 Ethernet digital I/O (Modbus TCP) have?
This map lists 51 registers: 20 coils, 12 discrete inputs, 10 input registers, 9 holding registers. 13 of them can be written. Registers vary with firmware, options and configuration, so confirm against the device.
Are the Brainboxes ED-538 Ethernet digital I/O (Modbus TCP) Modbus addresses 0-based or 1-based?
The manufacturer's document numbers registers hexadecimal, 0-based. Every address on this page is the 0-based wire address you put in the request; the documented number is shown under it where it differs. The table prints logical (on-the-wire) addresses in hex next to 984-style numbers. Use the hex value directly: input register 0x0020 is requested at address 32 and corresponds to 30033.
What are the minimum Modbus registers to integrate the Brainboxes ED-538 Ethernet digital I/O (Modbus TCP)?
Start with IR 32 Digital inputs (packed) (All digital input states in one read); DI 0 Digital input 0 (First digital input); IR 0 DI 0 counter (First input's pulse counter); CO 512 Clear DI 0 counter (Clear the first counter); HR 32 Digital outputs (packed) (Read or write all outputs at once); CO 0 Digital output 0 (Switch the first output); IR 1024 Output overload flags (packed) (Output overload flags).
How do I enable Modbus control of the Brainboxes ED-538 Ethernet digital I/O (Modbus TCP)?
Open the module's web page (http://<ip>/#/protocol) and change Current Protocol from ASCII to Modbus TCP. The factory IP is 192.168.127.254 unless DHCP assigned one.
Where is the official Brainboxes ED-538 Ethernet digital I/O (Modbus TCP) Modbus documentation?
The source is Using Modbus TCP with Brainboxes products, published free by Brainboxes at https://www.brainboxes.com/files/catalog/product/ED/ED-516/documents/Brainboxes%20Modbus%20TCP%20Manual.pdf.
More Brainboxes Modbus register maps
- Sensor / remote I/O module
Brainboxes ED-516 Ethernet digital I/O (Modbus TCP)
Brainboxes ED-516 Ethernet I/O module with the protocol set to Modbus TCP.
Also known as: ED-516, ED516 - Sensor / remote I/O module
Brainboxes ED-588 Ethernet digital I/O (Modbus TCP)
Brainboxes ED-588 Ethernet I/O module with the protocol set to Modbus TCP.
Also known as: ED-588, ED588
Other remote i/o modules register maps
- Sensor (remote I/O module)
Moxa ioLogik R1212 RS-485 remote I/O
ioLogik R1212 per the ioLogik R1200 Series User's Manual, Edition 3.4 (April 2021).
Also known as: ioLogik R1212, R1212, R1212-T - Sensor (remote I/O module, RTD inputs)
Seneca R-4RTD-8DIDO Ethernet I/O (4 RTD inputs, 8 digital I/O)
R-4RTD-8DIDO in the Series R I/O manual MI-00604-29-EN.
Also known as: R4RTD8DIDO, R-4RTD-8DIDO, Seneca R series 4RTD - Sensor (Ethernet data logger / I/O module)
Teracom TCW220 Ethernet data logger
TCW220 per the Teracom TCW220 user manual Revision R4.24, firmware V2.012 or later.
Also known as: TCW220 - Sensor (remote I/O module)
Unipi Technology Unipi Extension xS54 universal analog input module
Unipi Extension xS54 RS-485 module per the Unipi Extension xS54 Modbus map v2.0.
Also known as: Unipi Extension xS54, xS54 - Sensor (counter/frequency input module)
ICP DAS M-7080 / M-7080B 2-channel counter/frequency module (Modbus RTU)
ICP DAS M-7080 and M-7080B two-channel 32-bit counter/frequency modules with two digital outputs, in Modbus RTU mode.
Also known as: M-7080, M-7080B, M7080, M7080B - Sensor (remote I/O module)
Moxa ioLogik R1241 RS-485 remote I/O
ioLogik R1241 per the ioLogik R1200 Series User's Manual, Edition 3.4 (April 2021).
Also known as: ioLogik R1241, R1241, R1241-T
All remote i/o modules Modbus register maps →
Source: Using Modbus TCP with Brainboxes products. Register numbers, types, scaling and units are reproduced as published; descriptions are our own.