User Tools

Site Tools


en-us_products:mpino_8a4r_s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en-us_products:mpino_8a4r_s [2026/09/14 22:39] – external edit 127.0.0.1en-us_products:mpino_8a4r_s [2026/10/30 12:06] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== MPINO-8A4R-S ====== ====== MPINO-8A4R-S ======
  
-MPINO-8A4R-S is a all-in-one industrial Arduino with 8 digital inputs and 4 relay with independent COM terminals outputs. A single PCB integrates voltage and current analog inputs, NTC temperature sensor inputs, PWM, high-speed inputs, and RS-232 communication.+MPINO-8A4R-S is an all-in-one industrial Arduino with 8 digital inputs and 4 relay outputs with independent COM terminals. A single PCB integrates voltage and current analog inputs, NTC temperature sensor inputs, PWM, high-speed inputs, and RS-232 communication.
  
 Program the controller with Arduino IDE (Arduino C/C++) or MPINO STUDIO 2 (Arduino C/C++ & ladder logic). Program the controller with Arduino IDE (Arduino C/C++) or MPINO STUDIO 2 (Arduino C/C++ & ladder logic).
  
-See [[:en-us_guide:getting_started#mpino-8a4r_t_-s_first_upload|MPINO-8A4R(T)-S Arduino IDE getting started]] for installation, board and port selection, and your first upload.+See the [[:en-us_products:mpino_series#mpino_series_specifications|MPINO Series specifications]] for the board name, connection method, and first I/O numbers for MPINO-8A4R-S. 
 + 
 + 
 + 
  
 {{ :en-us_products:mpino-8a4r-s-connectors.svg?nolink |MPINO-8A4R-S connector guide }} {{ :en-us_products:mpino-8a4r-s-connectors.svg?nolink |MPINO-8A4R-S connector guide }}
Line 13: Line 17:
 ^  Category  ^  Quantity  ^  Terminal / Item  ^  Specifications  ^ ^  Category  ^  Quantity  ^  Terminal / Item  ^  Specifications  ^
 |  Power  |  -  |  Supply voltage  | DC 12~24V (0.5A or more when using DC 24V)  | |  Power  |  -  |  Supply voltage  | DC 12~24V (0.5A or more when using DC 24V)  |
-|  Digital inputs  |  8 points \\ (Solid-state, isolated)  |  P0~P7  | operating input voltage: DC 0~40V \\ HIGH detection voltage: DC 5V or higher \\ 8 points/1COM \\ NPN/PNP input support  | +|  Digital inputs  |  8 points \\ (Solid-state, isolated)  |  P0~P7  | Operating input voltage: DC 0~40V \\ HIGH detection: DC 5V or higher \\ 4 points / 1COM per terminal group (COM0 and COM1 are not internally connected) \\ NPN/PNP input support  | 
-|  Relay outputs  |  4 points \\ (Mechanical contacts, isolated)  |  P32~P35  | operating connection voltage: DC 0~30V or AC 0~250V \\ maximum allowable output current: 5A/1 points, 5A/1COM \\ 1 points/1COM  | +|  Relay outputs  |  4 points \\ (Mechanical contacts, isolated)  |  P32~P35  | Four output points, each rated up to AC250V or DC30V at 5A \\ 1 point/1COM with an independent COM per contact  | 
-|  Analog inputs  |  2 points \\ (Non-isolated)  |  A0, A1  | input voltage: DC 0~5V \\ resolution: 10bit (0~1023) \\ input resistance: 100MΩ (±1%)  | +|  Analog inputs  |  2 points \\ (Non-isolated)  |  A0, A1  | Voltage input: DC 0~5V \\ Resolution: 10-bit (0~1023) \\ Input resistance: 100MΩ (±1%)  | 
-|  Analog inputs  |  2 points \\ (Non-isolated)  |  A2, A3  | input current: 0~20mA or 4~20mA \\ Resolution: 0~20mA is 10bit (0~1023); 4~20mA is 0~818 \\ input resistance: 250Ω (±1%)  | +|  Analog inputs  |  2 points \\ (Non-isolated)  |  A2, A3  | Current input: 0~20mA (4~20mA) \\ Resolution: 10-bit (0~1023) \\ Input resistance: 250Ω (±1%)  | 
-|  Analog inputs  |  2 points \\ (Non-isolated)  |  A4, A5  | input voltage: DC 0~10V \\ resolution: 10bit (0~1023) \\ input resistance: 200kΩ (±1%)  | +|  Analog inputs  |  2 points \\ (Non-isolated)  |  A4, A5  | Voltage input: DC 0~10V \\ Resolution: 10-bit (0~1023) \\ Input resistance: 200kΩ (±1%)  | 
-|  Temperature sensor inputs  |  2 points \\ (Non-isolated)  |  NTEMP \\ A6, A7  | input temperature: -40~120℃ \\ Sensor: NTC 3950K, 10kΩ(25℃) \\ Resolution: 0.1℃ (at 0~40℃)  | +|  Temperature sensor inputs  |  2 points \\ (Non-isolated)  |  NTEMP \\ A6, A7  | Input temperature: -40~120℃ \\ Sensor: NTC 3950K, 10kΩ(25℃) \\ Resolution: 0.1℃ (at 0~40℃)  | 
-|  Interrupts \\ High-Speed Counter / Encoder  |  4 points \\ (Non-isolated)  |  D24(CLK), D25(DIO) \\ D18(SCL), D19(SDA)  | input voltage: DC 0~5V \\ HIGH detection voltage: DC 3V or higher \\ input frequency: Max. 50kHz \\ D24/D25: built-in 4.7kΩ pull-down \\ D18/D19: built-in 4.7kΩ pull-up  | +|  External interrupts \\ Counter / Encoder  |  4 points \\ (Non-isolated)  |  D24(CLK), D25(DIO) \\ D18(SCL), D19(SDA)  | ATmega128 INT6/INT7/INT0/INT1 \\ Input voltage: DC 0~5V; HIGH detection: DC 3V or higher \\ D24/D25: 10kΩ pull-up; D18/D19: 4.7kΩ pull-up \\ Processing rate depends on the ISR and program load.  | 
-|  Pulse outputs  |  3 points \\ (Non-isolated)  |  PWM \\ D21, D22, D23  | output voltage: LOW(DC 0V), HIGH(DC 5V) \\ maximum output current: 30mA  | +|  PWM outputs  |  3 points \\ (Non-isolated)  |  PWM0(D21), PWM1(D22), PWM2(D23)  | PWM pulses at DC 0~5V levels: LOW 0V, HIGH 5V \\ Maximum output current: 30mA  | 
-|  Communication Channels  |  1 channel \\ (Non-isolated)  |  I²C  | I²C master/slave supported \\ Can be used as interrupt ports (4.7kΩ pull-up)  |+|  STATUS LED  |  1 point  |  D20  | Show program status (variable: ''LED_BUILTIN'')  | 
 +|  Communication channels  |  1 channel \\ (Non-isolated)  |  I²C (D18/D19)  | Connect sensors and displays \\ The same two pins can be used instead as 2 external interrupt inputs (INT0/INT1); not simultaneously \\ 4.7kΩ pull-up  |
 | ::: | ::: |  RS-232  | Uses Serial1 \\ Built-in Modbus RTU Master & Slave commands supported \\ Built-in LS Industrial Systems Cnet commands supported  | | ::: | ::: |  RS-232  | Uses Serial1 \\ Built-in Modbus RTU Master & Slave commands supported \\ Built-in LS Industrial Systems Cnet commands supported  |
 |  Memory  |  -  |  Flash  | 128KB  | |  Memory  |  -  |  Flash  | 128KB  |
 | ::: | ::: |  SRAM  | 4KB  | | ::: | ::: |  SRAM  | 4KB  |
 | ::: | ::: |  EEPROM  | 4KB  | | ::: | ::: |  EEPROM  | 4KB  |
 +
 +**Markdown file:** [[https://www.ilogics.net/docs/downloads:mpino:en:mpino_8a4r_s?do=export_raw|Download MPINO-8A4R-S.md]]
  
  
 ===== Digital inputs ===== ===== Digital inputs =====
  
 +[[:en-us_guide:wiring#digital_input_one_channel_check|See the one-channel digital-input check before wiring for the first time. →]]
 ^ Terminal ^ Arduino Pin ^ Input Configuration ^ Terminals and Wiring Example ^ ^ Terminal ^ Arduino Pin ^ Input Configuration ^ Terminals and Wiring Example ^
-| P0~P3 | D0~D3 | 4 digital inputs, sharing COM0 |  {{:en-us_products:mpino-8a4r-s-digital-input.svg?740|MPINO-8A4R-S digital input terminals and NPN/PNP wiring}}  | +| P0~P3 | D0~D3 | 4 digital inputs / 1COM (COM0 terminal) |  {{:en-us_products:mpino-8a4r-s-digital-input.svg?740|MPINO-8A4R-S digital input terminals and NPN/PNP wiring}}  | 
-| P4~P7 | D4~D7 | 4 digital inputs, sharing COM1 | ::: |+| P4~P7 | D4~D7 | 4 digital inputs / 1COM (COM1 terminal) | ::: |
  
-The digital inputs are isolated by optocouplers. DC 0~40V in the specification is the input circuit's operating voltage range; the wiring below is an example using a DC 5~24V sensor supply. The input is recognized as HIGH when the voltage between the input terminal and COM is at least DC 5V. Select NPN or PNP operation by wiring COM accordingly.+The digital inputs are isolated by optocouplers. DC 0~40V in the specification is the input circuit's operating voltage range; the wiring below is an example using a DC 5~24V sensor supply. The input is recognized as HIGH when the voltage between the input terminal and COM is at least DC 5V. COM0 and COM1 are not internally connected. Select NPN or PNP operation for each group by wiring its COM accordingly. The diagram shows an example with the COM0 group wired for PNP and the COM1 group wired for NPN.
  
 ==== Example program · digital inputs ==== ==== Example program · digital inputs ====
Line 152: Line 160:
 </code> </code>
  
 +
 +===== STATUS LED =====
 +
 +The MPINO-8A4R-S STATUS LED is an indicator mounted on the board. You can use it to show the operating state of your program.
 +
 +The STATUS LED is connected to digital pin D20. In a sketch, use ''LED_BUILTIN'' in place of D20. Set ''pinMode(LED_BUILTIN, OUTPUT)'' before controlling it. ''digitalWrite(LED_BUILTIN, HIGH)'' turns the LED on; ''digitalWrite(LED_BUILTIN, LOW)'' turns it off.
 +
 +**Note:** The STATUS LED is on the board and is separate from the external output terminals.
 +
 +==== Example · Blink the STATUS LED ====
 +
 +This example turns the STATUS LED on and off at 0.5-second intervals.
 +
 +<code cpp>
 +void setup() {
 +  pinMode(LED_BUILTIN, OUTPUT);
 +}
 +
 +void loop() {
 +  digitalWrite(LED_BUILTIN, HIGH);  // LED on
 +  delay(500);
 +  digitalWrite(LED_BUILTIN, LOW);   // LED off
 +  delay(500);
 +}
 +</code>
  
 ===== Relay outputs ===== ===== Relay outputs =====
  
 +[[:en-us_guide:wiring#relay_output_one_channel_check|See the one-channel relay-output check before wiring for the first time. →]]
 ^ Terminal ^ Arduino Pin ^ Contact ratings ^ COM configuration ^ Terminals and Wiring Example ^ ^ Terminal ^ Arduino Pin ^ Contact ratings ^ COM configuration ^ Terminals and Wiring Example ^
 | P32 | D32 | AC 250V or DC 30V, Max. 5A | Separate COM2 |  {{:en-us_products:mpino-8a4r-s-relay-output.svg?488|MPINO-8A4R-S relay output terminals and load wiring}}  | | P32 | D32 | AC 250V or DC 30V, Max. 5A | Separate COM2 |  {{:en-us_products:mpino-8a4r-s-relay-output.svg?488|MPINO-8A4R-S relay output terminals and load wiring}}  |
Line 360: Line 394:
  
 ^ Function ^ Arduino Pin ^ Points ^ Connector Pinout ^ ^ Function ^ Arduino Pin ^ Points ^ Connector Pinout ^
-| PWM outputs | D21, D22, D23 | 3 points |  {{:en-us_products:mpino-8a4r-s-pwm-output.svg?334|MPINO-8A4R-S PWM output connector pinout}}  | +| PWM outputs | PWM0(D21), PWM1(D22), PWM2(D23) | 3 points |  {{:en-us_products:mpino-8a4r-s-pwm-output.svg?334|MPINO-8A4R-S PWM output connector pinout}}  | 
-| High-Speed Inputs / Interrupts | D18, D19, D24, D25 | 4 points | ::: | +| External interrupt inputs | D18, D19, D24, D25 | 4 points | ::: | 
-| Encoder Inputs | D24, D25 | 2 points | ::: |+| Encoder inputs | D24, D25 | 2 points | ::: |
  
-D18 and D19 share the I²C SCL and SDA functions. These pins cannot be used as high-speed inputs while I²C communication is active.+PWM0, PWM1, and PWM2 output pulses that switch between DC 0V (LOW) and DC 5V (HIGH). Set their duty cycle in software to control ON time; these are not smoothed analog voltage outputs. 
 + 
 +D18 and D19 share I²C SCL/SDA with external interrupts INT0/INT1. While using them to connect I²C sensors or displays, they cannot simultaneously serve as interrupt inputs.
  
 ==== Example program · PWM outputs ==== ==== Example program · PWM outputs ====
Line 717: Line 753:
 **Related built-in functions** **Related built-in functions**
  
-=== Function example · LS Industrial Systems Cnet SLave: ICnetMem(), ICnetAdr(), ICnetInit(), ICnet() ===+=== Function example · LS Industrial Systems Cnet Slave: ICnetMem(), ICnetAdr(), ICnetInit(), ICnet() ===
  
 **Function prototype** **Function prototype**
Line 761: Line 797:
 </code> </code>
  
-[[:en-us_products:mpino_series|← MPINO Series comparison (Korean)]]+[[https://www.ilogics.net/en-us/products/mpino-8a4r-s|View MPINO-8A4R-S price and purchase options]]
  
 +[[:en-us_products:mpino_series|← MPINO Series comparison (Korean)]]
  
en-us_products/mpino_8a4r_s.1789393141.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki