1. Scanning technology
When the PLC is put into operation, its working process is generally divided into three stages, namely input sampling, user program execution and output refresh. The completion of these three phases is called a scan cycle. Throughout the entire run, the PLC's CPU repeats the above three phases at a certain scanning speed.
1. Input sampling stage In the input sampling stage
The PLC reads all input statuses and data sequentially in a scanning manner and stores them in the corresponding cells in the I/O image area. After the input sampling is complete, it moves to the user program execution and output refresh phase. In both phases, even if the input state and data change, the state and data of the corresponding cells in the I/O image area do not change. Therefore, if the input is a pulsed signal, the width of the pulse signal must be greater than one scan period to ensure that the input can be read in any case.
2. User program execution stage
During the user program execution phase, the PLC always scans the user program in sequence from top to bottom (ladder diagram). When scanning each ladder diagram, the control circuit composed of each contact on the left side of the ladder diagram is always scanned first, and the control circuit composed of the contacts is logically operated in the order of first left and then right, first up and then down, and then according to the result of the logical operation, the state of the corresponding bit of the logic coil in the system RAM storage area is refreshed; Or refresh the state of the corresponding bit of the output coil in the I/O image area; or to determine whether to execute the special function instructions specified in the ladder.
That is, in the process of user program execution, only the state and data of the input point in the I/O image area will not change, while the state and data of other output points and software devices in the I/O image area or the system RAM storage area may change, and the ladder diagram ranked above, the program execution result will play a role in the ladder diagram of all coils or data used in the below; Conversely, the ladder below, the state or data of the refreshed logic coils can only be used for the program above it until the next scan cycle.
If the immediate I/O command is used during program execution, the I/O points can be accessed directly. Even if the I/O command is used, the value of the input process image register will not be updated, and the program will take the value directly from the I/O module, and the output process image register will be updated immediately, which is somewhat different from immediate input.
3. Output refresh stage
When the scanning user program is finished, the PLC enters the output refresh phase. During this period, the CPU flushes all output latch circuits according to the corresponding state and data in the I/O image area, and then drives the corresponding peripherals through the output circuits. At this time, it is the real output of the PLC.
|
More on that
|
And Lysisys DCS - the difference between DCS control and PLC control
1. PLC programmable logic controller (programmable controller).
2. DCS system pays more attention to the field of process control. Such as chemical, smelting, pharmaceutical, etc. It mainly monitors and controls some field parameters, while PLC focuses on logic control. machining). Of course, the PLC's ...
|
|
Hollysys was once again certified by the China Software Industry Association
Recently, identified by the Beijing Software and Information Service Industry Association, after a strict audit and evaluation process, in accordance with the relevant provisions of the national "Software Enterprise Evaluation Standards" and "Software Product Evaluation Standards", the China Software Industry Association announced the latest batch of "software enterprises" list, Beijing Heli ...
|
|
Hollysys helped China's first 20,000-ton green electricity to green hydrogen demonstration project be fully put into operation
On August 30, Sinopec announced that China's largest photovoltaic power generation direct production green hydrogen project, Xinjiang Kuqa Green Hydrogen Demonstration Project (hereinafter referred to as the Green Hydrogen Demonstration Project), was fully completed and put into operation, marking a breakthrough in the large-scale industrial application of green hydrogen in China. In this project, and ...
|
|
The difference between Lysys plc - RS232 interface and RS485 interface
1. The physical structure of the interface
1. RS232 interface:
One of the computer communication interfaces, usually RS-232 interface in 9 pin (DB-9) or 25 pin (DB-25) form, generally there will be two sets of RS-232 interfaces on personal computers, respectively called COM ...
|
|
HollySys PLC – 8 common error types of PLC
Various brands of PLCs have a self-diagnosis function, but the trick of PLC repair is to make full use of this function to analyze and then pinpoint the problem. Sorted out the 8 common types of errors that PLC repairmen need to know when the PLC presents abnormal alarms.
1. CPU abnormality ...
|
|
Hollysys' 100% domestic PLC has achieved breakthrough applications in the field of nuclear power
Hollysys, as the PC general contractor, participated in the construction of the first smart water project in the domestic nuclear power industry (1) - Qin's No. 2 Plant Chengjing Water Intake Smart Operation and Transformation Project, which was recently completed and put into operation. The project is independently implemented by Hollysys, and Hollysys is independently controllable, safe and reliable, and deeply developed by the nuclear high-tech project.
|
|
Hollysys PLC - the use of PLC serial port communication
Serial communication is done using 3 wires: (1) ground, (2) sending, and (3) receiving. Since serial communication is asynchronous, ports are capable of sending data on one wire and receiving data on the other. Other threads are used for handshakes, but are not required.
Serial communication is the heaviest ...
|
|
Hollysys PLC - nine precautions for the use of PLC
1. PLCZ self-fault judgment
In general, PLCs are extremely reliable devices with a very low failure rate. The probability of hardware damage such as the CPU of the PLC or software running errors is almost zero; If the PLC input point is not caused by strong current intrusion, it will hardly be damaged; PLC output relay ...
|
|
Steps on how Hollysys DCS works on a computer
1. Confirm that the new computer has relevant interfaces and can be used normally, and Hollysys DCS software can run on the computer operating system
2. Device and Lisi DCS software, dongle, and related drivers (mainly redundant network cards, data hard disks, etc.)
3. Set up ...
|
|
Hollysys debuted at the 13th Berlin International Rail Transit Exhibition
On September 20, 2022, Berlin time, the 13th Germany Berlin International Rail Transit Exhibition (InnoTrans 2022) opened at the Berlin International Exhibition Center in Germany. Following the 2018 exhibition, Hollysys once again appeared at the Berlin International Railway Exhibition (hereinafter referred to as the Berlin Exhibition) ...
|
|
Hollysys PLC - the design specification of PLC program
(1) Select the appropriate PLC model and I/O points, and select the special function module when there are special function requirements.
(2) Familiar with the selected PLC programming instructions and compilation software.
(3) Carry out soft component planning, including internal relays, holding relays, data registers, ...
|
|
Hollysys signed a strategic cooperation agreement with Jinan Iron and Steel International in Jinan
Hangzhou Hollysys Automation Co., Ltd. (hereinafter referred to as Hanghe) and Jinan Iron and Steel Group International Engineering Technology Co., Ltd. (hereinafter referred to as Jinan Iron and Steel International) signed a strategic cooperation agreement in Jinan. Luan Yuandi, Deputy General Manager of Jinan Iron and Steel International, Sun Jiaying, Director of the Automation Division, and Liu Xinjie, Director of the Automation Office...
|
|
Hollysys assisted Qingdao Petrochemical DCS upgrade
In December 2020, the equipment of Sinopec Qingdao Petrochemical Co., Ltd. (hereinafter referred to as Qingdao Petrochemical) 5 million tons/year oil refining integration project, which was upgraded and transformed by Hollysys, was successfully operated, marking the successful completion of the DCS equipment upgrading task. This upgrade is a major development for Sinopec Industrial Holdings.
|
|
Hollysys DCS - What is DCS distributed control system?
DCS is the English abbreviation of distributed control system (Distributed Control System), distributed control system is referred to as DCS, which can also be literally translated as "distributed control system" or "distributed computer control system". The decentralized control system is based on the microprocessor, and the control function is decentralized.
|
|
and Nesbitt DCS - the difference between SCADA and DCS and PLC
To put it simply, DCS is mainly used for process automation, PLC is mainly used for factory automation (production lines), and SCADA is mainly for wide-area needs, such as oil fields and pipelines that stretch for thousands of miles. If from the point of view of computers and networks, they are unified, and the reason for the difference is mainly in ...
|
|
Hollysys successfully signed 16 sets of control system projects for 10 million tons of oil refining enterprises
Recently, Hangzhou Hollysys Automation Co., Ltd. (hereinafter referred to as Hollysys Company) successfully signed a contract with PetroChina Liaoyang Petrochemical Branch (hereinafter referred to as PetroChina Liaoyang Petrochemical) to construct and rectify 16 sets of control system projects during the planned overhaul in 2023 - 9 ...
|
|
Hollysys PLC - maintenance steps of PLC control cabinet
1. Data backup
When carrying out maintenance, we must cut off the power, data backup between power outages is an important link, for the data that needs to be archived for a long time, you can back up the historical trend data to the mobile hard disk, and then turn off the Windows-based operating system (Note...
|
|
Hollysys PLC - the top ten comprehensive failure causes of PLC
1. Grounding problems
The grounding requirements of the PLC system are relatively strict, and it is best to have an independent dedicated grounding system, and it should also be noted that other equipment related to PLC should also be reliably grounded.
When multiple circuit grounding points are connected together, unexpected currents can be generated, resulting in logic errors or ...
|
|
What are the characteristics of Hollysys PLC - PLC program?
1. Correctness (low debugging cost)
First of all, the PLC program must be able to work correctly to meet the requirements of the actual control process. This is the essence of the PLC program, and if you don't do that, nothing else makes sense.
2. Reliability (low maintenance cost)
Not only to ...
|
|
Hollysys PLC - PLC maintenance and use skills
With the development of society, PLC programmable controller has been widely used in industrial production, but its maintenance and overhaul methods and skills, many engineers are not lawful, the following is to introduce the experience and skills of PLC use process.
1. PLC input and output
A ...
|
|