Wiki source code of Haiwell
Version 5.1 by Theodore Xu on 2023/09/16 10:56
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == **Haiwell** == | ||
2 | |||
3 | Support Series: Haiwell S Series, A Series, C Series, T Series, H Series. | ||
4 | |||
5 | **HMI Settings** | ||
6 | |||
7 | |=**Item**|=**Settings**|=**Note** | ||
8 | |Protocol|Haiwell PLC Series| | ||
9 | |Connection|RS232| | ||
10 | |Baud rate|19200| | ||
11 | |Data bit|8| | ||
12 | |Parity|None| | ||
13 | |Stop bit|2| | ||
14 | |PLC station No.|0| | ||
15 | |||
16 | **Address List** | ||
17 | |||
18 | |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note** | ||
19 | |(% colspan="1" rowspan="6" %)Bit|X|XDDDDD|0~~99999|Input | ||
20 | |Y|YDDDDD|0~~99999|Output | ||
21 | |M|MDDDDD|0~~99999|Internal Relay | ||
22 | |T|TDDDDD|0~~99999|Timer | ||
23 | |C|CDDDDD|0~~99999|Counter | ||
24 | |SM|SMDDDDD|0~~99999|System Status Bit | ||
25 | |(% colspan="1" rowspan="7" %)Word|AI|AIDDDDD|0~~99999|Analog Input | ||
26 | |AQ|AQDDDDD|0~~99999|Analog Output | ||
27 | |V|VDDDDD|0~~99999|Data Register | ||
28 | |TCV|TCVDDDDD|0~~99999|Timer Current Value | ||
29 | |CCV|CCVDDDDD|0~~99999|Counter Currnet Value | ||
30 | |SV|SVDDDDD|0~~99999|System Register | ||
31 | |CCVH|CCVHDD|48~~79|Special Module Parameter | ||
32 | |||
33 | **PLC Settings** | ||
34 | |||
35 | Create new project, and select the specific model according to the actual PLC. | ||
36 | |||
37 | (% style="text-align:center" %) | ||
38 | [[image:HHcreatenew.png]] | ||
39 | |||
40 | Naming the program block, and set program password if project required, otherwise put Password as empty, then click OK to finish. | ||
41 | |||
42 | (% style="text-align:center" %) | ||
43 | [[image:HHnaming.png]] | ||
44 | |||
45 | Program the PLC | ||
46 | |||
47 | (% style="text-align:center" %) | ||
48 | [[image:HHPrg.png]] | ||
49 | |||
50 | Using the RS232-USB converter cable to online the PLC connection. | ||
51 | |||
52 | (% style="text-align:center" %) | ||
53 | [[image:HHPLConline.png]] | ||
54 | |||
55 | If HaiwellHappy found the PLC successfully, it would add the device into the list, and click Online. | ||
56 | |||
57 | (% style="text-align:center" %) | ||
58 | [[image:HHfoundPLC.png]] | ||
59 | |||
60 | Set the project communication parameter if needed after online PLC. | ||
61 | |||
62 | (% style="text-align:center" %) | ||
63 | [[image:HHsetCOMM.png]] | ||
64 | |||
65 | Process the PLC download. | ||
66 | |||
67 | (% style="text-align:center" %) | ||
68 | [[image:HHDownloadPLC2.png]] | ||
69 | |||
70 | Wait for PLC download complete, then it would prompt like below. | ||
71 | |||
72 | (% style="text-align:center" %) | ||
73 | [[image:HHdownloadcomplete.png]] | ||
74 | |||
75 | **Cable Wiring** | ||
76 | |||
77 | (% style="text-align:center" %) | ||
78 | [[image:Haiwell PLC Series.gif]] |