en-us_products:mpaino_64a64r
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en-us_products:mpaino_64a64r [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1 | en-us_products:mpaino_64a64r [2026/10/25 08:42] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== MPAINO-64A64R ====== | ====== MPAINO-64A64R ====== | ||
| - | MPAINO Series | + | The MPAINO Series |
| Analog input/ | Analog input/ | ||
| The selected I/O and optional modules are assembled and shipped as one product. Users cannot add or remove modules. | The selected I/O and optional modules are assembled and shipped as one product. Users cannot add or remove modules. | ||
| [[: | [[: | ||
| + | [[: | ||
| + | [[: | ||
| + | [[: | ||
| MPAINO-64A64R provides 64 digital inputs and 64 relay outputs. | MPAINO-64A64R provides 64 digital inputs and 64 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 [[: | ||
| + | |||
| + | |||
| + | |||
| \\ | \\ | ||
| Line 25: | Line 33: | ||
| | Power | - | Supply voltage | | Power | - | Supply voltage | ||
| | Digital inputs | | Digital inputs | ||
| - | | Relay outputs | + | | Relay outputs |
| | ::: | 2 points \\ (Non-isolated) | | ::: | 2 points \\ (Non-isolated) | ||
| | Communication Channels | | Communication Channels | ||
| Line 38: | Line 46: | ||
| ===== Digital inputs ===== | ===== Digital inputs ===== | ||
| + | [[: | ||
| ^ Module ^ Group ^ Terminal ^ Input Configuration ^ Terminals and Wiring Example ^ | ^ Module ^ Group ^ Terminal ^ Input Configuration ^ Terminals and Wiring Example ^ | ||
| | Module 0 | COM0 \\ COM1 | D0~D3 \\ D4~D7 | 8 isolated digital inputs | {{: | | Module 0 | COM0 \\ COM1 | D0~D3 \\ D4~D7 | 8 isolated digital inputs | {{: | ||
| Line 171: | Line 180: | ||
| ===== Relay outputs ===== | ===== Relay outputs ===== | ||
| + | [[: | ||
| ^ Module ^ Group ^ Output terminals ^ Contact configuration ^ Terminals and Wiring Example ^ | ^ Module ^ Group ^ Output terminals ^ Contact configuration ^ Terminals and Wiring Example ^ | ||
| | Module 0 | COM2 \\ COM3 | D64~D67 \\ D68~D71 | 8 relay outputs \\ 4 points/1COM | {{: | | Module 0 | COM2 \\ COM3 | D64~D67 \\ D68~D71 | 8 relay outputs \\ 4 points/1COM | {{: | ||
| Line 185: | Line 195: | ||
| ^ Item ^ Rating ^ | ^ Item ^ Rating ^ | ||
| | Connection voltage | DC 0~30V or AC 0~250V | | | Connection voltage | DC 0~30V or AC 0~250V | | ||
| - | | Maximum allowable current | 5A/1 points | + | | Maximum allowable current | 5A/1 point | |
| | Maximum allowable current per COM | 8A/1COM | | | Maximum allowable current per COM | 8A/1COM | | ||
| Line 214: | Line 224: | ||
| ==== Example program · pulse counting ==== | ==== Example program · pulse counting ==== | ||
| - | SDA(D20) on the I²C terminals is a 4.7kΩ pull-up input. Do not use this example simultaneously with I²C communication. In the current core, argument 2 of digitalPinToInterrupt() is the logical interrupt number assigned to SDA, not digital input 2. Count FALLING edges when SDA changes from HIGH to LOW. This is a software ISR example and does not guarantee lossless counting at the maximum frequency. | + | SDA(D20) on the I²C terminals is a 4.7kΩ pull-up input. Do not use this example simultaneously with I²C communication. In the MPAINO board package, argument 2 of digitalPinToInterrupt() is the logical interrupt number assigned to SDA, not digital input 2. Count FALLING edges when SDA changes from HIGH to LOW. This is a software ISR example and does not guarantee lossless counting at the maximum frequency. |
| <code cpp> | <code cpp> | ||
| Line 239: | Line 249: | ||
| ==== Example program · encoder inputs ==== | ==== Example program · encoder inputs ==== | ||
| - | SDA(D20) on the I²C terminals is a 4.7kΩ pull-up input. Do not use this example simultaneously with I²C communication. In the current core, argument 2 of digitalPinToInterrupt() is the logical interrupt number assigned to SDA, not digital input 2. Connect phase A to SDA and phase B to SCL. At the falling edge of phase A, increment when B is HIGH and decrement when B is LOW. The direction changes with the phase A/B connections. Because SCL overlaps the digital module logical numbers, read the physical pin state directly. | + | SDA(D20) on the I²C terminals is a 4.7kΩ pull-up input. Do not use this example simultaneously with I²C communication. In the MPAINO board package, argument 2 of digitalPinToInterrupt() is the logical interrupt number assigned to SDA, not digital input 2. Connect phase A to SDA and phase B to SCL. At the falling edge of phase A, increment when B is HIGH and decrement when B is LOW. The direction changes with the phase A/B connections. Because SCL overlaps the digital module logical numbers, read the physical pin state directly. |
| <code cpp> | <code cpp> | ||
| Line 284: | Line 294: | ||
| <code cpp> | <code cpp> | ||
| - | // Serial Monitor via MP download | + | // Serial Monitor via USB download |
| void setup() { | void setup() { | ||
| Serial.begin(115200); | Serial.begin(115200); | ||
| Line 303: | Line 313: | ||
| <code cpp> | <code cpp> | ||
| - | // MP download | + | // USB download |
| void setup() { | void setup() { | ||
| Serial.begin(115200); | Serial.begin(115200); | ||
| Line 322: | Line 332: | ||
| <code cpp> | <code cpp> | ||
| - | // MP download | + | // USB download |
| void setup() { | void setup() { | ||
| Serial.begin(115200); | Serial.begin(115200); | ||
| Line 459: | Line 469: | ||
| **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 874: | Line 884: | ||
| Control the CPU module STATUS LED with '' | Control the CPU module STATUS LED with '' | ||
| + | |||
| + | You can use the CPU module' | ||
| + | |||
| + | First set '' | ||
| + | |||
| + | ==== Example · STATUS LED blink ==== | ||
| + | |||
| + | This example turns the CPU module' | ||
| + | |||
| + | <code cpp> | ||
| + | void setup() { | ||
| + | pinMode(LED_BUILTIN, | ||
| + | } | ||
| + | |||
| + | void loop() { | ||
| + | digitalWrite(LED_BUILTIN, | ||
| + | delay(500); | ||
| + | digitalWrite(LED_BUILTIN, | ||
| + | delay(500); | ||
| + | } | ||
| + | </ | ||
| ==== Example program · status LED ==== | ==== Example program · status LED ==== | ||
| Display the input 0 state on the CPU module STATUS LED (LED_BUILTIN, | Display the input 0 state on the CPU module STATUS LED (LED_BUILTIN, | ||
| + | |||
| + | **Output setup:** To use the input-state example below, add '' | ||
| <code cpp> | <code cpp> | ||
| Line 896: | Line 929: | ||
| - Select the verified COM number under Tools → Port in Arduino IDE. | - Select the verified COM number under Tools → Port in Arduino IDE. | ||
| - Select '' | - Select '' | ||
| - | - Select '' | + | - Click **Verify (✓)** in Arduino IDE. If there are no errors, click **Upload (→)** to transfer |
| [[https:// | [[https:// | ||
| Line 917: | Line 950: | ||
| | [[https:// | | [[https:// | ||
| - | [[:en-us_products: | + | [[https:// |
| + | [[: | ||
en-us_products/mpaino_64a64r.1788785570.txt.gz · Last modified: by 127.0.0.1
