User Tools

Site Tools


en-us_products:mpaino_64a64r

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_64a64r [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1en-us_products:mpaino_64a64r [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-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 [[:en-us_products:mpaino#mpaino_series_specifications|MPAINO Series specifications]] for the board name and base pin numbers for MPAINO-64A64R.
 +
 +
 +
  
 \\ \\
Line 38: Line 46:
 ===== 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~D3 \\ D4~D7 | 8 isolated digital inputs |  {{:en-us_products:mpaino-input-io8.svg?740|MPAINO-64A64R digital input terminals and NPN/PNP wiring}}  | | Module 0 | COM0 \\ COM1 | D0~D3 \\ D4~D7 | 8 isolated digital inputs |  {{:en-us_products:mpaino-input-io8.svg?740|MPAINO-64A64R digital input terminals and NPN/PNP wiring}}  |
Line 171: Line 180:
 ===== 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 | COM2 \\ COM3 | D64~D67 \\ D68~D71 | 8 relay outputs \\ 4 points/1COM |  {{:en-us_products:mpaino-output-relay8.svg?740|MPAINO-64A64R output terminals and load wiring}}  | | Module 0 | COM2 \\ COM3 | D64~D67 \\ D68~D71 | 8 relay outputs \\ 4 points/1COM |  {{:en-us_products:mpaino-output-relay8.svg?740|MPAINO-64A64R output terminals and load wiring}}  |
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 cable ↔ RS-232 Serial1+// Serial Monitor via USB download port ↔ RS-232 Serial1
 void setup() { void setup() {
   Serial.begin(115200);   Serial.begin(115200);
Line 303: Line 313:
  
 <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 322: Line 332:
  
 <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 896: Line 906:
   - Select the verified COM number under Tools → Port in Arduino IDE.   - Select the verified COM number under Tools → Port in Arduino IDE.
   - Select ''MPAINO-64A64R(T)'' under Tools → Board.   - Select ''MPAINO-64A64R(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 918: Line 928:
  
 [[:en-us_products:mpaino|← Back to MPAINO Series comparison]] [[:en-us_products:mpaino|← Back to MPAINO Series comparison]]
- 
  
en-us_products/mpaino_64a64r.1788785570.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki