First, download the programming software WPLsoft of Delta plc in Delta official website, and download and install it.
After the download is completed, double-click the shortcut to open Delta on the desktop, and then open the page.
Then open New in the menu bar, enter the name in the program title in the model setting, and then select ES2 as the transmission mode? USB. Then click OK to start writing the program.
After writing a simple program, you can choose to click compile, ladder diagram and instruction once, and you can write it automatically.
After the final compilation is completed, click "Communication -PC=PLC" in the menu, and you can debug after confirming the download. So as to complete the use of Delta PLC programming.
What is Delta PLC?
Delta PLC and its related peripherals are designed according to the principle that it is easy to form a whole with industrial control system and expand its functions.
Delta PLC is famous for its high speed, stability and high reliability, and is widely used in various industrial automation machinery.
Delta PLC not only has the characteristics of fast program running speed, rich instruction set, many extended functions and high cost performance, but also supports various communication protocols to integrate industrial automatic control system.
In order to adapt to the industrial environment, compared with general control equipment, PLC has the following characteristics:
1, high reliability and strong anti-interference ability.
The hardware and software measures ensure the reliability of the control equipment.
Hardware measures: the main modules are large-scale or ultra-large-scale integrated circuits, a large number of switching actions are completed by contactless electronic memory, and the I/O system is designed with perfect channel protection and signal conditioning circuits.
① Shielding-main components such as power transformer, CPU and programmer. Shielded by materials with good electrical conductivity and magnetic permeability to prevent external interference.
② Filtering-The power supply system and input lines adopt various forms of filtering, such as LC or π filter network, to eliminate or suppress high-frequency interference, and at the same time weaken the mutual influence between modules.
③ Power supply regulation and protection-The +5V power supply required by the microprocessor, the core component, is regulated by multistage filtering and integrated voltage regulator to adapt to the fluctuation of AC power grid and the influence of overvoltage and undervoltage.
(4) isolation-photoelectric isolation measures are adopted between the microprocessor and the I/O circuit to effectively isolate the electrical connection between the I/O interface and the CPU, and reduce faults and misoperation; I/O ports are also isolated from each other.
⑤ Modular structure is adopted-this structure is helpful for short-term repair in case of failure. Once a module is found to be faulty, it can be quickly replaced to restore the system to normal work; At the same time, it is also helpful to speed up the search for the cause of the fault.
Software measures: powerful self-checking and protection functions.
① Fault detection-The software regularly detects external environment, such as power failure, undervoltage, low voltage of lithium battery, strong interference signal, etc. In order to deal with it in time.
② Information protection and recovery-When an unexpected fault occurs, the information inside the PLC will not be destroyed. Once the fault disappears, it can return to normal and continue the original program work. Therefore, when the PLC detects the fault, it will immediately store the current state in the memory, and the software will cooperate with it to seal the memory and prohibit any operation on the memory to prevent the stored information from being washed away.
③ Set the watchdog (WDT) —— If the execution time of the program per cycle exceeds the time specified by WDT, it means that the program has entered an infinite loop and will give an alarm immediately.
(4) Strengthen the inspection and verification of the program-once the program goes wrong, immediately call the police and stop execution.
⑤ Battery backup of programs and dynamic data —— After power failure, spare batteries are used for power supply, and relevant status and information will not be lost.
One of the ex-factory testing items of PLC is anti-interference testing. It is required to withstand interference pulses with amplitude of 1000V, rising time of 1nS and pulse width of1μ s. Usually, the mean time between failure can reach hundreds of thousands to tens of millions of hours; It may take 40,000 to 50,000 hours or even longer to manufacture the system.
2, strong universality, variable control program and convenient use.
A variety of hardware devices of PLC can form a control system that can meet various requirements, and users do not have to design and manufacture hardware devices themselves.
After the hardware is determined, the user does not need to change the hardware equipment of PLC, but only needs to adapt the program to meet the requirements under the condition of changing the production process or updating the production equipment. Therefore, in addition to stand-alone control, PLC is more and more widely used in factory automation.
3. Strong function and wide adaptability.
Modern PLC not only has the functions of logical operation, timing, counting and sequence control, but also has the functions of digital and analog input and output, power drive, communication, man-machine dialogue, self-inspection, recording and display. It can not only control production machines and production lines, but also control the production process.
4. Programming is simple and easy to master.
Most PLCs still adopt "ladder programming mode" in the form of relay control. It not only inherits the clarity and intuition of the traditional control circuit, but also takes into account the reading habits and programming level of most electrical technicians in factories and enterprises, so it is very easy to accept and master.
The symbols and expressions of programming elements in ladder diagram language are quite close to the schematic diagram of relay control circuit. Electrical technicians and technicians can quickly learn to use ladder diagram to compile control programs by reading the user manual of PLC or short-term training. At the same time, it also provides programming languages such as function diagram and statement table.
When PLC executes ladder diagram program, it is translated into assembly language by interpreter and then executed (the interpreter is added inside PLC). Compared with the user program written in assembly language, the ladder diagram program takes a long time to execute, but it is insignificant for most electromechanical control equipment and can fully meet the control requirements.
5. The workload of design and construction of control system is reduced.
Because PLC replaces a large number of intermediate relays, time relays, counters and other devices in relay control system with software, the workload of design, installation and wiring of control cabinet is greatly reduced.
At the same time, the user program of PLC can be simulated and debugged in the laboratory, which reduces the workload of on-site debugging. Moreover, due to the characteristics of low failure rate, strong monitoring function and modularization of PLC, maintenance is also extremely convenient.
6. Small size, light weight, low power consumption and convenient maintenance.
PLC is the application of microelectronics technology in industrial equipment, which has the characteristics of compact and firm structure, small volume, light weight and low power consumption. And because of its strong anti-interference ability, PLC is easy to be installed inside the equipment, and it is an ideal control equipment to realize electromechanical integration.
Take Delta's SS2 PLC as an example: its overall size is only 90×25.2×60mm, its weight is 82.5g, and its power consumption is 65,438+0.5w. It has good anti-vibration ability and adaptability to environmental temperature and humidity changes.