User Tools

Site Tools


en-us_products:mpaino_16a32r

Differences

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

Link to this comparison view

Next revision
Previous revision
en-us_products:mpaino_16a32r [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1en-us_products:mpaino_16a32r [2026/09/15 15:28] (current) – external edit 127.0.0.1
Line 6: Line 6:
  
 [[:en-us_products:mpaino_x|X analog input module details — DIP settings, wiring and examples →]] [[:en-us_products:mpaino_x|X analog input module details — DIP settings, wiring and examples →]]
 +[[:en-us_products:mpaino_f|F PT100 input details — wiring, channels and example →]]
 +[[:en-us_products:mpaino_y|Y analog output details — DIP settings, wiring and example →]]
 +[[:en-us_products:mpaino_k|K pulse output details — channels, Timers and examples →]]
  
 MPAINO-16A32R provides 16 digital inputs and 32 relay outputs. MPAINO-16A32R provides 16 digital inputs and 32 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 [[:en-us_products:mpaino#mpaino_series_specifications|MPAINO Series specifications]] for the board name and base pin numbers for MPAINO-16A32R.
 +
 +
 +
  
 \\ \\
Line 39: Line 47:
 ===== 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. →]]
 ^ Module ^ Group ^ Terminal ^ Input Configuration ^ Terminals and Wiring Example ^ ^ Module ^ Group ^ Terminal ^ Input Configuration ^ Terminals and Wiring Example ^
 | Module 0 | COM0 \\ COM1 | D0~D7 \\ D8~D15 | 16 isolated digital inputs \\ D0/D1 also serve as INT0/INT1 |  {{:en-us_products:mpaino-input-in16.svg?628|MPAINO-16A32R digital input terminals and NPN/PNP wiring}}  | | Module 0 | COM0 \\ COM1 | D0~D7 \\ D8~D15 | 16 isolated digital inputs \\ D0/D1 also serve as INT0/INT1 |  {{:en-us_products:mpaino-input-in16.svg?628|MPAINO-16A32R digital input terminals and NPN/PNP wiring}}  |
Line 165: Line 174:
 ===== 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. →]]
 ^ Module ^ Group ^ Output terminals ^ Contact configuration ^ Terminals and Wiring Example ^ ^ Module ^ Group ^ Output terminals ^ Contact configuration ^ Terminals and Wiring Example ^
 | Module 0 | COM0~COM3 | D64~D79 | 16 relay outputs \\ 4 points/1COM |  {{:en-us_products:mpaino-output-relay16.svg?740|MPAINO-16A32R output terminals and load wiring}}  | | Module 0 | COM0~COM3 | D64~D79 | 16 relay outputs \\ 4 points/1COM |  {{:en-us_products:mpaino-output-relay16.svg?740|MPAINO-16A32R output terminals and load wiring}}  |
Line 203: Line 213:
 ==== 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 228: Line 238:
 ==== 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 273: Line 283:
  
 <code cpp> <code cpp>
-// Serial Monitor via MP download cable ↔ RS-232 Serial1+// Serial Monitor via USB download port ↔ RS-232 Serial1
 void setup() { void setup() {
   Serial.begin(115200);   Serial.begin(115200);
Line 292: Line 302:
  
 <code cpp> <code cpp>
-// MP download cable Serial monitor ↔ RS-232 Serial2+// USB download port Serial Monitor ↔ RS-485 Serial2
 void setup() { void setup() {
   Serial.begin(115200);   Serial.begin(115200);
Line 311: Line 321:
  
 <code cpp> <code cpp>
-// MP download cable Serial monitor ↔ RS-232 Serial3+// USB download port Serial Monitor ↔ UART Serial3
 void setup() { void setup() {
   Serial.begin(115200);   Serial.begin(115200);
Line 885: Line 895:
   - Select the verified COM number under Tools → Port in Arduino IDE.   - Select the verified COM number under Tools → Port in Arduino IDE.
   - Select ''MPAINO-16A32R(T)'' under Tools → Board.   - Select ''MPAINO-16A32R(T)'' under Tools → Board.
-  - Select ''AVR ISP'' under Tools → Programmer and upload the program.+  - Click **Verify (✓)** in Arduino IDE. If there are no errors, click **Upload ()** to transfer the program.
  
 [[https://www.ilogics.net/ko-kr/resources/downloads/manual/15|Download MPAINO manual]] [[https://www.ilogics.net/ko-kr/resources/downloads/manual/15|Download MPAINO manual]]
Line 907: Line 917:
  
 [[:en-us_products:mpaino|← Back to MPAINO Series comparison]] [[:en-us_products:mpaino|← Back to MPAINO Series comparison]]
- 
  
en-us_products/mpaino_16a32r.1788785570.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki