Wiki source code of Delta

Version 17.1 by Theodore Xu on 2023/10/10 11:24

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 **Address List **
47
Leo Wei 2.1 48 |=**Type**|=**Device registers**|=**VBox registers**|=**Format**|=**Range**|=**Note**
49 |Bit|X|X|X OOO|0~~377|
50 |Bit|Y|Y|Y OOO|0~~377|
51 |Bit|M0|M0|M0DDDD|0~~1535|
52 |Bit|M1|M1|M1DDDD|1536~~4096|
53 |Bit|T|T|TDDD|0~~255|
54 |Bit|C|C|CDDD|0~~255|
55 |Bit|S|S|SDDDD|0~~1023|
56 |Word|D0|D0|D0DDDD|0~~4095|
57 |Word|D1|D1|D1DDDD|4096~~11999|
58 |Word|T|T|TDDD|0~~255|
59 |Word|C|C|CDDD|0~~199|
60 |Double Word|HC|HC|HCDDD|200~~255|
61
Theodore Xu 15.1 62 **PLC Setting:**
Leo Wei 2.1 63
64 ~1. Create new project in Delta WPL Soft, and click Setting to open the communication settings:
65
Theodore Xu 15.1 66 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_c5e594a6b73bdd68.png||alt="DVPEthernetWPLSoft2.png" height="727" width="1366"]]
Leo Wei 2.1 67
68 2. Set up the communication type and PLC IP:
69
Theodore Xu 15.1 70 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_92343d448762200c.png||alt="DVPEthernetSetup.png" height="592" width="346"]]
Leo Wei 2.1 71
72 3. Click OK and save the settings. Then click Communication on toolbar, then click Transfer Setup to open new window:
73
74 {{id name="IDVPEthernetTransfer.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_a24e318f1e5f0839.png||alt="DVPEthernetTransfer.png" height="726" width="1366"]]
75
76 4. Select Communication Mode as PC => PLC to download or select PC <=PLC to upload:
77
Theodore Xu 15.1 78 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_ae301f5422be2294.png||alt="DVPEthernetPLCtoPC.png" height="303" width="308"]]
Leo Wei 2.1 79
80 5. Click Auto-Search Ethernet Module to find the PLC on the same LAN network:
81
82 {{id name="IDVPEthernetAutoSearch.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_e2c32050bbe425bc.png||alt="DVPEthernetAutoSearch.png" height="723" width="1366"]]
83
Theodore Xu 15.1 84 **V-BOX Setting:**
Leo Wei 2.1 85
86 Set the same IP address according to the setting from WPL Soft:
87
Theodore Xu 15.1 88 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_514e38138de7059.png||alt="DVPEthernetVNETPortocol.png" height="493" width="729"]]
Leo Wei 2.1 89
Theodore Xu 15.1 90 == **AS Series Serial** ==
Leo Wei 2.1 91
Theodore Xu 15.1 92 Supported Series: Delta AS200/AS300
Leo Wei 2.1 93
Theodore Xu 15.1 94 **V-BOX Settings**
Leo Wei 2.1 95
Theodore Xu 15.1 96 |**Item**|**Settings**|**Note**
97 |Protocol|DELTA AS300 MODBUS RTU|
98 |Connection|RS485|
99 |Baud rate|9600|
100 |Data bit|8|
101 |Parity|NONE|
102 |Stop bit|1|
103 |PLC station No.|1|
Leo Wei 2.1 104
Theodore Xu 15.1 105 **Address List**
Leo Wei 2.1 106
Theodore Xu 15.1 107 |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
108 |(% colspan="1" rowspan="9" %)Bit|X|Xdd.dd|0~~63.15|Read only
109 |Y|Ydd.dd|0~~63.15|
110 |D|Dddddd|0~~29999|
111 |M|Mdddd|0~~8191|
112 |SM|SMdddd|0~~4095|
113 |S|Sdddd|0~~2047|
114 |T|Tddd|0~~511|
115 |C|Cddd|0~~511|
116 |HC|HCddd|0~~255|Double Word
117 |(% colspan="1" rowspan="7" %)Word|X|Xdd|0~~63|
118 |Y|Ydd|0~~63|
119 |SR|SRdddd|0~~2047|Special register
120 |D|Dddddd|0~~29999|
121 |T|Tddd|0~~511|
122 |C|Cddd|0~~511|
123 |E|Ed|0~~9|
Leo Wei 2.1 124
Theodore Xu 15.1 125 **PLC Settings**
Leo Wei 2.1 126
Theodore Xu 15.1 127 Create project
Leo Wei 2.1 128
Theodore Xu 15.1 129 (% style="text-align:center" %)
130 [[image:台达1.png]]
Leo Wei 2.1 131
Theodore Xu 15.1 132 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.
133
134 (% style="text-align:center" %)
135 [[image:1696906027584-350.png]]
136
137 Double click the HWCONFIG to open the communication settings window.
138
139 (% style="text-align:center" %)
140 [[image:台达3.png]]
141
142 Expand the Project Tree, open the hardware configuration, double click the PLC icon.
143
144 (% style="text-align:center" %)
145 [[image:台达4.png]]
146
147 Click COM1 Port Setting, the default Modbus mode is ASCII, need to change to RTU.
148
149 (% style="text-align:center" %)
150 [[image:台达5.png]]
151
152
153 Click Ethernet Port Basic Setting, set the PLC IP and Gateway. Make sure the IP and Gateway is same segment. Then download into PLC.
154
155 (% style="text-align:center" %)
156 [[image:台达6.png]]
157
158 **Cable Wiring**
159
Theodore Xu 16.1 160 (% id="cke_bm_36592S" style="display:none" %) (%%)Pin Definition Diagram
Theodore Xu 15.1 161
Theodore Xu 16.1 162 [[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 163
164 == **AS Series Ethernet** ==
165
Leo Wei 2.1 166 |=**Items**|=**Settings**|=**Note**
167 |Protocol|DELTA AS300 MODBUS TCP|
168 |Connection|Ethernet|
169 |Port No.|502|
170 |Device No.|1|
171 |HMI No.|0|
172
Theodore Xu 15.1 173 **Address List**
Leo Wei 2.1 174
175 |**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
176 |Bit|X|X|X d|0~~63|
177 |Bit|Y|Y|Y d|0~~63|
178 |Bit|D|D|D d|0~~29999|
179 |Bit|M|M|M d|0~~8191|
180 |Bit|SM|SM|SM d|0~~4095|
181 |Bit|S|S|S h|0~~2047|
182 |Bit|T|T|T d|0~~511|
183 |Bit|C|C|C d|0~~511|
184 |Bit|HC|HC|HC d|0~~255|
185 |Word|X|X|X h|0~~63|
186 |Word|Y|Y|Y d|0~~63|
187 |Word|SR|SR|SR d|0~~2047|
188 |Word|D|D|D d|0~~29999|
189 |Word|T|T|T d|0~~511|
190 |Word|C|C|C h|0~~511|
191 |Word|E|E|E d|0~~9|
192
Theodore Xu 16.1 193 **PLC Setting**
Leo Wei 2.1 194
Theodore Xu 16.1 195 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
196 the same LAN, click the corresponding PLC IP searched.→[OK]
197
198 (% style="text-align:center" %)
199 [[image:2.1.png]]
200
201 2. Open ISPSoft,[Project]→Double click[HWCONFIG]
202
203 (% style="text-align:center" %)
204 [[image:台达2.2.png]]
205
206 PLC Default Parameters:
207 [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]
208 192.168.40.1→[Download]
209
210 (% style="text-align:center" %)
211 [[image:台达2.3-.png]]
212
213 (% style="text-align:center" %)
214 [[image:台达2.4.png]]
215
Theodore Xu 15.1 216 **Cable Wiring**
Leo Wei 2.1 217
218 Figure
219
Theodore Xu 15.1 220 [[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"]]