Wiki source code of Schneider

Version 2.1 by Hunter on 2025/12/06 13:59

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