en-us_commands:communication
Differences
This shows you the differences between two versions of the page.
| en-us_commands:communication [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1 | en-us_commands:communication [2026/09/12 22:54] (current) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== Communication |
| - | ===== Modbus RTU Slave ===== | + | Choose the protocol and device role first, then open the corresponding command page. The RS-232, RS-485 and UART terminal roles and '' |
| - | Set the M and D memory sizes with '' | + | ^ Protocol |
| + | | Modbus RTU Slave | [[: | ||
| + | | Modbus RTU Master | [[: | ||
| + | | LS Electric Cnet Slave | [[: | ||
| + | | Mitsubishi MC Protocol | [[: | ||
| - | ===== Modbus RTU Master ===== | + | If communication fails, check the selected protocol, electrical interface, baud rate, station address, parity and wiring in that order. See the [[: |
| - | Initialize the port with '' | + | [[: |
| - | ===== LS Industrial Systems Cnet Slave ===== | + | [[: |
| - | + | ||
| - | Set the M, D and R areas with '' | + | |
| - | + | ||
| - | ===== Mitsubishi MC Protocol Slave ===== | + | |
| - | + | ||
| - | Set the X, Y, M and D areas with '' | + | |
| - | + | ||
| - | <code cpp> | + | |
| - | void setup() { | + | |
| - | ImodbusRTUMem(128, | + | |
| - | ImodbusRTUAdr(0, | + | |
| - | ImodbusRTUInit(Serial2, | + | |
| - | } | + | |
| - | void loop() { ImodbusRTU(); | + | |
| - | </ | + | |
| - | + | ||
| - | ===== Command Prototypes ===== | + | |
| - | + | ||
| - | ^ Return Type ^ Command Prototype ^ | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | | '' | + | |
| - | + | ||
| - | Check the product-specific '' | + | |
| - | + | ||
| - | [[: | + | |
en-us_commands/communication.1788785564.txt.gz · Last modified: by 127.0.0.1
