Skip to Content

moduleX · Remote I/O · Modbus RTU · RS-485

moduleX: technical features

Technical reference of moduleX, the modular remote I/O system from Industrial Shields: master and I/O modules, power supply, DIP switches, Modbus register map, digital and analog I/O, RS-485, Xbus and diagnostics.

Power supply
24 Vdc
Protocol
Modbus RTU slave, 19200 to 115200 bps
Capacity
Up to 16 modules per master, 10 ms
Modules
MX-8DI, MX-8DO, MX-4AI, MX-4AOV

moduleX overview

What is moduleX#

moduleX remote I/O: master module with digital and analog I/O modules on DIN rail

moduleX is a modular remote I/O system. A master module works as a Modbus RTU slave over RS-485, and up to 16 I/O modules connect to it over the internal Xbus, with a 10 ms refresh time.

Any Modbus RTU master can read it: Industrial Shields PLCs, PLCs from other brands, HMI and SCADA systems. The master detects the modules automatically and maps them to Modbus registers, with no software configuration.

Modules and packs#

ModuleFunctionSize
Master RS485Modbus RTU slave on RS-485, manages up to 16 modules63 x 72 x 40 mm
MX-8DI8 isolated digital inputs, IEC 61131-245 x 72 x 40 mm
MX-8DO8 digital outputs, 0.7 A per channel45 x 72 x 40 mm
MX-4AI4 analog inputs, 0-10 V or 0-20 mA, 15 bits45 x 72 x 40 mm
MX-4AOV4 analog outputs, 0-10 V45 x 72 x 40 mm
PackContents
moduleX 8 Digital IOs COREMaster, MX-8DI and MX-8DO
moduleX 4 Analog IOs COREMaster, MX-4AI and MX-4AOV
moduleX IOs COREMaster, MX-8DI, MX-8DO, MX-4AI and MX-4AOV
moduleX configurableThe modules you choose

Know-How: Choosing a PLC 1: count the I/O and leave spare · Choosing a PLC 2: which communications do you really need

Installation and setup

Power supply: 24 Vdc#

The master module takes 24 Vdc with polarity protection, 0.5 A maximum. The I/O modules take their logic supply from the Xbus and need a separate 24 Vdc field supply, galvanically isolated from the logic.

ModuleMaximum current
Master RS4850.5 A
MX-8DI2 A
MX-4AI2 A
MX-8DO6 A

Mounting and wiring#

Modules mount side by side on DIN rail, IP20, inside a cabinet. Terminals are pluggable push-in with screw lock, for 24 to 16 AWG (0.2 to 1.5 mm²). Sensors and actuators wire directly to the module terminals, so no extra distribution blocks are needed.

DIP switches of the master#

DIPFunctionValues
1 to 4Modbus slave ID (binary, DIP 1 is the lowest bit)1 to 15
5 and 6Baud rateOFF OFF: 115200 · ON OFF: 57600 · OFF ON: 38400 · ON ON: 19200 bps
7Digital output register modeOFF: holding registers · ON: coils
End line120 Ω termination resistorON only at the end of the RS-485 line

Inputs and outputs

Digital inputs: MX-8DI#

8 isolated digital inputs, IEC 61131-2 compliant. A "0" is 0 to 5 V and a "1" is 11 to 30 V, with 3 mA input current.

Each input register holds two modules (16 bits): input 1 of module 1 is the lowest bit and input 8 of module 2 the highest. With 16 MX-8DI, that is input registers 0 to 7, or discrete inputs 0 to 127 when read one by one.

Know-How: Digital input not reading: NPN or PNP, step by step

Digital outputs: MX-8DO#

8 digital outputs, 0.7 A per channel, short-circuit proof (1.7 A peak). They need the 24 Vdc field supply.

With DIP 7 OFF, outputs are written as holding registers 0 to 7, two modules per register. With DIP 7 ON, each output is a coil, 0 to 127.

Know-How: Relay or transistor output: which one and how to check it

Analog inputs: MX-4AI#

4 isolated analog inputs, 0-10 V or 0-20 mA, selected per channel with a DIP switch. The ADC has 15-bit resolution and each reading is 0 to 32767.

Analog inputs start at input register 10, with 4 registers per module. The last register is 29, so a cluster takes up to 5 MX-4AI.

Know-How: 4-20 mA input reading wrong: check it step by step · Scaling a 4-20 mA signal in the PLC: formula, constants and code

Analog outputs: MX-4AOV#

4 isolated analog outputs, 0-10 V, 25 mA maximum, 12-bit DAC, 20 ms response time. They need the 24 Vdc field supply.

Analog outputs are holding registers 10 to 29, with 4 registers per module, so a cluster takes up to 5 MX-4AOV.

Communications: RS-485 and Xbus

RS-485: Modbus RTU slave#

The master is a Modbus RTU slave on RS-485, with IN and OUT terminals to continue the bus. Set the slave ID and the baud rate with the DIP switches; up to 16 clusters can share the same RS-485 bus.

The blue RS485 LED lights on each valid Modbus RTU request.

Know-How: RS-485: how to check a bus step by step · Modbus RTU timeout: 6 checks before blaming the wiring · Modbus register 40001 or address 0? 6 checks

Xbus: master to modules#

The Xbus connects the master with its I/O modules: up to 16 modules per cluster, 10 ms refresh. The master scans the modules at start-up and maps their data to Modbus registers automatically.

Diagnostics: LEDs and error codes

Status LEDs and error codes#

Errors show as red flashes at 5 Hz: the number of flashes is the error code, repeated twice.

CodeMaster (RUN LED)I/O module (ST LED)
1Device scan timeout: check the connection between modulesDevice scan bad CRC
2Invalid data received: check the modulesNo space in the cluster: more than 16 modules
3CRC mismatch: check the modulesBad setup frame
4Run data timeout: check the connection between modulesRun data bad CRC

In normal operation, the RUN LED of the master blinks green at 2 Hz (red if no modules are connected) and the ST LED of each module is green, yellow while it waits for the master.

moduleX resources

Courses, examples and documents#

moduleX FAQ#

Which controllers can read moduleX?

Any controller that works as a Modbus RTU master over RS-485: Industrial Shields PLCs, PLCs from other brands, HMI and SCADA systems.

How many modules does a master take?

Up to 16 I/O modules per master, with a 10 ms refresh time. Up to 5 of them can be MX-4AI analog input modules.

Do I need to configure the modules by software?

No. Set the slave ID, the baud rate and the output mode with the DIP switches of the master. The master detects the modules and maps them to Modbus registers.

Can I use moduleX with a GateBerry?

Yes. The GateBerry has no local I/O, so moduleX on its RS-485 port adds digital and analog I/O to the gateway.

No section matches your search. Try a pin name, a protocol or a component.