... |
... |
@@ -1,5 +1,7 @@ |
1 |
1 |
= **XC MODBUS** = |
2 |
2 |
|
|
3 |
+Support Series: Xinjie XC Series |
|
4 |
+ |
3 |
3 |
**HMI Settings** |
4 |
4 |
|
5 |
5 |
|**Item**|**Settings**|**Note** |
... |
... |
@@ -9,38 +9,55 @@ |
9 |
9 |
|Data bit|8| |
10 |
10 |
|Parity|EVEN| |
11 |
11 |
|Stop bit|1| |
12 |
|
-|PLC station No.|1| |
|
14 |
+|PLC station No.|1|Need to be same as PLC setting |
13 |
13 |
|
14 |
14 |
**Address List** |
15 |
15 |
|
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| |
|
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 |
27 |
27 |
|
28 |
|
-**Configure the communication protocol** |
|
30 |
+**PLC Settings** |
29 |
29 |
|
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 |
+Create the new project, and select the specific model according to the actual PLC |
31 |
31 |
|
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 |
+(% style="text-align:center" %) |
|
35 |
+[[image:XinjieXCcreatenew.png]] |
33 |
33 |
|
34 |
|
-**Cable Wiring** |
|
37 |
+Program the PLC |
35 |
35 |
|
36 |
|
-Figure |
|
39 |
+(% style="text-align:center" %) |
|
40 |
+[[image:XinjieXCPrg.png]] |
37 |
37 |
|
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 |
+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. |
39 |
39 |
|
40 |
|
-Pin Definition Diagram |
|
44 |
+(% style="text-align:center" %) |
|
45 |
+[[image:XinjieXCPCconn.png]] |
41 |
41 |
|
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 |
+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. |
43 |
43 |
|
|
49 |
+(% style="text-align:center" %) |
|
50 |
+[[image:XinjieXCPLCModbusConfig.png]] |
|
51 |
+ |
|
52 |
+Click [Online]-[Download Program] to download program into PLC. And the download pop up window would pop up, then click OK. |
|
53 |
+ |
|
54 |
+(% style="text-align:center" %) |
|
55 |
+[[image:XinjieXCDownloadPLC.png]] |
|
56 |
+ |
|
57 |
+**Cable Wiring** |
|
58 |
+ |
|
59 |
+ |
|
60 |
+(% style="text-align:center" %) |
|
61 |
+[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_58247140e9fe4230.png||alt="image-20220830154131-2.png" height="240" width="395"]] |
|
62 |
+ |
44 |
44 |
= **XD/XE MODBUS** = |
45 |
45 |
|
46 |
46 |
Supported Series: Xinjie XD Series |
... |
... |
@@ -70,11 +70,11 @@ |
70 |
70 |
|T|TDDDD|0~~4999|Timer |
71 |
71 |
|C|CDDDD|0~~4999|Counter |
72 |
72 |
|ET|ETDD|0~~31|Precise Timer |
73 |
|
-|SE|SEDD|0~~31| |
|
92 |
+|SE|SEDD|0~~31|Function Block WAIT Instruction Special Coil |
74 |
74 |
|HM|HMDDDDD|0~~11999|Power Off Retentive Internal Relay |
75 |
75 |
|HSC|HSCDD|0~~39|High Speed Counter |
76 |
|
-|HS|HSDDD|0~~999| |
77 |
|
-|HT|HTDDDD|0~~1999| |
|
95 |
+|HS|HSDDD|0~~999|Power Off Retentive Procedure |
|
96 |
+|HT|HTDDDD|0~~1999|Power Off Retentive Auxiliary Relay |
78 |
78 |
|HC|HCDDDD|0~~1999|Power Off Retentive Counter |
79 |
79 |
|S|SDDDD|0~~7999|Procedure |
80 |
80 |
|(% colspan="1" rowspan="19" %)Word|D|DDDDDD|0~~69999|Data Register |