... |
... |
@@ -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** |
... |
... |
@@ -11,55 +11,38 @@ |
11 |
11 |
|Data bit|8| |
12 |
12 |
|Parity|EVEN| |
13 |
13 |
|Stop bit|1| |
14 |
|
-|PLC station No.|1|Need to be same as PLC setting |
|
12 |
+|PLC station No.|1| |
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 |
|
30 |
|
-**PLC Settings** |
|
28 |
+**Configure the communication protocol** |
31 |
31 |
|
32 |
|
-Create the new project, and select the specific model according to the actual PLC |
|
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"]] |
33 |
33 |
|
34 |
|
-(% style="text-align:center" %) |
35 |
|
-[[image:XinjieXCcreatenew.png]] |
|
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"]] |
36 |
36 |
|
37 |
|
-Program the PLC |
|
34 |
+**Cable Wiring** |
38 |
38 |
|
39 |
|
-(% style="text-align:center" %) |
40 |
|
-[[image:XinjieXCPrg.png]] |
|
36 |
+Figure |
41 |
41 |
|
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. |
|
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"]] |
43 |
43 |
|
44 |
|
-(% style="text-align:center" %) |
45 |
|
-[[image:XinjieXCPCconn.png]] |
|
40 |
+Pin Definition Diagram |
46 |
46 |
|
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. |
|
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"]] |
48 |
48 |
|
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 |
|
- |
63 |
63 |
= **XD/XE MODBUS** = |
64 |
64 |
|
65 |
65 |
Supported Series: Xinjie XD Series |