Wiki source code of Schneider

Version 7.1 by Jett on 2024/03/23 13:55

Show last authors
1 = {{id name="HSchneider"/}}**Schneider** =
2
3 == {{id name="HSchneiderMODBUSRTU"/}}**Schneider 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 == **Schneider 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 ~~ 65535
53 |B|QX|QX dddd.d|0 ~~ 65535
54 |B|MX|MX dddd.dd|0 ~~ 999999
55 |W|MW|MW dddd|0 ~~ 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].[Untitled]→[Add Device]→[Logic Controller]→[M218]→[TM218LDA16DRN]
78
79 (% style="text-align:center" %)
80 [[image:4.png]]
81
82 PLC Default Parameters:In the Devices tree [MyController]→[Serial Line 2]→[Modbus_Manager]→[Transmission Mode]:RTU→[Addressing]:Slave→[Serial Line Settings]:[Baud rate] 19200, [Data bits]8, [Stop bits]1,[Parity] EVEN,[Physical Medium] RS485
83
84 (% style="text-align:center" %)
85 [[image:5.png]]
86
87 **Cable Wiring**
88
89 (% style="text-align:center" %)
90 [[image:1711078719633-316.png]]
91
92 Pin Definition Diagram:
93
94 (% style="text-align:center" %)
95 [[image:1711078732764-435.png]]