This is an old revision of the document!
Table of Contents
MPAINO Series
Arduino IDE Getting Started — Install Arduino IDE and the ILOGICS boards, connect MPAINO, select its board and port, and check its first I/O.
First MPAINO project in MPINO Studio 2 — Connect input P0 to output P64 in a ladder project for MPAINO-8A8R(T).
MPAINO Series is a modular industrial Arduino family that controls digital I/O, analog I/O, temperature sensor inputs, and high-speed pulse I/O using Arduino IDE (Arduino C/C++) or MPINO STUDIO 2 (Arduino C/C++ & ladder logic).
Select a CPU module, I/O modules, and optional modules to configure the product. The product is assembled and shipped in the selected configuration.
Supports 1 RS-232 channel, 1 RS-485 channel, and 1 UART channel.
How to read model names
- The leading number in
8A,16A, etc. is the number of digital inputs. - The number before
Ris the number of relay outputs. - The number before
Tis the number of transistor outputs. 16A16Ris a model with 16 digital inputs and 16 relay outputs.16A16Tis a model with 16 digital inputs and 16 transistor outputs.
MPAINO Series comparison
| Model | Program | Digital inputs | Relay outputs | Transistor outputs | High-speed pulse inputs | Encoder Inputs | RS-232 | RS-485 | UART |
|---|---|---|---|---|---|---|---|---|---|
| MPAINO-8A8R | Arduino & ladder logic | 8 | 8 | 0 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-8A8T | Arduino & ladder logic | 8 | 0 | 8 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-16A16R | Arduino & ladder logic | 16 | 16 | 0 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-16A16T | Arduino & ladder logic | 16 | 0 | 16 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-16A32R | Arduino & ladder logic | 16 | 32 | 0 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-24A24R | Arduino & ladder logic | 24 | 24 | 0 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-24A24T | Arduino & ladder logic | 24 | 0 | 24 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-32A16R | Arduino & ladder logic | 32 | 16 | 0 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-32A32R | Arduino & ladder logic | 32 | 32 | 0 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-32A32T | Arduino & ladder logic | 32 | 0 | 32 | 4 | 2 | 1 | 1 | 1 |
| MPAINO-48A48R | Arduino & ladder logic | 48 | 48 | 0 | 2 | 1 | 1 | 1 | 1 |
| MPAINO-48A48T | Arduino & ladder logic | 48 | 0 | 48 | 2 | 1 | 1 | 1 | 1 |
| MPAINO-64A64R | Arduino & ladder logic | 64 | 64 | 0 | 2 | 1 | 1 | 1 | 1 |
| MPAINO-64A64T | Arduino & ladder logic | 64 | 0 | 64 | 2 | 1 | 1 | 1 | 1 |
Optional modules provide analog I/O, temperature sensor inputs, and high-speed pulse outputs.
Arduino IDE settings
Find the product below and select the same board name in Arduino IDE. The first I/O numbers are used by the output and input examples in the getting-started guide.
| Product | Arduino IDE board | PC connection and Device Manager | Pin numbers |
|---|---|---|---|
| MPAINO-8A8R · MPAINO-8A8T | MPAINO-8A8R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay / SINK transistor |
| MPAINO-16A16R · MPAINO-16A16T | MPAINO-16A16R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay / SINK transistor |
| MPAINO-16A32R | MPAINO-16A32R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay |
| MPAINO-24A24R · MPAINO-24A24T | MPAINO-24A24R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay / SINK transistor |
| MPAINO-32A16R | MPAINO-32A16R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay |
| MPAINO-32A32R · MPAINO-32A32T | MPAINO-32A32R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay / SINK transistor |
| MPAINO-48A48R · MPAINO-48A48T | MPAINO-48A48R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay / SINK transistor |
| MPAINO-64A64R · MPAINO-64A64T | MPAINO-64A64R(T) | CPU module USB download port Silicon Labs CP210x USB to UART Bridge(COMx) | input 0 → output 64 relay / SINK transistor |
CPU module
- ATmega2560, 16MHz
Serial1: RS-232Serial2: RS-485Serial3: TTL UART- Supports I²C connections
Optional modules
The following optional modules can be added to the product configuration. The product is assembled and shipped in the selected configuration.
Users cannot add or remove I/O modules or optional modules.
| Code | Function | Points per module | Maximum configuration | Key features |
|---|---|---|---|---|
| X · Details | Analog inputs | 4 points | Up to 5 units, 20 points | ADS1118 Select DC 0~5V / 0~10V / 0(4)~20mA / NTC input |
| F · Details | PT100Ω temperature sensor input | 4 points | Up to 5 units, 20 points | ADS1118 2-wire or 3-wire PT100Ω input |
| Y · Details | Analog outputs | 3 points | Up to 4 units, 12 points | PWM smoothing Select DC 0~5V / 0~10V / 0(4)~20mA output |
| K · Details | High-speed pulse outputs | 6 points | Up to 2 units, 12 points | Direct MCU PWM signal output |
The combined total of analog inputs and PT100Ω temperature sensor inputs cannot exceed 20 points.
The combined total of analog outputs and high-speed pulse outputs cannot exceed 12 points.
Products with optional modules are custom-built, so exchanges or refunds may be difficult.
Logical channel numbers
The MPAINO core maps logical numbers to physical MCU pins so customers can use numbering in module order.
| Function | User number | Notes |
|---|---|---|
| Digital inputs | From 0 | Use consecutive numbers up to the product's input count |
| Digital outputs | From 64 | R: relay outputs; T: transistor outputs |
| Analog Input X | 0~19 | Available range depends on module count |
| Analog Output Y | 0~11 | Available range depends on module count |
| PT100 Input F | 0~19 | F~F5 logical channels |
// MPAINO-8A8R example: control the first relay output with the first input const uint8_t inputChannel = 0; const uint8_t outputChannel = 64; void setup() {} void loop() { digitalWrite(outputChannel, digitalRead(inputChannel)); }
On MPAINO, digitalPinToInterrupt(2) refers to the SDA interrupt, not digital input 2. For external interrupts, check the MPAINO-specific logical numbers 0~3.
