Hollysys PLC – PLC programming advice

Create Date: 2024-8-30 12:03:23|Source: HollySys/HollySys

(1) When the PLC and the host computer (or touch screen) form a monitoring system, there are many times when there are "manual", "automatic" and other control modes on the screen (generally when there is only one multiple). You can use the "MOV" command in the program. For example, when "Manual" is selected, the constant 1 MOV will be placed in one register VB10, and when "Auto" is selected, 2 MOV will be placed in the same register VB10. As long as you judge how much data is in the register, you know what kind of control the system is. The advantage of such an idea is that it is easy to understand and does not require troublesome procedures such as interlocks.

(2) When the program has analog control, if the read analog quantity is basically error-free, the time filter can be adopted to delay the time for a period of time. If the error of the read data is large, other filtering methods are required, such as averaging. Relevant information can be consulted.

(3) In the process of program debugging (especially when the equipment is transformed, when your program is added to the program of the original equipment), when the conditions are met in the program statement, and the output coil is not connected, you can check whether your program is between such statements, such as JUMPgo to and other statements. There is also a possibility that after interrupting the program, the conditions are met and the output is not connected, and generally the program in this section is not scanned.

(4) In the sequence control program, that is, after the completion of one action, enter the next action, and other similar sequence control, using +10+10 control mode, I think it is very convenient. The idea is: preset a register, the value is 0 at the time of initialization, when the system starts, +10 to it, the register is 10, and the register is equal to 10 when the first action can be made; After the first action is completed, then +10 to the register, at this time the register is equal to 20, you can do the second action, and after the second action is completed, +10, at this time the register is equal to 30, so that as long as you judge how much data in the register is, you know to complete the action. When you need to jump, you can no longer +10, you can add +20+30...., depending on the actual need.

Why add 10 instead of 1, because after adding 10, if you insert a paragraph, you just need to choose a random position in these 10 free places.

(5) When designing the program, when there is a process failure (non-control system control), it is best to keep the fault phenomenon and have a light and sound alarm. Until the operator resets to let him know that the system is faulty. Otherwise, there will be downtime, and others will think that your program is a problem. These are generally the things to keep in mind when designing a new system.

(6) For frequently called subroutines, they can be made into submodules and called frequently.

(7) because the production machinery in the work cycle of each step movement in the execution of a certain amount of time, and these times have a certain limit, so these times can be taken as a reference, at the same time that the step action to be detected begins, start a timer, the time setting value of the timer is 20%-30% longer than the time that the action is to last under normal circumstances, and the output signal of the timer can be used for alarm or automatic shutdown device. When the time of a certain step action of the production machinery exceeds the specified time, reaches the corresponding timer preset time, and has not yet been transferred to the next step action, the timer sends a fault signal, the signal stops the normal work cycle program, starts the alarm or stops the program, which is what we often call overbeat protection.

(8) Some safety detection switches (such as emergency stop buttons, safety light curtains, limit switches, etc.) use normally closed (NC) inputs.

(9) For the sake of safety and energy saving, try to design the output to act only when it is needed, and stop the output once it is in place, instead of designing it to output all the time, and disconnect the output when it needs to be stopped.

(10) The action principle of the actuator should be that it is better not to move than to move!

(11) Single equipment control: a single device must have soft hand operation/automatic switching and soft manual operation can start/stop function, from automatic switching to soft manual operation, the equipment can not be stopped; When switching from soft manual operation to automatic, the device start/stop depends on the automatic program.

(12) A single equipment (pump, fan and other large equipment) must be rotated after 24 hours of operation, and there must be a cumulative running time, except for the start/stop sequence set by the upper computer, the operator sets it by himself.
Hollysys PLC – PLC programming advice

More on that
Hollysys PLC - common causes and treatment methods of PLC failures in operation Hollysys PLC - common causes and treatment methods of PLC failures in operation

1. Peripheral circuit component failure This type of failure often occurs in the failure of the PLC after a certain period of work. In the PLC control loop, if there is a component damage fault, the PLC control system will immediately and automatically stop working. The input circuit is a PLC that accepts switching quantities, analog ...

Hollysys PLC - What are the selection methods of PLC? Hollysys PLC - What are the selection methods of PLC?

1. Budget for input and output (I/O) points When budgeting I/O points, the appropriate margin should be considered, usually based on the calculated number of input and output points, and then add 10%-20% of the expandable, and after the margin, it will be used as the budget data of input and output points. When ordering in practice, it is also necessary to rely on the manufacturer's ...

What are the three layers of the network structure of Hollysys DCS - DCS? What are the three layers of the network structure of Hollysys DCS - DCS?

The bottom layer, the field control layer, that is, the field instrument and signal transmission, is mainly the collection of signals and the transmission of control signals. From field devices to control CPUs. The middle layer, the system management layer, that is, the internal network layer of the DCS system, including the control station, the operation station, the historical server...

Hollysys' 100% domestic PLC has achieved breakthrough applications in the field of nuclear power 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.

And Lysisys DCS - the difference between DCS control and PLC control 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 DCS - DCS daily maintenance and fault analysis and troubleshooting methods Hollysys DCS - DCS daily maintenance and fault analysis and troubleshooting methods

01. Power supply The DCS power supply system is mostly a "dual backup hot redundant power supply", and the prevention and control of power failures is mainly reflected in the inspection and daily maintenance. Generally speaking, as long as the unit is normal ...

Hollysys - Contribute to China's green development "Yizhuang Power" Hollysys - Contribute to China's green development "Yizhuang Power"

Facing China's "double carbon" strategic goals, the Beijing Economic and Technological Development Zone is guiding a large number of enterprises to explore the implementation plan of "carbon peak" and "carbon neutrality", and strive to build a number of green factories, green products and green supply chains. Recently, enterprises in the zone and Lisi Group signed a contract for the first time in China to use CO (dioxide...

Hollysys DCS - the connection method between thermocouple and DCS Hollysys DCS - the connection method between thermocouple and DCS

1. The thermocouple uses a compensation wire, and there can be a node in the middle, but the corresponding compensation cable must be used to directly connect to the DCS thermocouple module, such as the LLMUX card in HONEYWELLTPS. Minimize nodes to reduce interference. In addition, in the DCS configuration, it is necessary to select the corresponding thermocouple model, and supplement the ...

Hollysys was invited to participate in the 2023 China Petroleum and Chemical Industry Digital Transformation and Intelligent Development Conference and delivered a keynote speech Hollysys was invited to participate in the 2023 China Petroleum and Chemical Industry Digital Transformation and Intelligent Development Conference and delivered a keynote speech

On March 15, the 2023 China Petroleum and Chemical Industry Digital Transformation and Intelligent Development Conference was held in Tai'an, Shandong. The conference aims to strengthen the construction of "intelligent oil and gas fields, intelligent petrochemicals, intelligent chemicals and intelligent oil and gas pipeline networks", and lead China's petroleum and chemical industry to achieve intelligent transformation.

and Lisi PLC - the difference between PLC and inverter and Lisi PLC - the difference between PLC and inverter

1. The role is different A PLC (Programmable Logic Controller) is an electronic system designed for digital operations in an industrial environment. The inverter is the application of frequency conversion technology and microelectronics technology to control the AC motor by changing the frequency of the motor working power supply.

Hollysys PLC - the six application functions of PLC Hollysys PLC - the six application functions of PLC

1. It is used for switching control The ability of PLC to manipulate switching quantities is very strong. The number of points in and out of the control, less than a dozen points, dozens of points, more can be hundreds, thousands, or even tens of thousands of points, because it can be networked, the number of points is almost unlimited, no matter how many points can be controlled, the control ...

Localization transformation: Hollysys assisted in the successful transformation of the DCS system of the first Shell coal gasification unit in China Localization transformation: Hollysys assisted in the successful transformation of the DCS system of the first Shell coal gasification unit in China

Since the reform and opening up, China's economy has developed rapidly, and many enterprises have improved production efficiency by introducing foreign production equipment and DCS systems. However, with the growth of the use years, many foreign DCS systems and equipment have gradually aged and are not suitable for the current production needs, so they are localized.

Hollysys PLC - common faults and solutions of CNC machine tool PLC Hollysys PLC - common faults and solutions of CNC machine tool PLC

CNC machine tool PLC (programmable logic controller) has the following common faults in the operation process, and the following corresponding solutions are taken for the faults in the work engineering to make the equipment operate normally. 1. The power grid fluctuates too much, and the PLC does not work It is manifested as no output of the PLC. Check first ...

Hollysys PLC - the importance of PLC industrial gateway Hollysys PLC - the importance of PLC industrial gateway

1. Realize remote control of industrial field equipment; 2. The PLC industrial gateway realizes remote upgrade of equipment firmware, downloads the program, and can flexibly access various equipment management platforms; 3. Realize remote control of industrial site touch screen and remote mapping of configuration screens; 4. PLC industry ...

Hollysys PLC - maintenance steps of PLC control cabinet 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...

Steps on how Hollysys DCS works on a computer 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 PLC - PLC should be noted in operation (three, four, five) Hollysys PLC - PLC should be noted in operation (three, four, five)

3. Main anti-interference measures (1) Reasonable treatment of power supply to suppress the interference introduced by the power grid For grid disturbances introduced by the power supply, an isolation transformer with a shielded ratio of 1:1 can be installed to reduce the interference between the equipment and the ground.

Hollysys PLC - PLC maintenance and use skills 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 ...

Hollyps PLC - the control method of PLC and frequency converter connection Hollyps PLC - the control method of PLC and frequency converter connection

1. Use the analog output module of the PLC to control the analog output module of the inverter The analog output module of the PLC outputs a 0-5V voltage signal or a 4-20mA current signal, which is used as the analog input signal of the inverter to control the output frequency of the inverter. This control method is simple to wiring, but it needs to be selected and changed.

Hollysys DCS - the development trend of DCS Hollysys DCS - the development trend of DCS

(1) Development in the direction of integration: the development of standardized data communication links and communication networks, and the formation of a large system of various single (multi) loop regulators, PLCs, industrial PCs, NCs and other industrial control equipment to meet the requirements of factory automation and adapt to the general trend of openness. (2) To the intelligent ...

CATEGORIES BYPASS
Customer Service Center

Online Consultation:QQ


ContactContact

Contact: Manager Huang

Contact QQ: 3271883383

Contact number: 13522565663


Scan the code to add WeChat (please save the picture first on the mobile phone)

working hoursworking hours

Weekdays: 9:00-17:00

Holidays: Only emergencies are handled

Contact us

Contact us

Contact number QQ consultation
QQ consultation

3271883383

Company address
Back to top