en-us_products:mpaino_8a8t
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en-us_products:mpaino_8a8t [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1 | en-us_products:mpaino_8a8t [2026/09/15 15:28] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| [[: | [[: | ||
| + | [[: | ||
| + | [[: | ||
| + | [[: | ||
| MPAINO-8A8T provides 8 digital inputs and 8 SINK transistor outputs. RS-232, RS-485, UART, and I²C communication are available. | MPAINO-8A8T provides 8 digital inputs and 8 SINK transistor outputs. RS-232, RS-485, UART, and I²C communication are available. | ||
| 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 39: | Line 48: | ||
| ===== Digital inputs ===== | ===== Digital inputs ===== | ||
| + | [[: | ||
| ^ Group ^ Terminal ^ Input Configuration ^ Terminals and Wiring Example ^ | ^ Group ^ Terminal ^ Input Configuration ^ Terminals and Wiring Example ^ | ||
| | COM0 | D0~D3 | 4 isolated digital inputs \\ D0/D1 also serve as INT0/INT1 | {{: | | COM0 | D0~D3 | 4 isolated digital inputs \\ D0/D1 also serve as INT0/INT1 | {{: | ||
| Line 168: | Line 178: | ||
| ===== Transistor outputs ===== | ===== Transistor outputs ===== | ||
| + | [[: | ||
| ^ Group ^ Output terminals ^ Output configuration ^ Terminals and Wiring Example ^ | ^ Group ^ Output terminals ^ Output configuration ^ Terminals and Wiring Example ^ | ||
| | COM2 | D64~D71 | 8 isolated SINK transistor outputs | {{: | | COM2 | D64~D71 | 8 isolated SINK transistor outputs | {{: | ||
| Line 206: | Line 217: | ||
| ==== 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 231: | Line 242: | ||
| ==== 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 276: | Line 287: | ||
| <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 295: | Line 306: | ||
| <code cpp> | <code cpp> | ||
| - | // MP download | + | // USB download |
| void setup() { | void setup() { | ||
| Serial.begin(115200); | Serial.begin(115200); | ||
| Line 314: | Line 325: | ||
| <code cpp> | <code cpp> | ||
| - | // MP download | + | // USB download |
| void setup() { | void setup() { | ||
| Serial.begin(115200); | Serial.begin(115200); | ||
| Line 888: | Line 899: | ||
| - 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 910: | Line 921: | ||
| [[: | [[: | ||
| - | |||
en-us_products/mpaino_8a8t.1788785571.txt.gz · Last modified: by 127.0.0.1
