Speak with authority, quality is trustworthy.

PLC programming low-level mistakes summary - the most easily

by:Coolmay     2020-07-08
In the PLC controller 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 program is as follows:

after the PLC 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 program is as follows:

PLC controller 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 controller 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.


At the same time, as the recent research of Coolmay shows, the benefits of improved productivity and firm performance can make implementing basic management practices worth it.
is making its name in professional plc controller price all over the world, and with Shenzhen Coolmay Technology Co., Ltd. taking great care to make an excellent product & actively involved in keeping the industry well-regulated, it's a product that should make its way into your programmable control systems.
The global market is estimated to reach a value of almost plc controller price in the next decade. have a robust position in the programmable control systems market because of its proven high potency in plc controller price.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: