Speak with authority, quality is trustworthy.

What is of the PLC programming is easy that we make such a low-level mistakes? - - - - - -

by:Coolmay     2020-07-08
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 controller 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 PLC on 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 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.


Coolmay allocates customer service resources to the platform where their customers are most vocal.
Growing revenue is a common goal for many businesses. We want to be sure Coolmay include leaders from the marketing, sales and production departments to help make certain that the goals we choose are appropriate and have strong support.
Shenzhen Coolmay Technology Co., Ltd. has enlarged the scope of services, which can fully please customers' demands.
Shenzhen Coolmay Technology Co., Ltd. knew if this worked for us, it would work for others, so we took the exclusive product and program and re-developed it to be more accessible to customers.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: