Wiki source code of Schneider

Version 3.2 by Hunter on 2025/12/06 14:01

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
Hunter 3.1 31 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c74587d16cc7ee2.jpg||alt="image-20220817154212-1.jpeg" height="315" width="554"]]
Wecon 1.1 32
Hunter 3.1 33 = **TM218 Series** =
Wecon 1.1 34
35 **HMI Setting**
36
37 |=**Parameters**|=**Recommended**|=**Notes**
38 |=**Protocol**|Schneider Modicon MODBUS RTU|
39 |=Connection|RS485|
40 |=**Baud rate**|19200|
41 |=**Data bit**|8|
42 |=**Parity**|Even|
43 |=**Stop bit**|1|
44 |=**PLC station No.**|1
45
46 **Device Address**
47
48 |=**Bit/Word**|=**Device type**|=**Format**|=**Range**
49 |B|IX|IX dddd.d|0 to 65535
50 |B|QX|QX dddd.d|0 to 65535
51 |B|MX|MX dddd.dd|0 to 999999
52 |W|MW|MW dddd|0 to 999999
53
54 **Configure the communication protocol**
55
56 (% style="text-align:center" %)
57 [[image:11.png]]
58
59 (% style="text-align:center" %)
60 [[image:12.png]]
61
62 **PLC Setting:**
63
64 Open SoMachine Central, create a new project or open the project that has been created.
65
66 Create new project: [Create a new project]→[Empty Project]→[OK]→[Open Configuration]
67
68 (% style="text-align:center" %)
69 [[image:2.png]]
70
71 (% style="text-align:center" %)
72 [[image:3.png]]
73
74 Into the [Open Configuration].
75
76 [Untitled]→[Add Device]→[Logic Controller]→[M218]→[TM218LDA16DRN]
77
78 (% style="text-align:center" %)
79 [[image:4.png]]
80
81 PLC Default Parameters:
82
83 In the Devices tree [MyController]→[Serial Line 2]→[Modbus_Manager]
84
85 Modbus:
86
87 [Transmission Mode] RTU→[Addressing] Slave
88
89 Serial Line Settings:
90
91 [Baud rate] 19200, [Data bits] 8, [Stop bits] 1, [Parity] EVEN, [Physical Medium] RS485
92
93 (% style="text-align:center" %)
94 [[image:5.png]]
95
96 **Cable Wiring**
97
98 (% style="text-align:center" %)
99 [[image:1711078732764-435.png]]
Hunter 2.1 100
Hunter 3.2 101 = Schneider TM221 =
102
Hunter 2.1 103