... |
... |
@@ -1,7 +1,5 @@ |
1 |
1 |
= **XC MODBUS** = |
2 |
2 |
|
3 |
|
-Support Series: Xinjie XC Series |
4 |
|
- |
5 |
5 |
**HMI Settings** |
6 |
6 |
|
7 |
7 |
|**Item**|**Settings**|**Note** |
... |
... |
@@ -15,52 +15,34 @@ |
15 |
15 |
|
16 |
16 |
**Address List** |
17 |
17 |
|
18 |
|
-|=**Type**|=(% style="width: 301px;" %)**Device registers**|=(% style="width: 235px;" %)**Format**|=**Range**|=**Note** |
19 |
|
-|(% colspan="1" rowspan="6" %)Bit|(% style="width:301px" %)M|(% style="width:235px" %)MDDDD|0~~8511|Internal Relay |
20 |
|
-|(% style="width:301px" %)X|(% style="width:235px" %)XOOOO|0~~1747|Input Relay |
21 |
|
-|(% style="width:301px" %)Y|(% style="width:235px" %)YOOOO|0~~1747|Output Relay |
22 |
|
-|(% style="width:301px" %)S|(% style="width:235px" %)SDDDD|0~~1023|Flow |
23 |
|
-|(% style="width:301px" %)T|(% style="width:235px" %)TDDD|0~~618|Timer |
24 |
|
-|(% style="width:301px" %)C|(% style="width:235px" %)CDDD|0~~634|Counter |
25 |
|
-|(% colspan="1" rowspan="4" %)Word|(% style="width:301px" %)D|(% style="width:235px" %)DDDDD|0~~8511|Data Register |
26 |
|
-|(% style="width:301px" %)TD|(% style="width:235px" %)TDDDD|0~~618|Timer |
27 |
|
-|(% style="width:301px" %)CD|(% style="width:235px" %)CDDDD|0~~634|Counter |
28 |
|
-|(% style="width:301px" %)FD|(% style="width:235px" %)FDDDDD|0~~8511|FlashROM Register |
|
16 |
+|=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note** |
|
17 |
+|Bit|M|M|M d|0~~8511| |
|
18 |
+|Bit|X|X|X o|0~~1747| |
|
19 |
+|Bit|Y|Y|Y o|0~~1747| |
|
20 |
+|Bit|S|S|S d|0~~1023| |
|
21 |
+|Bit|T|T|T d|0~~4095| |
|
22 |
+|Bit|C|C|C d|0~~634| |
|
23 |
+|Word|D|D|D d|0~~8511| |
|
24 |
+|Word|TD|TD|TD d|0~~618| |
|
25 |
+|Word|CD|CD|CD d|0~~634| |
|
26 |
+|Word|FD|FD|FD d|0~~8511| |
29 |
29 |
|
|
28 |
+**Configure the communication protocol** |
30 |
30 |
|
31 |
|
-**PLC Settings** |
|
30 |
+{{id name="Iimage-20220830154105-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_5150b44e12bc052d.png||alt="image-20220830154105-1.png" height="735" width="616"]] |
32 |
32 |
|
33 |
|
-Create the new project, and select the specific model according to the actual PLC |
|
32 |
+{{id name="Iimage-20220830154159-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_8ca0135815f1b6dd.png||alt="image-20220830154159-3.png" height="905" width="1038"]] |
34 |
34 |
|
35 |
|
-(% style="text-align:center" %) |
36 |
|
-[[image:XinjieXCcreatenew.png]] |
|
34 |
+**Cable Wiring** |
37 |
37 |
|
38 |
|
-Program the PLC |
|
36 |
+Figure |
39 |
39 |
|
40 |
|
-(% style="text-align:center" %) |
41 |
|
-[[image:XinjieXCPrg.png]] |
|
38 |
+{{id name="Iimage-20220830155728-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ef557d084f69a7e1.png||alt="image-20220830155728-4.png" height="203" width="846"]] |
42 |
42 |
|
43 |
|
-Connect PLC with PC through RS232-USB converter cable. Click [Option]-[Software Serial Port Config] to open the software connection setup window, and select the serial port, if the red text prompt "Connect To PLC Succeeded", which means the connection is setup successfully, then click OK to save the settings. |
|
40 |
+Pin Definition Diagram |
44 |
44 |
|
45 |
|
-(% style="text-align:center" %) |
46 |
|
-[[image:XinjieXCPCconn.png]] |
|
42 |
+{{id name="Iimage-20220830154131-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_58247140e9fe4230.png||alt="image-20220830154131-2.png" height="240" width="395"]] |
47 |
47 |
|
48 |
|
-Change the PLC communication setup if required. Double click the tree node [PLC Serial Port] from Project tree. And change Modbus parameters, then click [Write to PLC] and OK to finish. |
49 |
|
- |
50 |
|
-(% style="text-align:center" %) |
51 |
|
-[[image:XinjieXCPLCModbusConfig.png]] |
52 |
|
- |
53 |
|
-Click [Online]-[Download Program] to download program into PLC. And the download pop up window would pop up, then click OK. |
54 |
|
- |
55 |
|
-(% style="text-align:center" %) |
56 |
|
-[[image:XinjieXCDownloadPLC.png]] |
57 |
|
- |
58 |
|
-**Cable Wiring** |
59 |
|
- |
60 |
|
- |
61 |
|
-(% style="text-align:center" %) |
62 |
|
-[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_58247140e9fe4230.png||alt="image-20220830154131-2.png" height="240" width="395"]] |
63 |
|
- |
64 |
64 |
= **XD/XE MODBUS** = |
65 |
65 |
|
66 |
66 |
Supported Series: Xinjie XD Series |
... |
... |
@@ -79,43 +79,43 @@ |
79 |
79 |
**Address List** |
80 |
80 |
|
81 |
81 |
|=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note** |
82 |
|
-|(% colspan="1" rowspan="18" %)Bit|M|MDDDDD|0~~74999|Internal Relay |
83 |
|
-|X1xx|X1xxOOOO|0~~1177|Extension Module Input Relay |
84 |
|
-|X2xx|X2xxOOO|0~~277|BD Card Input Relay |
85 |
|
-|X|XOO|0~~77|Input Relay |
86 |
|
-|Y1xx|Y1xxOOOO|0~~1177|Extenson Module Output Relay |
87 |
|
-|Y2xx|Y2xxOOO|0~~277|BD Card Output Relay |
88 |
|
-|Y|YOOOO|0~~77|Output Relay |
89 |
|
-|SM|SMDDDD|0~~4999|Special Auxiliary Relay |
90 |
|
-|T|TDDDD|0~~4999|Timer |
91 |
|
-|C|CDDDD|0~~4999|Counter |
92 |
|
-|ET|ETDD|0~~31|Precise Timer |
93 |
|
-|SE|SEDD|0~~31|Function Block WAIT Instruction Special Coil |
94 |
|
-|HM|HMDDDDD|0~~11999|Power Off Retentive Internal Relay |
95 |
|
-|HSC|HSCDD|0~~39|High Speed Counter |
96 |
|
-|HS|HSDDD|0~~999|Power Off Retentive Procedure |
97 |
|
-|HT|HTDDDD|0~~1999|Power Off Retentive Auxiliary Relay |
98 |
|
-|HC|HCDDDD|0~~1999|Power Off Retentive Counter |
99 |
|
-|S|SDDDD|0~~7999|Procedure |
100 |
|
-|(% colspan="1" rowspan="19" %)Word|D|DDDDDD|0~~69999|Data Register |
101 |
|
-|ID|IDDD|0~~99|Analog Input |
102 |
|
-|ID1xx|ID1xxDDD|0~~999|Extension Module Analog Input |
103 |
|
-|ID2xx|ID2xxDDD|0~~299|BD Card Analog Input |
104 |
|
-|QD|QDDD|0~~99|Analog Output |
105 |
|
-|QD1xx|QD1xxDDD|0~~999|Extension Module Analog Output |
106 |
|
-|QD2xx|QD2xxDDD|0~~299|BD Card Analog Output |
107 |
|
-|SD|SDDDDD|0~~4999|Data Register |
108 |
|
-|TD|TDDDD|0~~575|Timer |
109 |
|
-|CD|CDDDD|0~~575|Counter |
110 |
|
-|ETD|ETDDD|0~~31|Precise Timer |
111 |
|
-|HD|HDDDDDD|0~~24999|Data Register |
112 |
|
-|HSD|HSDDDDD|0~~1023|Power Off Retentive Data Register |
113 |
|
-|HTD|HTDDD|0~~95|Power Off Retentive Timer |
114 |
|
-|HCD|HCDDD|0~~95|Power Off Retentive Counter |
115 |
|
-|HSCD|HSCDDD|0~~31|High Speed Counter |
116 |
|
-|FD|FDDDDD|0~~8191|FlashROM Register |
117 |
|
-|SFD|SFDDDDD|0~~5999|Special Flash Register |
118 |
|
-|FS|FSDD|0~~47|Special Data Register |
|
62 |
+|(% colspan="1" rowspan="18" %)Bit|M|MDDDDD|0~~74999| |
|
63 |
+|X1xx|X1xxOOOO|0~~1177| |
|
64 |
+|X2xx|X2xxOOO|0~~277| |
|
65 |
+|X|XOO|0~~77| |
|
66 |
+|Y1xx|Y1xxOOOO|0~~1177| |
|
67 |
+|Y2xx|Y2xxOOO|0~~277| |
|
68 |
+|Y|YOOOO|0~~77| |
|
69 |
+|SM|SMDDDD|0~~4999| |
|
70 |
+|T|TDDDD|0~~4999| |
|
71 |
+|C|CDDDD|0~~4999| |
|
72 |
+|ET|ETDD|0~~31| |
|
73 |
+|SE|SEDD|0~~31| |
|
74 |
+|HM|HMDDDDD|0~~11999| |
|
75 |
+|HSC|HSCDD|0~~39| |
|
76 |
+|HS|HSDDD|0~~999| |
|
77 |
+|HT|HTDDDD|0~~1999| |
|
78 |
+|HC|HCDDDD|0~~1999| |
|
79 |
+|S|SDDDD|0~~7999| |
|
80 |
+|(% colspan="1" rowspan="19" %)Word|D|DDDDDD|0~~69999| |
|
81 |
+|ID|IDDD|0~~99| |
|
82 |
+|ID1xx|ID1xxDDD|0~~999| |
|
83 |
+|ID2xx|ID2xxDDD|0~~299| |
|
84 |
+|QD|QDDD|0~~99| |
|
85 |
+|QD1xx|QD1xxDDD|0~~999| |
|
86 |
+|QD2xx|QD2xxDDD|0~~299| |
|
87 |
+|SD|SDDDDD|0~~4999| |
|
88 |
+|TD|TDDDD|0~~575| |
|
89 |
+|CD|CDDDD|0~~575| |
|
90 |
+|ETD|ETDDD|0~~31| |
|
91 |
+|HD|HDDDDDD|0~~24999| |
|
92 |
+|HSD|HSDDDDD|0~~1023| |
|
93 |
+|HTD|HTDDD|0~~95| |
|
94 |
+|HCD|HCDDD|0~~95| |
|
95 |
+|HSCD|HSCDDD|0~~31| |
|
96 |
+|FD|FDDDDD|0~~8191| |
|
97 |
+|SFD|SFDDDDD|0~~5999| |
|
98 |
+|FS|FSDD|0~~47| |
119 |
119 |
|
120 |
120 |
**PLC Settings** |
121 |
121 |
|
... |
... |
@@ -176,5 +176,4 @@ |
176 |
176 |
|
177 |
177 |
**Cable Wiring** |
178 |
178 |
|
179 |
|
-(% style="text-align:center" %) |
180 |
|
-[[image:Xinjie.gif]] |
|
159 |
+ |