Show last authors
author | version | line-number | content |
---|---|---|---|
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 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**|=**Memo** | ||
52 | |B|IX|DDDDDo|0 ~~ 655357|Input bit (read only) | ||
53 | |B|QX|DDDDDo|0 ~~ 655357|Write multiple coils | ||
54 | |B|MX|DDDDDDo|0 ~~ 9999997|Output register bit (octal) | ||
55 | |W|MW|DDDDDD|0 ~~ 999999|Output register | ||
56 | |DW|MD|DDDDDD|0 ~~ 999999|Output register | ||
57 | |||
58 | **Configure the communication protocol** | ||
59 | |||
60 | (% style="text-align:center" %) | ||
61 | [[image:1711078502000-977.png]] | ||
62 | |||
63 | (% style="text-align:center" %) | ||
64 | [[image:1711078509511-443.png]] | ||
65 | |||
66 | **PLC Setting:** | ||
67 | |||
68 | Open SoMachine Central, create a new project or open the project that has been created. | ||
69 | |||
70 | Create new project: [Create a new project]→[Empty Project]→[OK]→[Open Configuration] | ||
71 | |||
72 | (% style="text-align:center" %) | ||
73 | [[image:1711078656040-781.png]] | ||
74 | |||
75 | (% style="text-align:center" %) | ||
76 | [[image:1711078662048-425.png]] | ||
77 | |||
78 | Into the [Open Configuration].[Untitled]→[Add Device]→[Logic Controller]→[M218]→[TM218LDA16DRN] | ||
79 | |||
80 | (% style="text-align:center" %) | ||
81 | [[image:1711078686235-785.png]] | ||
82 | |||
83 | 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 | ||
84 | |||
85 | (% style="text-align:center" %) | ||
86 | [[image:1711078600047-723.png]] | ||
87 | |||
88 | **Cable Wiring** | ||
89 | |||
90 | (% style="text-align:center" %) | ||
91 | [[image:1711078719633-316.png]] | ||
92 | |||
93 | Pin Definition Diagram: | ||
94 | |||
95 | (% style="text-align:center" %) | ||
96 | [[image:1711078732764-435.png]] |