The most easily low-level mistakes in PLC programming summary -

by:Coolmay     2020-07-09
In the PLC program, whether novice or veteran, will make such a low-level mistakes. Because this kind of mistake is grammatical, so use also can't check out the error of the programming software. Once this error occurred, sometimes is hard to find, debugging and running, until computer control equipment can not run or stop running to a certain location, to realize there is a problem, again to the PLC program to every search a detailed analysis, or to take the program passes sentence by sentence, time consuming work.

so what problem is easy that we make such a low-level mistakes? Relay electrical control of the inherent thinking in the program, one or more input point using the normally closed contact of physics ( Such as stop switch, limit switch) , in the program, is still the continuation of relay electrical control mode, which still use the normally closed contacts used as conducting conditions.

below with a simple start-stop and self-locking circuit examples to illustrate.

according to the above, I can not run the PLC controller program is as follows:

after the PLC controller to electricity, X000, X002 normally closed point will disconnect. The logical value of '0'

Y0 = ( Y0 + X001) * X002 X000

digital logic expressions from above knowable, after press the start button SB1 X001 logic value is '1', and Y0 logic value will never change, always be '0'. Reason is related to the PLC internal input circuit, the following is a PLC internal input equivalent circuit:

correct PLC controller program is as follows:

PLC after power on, X000, X002 normally open points will be closed. The logical value of '1'

Y0 = ( Y0 + X001) * X002 X000

as long as you press the start button SB1, X001 logic value is '1', Y0 logic value for the '1'. Loosen the start button SB1, X001 logic value of '0' but Y0 logic value is '1', Y0 and X001 is or relationship, to ensure the Y0 logic value is always '1', namely the self-locking. Until you press the stop button or overload ( FR0 action) Y0 logic value to '0'.

through the simple example above, the beginners may not make sense of the external for the normally closed type, after the PLC internal input circuit logic value has changed 'non'. Electrical control and relay inherent thinking influence, veteran was due to negligence. Although this is a low-level mistakes, also easily occurs in the process of programming.


The manufacture marketing game of plc manufacturers is changing with each innovation, and businesses of all products need to be ready to pounce.
For decades, Shenzhen Coolmay Technology Co., Ltd. has searched for and found a number of secrets to help customers through out the world to achieve plc controller price by providing useful and efficient solutions. Go to Coolmay PLC to learn about some of those secrets.
Equipping plc manufacturers with innovative technology and updated processes will simplify daily compliance duties so that they can focus on attracting, retaining, and developing the most engaged workforce possible.
Coolmay is designed to enhance your savings in terms of cost, energy and efforts.If you are interested in our plc manufacturers programmable control systems products, please contact us soon.
Custom message
Chat Online 编辑模式下无法使用
Chat Online inputting...