How to program domestic plc

How to program domestic plc

Xiaobian is here to demonstrate the basic steps of programming, taking Omron as an example.

The first is to open the programming software - the new file

How to program domestic plc

Select PLC device type

After entering, novice friends can start writing programs directly.

How to program domestic plc

After writing, remember to compile, this habit is better, write a compilation confirmation, if there is a problem, you can click the ERROR below to jump directly to the problematic block

How to program domestic plc

According to its own conditions, the OMRON PLC has its own online simulation function, it is still very easy to use, Xiaobian likes to test, if you have a PLC is the best, the following will tell you how to download to the PLC

How to program domestic plc

Whether it is online simulation or PLC online, you can enter the input and output status you want to observe through the status view window.

How to program domestic plc

Online simulation or PLC online, you can write input or output or force function, it is easy to test whether the program you write has a problem.

How to program domestic plc

Finally, you can exit the simulation.

And the qualified friends can choose PLC--PLC online----transfer to PLC, you can download it to your PLC, you can write through the programming interface, forcibly observe the PLC status light on

Of course, you can use external LED lights to create any lighting effects you like. Interest is the source of learning. You can try to do random lighting effects such as traffic lights, clocks, neon lights and KTV. Unfortunately, small I haven't edited the previous picture, or I can share it with you.

How to program domestic plc

When programming a PLC program, you can use the following different methods depending on your actual situation.

Empirical method

The empirical method is to use its own or learn from other mature examples, and can modify the existing similar or similar examples according to the requirements of the control system until the requirements of the control system are met. Accumulate experience and collect information as much as possible in your work, and continue to enrich your design experience.

2. Analytical method

The logic control of PLC is actually the synthesis of logic problems. It can be based on the theory of combinatorial logic or sequential logic, and use the corresponding analytical methods to solve the logical relationship. Then the result of the solution is either drawn as a ladder diagram or directly programmed. The analytical method is more rigorous and can avoid the blindness of programming.

3. Graphic method

The graphic method is to design the PLC program F sequence according to the drawing method. Common methods include ladder diagram method, timing diagram (waveform diagram) method and flow chart method. The ladder diagram method is the most basic method. Regardless of the empirical method or the analytical method, the ladder diagram method is used after the PLC program is equivalent to the ladder diagram.

The timing diagram (waveform diagram) method is suitable for the time control structure. The waveform of the corresponding signal is first drawn, and then the logic relationship is combined according to the timing, and the program can be designed.

The flow chart method uses a block diagram to indicate the execution process of the PLC program and the relationship between the input conditions and the output. In the case of using the step instruction programming, it is convenient to use the method design. The graphic method and the analytical method are not independent of each other. In the analytical method, the drawing is required, and the graphic method is also included in the analytical form, but the two sides of the two methods are different.

4. Skills

The skill method is to use a certain skill to program on the basis of empirical method and analytical method to improve the quality of programming. You can also use flowcharts as a tool to formalize the clever design and program the required programs. ”

5. Computer Aided Design

The computer-aided design uses the PLC to realize the link with the computer through the upper link unit, and uses the computer for programming. The method requires corresponding programming software, and the existing software is mainly software that converts the ladder diagram into instructions.

ZGAR Aurora 500 Puffs

ZGAR Aurora 500 Puffs


ZGAR electronic cigarette uses high-tech R&D, food grade disposable pod device and high-quality raw material. All package designs are Original IP. Our designer team is from Hong Kong. We have very high requirements for product quality, flavors taste and packaging design. The E-liquid is imported, materials are food grade, and assembly plant is medical-grade dust-free workshops.


Our products include disposable e-cigarettes, rechargeable e-cigarettes, rechargreable disposable vape pen, and various of flavors of cigarette cartridges. From 600puffs to 5000puffs, ZGAR bar Disposable offer high-tech R&D, E-cigarette improves battery capacity, We offer various of flavors and support customization. And printing designs can be customized. We have our own professional team and competitive quotations for any OEM or ODM works.


We supply OEM rechargeable disposable vape pen,OEM disposable electronic cigarette,ODM disposable vape pen,ODM disposable electronic cigarette,OEM/ODM vape pen e-cigarette,OEM/ODM atomizer device.

Aurora 500 Puffs,Pod System Vape,Pos Systems Touch Screen,Empty Disposable Vape Pod System,500Puffs Pod Vape System

ZGAR INTERNATIONAL TRADING CO., LTD. , https://www.zgarvapepen.com

Posted on