en-us_products:mpino_8a4r_s
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en-us_products:mpino_8a4r_s [2026/09/15 13:15] – external edit 127.0.0.1 | en-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 | + | MPINO-8A4R-S is an all-in-one industrial Arduino with 8 digital inputs and 4 relay outputs |
| 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 the [[: | + | See the [[: |
| Line 17: | Line 17: | ||
| ^ Category | ^ Category | ||
| | Power | - | Supply voltage | | Power | - | Supply voltage | ||
| - | | Digital inputs | + | | Digital inputs |
| - | | Relay outputs | + | | Relay outputs |
| - | | Analog inputs | + | | Analog inputs |
| - | | Analog inputs | + | | Analog inputs |
| - | | Analog inputs | + | | Analog inputs |
| - | | Temperature sensor inputs | + | | Temperature sensor inputs |
| - | | | + | | |
| - | | | + | | |
| - | | Communication | + | | STATUS LED | 1 point | D20 | Show program status (variable: '' |
| + | | Communication | ||
| | ::: | ::: | RS-232 | | ::: | ::: | RS-232 | ||
| | Memory | | Memory | ||
| | ::: | ::: | SRAM | 4KB | | | ::: | ::: | SRAM | 4KB | | ||
| | ::: | ::: | EEPROM | | ::: | ::: | EEPROM | ||
| + | |||
| + | **Markdown file:** [[https:// | ||
| Line 36: | Line 39: | ||
| [[: | [[: | ||
| ^ 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 | + | | P0~P3 | D0~D3 | 4 digital inputs |
| - | | P4~P7 | D4~D7 | 4 digital inputs, sharing | + | | P4~P7 | D4~D7 | 4 digital inputs |
| - | The digital inputs are isolated by optocouplers. DC 0~40V in the specification is the input circuit' | + | The digital inputs are isolated by optocouplers. DC 0~40V in the specification is the input circuit' |
| ==== Example program · digital inputs ==== | ==== Example program · digital inputs ==== | ||
| Line 157: | Line 160: | ||
| </ | </ | ||
| + | |||
| + | ===== 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 '' | ||
| + | |||
| + | **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, | ||
| + | } | ||
| + | |||
| + | void loop() { | ||
| + | digitalWrite(LED_BUILTIN, | ||
| + | delay(500); | ||
| + | digitalWrite(LED_BUILTIN, | ||
| + | delay(500); | ||
| + | } | ||
| + | </ | ||
| ===== Relay outputs ===== | ===== Relay outputs ===== | ||
| Line 366: | Line 394: | ||
| ^ Function ^ Arduino Pin ^ Points ^ Connector Pinout ^ | ^ Function ^ Arduino Pin ^ Points ^ Connector Pinout ^ | ||
| - | | PWM outputs | D21, D22, D23 | 3 points | {{: | + | | PWM outputs | PWM0(D21), PWM1(D22), PWM2(D23) | 3 points | {{: |
| - | | High-Speed Inputs / Interrupts | + | | External interrupt inputs |
| - | | Encoder | + | | Encoder |
| - | D18 and D19 share the I²C SCL and SDA functions. These pins cannot | + | 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 | ||
| ==== Example program · PWM outputs ==== | ==== Example program · PWM outputs ==== | ||
| Line 723: | Line 753: | ||
| **Related built-in functions** | **Related built-in functions** | ||
| - | === Function example · LS Industrial Systems Cnet SLave: ICnetMem(), ICnetAdr(), ICnetInit(), | + | === Function example · LS Industrial Systems Cnet Slave: ICnetMem(), ICnetAdr(), ICnetInit(), |
| **Function prototype** | **Function prototype** | ||
| Line 766: | Line 796: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | [[https:// | ||
| [[: | [[: | ||
en-us_products/mpino_8a4r_s.1789445715.txt.gz · Last modified: by 127.0.0.1
