Wiki source code of Delta

Version 18.1 by Theodore Xu on 2023/10/10 11:25

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