Skip to content
MPA-32A16R industrial PLC controller — front view

MPA Series

MPA-32A16R

MPA-32A16R Industrial PLC Controller

I/O at a glance
32 DI / 16 Relay / RS-232 / RS-485 / UART / I²C

MPA-32A16R is an industrial PLC controller with 32 isolated digital inputs and 16 relay outputs. Onboard RS-232, RS-485, UART, I²C, programmed in MP STUDIO ladder logic. DIN-rail mountable for automation, testing, HMI integration and machine control.

$218.00 In stock
Options
Analogue input module (X)
PT100Ω temperature input module (F)
Analogue output module (Y)
Pulse output module (K)
Add-on products
Add related items you may need (optional)
Download cable — a USB-A plug at one end and a square USB-B plug at the other
Download Cable
Download Cable (USB A to B, 1.2 m)
$2.00
Super capacitor DDL 5.5V 1F — a radial supercapacitor with two leads, for the +5V terminal
Super Capacitor DDL 5.5V 1F
Super Capacitor DDL 5.5V 1F (power-fail retention)
$5.00
Total$218.00

Shipping

International shipping (EMS · DHL · UPS) — calculated at checkout by destination & weight

Dispatch

Ships the next business day (regardless of order time)

Large orders may take 1 extra day to dispatch

Returns & Exchange

Cancel before dispatch · request a return/exchange after delivery

Key features

/ FEATURES
  • Programmed in MP STUDIO ladder logic
  • 32 opto-isolated digital inputs, NPN/PNP selectable
  • 16 relay outputs for AC/DC dry-contact switching
  • Industrial communication: RS-485, RS-232, UART, I²C · Modbus RTU
  • DIN-rail 35 mm mountable, isolated field I/O for the factory floor

Specifications

/ SPEC
Power inputDC 12V – 24V
Digital inputs32
Relay outputs16
High-speed pulse inputs2
Encoder inputs2
RS-2321ch
RS-4851ch
UART1ch
I²C1ch
Modbus RTUYes
LS CnetYes

Software

MP STUDIO — Ladder Logic

The MPA series is programmed in MP STUDIO, a free ladder-logic IDE. Draw the control logic as a ladder diagram and call analog, temperature, high-speed counter and pulse output straight from function blocks.

0000P0P320001@ONADCCHANNEL0MAX VALUE1000MIN VALUE0OUTD0
MP STUDIO ladder program example (from the user manual)

Ladder logic only

Contacts and coils — existing PLC experience transfers directly

Function blocks

ADC · NTEMP · HCNT · ENCODER · PWM, each a single block

Live monitoring

Ctrl+T to download, Ctrl+M to monitor and debug on the machine

Before the first download

Install MP STUDIO from the ILOGICS download centre, pick your model in the device list, set the COM port, and you can download straight away.

This model connects to the PC with an ordinary USB cable — no MP download cable is required, and the driver is Silicon Labs CP210x.

Digital input

32 isolated digital input channels

32 digital input channels read external switches and sensors straight from the terminal block. In the ladder program they are the contacts P0–P31. The inputs are split 16 + 16 across 2 I/O modules.

  • P0–P31 inputs

    32 isolated digital input points in total

  • COM0 / COM1 commons (2 per module)

    Module 0 COM0 = P0–P7 · COM1 = P8–P15 | Module 1 COM0 = P16–P23 · COM1 = P24–P31 (8 points per COM)

  • DC 080 V input

    DC 5 V and above reads as HIGH · optocoupler isolated

  • NPN / PNP sensors

    Either sensor wiring convention is read as-is

Input channel layout

P0P1P2P3P4P5P6P7+COM0P0~P7 / COM0MODULE 0 · 8P/1COMP8P9P10P11P12P13P14P15+COM1P8~P15 / COM1MODULE 0 · 8P/1COMP16P17P18P19P20P21P22P23+COM0P16~P23 / COM0MODULE 1 · 8P/1COMP24P25P26P27P28P29P30P31+COM1P24~P31 / COM1MODULE 1 · 8P/1COM

* Example wiring for external switches or sensors — applying DC 5 V–24 V at the terminal turns that contact memory ON

Optocoupler isolation

PxCOMx

The digital inputs run through an optocoupler stage, so the field wiring stays electrically separate from the control circuit.

Example ladder — reading an input
        P0                                  P32
0000  --| |---------------------------------( )--

  P0 = push button (digital input), P32 = the load on the first relay output.
  P0 ON  -> P32 ON        P0 OFF -> P32 OFF
  Module 0 returns P0~P7 on COM0 and P8~P15 on COM1 - eight points per common.
  Module 1 carries P16~P31 the same way, on a COM0 and COM1 of its own.

Relay output

16 isolated relay contact outputs

16 volt-free relay contacts switch DC or AC loads directly. In the ladder program, turning the contacts P32–P47 ON closes the matching relay onto its COM.

  • P32–P47 outputs

    16 isolated relay points in total

  • COM0 / COM1 / COM2 / COM3 commons

    COM0 = P32–P35 · COM1 = P36–P39 · COM2 = P40–P43 · COM3 = P44–P47 (4 points per COM)

  • DC 030 V / AC 0250 V

    Volt-free contacts, so DC and AC loads both wire straight to the terminal

  • 5A / 1POINT · 8A / 1COM

    Maximum switching current, per point and per COM

Relay output layout

P32P33P34P35+COM0P36P37P38P39+COM1P40P41P42P43ACCOM2P44P45P46P47ACCOM3P32~P4716P · 4P/1COM

* Each block of 4 points shares one COM — the load supply arrives on that COM

Relay contact structure

Control (MCU · coil)Output (volt-free contact · COM)

The MCU drives the relay coil through an optocoupler and the contact itself is volt-free, so the load circuit shares nothing electrically with the controller.

Example ladder — driving a relay output
        P1                                  P33
0000  --| |---------------------------------(S)--

        P2                                  P33
0001  --| |---------------------------------(R)--

  P1 = start button, P2 = stop button, P33 = the load on the second relay output.
  P1 ON latches P33 on (it stays on when P1 is released); P2 ON clears it.
  P32~P35 share module 2's COM0 - four of its sixteen outputs take their load
  supply from it. Module 2 is the relay bay; modules 0 and 1 are the inputs.

High-speed counter · encoder

2 isolated high-speed counter / encoder channels

Pulses that arrive faster than one program scan are counted in hardware. Counter channels 0 and 1 are the digital input contacts P0 · P1 themselves, so no extra terminal is needed — and the same contacts read a two-phase encoder.

  • P0 · P1 counters

    Max 8kHz, counting 0 ~ 4,294,967,295 — read with the HCNT function block

  • Encoder pairs

    Channel 0 P0(A)·P2(B) · Channel 1 P1(A)·P3(B) — Max 8kHz, -2,147,483,648 ~ 2,147,483,647

  • Shared with the inputs

    There are no counter or encoder terminals of their own — the contacts they use are P0 · P1.

Counter and encoder wiring

Counting pulsesDC 5V~24VP0HCNT countsReading an encoderP0P2ENCODER reads the encoder

* The counter and the encoder are wired to the same contacts.

Before you wire it

  • Fitting expansion modules K2 · Y3 · Y4 · YK · Y2K makes channels 0 and 1 unavailable.

Channels and contacts

ChannelContactsCharacteristics
Channel 0P0 · encoder P0(A)·P2(B)Isolated · Max 8 kHz
Channel 1P1 · encoder P1(A)·P3(B)Isolated · Max 8 kHz

Counter range 0 ~ 4,294,967,295 · encoder range -2,147,483,648 ~ 2,147,483,647. Function blocks published by this manual: HCNT · ENCODER.

HCNT — counting
        @ON                       HCNT
0000  --| |-----------------------[ CHANNEL:0 | OUT:D100 ]--

  @ON is always on, so the counter free-runs and D100 always holds the count.
  CHANNEL selects the counter input port (0 or 1); OUT is the memory the count
  is stored in.
ENCODER — encoder value
        @ON                       ENCODER
0000  --| |-----------------------[ CHANNEL:0 | OUT:DD0 ]--

  Channel 0's encoder value is kept in the double-word memory DD0.

Communication

three serial channels plus I²C

RS-232 · RS-485 · UART sit on the CPU module's terminal block as three independent channels, each with its own MP STUDIO channel number (Channel 1 · Channel 2 · Channel 3), and an I²C master port sits beside them. A user-defined protocol can be written in NORMAL MODE with the PUT, GET, PUTLEN, GETLEN function blocks.

  • RS-485 multidrop

    485+ and 485- — two wires carry several devices on one pair

  • Modbus RTU

    Master on one channel of the three, slave on every channel.

  • I²C · 1:N

    SDA · SCL · +5V · GND — master mode only, for a character LCD and other I²C devices

  • Ethernet via M-ETHER

    M-ETHER converts Ethernet to RS-232 / RS-485, and Download Mode makes remote download and debugging possible

RS-485 link

Auto direction485+485-RS-485 linkDevice 1Device 2Device 3

* Several devices share one 485+ / 485- pair. The channel number the ladder uses is Channel 2.

Terminal blocks

I²CSDASCL+5VGNDRS-232 · Channel 1TXRXGNDRS-485 · Channel 2485+485-UART · Channel 3TXDRXDGND

* All four groups are screw poles on the CPU module, silkscreened I2C · RS232 · RS485 · UART. Note that RS-232 is marked TX / RX while UART is marked TXD / RXD.

Channels and terminals

ChannelTerminalsSilkscreen
RS-232 · Channel 1TX · RX · GNDRS232
RS-485 · Channel 2485+ · 485-RS485
UART · Channel 3TXD · RXD · GNDUART
I²C · masterSDA · SCL · +5V · GNDI2C
NORMAL MODEPUT, GET, PUTLEN, GETLENUser-defined protocol

Protocols this manual lists: Modbus RTU Master/Slave · Cubloc Modbus RTU Slave · LS ELECTRIC MASTER-K LINK Slave · IBUS. Channel numbers and port settings are changed in MP STUDIO's communication port settings.

Before you wire it

  • Modbus RTU master may be assigned to one channel only; slave works on all of them.
  • Download Mode makes program download and debugging possible over Channel 1 · Channel 2 · Channel 3 as well.

7-segment (FND) connectionFND · TM1637

A four-digit 7-segment display on two signal wires

The display module carries a TM1637 driver, so a four-digit readout needs only a clock line and a data line. This board has no dedicated display connector: the two signals go on ordinary screw poles — CLK = RXD · DIO = TXD is the pair the manufacturer's own wiring article uses — and +5V and GND come off the I2C terminal block's +5V and GND (the signals come from the UART poles), which makes the whole run four wires. The ladder drives it with the FINI · FINT · FDATA function blocks.

  • Two wires: CLK and DIO

    A TM1637 four-digit module needs no more

  • One display

    This board brings out a single CLK / DIO pair

  • Powered from the board

    +5V · GND on the I2C terminal block

  • FINI · FINT · FDATA

    Ladder function blocks — initialise, print a number, drive the segments

Displays and their poles

DisplayTerminalsRole
1CLK = RXD · DIO = TXDCLK / DIO
Supply+5V · GNDBoard output

The signal poles are the UART serial port (channel 3) terminals doing double duty, so a pole driving a display is spent for as long as it does. FINI is run once at power-up and takes the CLK and DIO port numbers as constants — this board's sources do not publish the numbers that stand for these poles; FINT prints a decimal number and FDATA drives the segments and the dot bit by bit. The display module itself is an accessory sold separately.

Connection from the wiring article

4-digit 7-segment (FND) moduleCLKDIO+5VGNDRXDTXD+5VGND

* The poles are silkscreened RXD · TXD · +5V · GND; nothing on the board says CLK or DIO, so the role of each wire is printed where it lands. The display comes in a decimal-point form and a time-displaying form, both sold separately.

The signal pair

1RXDCLKTXDDIO

* The display's CLK and DIO lines land on these two poles; +5V and GND come from the group named above. The manufacturer's own article assigns the UART port's RXD to CLK and TXD to DIO. The channel has one of each, so there is a single pair — and while a display is connected, that channel cannot carry serial communication.

Before you wire it

  • A pole used for a display cannot be used as the UART serial port (channel 3) at the same time.
  • FINI takes CONSTANTS for CLK and DIO; a memory address cannot be used there.
  • The time-displaying form cannot control its decimal points. Use the decimal-point form if you need them.
  • The 7-segment module is an accessory sold separately; it is not included with the board.

Power · Data retentionPower · Backup

DC 12V ~ 24V in, 5 V out — and your data survives the blackout

The controller takes DC 12V ~ 24V and an on-board regulator converts it to 5 V for the internal circuit. Size the supply for at least 24V 0.5A.

  • DC 12V ~ 24V

    Size the supply for 24V 0.5A or more

  • 5 V internal

    On-board regulator conversion

  • +5 V out

    From the I²C terminal block — limit not published

  • Supercapacitor hold-up

    Holds the +5 V rail up through a power cut

Before wiring the supply

  • An EEPROM section written about 100,000 times can fail, and a failed section reads back a random value after a power cut. For values that change constantly, use the supercapacitor method below.
  • USB power is for development and bench testing. With every output on, the board draws roughly 5 V 1 A — more than a PC port is meant to give — so the manual asks you to use a powered USB hub, or the external supply, once outputs are wired.
  • Do not exceed the stated input voltage range.
  • Do not reverse the supply polarity or mis-wire the input.

Where the power goes

DC 12V ~ 24V24V 0.5A min.REGULATORDC-DC to 5V5V internalFeeds the control circuit+5V terminalon the I²C blockUSB 5VDownload portSupercapacitorHolds the rail up
Supply input5 V railData retention

* Either source runs the controller: the external supply through the regulator, or the download port's 5 V directly. The supercapacitor sits on the same 5 V node and keeps it alive when both go away.

Power and data retention

Input voltageDC 12V ~ 24V
SMPS requirement24V 0.5A or more
Internal conversionOn-board regulator to 5 V
+5 V outputFrom the +5 V pole of the I²C terminal block — this model's manual states no current limit
USB-powered operationRuns on the PC's 5 V through the download port
Non-volatile memoryEEPROM, about 100,000 writes per section
Hold-up on a power cutSupercapacitor on the +5 V pole
Blackouts retainedMore than 100,000, writing only when the mains drops

Size the supply for 24V 0.5A or more, plus whatever the +5 V pole is feeding.

Keeping data through a blackout

Which method you want depends on how often the value changes. The first is a setting; the second needs one part and a few rungs.

EEPROM retentive area — values that change occasionally

Mark a retentive area under Settings → Data Memory in MP STUDIO and the runtime copies that memory into non-volatile EEPROM every time its value changes — no code to write. Because a section survives only about 100,000 writes, it belongs to setpoints, calibration data and machine configuration rather than to anything the scan updates.

Supercapacitor — values that change constantly

Fit a supercapacitor to the +5 V pole and the internal 5 V stays up for a moment after the main supply is cut. Wire the main supply into a digital input as well, add a rung that moves the live value into the retentive memory as soon as that input goes off, and a second rung that moves it back once on restart. The EEPROM is then written only at the instant of a blackout, so it survives more than 100,000 of them.

Mounting · DIN railDIN Rail

A sealed enclosure that clips onto a 35 mm DIN rail

The controller ships as a sealed enclosure: a CPU bay plus 3 I/O bays, 109 × 108 mm across the front and 83 mm deep with the clip. Two sliding clips hook it onto a 35 mm DIN rail; where no rail is used, the Ø4 holes in the clip feet take a screw. Overall height is 120.42 mm with the clips open and 115.16 mm once they are closed on the rail.

  • 35 mm DIN rail

    Two sliding clips hook over the rail

  • Direct screw mounting

    Through the Ø4 holes in the clip feet

  • 109 × 108 mm

    Enclosure front, 83 mm deep (79 mm body)

  • 115.16 mm engaged

    120.42 mm with the clips open

Mounting and dimensions

Mounting35 mm DIN rail, or screws through the Ø4 clip-foot holes
DIN rail35 mm
Enclosure front109 × 108 mm
Depth83 mm (body 79 mm)
BaysCPU 1 + I/O 3 (4 total)
Mounting holesØ4 mm · 81 mm apart
Clip open (before engaging)approx. 120.42 mm
Clip closed (engaged)approx. 115.16 mm

Allow 83 mm of panel depth for the enclosure and clip. The clip travel is the difference between the two heights above — 120.42 mm open, 115.16 mm engaged.

Mounting on a 35 mm DIN rail

35109
DIN rail clip35 mm DIN railEnclosure

* The clips hook over a 35 mm DIN rail. Overall height is 120.42 mm with them open and 115.16 mm once closed and engaged. The drawing shows the mounting method rather than the clips' own shape.

Outline and mounting holes

10910881Ø4Mounting hole

* The enclosure front with the clips open. All dimensions in millimetres.

Installation notes

  • Indoor use only. Do not install where there is rain, dust, frost, direct sunlight or condensation.
  • Do not install in an atmosphere containing flammable or explosive gas.
  • Do not install where there is heavy vibration or shock.
  • Where the equipment affects life or property (nuclear, medical, marine, vehicle, aviation and the like), a secondary safety device must be fitted.

Important notesX · F · Y · K

Expansion modules (X · F · Y · K) are built into the same enclosure as the base unit, in the configuration you order. That is why the combinations have limits.

Before you order

  • Adding an expansion module means the unit is assembled to your order, so such an order is difficult to exchange or refund.
  • Analogue input (X) and PT100Ω temperature input (F) — up to 20 points between them.
  • Analogue output (Y) and Pulse output (K) — up to 12 points between them.
  • A combination that cannot be built is disabled in the option selector, so it cannot be chosen.

Downloads

/ FILES

FAQ

How many I/O points does the MPA-32A16R have?

The MPA-32A16R provides 32 isolated digital inputs and 16 relay outputs, with onboard RS-485, RS-232, UART, I²C communication. See the specification table for the full breakdown.

Does the MPA-32A16R support Modbus RTU?

Yes. The MPA-32A16R supports Modbus RTU — master and slave alike — over its serial interface.

Related controllers

/ RELATED