Wiki source code of 19 Demos

Last modified by Jim on 2025/03/21 16:00

Show last authors
1 = 1. Protocol =
2
3 (% class="table-bordered" %)
4 |(% style="width:332px" %)**Name**|(% style="width:599px" %)**Explanation**|(% style="width:145px" %)**Download **
5 |(% style="width:332px" %)1. Modbus TCP communication|(% style="width:599px" %)Setting of PLC as server/client|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91ModbusTCP%20Protocol%20v1.2.zip]]
6 |(% style="width:332px" %)2. Modbus RTU communication|(% style="width:599px" %)Setting of PLC as master/slave|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Modbus%20Communication.zip]]
7 |(% style="width:332px" %)3. User-defined protocol communication|(% style="width:599px" %)User-defined protocol communication between 2 LX5V series PLCs|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/CustomProtocal.zip]]
8 |(% style="width:332px" %)4. Inverter Modbus communication|(% style="width:599px" %)Modbus RTU communication between VB inverter and LX5V|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Inverter%20Modbus%20Communication.zip]]
9 |(% style="width:332px" %)5. VD2 Modbus communication|(% style="width:599px" %)Modbus RTU communication between VD2 servo and LX5V|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-LX5V%E3%80%91VD2%20Modbus%20Communiaction.zip]]
10 |(% style="width:332px" %)6. Free TCP communication|(% style="width:599px" %)User defined ethernet communication|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91LX5V%20Free%20%20TCP%20Communication.zip]]
11 |(% style="width:332px" %)7. VD2 Modbus internal position control|(% style="width:599px" %)Modbus RTU communication between VD2 servo and LX5V|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%5BPLC-5V%5DInternal%20position%20instruction.zip]]
12 |(% style="width:332px" %)8. VD2 Modbus internal speed control|(% style="width:599px" %)Modbus RTU communication between VD2 servo and LX5V|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/servo%20modbus%20internal%20speed%20control.zip]]
13 |(% style="width:332px" %)9. VD2 Modbus internal torque control|(% style="width:599px" %)Modbus RTU communication between VD2 servo and LX5V|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/servo%20modbus%20internal%20torque%20control.zip]]
14 |(% style="width:332px" %)10. PLCLINK|(% style="width:599px" %)PLCLINK protocol communication between 2 LX5V series PLCs|(% style="width:145px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/PLCLink.zip]]
15
16 = 2. Instruction =
17
18 (% class="table-bordered" %)
19 |(% style="width:332px" %)**Name**|(% style="width:601px" %)**Explanation**|(% style="width:143px" %)**Download **
20 |(% style="width:332px" %)1. Indirect addressing|(% style="width:601px" %)Programming for indirect addressing|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Index.zip]]
21 |(% style="width:332px" %)2. Clock calculation|(% style="width:601px" %)Read, write and compare operations of PLC clock|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Clock%20Calculation.zip]]
22 |(% style="width:332px" %)3. High-speed pulse output|(% style="width:601px" %)Simple example of high-speed pulse output instruction|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91High-Speed%20Pulse%20Output.zip]]
23 |(% style="width:332px" %)4. Step instruction|(% style="width:601px" %)Example of step instruction|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Step%20instruction.zip]]
24 |(% style="width:332px" %)5. Exponential calculation|(% style="width:601px" %)Exponential operation through instruction conversion|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Exponential%20Calculation.zip]]
25 |(% style="width:332px" %)6. Origin Return |(% style="width:601px" %)Return to the origin at two speeds|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/DSZR.zip]]
26 |(% style="width:332px" %)7. Electronic Gear|(% style="width:601px" %)Set the speed ratio of the master and slave axes|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90LX5V%E3%80%91DEGAR.zip]]
27 |(% style="width:332px" %)8. Linear Interpolation|(% style="width:601px" %)Linear motion control|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Linear%20Interpolation.zip]]
28 |(% style="width:332px" %)9. Planar Circular Interpolation|(% style="width:601px" %)Circular motion control|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Planar%20Circular%20Interpolation%20v1.1.zip]]
29 |(% style="width:332px" %)10. Circular Helical Interpolation|(% style="width:601px" %)Helical motion control|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Circular%20Helical%20Interpolation.zip]]
30 |(% style="width:332px" %)11. Encoding and Decoding Instructions|(% style="width:601px" %)Encode and decode data|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/Encode%20Decode.zip]]
31 |(% style="width:332px" %)12. RS2 Instructions|(% style="width:601px" %)communication via two serial ports simultaneous|(% style="width:143px" %)[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90LX5V%E3%80%91RS2%20instruction.zip]]
32
33 = 3. Application =
34
35 (% class="table-bordered" %)
36 |**Name**|**Explanation**|**Download **
37 |1.** **Modbus polling|Polling operation of a single serial port|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Modbus%20Polling.zip]]
38 |2. Flow Led|Lights a certain number of lights in sequence|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Flow%20Led.zip]]
39 |3.** **Traffic light|Crossroad traffic light case|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Traffic%20Light.zip]]
40 |4. Limit alarm|Stop output when the limit is reached|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Limit%20Alarm.zip]]
41 |5. PID control|PID control heating temperature|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91PID%20Control.zip]]
42 |6. Data collection and recording|Periodically collect data and record it in the specified register|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Data%20Collection%20and%20Recording.zip]]
43 |7. Flying Saw|ECAM flying saw|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%5BLX5V%5D%20Flying%20Cut%20v1.1.zip]]
44 |8. Rotary Saw|ECAM rotary saw|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%5BLX5V%5DECAM-Rotary%20cut%20%20V1.2.zip]]
45 |9. Helical interpolation|Three-axis helical interpolation command|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/G90G02H.zip]]
46 |10. 8 servo position control|8 servo forward and reverse pulse control|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90LX5V%E3%80%918%20Servo%20Position%20Control.wcp2]]
47 |11. ECAM(Rotary cut splicing fly cut)| |[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90LX5V%E3%80%91ECAM%28Rotary%20cut%20splicing%20fly%20cut%29%20V1.2.zip]]
48 |12. ECAM(virtual master)| |[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90LX5V%E3%80%91ECAM%28virtual%20master%29.zip]]
49 |13. ECAM(table switching)|Switching the Ecam table periodically by ECAMCUT instruction|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90LX5V%E3%80%91ECAM%20%28table%20switching%29.zip]]
50 |(((
51 14.Custom timer
52 )))|Timing with counters: hours, minutes, seconds|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Timing.zip]]
53 |15. Custom curve(ECAM)|Set key points to get custom ecam curve|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/Custom%20curve.wcp2]]
54
55 = 4. Module =
56
57 (% class="table-bordered" %)
58 |**Name**|**Explanation**|**Download **
59 |1.** **LX5V-ETH-BD|PLC communicate with PLC/HMI by modbus TCP |[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-ETH-BD.zip]]
60 |2. LX5V-2RS485-BD|2-channel Modbus RTU protocol and Custom protocol|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-2RS485-BD.zip]]
61 |3. LX5V-2AD-BD|2-channel Analog voltage/current to digital output|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-2AD-BD.zip]]
62 |4. LX5V-2DA-BD|2-channel Digital input to analog voltage/current output|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-2DA-BD.zip]]
63 |5. LX5V-2PT-BD|2-channel PT100 temperature detection|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-2PT-BD.zip]]
64 |6. LX5V-2TC-BD|2-channel J/K type thermocouple temperature detection|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-2TC-BD.zip]]
65 |7. LX5V-8BYT-BD|8-channel transistor output expansion|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-8BYT-BD.zip]]
66 |8. LX5V-8BX-BD|8-channel relay input expansion|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-8BX-BD.zip]]
67 |9. LX5V-4DA|PlC communicate with HMI and Automatic calculation of gain and intercept |[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-4DA.zip]]
68 |10.LX5V-4TC-BD|4-channel  J/K type thermocouple temperature detection|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-4TC-BD.zip]]
69 |11.LX5V-2TC2ADV-BD|2-channel  J/K type thermocouple temperature detection and 2-channel Analog voltage to digital output|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/LX5V-2TC2ADV-BD.zip]]