Wiki source code of Delta

Version 15.1 by Theodore Xu on 2023/10/10 11:09

Hide last authors
Theodore Xu 15.1 1 == (% id="cke_bm_111267S" style="display:none" %)** **(%%)**DVP serial** ==
Leo Wei 2.1 2
Theodore Xu 15.1 3 Supoort Series: DELTA DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX
Leo Wei 2.1 4
Theodore Xu 15.1 5 **V-BOX Settings**
Leo Wei 2.1 6
7 |=**Items**|=**Settings**|=**Note**
Theodore Xu 15.1 8 |Protocol|DELTA DVP PROTOCOL|
9 |Connection|RS232|
10 |Baud Rate|9600|
11 |Stop Bit|1|
12 |Data Bit|7|
13 |Parity|EVEN|
Leo Wei 2.1 14 |Device No.|1|
15
Theodore Xu 15.1 16 **Address List**
Leo Wei 2.1 17
Theodore Xu 15.1 18 |=**Type**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
19 |Bit|X|X|X d|0~~303237|
20 |Bit|Y|Y|Y d|0~~303237|
21 |Bit|M|M|M d|0~~99999|
22 |Bit|T|T|T d|0~~99999|
23 |Bit|C|C|T d|0~~99999|
24 |Bit|S|S|T d|0~~99999|
25 |Word|D|D|D d|0~~99999|
26 |Word|T|T|T d|0~~99999|
27 |Word|C|C|C d|0~~99999|
28
29 **Wiring Diagram**
30
31 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_96f8e9b105b4268c.png||alt="Delta DVP PROTOCOLSerial232.png" height="247" width="400"]]
32
33 == **DVP Ethernet** ==
34
35 Supported Series: Delta DVP ES2/EX2/SS2/SA2/SX2/SE Controller
36
37 **V-BOX Settings**
38
39
40 |=**Items**|=**Settings**|=**Note**
41 |Protocol|DELTA DVP Modbus TCP|
42 |Connection|Ethernet|
43 |Port No.|502|Must be the same as the PLC setting
44 |PLC station No.|0|Must be the same as the PLC setting
45
46 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_61f1537e99334c67.png||alt="image-20220831160010-4.png" height="708" width="1677"]]
47
48 **Address List **
49
Leo Wei 2.1 50 |=**Type**|=**Device registers**|=**VBox registers**|=**Format**|=**Range**|=**Note**
51 |Bit|X|X|X OOO|0~~377|
52 |Bit|Y|Y|Y OOO|0~~377|
53 |Bit|M0|M0|M0DDDD|0~~1535|
54 |Bit|M1|M1|M1DDDD|1536~~4096|
55 |Bit|T|T|TDDD|0~~255|
56 |Bit|C|C|CDDD|0~~255|
57 |Bit|S|S|SDDDD|0~~1023|
58 |Word|D0|D0|D0DDDD|0~~4095|
59 |Word|D1|D1|D1DDDD|4096~~11999|
60 |Word|T|T|TDDD|0~~255|
61 |Word|C|C|CDDD|0~~199|
62 |Double Word|HC|HC|HCDDD|200~~255|
63
Theodore Xu 15.1 64 **PLC Setting:**
Leo Wei 2.1 65
66 ~1. Create new project in Delta WPL Soft, and click Setting to open the communication settings:
67
Theodore Xu 15.1 68 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_c5e594a6b73bdd68.png||alt="DVPEthernetWPLSoft2.png" height="727" width="1366"]]
Leo Wei 2.1 69
70 2. Set up the communication type and PLC IP:
71
Theodore Xu 15.1 72 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_92343d448762200c.png||alt="DVPEthernetSetup.png" height="592" width="346"]]
Leo Wei 2.1 73
74 3. Click OK and save the settings. Then click Communication on toolbar, then click Transfer Setup to open new window:
75
76 {{id name="IDVPEthernetTransfer.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_a24e318f1e5f0839.png||alt="DVPEthernetTransfer.png" height="726" width="1366"]]
77
78 4. Select Communication Mode as PC => PLC to download or select PC <=PLC to upload:
79
Theodore Xu 15.1 80 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_ae301f5422be2294.png||alt="DVPEthernetPLCtoPC.png" height="303" width="308"]]
Leo Wei 2.1 81
82 5. Click Auto-Search Ethernet Module to find the PLC on the same LAN network:
83
84 {{id name="IDVPEthernetAutoSearch.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_e2c32050bbe425bc.png||alt="DVPEthernetAutoSearch.png" height="723" width="1366"]]
85
Theodore Xu 15.1 86 **V-BOX Setting:**
Leo Wei 2.1 87
88 Set the same IP address according to the setting from WPL Soft:
89
Theodore Xu 15.1 90 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_514e38138de7059.png||alt="DVPEthernetVNETPortocol.png" height="493" width="729"]]
Leo Wei 2.1 91
Theodore Xu 15.1 92 == **AS Series Serial** ==
Leo Wei 2.1 93
Theodore Xu 15.1 94 Supported Series: Delta AS200/AS300
Leo Wei 2.1 95
Theodore Xu 15.1 96 **V-BOX Settings**
Leo Wei 2.1 97
98
Theodore Xu 15.1 99 |**Item**|**Settings**|**Note**
100 |Protocol|DELTA AS300 MODBUS RTU|
101 |Connection|RS485|
102 |Baud rate|9600|
103 |Data bit|8|
104 |Parity|NONE|
105 |Stop bit|1|
106 |PLC station No.|1|
Leo Wei 2.1 107
Theodore Xu 15.1 108 **Address List**
Leo Wei 2.1 109
Theodore Xu 15.1 110 |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
111 |(% colspan="1" rowspan="9" %)Bit|X|Xdd.dd|0~~63.15|Read only
112 |Y|Ydd.dd|0~~63.15|
113 |D|Dddddd|0~~29999|
114 |M|Mdddd|0~~8191|
115 |SM|SMdddd|0~~4095|
116 |S|Sdddd|0~~2047|
117 |T|Tddd|0~~511|
118 |C|Cddd|0~~511|
119 |HC|HCddd|0~~255|Double Word
120 |(% colspan="1" rowspan="7" %)Word|X|Xdd|0~~63|
121 |Y|Ydd|0~~63|
122 |SR|SRdddd|0~~2047|Special register
123 |D|Dddddd|0~~29999|
124 |T|Tddd|0~~511|
125 |C|Cddd|0~~511|
126 |E|Ed|0~~9|
Leo Wei 2.1 127
Theodore Xu 15.1 128 **PLC Settings**
Leo Wei 2.1 129
Theodore Xu 15.1 130 Create project
Leo Wei 2.1 131
Theodore Xu 15.1 132 (% style="text-align:center" %)
133 [[image:台达1.png]]
Leo Wei 2.1 134
Theodore Xu 15.1 135 Open the tool COMMGR, to communicate with PLC, if know the IP, we can directly click Add to input PLC IP. Or search the PLC IP from LAN.
136
137 (% style="text-align:center" %)
138 [[image:1696906027584-350.png]]
139
140 Double click the HWCONFIG to open the communication settings window.
141
142 (% style="text-align:center" %)
143 [[image:台达3.png]]
144
145 Expand the Project Tree, open the hardware configuration, double click the PLC icon.
146
147 (% style="text-align:center" %)
148 [[image:台达4.png]]
149
150 Click COM1 Port Setting, the default Modbus mode is ASCII, need to change to RTU.
151
152 (% style="text-align:center" %)
153 [[image:台达5.png]]
154
155
156 Click Ethernet Port Basic Setting, set the PLC IP and Gateway. Make sure the IP and Gateway is same segment. Then download into PLC.
157
158 (% style="text-align:center" %)
159 [[image:台达6.png]]
160
161 **Cable Wiring**
162
163 Please refer to HMI
164
165 (% style="text-align:center" %)
166 [[image:台达接线1.png]]
167
168 Pin Definition Diagram
169
170 (% style="text-align:center" %)
171 [[image:台达接线2.png]]
172
173 == **AS Series Ethernet** ==
174
Leo Wei 2.1 175 |=**Items**|=**Settings**|=**Note**
176 |Protocol|DELTA AS300 MODBUS TCP|
177 |Connection|Ethernet|
178 |Port No.|502|
179 |Device No.|1|
180 |HMI No.|0|
181
Theodore Xu 15.1 182 **Address List**
Leo Wei 2.1 183
184 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
185 |Bit|X|X|X d|0~~63|
186 |Bit|Y|Y|Y d|0~~63|
187 |Bit|D|D|D d|0~~29999|
188 |Bit|M|M|M d|0~~8191|
189 |Bit|SM|SM|SM d|0~~4095|
190 |Bit|S|S|S h|0~~2047|
191 |Bit|T|T|T d|0~~511|
192 |Bit|C|C|C d|0~~511|
193 |Bit|HC|HC|HC d|0~~255|
194 |Word|X|X|X h|0~~63|
195 |Word|Y|Y|Y d|0~~63|
196 |Word|SR|SR|SR d|0~~2047|
197 |Word|D|D|D d|0~~29999|
198 |Word|T|T|T d|0~~511|
199 |Word|C|C|C h|0~~511|
200 |Word|E|E|E d|0~~9|
201
202
Theodore Xu 15.1 203 **Cable Wiring**
Leo Wei 2.1 204
205 Figure
206
Theodore Xu 15.1 207 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_f2c92ecd57ebfbd0.png||alt="image-20220831155101-1.png" height="262" width="118"]] [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_32ea98dfbc23a591.png||alt="image-20220831160055-5.png" height="198" width="455"]]
Leo Wei 2.1 208
209 Pin Definition Diagram
210
Theodore Xu 15.1 211 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_daa33fcae616e61c.png||alt="image-20220831155157-3.png" height="181" width="320"]]