Wiki source code of Delta

Version 16.1 by Theodore Xu on 2023/10/10 11:23

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
Theodore Xu 15.1 98 |**Item**|**Settings**|**Note**
99 |Protocol|DELTA AS300 MODBUS RTU|
100 |Connection|RS485|
101 |Baud rate|9600|
102 |Data bit|8|
103 |Parity|NONE|
104 |Stop bit|1|
105 |PLC station No.|1|
Leo Wei 2.1 106
Theodore Xu 15.1 107 **Address List**
Leo Wei 2.1 108
Theodore Xu 15.1 109 |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
110 |(% colspan="1" rowspan="9" %)Bit|X|Xdd.dd|0~~63.15|Read only
111 |Y|Ydd.dd|0~~63.15|
112 |D|Dddddd|0~~29999|
113 |M|Mdddd|0~~8191|
114 |SM|SMdddd|0~~4095|
115 |S|Sdddd|0~~2047|
116 |T|Tddd|0~~511|
117 |C|Cddd|0~~511|
118 |HC|HCddd|0~~255|Double Word
119 |(% colspan="1" rowspan="7" %)Word|X|Xdd|0~~63|
120 |Y|Ydd|0~~63|
121 |SR|SRdddd|0~~2047|Special register
122 |D|Dddddd|0~~29999|
123 |T|Tddd|0~~511|
124 |C|Cddd|0~~511|
125 |E|Ed|0~~9|
Leo Wei 2.1 126
Theodore Xu 15.1 127 **PLC Settings**
Leo Wei 2.1 128
Theodore Xu 15.1 129 Create project
Leo Wei 2.1 130
Theodore Xu 15.1 131 (% style="text-align:center" %)
132 [[image:台达1.png]]
Leo Wei 2.1 133
Theodore Xu 15.1 134 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.
135
136 (% style="text-align:center" %)
137 [[image:1696906027584-350.png]]
138
139 Double click the HWCONFIG to open the communication settings window.
140
141 (% style="text-align:center" %)
142 [[image:台达3.png]]
143
144 Expand the Project Tree, open the hardware configuration, double click the PLC icon.
145
146 (% style="text-align:center" %)
147 [[image:台达4.png]]
148
149 Click COM1 Port Setting, the default Modbus mode is ASCII, need to change to RTU.
150
151 (% style="text-align:center" %)
152 [[image:台达5.png]]
153
154
155 Click Ethernet Port Basic Setting, set the PLC IP and Gateway. Make sure the IP and Gateway is same segment. Then download into PLC.
156
157 (% style="text-align:center" %)
158 [[image:台达6.png]]
159
160 **Cable Wiring**
161
Theodore Xu 16.1 162 (% id="cke_bm_36592S" style="display:none" %) (%%)Pin Definition Diagram
Theodore Xu 15.1 163
Theodore Xu 16.1 164 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_daa33fcae616e61c.png||alt="image-20220831155157-3.png" height="181" width="320"]]
Theodore Xu 15.1 165
166 == **AS Series Ethernet** ==
167
Leo Wei 2.1 168 |=**Items**|=**Settings**|=**Note**
169 |Protocol|DELTA AS300 MODBUS TCP|
170 |Connection|Ethernet|
171 |Port No.|502|
172 |Device No.|1|
173 |HMI No.|0|
174
Theodore Xu 15.1 175 **Address List**
Leo Wei 2.1 176
177 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
178 |Bit|X|X|X d|0~~63|
179 |Bit|Y|Y|Y d|0~~63|
180 |Bit|D|D|D d|0~~29999|
181 |Bit|M|M|M d|0~~8191|
182 |Bit|SM|SM|SM d|0~~4095|
183 |Bit|S|S|S h|0~~2047|
184 |Bit|T|T|T d|0~~511|
185 |Bit|C|C|C d|0~~511|
186 |Bit|HC|HC|HC d|0~~255|
187 |Word|X|X|X h|0~~63|
188 |Word|Y|Y|Y d|0~~63|
189 |Word|SR|SR|SR d|0~~2047|
190 |Word|D|D|D d|0~~29999|
191 |Word|T|T|T d|0~~511|
192 |Word|C|C|C h|0~~511|
193 |Word|E|E|E d|0~~9|
194
Theodore Xu 16.1 195 **PLC Setting**
Leo Wei 2.1 196
Theodore Xu 16.1 197 1.Open COMMGR ,[Add]→[Driver Name] Driver1→[Connection Setup]→[Type] Ethernet→[Ethernet Card] →[Description] Realtek PCIe GBE Family Controller→[Search] PC and PLC are in
198 the same LAN, click the corresponding PLC IP searched.→[OK]
199
200 (% style="text-align:center" %)
201 [[image:2.1.png]]
202
203 2. Open ISPSoft,[Project]→Double click[HWCONFIG]
204
205 (% style="text-align:center" %)
206 [[image:台达2.2.png]]
207
208 PLC Default Parameters:
209 [Device]→[Hardware Configuration]→[CPU(AS332T-A)]→[Hardware Configuration]→[General] →[Ethernet Port Basic Setting]: [IP Address]192.168.40.122, [Subnet Mask]255.255.255.0,[Gateway]
210 192.168.40.1→[Download]
211
212 (% style="text-align:center" %)
213 [[image:台达2.3-.png]]
214
215 (% style="text-align:center" %)
216 [[image:台达2.4.png]]
217
Theodore Xu 15.1 218 **Cable Wiring**
Leo Wei 2.1 219
220 Figure
221
Theodore Xu 15.1 222 [[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"]]