Wiki source code of 10 Demo
Last modified by Devin Chen on 2024/03/08 15:48
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = **1 24-hour clock** = | ||
2 | |||
3 | This case uses three counters to count time, it uses 24-hour clock as an example. | ||
4 | |||
5 | **[[Download link>>url:https://drive.google.com/drive/folders/1V3hXsXOe7w8-MlklBdzN-YgwB2TZPvEE?usp=sharing]]** | ||
6 | |||
7 | = **2 Automatic door** = | ||
8 | |||
9 | This case uses interlock function to achieve the automatic operation of the door. | ||
10 | |||
11 | **[[Download link>>url:https://drive.google.com/drive/folders/1ysiv29NxEYZE1yj8gOgv5SO2zyLYxywl?usp=sharing]]** | ||
12 | |||
13 | = **3 Automatic initialization** = | ||
14 | |||
15 | **[[Download link>>url:https://drive.google.com/drive/folders/1mB1mteC82c-WnyvYocOF1nuiauusYRtK?usp=sharing]]** | ||
16 | |||
17 | = **4 Delay off Circuit** = | ||
18 | |||
19 | This case uses a delay switch circuit as an example, which uses LD, LDI instruction and timers. | ||
20 | |||
21 | **[[Download link>>url:https://drive.google.com/drive/folders/1MD6CHMaH561RByTjACRVPBMzTYq0c_H8?usp=sharing]]** | ||
22 | |||
23 | = **5 Doorbell** = | ||
24 | |||
25 | This case uses a button to control a doorbell. | ||
26 | |||
27 | **[[Download link>>url:https://drive.google.com/drive/folders/1tilgg1EQibJW1-L98eBrtaCrwagG5gTu?usp=sharing]]** | ||
28 | |||
29 | = **6 Double Control** = | ||
30 | |||
31 | The simplest dual control circuit is the downstairs / upstairs lighting control system. | ||
32 | |||
33 | **[[Download link>>url:https://drive.google.com/drive/folders/1yQB6AT5Z7I5NJfcP3A4lFwNVLKgXh3_Y?usp=sharing]]** | ||
34 | |||
35 | = **7 Fail-Safe** = | ||
36 | |||
37 | This case uses three instructions “PLS”and “SET” and “RST” ,to control that pump stops pumping,when pressing “stop button” or “no water in water tank”. | ||
38 | |||
39 | **[[Download link>>url:https://drive.google.com/drive/folders/1N5T1E1O-kteTtSIEm8A7y8dqJRlz9j1n?usp=sharing]]** | ||
40 | |||
41 | = **8 Float value control wate**r = | ||
42 | |||
43 | This case uses a float valve(DI0) to close the water valve.Float valve controls the water. | ||
44 | |||
45 | **[[Download link>>url:https://drive.google.com/drive/folders/1sZL1ufvTIckIo6VkyKtRC34JAA-8-pTC?usp=sharing]]** | ||
46 | |||
47 | = **9 Flow led** = | ||
48 | |||
49 | This case uses Timer as time controller and outputs (Y) to trigger lights, it use the flow led as an example. | ||
50 | |||
51 | **[[Download link>>url:https://drive.google.com/open?id=1RiTk5puCTgEVUtEvyeIdE0lX3vHUiT-L]]** | ||
52 | |||
53 | = **10 Gate of Parking Lot** = | ||
54 | |||
55 | This case uses interlock function to achieve the automatic operation of the gage of the parking lot. | ||
56 | |||
57 | **[[Download link>>url:https://drive.google.com/drive/folders/1FEXFngnRXC5xc0UXQ4iVQiCeH8zlZds9?usp=sharing]]** | ||
58 | |||
59 | = **11 High speed counter** = | ||
60 | |||
61 | This case uses encoder to record washing machine’s revolving turns.C235 is a high speed counter in this example. | ||
62 | |||
63 | **[[Download link>>url:https://drive.google.com/drive/folders/1vvwPIkIGO49-leIu6E58iky2m0NY4eFY?usp=sharing]]** | ||
64 | |||
65 | = **12 Motor forward and reverse** = | ||
66 | |||
67 | This case uses three input terminals for control buttons, the forward and reverse rotation of the belt is used as an example | ||
68 | |||
69 | **[[Download link>>url:https://drive.google.com/drive/folders/13Lr8v4VM4KE6DiM0emGxzAG-qpAiuUVv?usp=sharing]]** | ||
70 | |||
71 | = **13 Multi-PLSY** = | ||
72 | |||
73 | This case uses three instructions “CJ”and “PLSY”,to control that bell ringing.Two bell’s voice are different. When customer press bell button,bell will ring that means customer coming.Voice is two short ringtone. When window broken,“windows sensor will trigger X2”.bell will ring that means warning.Voice is long high ringtone. | ||
74 | |||
75 | **[[Download link>>url:https://drive.google.com/drive/folders/1tGBLNNdh_7dLg_tOu0_Zst3q9T35R5-t?usp=sharing]]** | ||
76 | |||
77 | = **14 PLSY instruction for illumination control** = | ||
78 | |||
79 | This case change the the brightness of light by changing the frequency of pulse. | ||
80 | |||
81 | **[[Download link>>url:https://drive.google.com/drive/folders/1RQvR8n5WrSUSLtCwVXQ0kOMyHYIysyvu?usp=sharing]]** | ||
82 | |||
83 | = **15 Reset all device** = | ||
84 | |||
85 | This case uses “ZRST” to reset many device(for example: traffic lights).Because PLC steps capacity is limited. ZRST can reset many device to save capacity. There are many lights. PLC will control these lights with Y0-Y17.ZRST can close these lights quickly. | ||
86 | |||
87 | **[[Download link>>url:https://drive.google.com/drive/folders/16o-4R5UQwceCa4a-MhIHjJ3CVFFUdqrN?usp=sharing]]** | ||
88 | |||
89 | = **16 Start, hold, Stop of motor** = | ||
90 | |||
91 | This case uses the motor start, hold and stop control as an example that demonstrates how to use the LD, LDI instruction. | ||
92 | |||
93 | **[[Download link>>url:https://drive.google.com/drive/folders/1GRq6A4vFzWiJ0bjXGbnh48VPvXzgtZWW?usp=sharing]]** | ||
94 | |||
95 | = **17 Two-way traffic lights at crossroads** = | ||
96 | |||
97 | This case uses PLC output(Y) as light control, and use traffic lights as an example. | ||
98 | |||
99 | **[[Download link>>url:https://drive.google.com/drive/folders/1oREuKsRof6nEbR8ELGD45dbBjEqZtyyp?usp=sharing]]** | ||
100 | |||
101 | = **18 Using ALT start or stop one action** = | ||
102 | |||
103 | The timing of an event can be controlled by an input, using this input to switch the timer ON state to the OFF state. | ||
104 | |||
105 | **[[Download link>>url:https://drive.google.com/drive/folders/1kr_0hXdO-5ZCY2kS1AQwZY8sKTASQO6I?usp=sharing]]** | ||
106 | |||
107 | = **19 Variable control of PLSY instruction** = | ||
108 | |||
109 | Users can change the sound of the doorbell by raising or lowering the pulse that drives the doorbell. | ||
110 | |||
111 | **[[Download link>>url:https://drive.google.com/drive/folders/1xo1mevOXjKM1fDSW4N8qulbmduGYf9E4?usp=sharing]]** | ||
112 | |||
113 | = **20 PID** = | ||
114 | |||
115 | A proportional–integral–derivative is a control loop feedback mechanism commonly used in industrial control systems. PID control continuously calculates an error value as the difference between a measured process variable and a desired set point. | ||
116 | |||
117 | **[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/LX3V%20PLC/Demo/PID.zip]]** | ||
118 | |||
119 | = **21 modbus RTU** = | ||
120 | |||
121 | WECON PLC COM2 support Modbus RTU protocol and WECON PLC protocol.So user need to program ladder to choose modbus rtu protocol in D8126 and set communication parameter in D8120. | ||
122 | |||
123 | **[[Download link>>url:https://drive.google.com/drive/folders/13rgso7oUlatZQN_SNEcJCcN4toEdDPoP?usp=sharing]]** | ||
124 | |||
125 | = **22 modbus TCP** = | ||
126 | |||
127 | If user want to use modbus TCP,PLC must use LX3VP or LX3VE series PLC.And PLC must connect Ethernet BD board | ||
128 | |||
129 | **[[Download link>>url:https://drive.google.com/drive/folders/1JWD96xRnMJpNvdh8NYqnbQ2Vloxdze1F?usp=sharing]]** | ||
130 | |||
131 | = **23 PLC position control** = | ||
132 | |||
133 | This demo shows instrucion ZRN,PLSY,DRVI,DRVA funcion.(Return to the origin, absolute positioning, relative positioning) | ||
134 | |||
135 | **[[Download link>>url:https://drive.google.com/drive/folders/1h-2dJIMUipB7BXb8Z6hDmLLxh-zclcPh?usp=sharing]]** | ||
136 | |||
137 | = **24 The clockwise circular interpolation** = | ||
138 | |||
139 | [[(% class="wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink wikiattachmentlink" %)**Download link**>>attach:the clockwise circular interpolation.zip]] | ||
140 | |||
141 | = **25 E-CAM** = | ||
142 | |||
143 | [[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/LX3V%20PLC/Demo/E-CAM.zip]] | ||
144 | |||
145 | = **26 E-GEAR function** = | ||
146 | |||
147 | [[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/LX3V%20PLC/Demo/Pulse%20control/E-GEAR%20function.zip]] | ||
148 | |||
149 | = **27 MC (master control) function** = | ||
150 | |||
151 | [[**Download link**>>https://wecon-disk.oss-ap-southeast-1.aliyuncs.com/Download/WIKI/LX3V%20PLC/Demo/MC-MCR.zip]] | ||
152 | |||
153 | = **28 N:N network** = | ||
154 | |||
155 | This demo shows how to use N:N network to exchange data among multiple PLC(Only LX3VP / LX3VM / LX3VE series support N: N network,max. 8 devices) | ||
156 | |||
157 | [[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/LX3V%20PLC/Demo/N-N%20network.zip]] | ||
158 | |||
159 | = **29 High speed counter interrupt** = | ||
160 | |||
161 | This demo shows how to use High speed counter interrupt to trigger the Interrupt subroutine | ||
162 | |||
163 | [[**Download link**>>https://ftp.we-con.com.cn/Download/WIKI/LX3V%20PLC/Demo/High%20speed%20counter%20interrupt.wcp]] |