Speak with authority, quality is trustworthy.

All kinds of useful extensions - PLC programming - programmable logic

by:Coolmay     2020-07-09
Study of PLC's ultimate purpose is to learn to operate with PLC application, there are all instructions in this section, communication and programming, this is top priority. There are three parts, respectively is: positioning control function of PLC, PLC analog application, communication function of PLC application. Speaking of positioning control, high frequency pulse input and output is indispensable, it is mainly used for step motor and servo motor control, generally used in motion control, such as S7 - 200 PLC, it provided by the PWM, office and EM253 module, these three ways can realize open loop speed, position, movement control.

also involves the application of high speed counter, high-speed counter generally used with encoder or grating ruler to measure the rotational speed and displacement, and high speed counter is different from ordinary counter, you will meet select 0 5 which high speed counter? Eight kinds of mode to choose what kind of? Enable it and make it count, it involves two instructions of it. In addition, how to use the PLC controller high-speed counter? How to receive the encoder signal? This is the point.

all in all, high-speed pulse input and output that involves a lot of knowledge, but also very important, suggest you first learn some basic knowledge of the motion control and motor configuration, and then study motion control instructions, such as: initialize motion instructions, manual control instruction, back to the origin, the RUN command and so on, these instructions in a programming are used to.

then to solve the PLC controller analog function application on this, will meet the legendary PID, PID control is commonly used in industrial control field, it is proportional closed loop control system Integral - Differential control algorithm, it can be understood as a mathematical algorithm, how to realize the PID control of PLC? This is for everyone to grasp the content.

S7 - 200 three ways of PLC controller to realize the PID control, PID wizard, the PID instruction and programming itself, actually the PID guide and PID instruction not big difference, the only difference is that can use different tools. PID wizard is generally more common and advocate method ( Important) , need to know the PID control panel, and the PID instruction, will involve the PID loop table, written by PID algorithm, used to a lot of formulas, the things you want to have focus.

in the end, the communication function of PLC application, mainly is the serial communication and Ethernet communication. First of all, clear the classification of serial communication, according to the transmission mode, the types of interface points and so on. In this, you will have free port communication, MODBUS communication, USS protocol communications, etc.

many MODBUS communication equipment can use, this must master. In addition, the USS protocol communications and MODBUS communication is based on free port communication, so the focus of the serial communication is a free port communication, how to write programs in accordance with the agreement, or how to define the agreement? This is when we are studying in free port communication to solve.

such as: S7 - 200 smart PLC serial communication is based on the 485 communication interface, at the same time also can extend a serial communication port, expand the communication interface can support 232 and 485, but actually which interface with it's depends on the hardware configuration of the software.


As a entrepreneur, being trapped in a company under multiple quality problems never appealed to Shenzhen Coolmay Technology Co., Ltd. .
Shenzhen Coolmay Technology Co., Ltd. offers best-in-class products, fast delivery time, and personable, highly competent, and unparalleled services.
Time is one of the biggest challenges cited by manufacturing plc manufacturers.
By investing in an ethical supply chain, Shenzhen Coolmay Technology Co., Ltd. position ourselves to engage with a driven, engaged customer base.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: