Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | = {{id name="HSchneider"/}}**Schneider** = | ||
| 2 | |||
| 3 | == {{id name="HSchneiderMODBUSRTU"/}}**MODBUS RTU** == | ||
| 4 | |||
| 5 | **HMI Setting** | ||
| 6 | |||
| 7 | |=**Parameters**|=**Recommended**|=**Notes** | ||
| 8 | |=**Protocol**|Schneider MODBUS RTU| | ||
| 9 | |=Connection|RS485| | ||
| 10 | |=**Baud rate**|19200| | ||
| 11 | |=**Data bit**|8| | ||
| 12 | |=**Parity**|Even| | ||
| 13 | |=**Stop bit**|1| | ||
| 14 | |=**PLC station No.**|1| | ||
| 15 | |||
| 16 | **PLC Setting** | ||
| 17 | |||
| 18 | |=**Communication mode**|Modbus RTU protocol | ||
| 19 | |||
| 20 | **Device Address** | ||
| 21 | |||
| 22 | |=**Bit/Word**|=**Device type**|=**Format**|=**Range**|=**Memo** | ||
| 23 | |B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) | ||
| 24 | |B|QX|DDDDDo|0 ~~ 655357|Write multiple coils | ||
| 25 | |B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) | ||
| 26 | |W|MW|DDDDDD|0 ~~ 999999|Output register | ||
| 27 | |DW|MD|DDDDDD|0 ~~ 999999|Output register | ||
| 28 | |||
| 29 | **Wiring Diagram** | ||
| 30 | |||
| 31 | **RS-485 2W **(RJ45 Connector): The following is the view from the soldering point of a connector. | ||
| 32 | |||
| 33 | {{id name="Iimage-20220817154212-1.jpeg"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c74587d16cc7ee2.jpg||alt="image-20220817154212-1.jpeg" height="315" width="554"]] | ||
| 34 | |||
| 35 | == **TM218 series** == | ||
| 36 | |||
| 37 | |||
| 38 | **HMI Setting** | ||
| 39 | |||
| 40 | |=**Parameters**|=**Recommended**|=**Notes** | ||
| 41 | |=**Protocol**|Schneider Modicon MODBUS RTU| | ||
| 42 | |=Connection|RS485| | ||
| 43 | |=**Baud rate**|19200| | ||
| 44 | |=**Data bit**|8| | ||
| 45 | |=**Parity**|Even| | ||
| 46 | |=**Stop bit**|1| | ||
| 47 | |=**PLC station No.**|1 | ||
| 48 | |||
| 49 | **Device Address** | ||
| 50 | |||
| 51 | |=**Bit/Word**|=**Device type**|=**Format**|=**Range** | ||
| 52 | |B|IX|IX dddd.d|0 to 65535 | ||
| 53 | |B|QX|QX dddd.d|0 to 65535 | ||
| 54 | |B|MX|MX dddd.dd|0 to 999999 | ||
| 55 | |W|MW|MW dddd|0 to 999999 | ||
| 56 | |||
| 57 | **Configure the communication protocol** | ||
| 58 | |||
| 59 | (% style="text-align:center" %) | ||
| 60 | [[image:11.png]] | ||
| 61 | |||
| 62 | (% style="text-align:center" %) | ||
| 63 | [[image:12.png]] | ||
| 64 | |||
| 65 | **PLC Setting:** | ||
| 66 | |||
| 67 | Open SoMachine Central, create a new project or open the project that has been created. | ||
| 68 | |||
| 69 | Create new project: [Create a new project]→[Empty Project]→[OK]→[Open Configuration] | ||
| 70 | |||
| 71 | (% style="text-align:center" %) | ||
| 72 | [[image:2.png]] | ||
| 73 | |||
| 74 | (% style="text-align:center" %) | ||
| 75 | [[image:3.png]] | ||
| 76 | |||
| 77 | Into the [Open Configuration]. | ||
| 78 | |||
| 79 | [Untitled]→[Add Device]→[Logic Controller]→[M218]→[TM218LDA16DRN] | ||
| 80 | |||
| 81 | (% style="text-align:center" %) | ||
| 82 | [[image:4.png]] | ||
| 83 | |||
| 84 | PLC Default Parameters: | ||
| 85 | |||
| 86 | In the Devices tree [MyController]→[Serial Line 2]→[Modbus_Manager] | ||
| 87 | |||
| 88 | Modbus: | ||
| 89 | |||
| 90 | [Transmission Mode] RTU→[Addressing] Slave | ||
| 91 | |||
| 92 | Serial Line Settings: | ||
| 93 | |||
| 94 | [Baud rate] 19200, [Data bits] 8, [Stop bits] 1, [Parity] EVEN, [Physical Medium] RS485 | ||
| 95 | |||
| 96 | (% style="text-align:center" %) | ||
| 97 | [[image:5.png]] | ||
| 98 | |||
| 99 | **Cable Wiring** | ||
| 100 | |||
| 101 | (% style="text-align:center" %) | ||
| 102 | [[image:1711078732764-435.png]] |