Wiki source code of 19 Demos

Last modified by Theodore Xu on 2024/04/22 17:33

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/servo%20modbus%20internal%20position%20control.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
32 = 3. Application =
33
34 (% class="table-bordered" %)
35 |**Name**|**Explanation**|**Download **
36 |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]]
37 |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]]
38 |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]]
39 |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]]
40 |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]]
41 |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]]
42 |7. Flying Saw|ECAM flying saw|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/%E3%80%90PLC-5V%E3%80%91Flying%20Saw.zip]]
43 |8. Rotary Saw|ECAM rotary saw|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/rotary%20sawing.zip]]
44 |9. Helical interpolation|Three-axis helical interpolation command|[[Download>>https://ftp.we-con.com.cn/Download/WIKI/LX5V%20PLC/demo/G90G02H.zip]]
45 |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]]
46 |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.zip]]
47 |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]]
48
49 = 4.Module =
50
51 (% class="table-bordered" %)
52 |**Name**|**Explanation**|**Download **
53 |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]]
54 |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]]
55 |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]]
56 |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]]
57 |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]]
58 |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]]
59 |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]]
60 |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]]
61 |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]]