Wiki source code of Schneider

Last modified by Mora Zhou on 2024/03/23 14:16

Hide last authors
Hunter 2.1 1 = {{id name="HSchneider"/}}**Schneider** =
2
Jett 8.1 3 == {{id name="HSchneiderMODBUSRTU"/}}**MODBUS RTU** ==
Hunter 2.1 4
5 **HMI Setting**
6
7 |=**Parameters**|=**Recommended**|=**Notes**
Mora Zhou 10.1 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|
Hunter 2.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"]]
Jett 4.1 34
Jett 8.1 35 == **TM218 series** ==
Jett 4.1 36
37
38 **HMI Setting**
39
40 |=**Parameters**|=**Recommended**|=**Notes**
Mora Zhou 11.1 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
Jett 4.1 48
49 **Device Address**
50
Jett 6.1 51 |=**Bit/Word**|=**Device type**|=**Format**|=**Range**
Mora Zhou 11.1 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
Jett 4.1 56
57 **Configure the communication protocol**
58
59 (% style="text-align:center" %)
Jett 7.1 60 [[image:11.png]]
Jett 4.1 61
62 (% style="text-align:center" %)
Jett 7.1 63 [[image:12.png]]
Jett 4.1 64
65 **PLC Setting:**
66
67 Open SoMachine Central, create a new project or open the project that has been created.
68
Mora Zhou 11.1 69 Create new project: [Create a new project]→[Empty Project]→[OK]→[Open Configuration]
Jett 4.1 70
71 (% style="text-align:center" %)
Jett 7.1 72 [[image:2.png]]
Jett 4.1 73
74 (% style="text-align:center" %)
Jett 7.1 75 [[image:3.png]]
Jett 4.1 76
Mora Zhou 11.1 77 Into the [Open Configuration].
Jett 4.1 78
Mora Zhou 11.1 79 [Untitled]→[Add Device]→[Logic Controller]→[M218]→[TM218LDA16DRN]
80
Jett 4.1 81 (% style="text-align:center" %)
Jett 7.1 82 [[image:4.png]]
Jett 4.1 83
Mora Zhou 11.1 84 PLC Default Parameters:
Jett 4.1 85
Mora Zhou 11.1 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
Jett 4.1 96 (% style="text-align:center" %)
Jett 7.1 97 [[image:5.png]]
Jett 4.1 98
99 **Cable Wiring**
100
101 (% style="text-align:center" %)
102 [[image:1711078732764-435.png]]