Megmeet PLC - What are the features of the PLC program?

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

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 be right, but also to be reliable. You can't have problems every now and then in three days.

Reliability reflects the long-term stability of the PLC program, which is also the basic requirement for the PLC program. Some PLC programs can work correctly under normal working conditions or legal operation, but after abnormal working conditions (such as temporary power failure, and power on soon) or illegal operation (such as some buttons are pressed out of order, or several buttons are pressed at the same time or pressed many times in a row), the program can not work normally. This kind of program is not very reliable, or unstable, and it is a bad program. A good PLC program can identify the occurrence of abnormal working conditions, and can connect it with normal conditions, so that the program can adapt to a variety of situations, and a good PLC program can refuse illegal operations without leaving "traces". Only legal operations, i.e., preventative robust programming, are accepted. Interlocking is a common means of rejecting illegal operation, and this method is commonly used in relay circuits, and PLCs and system integrators can also inherit this method.

3. Readability (low learning cost)

The designed program is required to be readable, easy to understand, easy to debug, easy for others to read and use your program, and easy to maintain; If necessary, the program can also be used as a standard template for easy promotion.

To make the program readable:

1) The design context of the program should be as clear as possible, and the structure should be hierarchical;

2) Modularization of the functional layer, or design using an object-oriented approach;

3) Use some standard designs and universal designs;

4) The variable layer should be programmed with symbolic names as much as possible;

5) Parameters are set immediately before they are used (set and use);

6) I/O address allocation should be regular, easy to remember and understand;

7) The use of internal devices should also be regular, and the address allocation of the same function should maintain a certain discontinuous "fault margin" (for example, the address allocation of the X function is used to K, then the address allocation of the next function should not start from K+1, but from K+N) to prevent function changes;

8) If necessary, do some annotation work; Readability is something to keep in mind at the beginning of programming. It's not easy to do. Because in the process of program debugging, the increase or decrease of instructions and the change of the use of internal devices may make the original clearer program become a little chaotic. Therefore, there is a certain leeway for debugging to increase or decrease during the design, and then tidy up after the debugging is completed, so that the designed program has higher quality.
Megmeet PLC - What are the features of the PLC program?




More on that
Megmeet inverter – the difference between voltage type inverter and current type inverter Megmeet inverter – the difference between voltage type inverter and current type inverter

1. The load of the buffer inverter without functional quantity is an asynchronous motor, which is an inductive load, and in addition to transmitting active power between the intermediate DC link and the motor, there is also the exchange of reactive power. Since the power electronic switching devices cannot be stored for energy, the non-functional energy can only rely on the energy storage elements (filters).

Megmeet PLC – System integration for PLC Megmeet PLC – System integration for PLC

In the manufacturing industry, there are a large number of open-loop sequential control based on switching quantities, which carries out sequential action numbers according to logical conditions and operates in chronological order; In addition, there is the control of chain protection actions according to the logical relationship that is not related to the sequence and timing; As well as a large number of switching quantities, pulse quantities, gauges...

Megmeet inverter mv600 alarm code ENOC2 Megmeet inverter mv600 alarm code ENOC2

1. If there is a sharp acceleration or deceleration, please extend the acceleration and deceleration time. 2. Avoid rapid increase in load. 3. Check whether there is a short circuit in the UVW of the motor terminal. 4. The module is damaged, and the drive circuit is damaged, resulting in an overcurrent alarm. ...

The unified setting of the Megmeet welding machine and the parameter setting of the system The unified setting of the Megmeet welding machine and the parameter setting of the system

1. Unified setting of Megmeet welding machine The so-called unification of welding means that the welding machine automatically matches the welding voltage according to the currently set welding current and the unification voltage correction value. The unification setting of Megmeet welder should first turn on the function on the welder side, ...

Megmeet PLC - the connection method between the PLC and the server Megmeet PLC - the connection method between the PLC and the server

The first is that the PLC sends a start/stop signal to the server through the I/O point, and the server controls the operation of the servo motor. The PLC controls the operation/stop of the servo through the digital output, so as to achieve the purpose of controlling the servo motor. The second is through the pulse output of the PLC, which ...

Megmeet inverter - inverter braking mode and advantages and disadvantages introduction Megmeet inverter - inverter braking mode and advantages and disadvantages introduction

What are the braking methods of the inverter? Generally speaking, braking refers to the technical measures taken during the operation of the motor due to fault protection or man-made active shutdown, and the commonly used inverter braking methods include energy consumption braking, feedback braking, DC braking and DC feedback braking. ...

Maintenance method of Megmeet PLC Maintenance method of Megmeet PLC

1. The electrical control cabinet installed with PLC should have a clean and dry environment. Moisture-absorbing dry materials should be placed inside, and the splashing of coolant and oil mist should be prevented. 2. Regardless of the system working or shutdown, the electrical cabinet door should always be closed, and the electrical components should be kept in a good state.

Megmeet inverter - common faults and treatment methods of high-voltage inverters Megmeet inverter - common faults and treatment methods of high-voltage inverters

1. Control through this abnormal failure The abnormal fault of the control channel is usually caused by the optical fiber communication between the sub-PWM board and the power unit board, which is generally caused by the following situations: 1. Poor contact of the optical fiber connection part or falling off of the optical fiber head; 2. Optical fiber signal transmitter/receiver ...

Megmeet inverters – Routine maintenance of high-voltage inverters requires precautions Megmeet inverters – Routine maintenance of high-voltage inverters requires precautions

1. The operating ambient temperature of the inverter (mainly refers to the air temperature of the air inlet of the power unit cabinet) requires a minimum ambient temperature of -5 °C and a maximum ambient temperature of 40 °C. In order to improve the reliability and extend the service life of the drive, check the following items: Air conditioning and refrigeration ...

Megmeet PLC - What places should be avoided when installing PLC control? Megmeet PLC - What places should be avoided when installing PLC control?

(1) The ambient temperature exceeds the range of 0-50 °C; (2) The relative humidity exceeds 85% or there is dew condensation (caused by sudden temperature changes or other factors); (3) direct sunlight; (4) There are corrosive and flammable gases, such as hydrogen chloride, ...

Megmeet PLC - the basic composition of PLC Megmeet PLC - the basic composition of PLC

a. Power supply The power supply of the PLC plays a very important role in the whole system. It can't work properly without a good and reliable power supply system, so PLC manufacturers also attach great importance to the design and manufacture of power supplies. General AC voltage fluctuations are +10% (+15%) ...

Megmeet drives – what are the components of a drive? Megmeet drives – what are the components of a drive?

The inverter is composed of a main circuit, a rectifier, a flat wave circuit, and an inverter. 1) Main circuit: The main circuit is the power conversion part that provides voltage regulation and frequency regulation power supply for the asynchronous motor, and the main circuit of the inverter can be roughly divided into two categories: the voltage type is the DC ...

Various welding methods for Megmeet welding machines Various welding methods for Megmeet welding machines

1) Hand arc welding (STICK) Shielded Arc Welding (abbreviated SMAW) in English, The principle is: the arc occurs between the coating electrode and the base metal, and the welding method of arc thermal ablation electrode and base metal is used. The outer layer of the electrode is covered with solder, which is dissipated in case of heat.

Megmeet drives – safety precautions for the installation of drives Megmeet drives – safety precautions for the installation of drives

When the inverter is installed and wired; Note: When more than two inverters are installed in the same cabinet, please pay attention to the installation position and spacing to ensure the heat dissipation effect. Dangerous: 1. It should be operated by professional electrical engineering personnel, otherwise there is a risk of electric shock. 2. Please make sure before wiring...

Megmeet inverter maintenance and testing method Megmeet inverter maintenance and testing method

Megmeet inverter maintenance and testing method   1. The Megmeet rectifier module is damaged It is usually caused by grid voltage or internal short circuit. In the case of sweeping internal short circuits, the rectifier bridge is replaced. When dealing with shortcomings on site, the user power grid should be checked. Such as electricity ...

Megmeet welding machine - failure and maintenance method of DC welding machine Megmeet welding machine - failure and maintenance method of DC welding machine

1. Fault phenomenon: light voltage abnormal indicator Cause: Due to the slow start-up action, the switch contact is not synchronized. Solution: You can turn the device off and on again. 2. Fault phenomenon: the fan does not rotate, and the abnormal voltage indicator light is lit together Causes ...

Analysis of the fault code of Megmeet welder Analysis of the fault code of Megmeet welder

1. E1: indicates sensor failure. In this case, it is necessary to check whether the sensors of Megmeet are damaged or whether the wiring is loose. 2. E2: Indicates overweight load. At this point, it is necessary to check whether the load of Megmeet exceeds the set maximum load. 3. E3: Indicates battery ...

Megmeet inverter - the fault handling method of low-voltage inverter Megmeet inverter - the fault handling method of low-voltage inverter

Before using the inverter, the inverter parameters should be carried out from the following aspects: First, confirm the motor parameters, the inverter sets the power, current, voltage, speed, and maximum frequency of the motor in the parameters, and these parameters can be directly obtained from the motor nameplate. Clause...

Common faults of Megmeet drives and how to deal with them Common faults of Megmeet drives and how to deal with them

1. When the oscilloscope looks at the current monitoring output of the driver, it finds that it is all noisy and cannot be read Cause: The current monitoring output is not blocked from the AC power supply (transformer). Solution: You can use a DC voltmeter to detect and investigate. 2. Servo motor high speed ...

Megmeet PLC – three connection methods for PLC and frequency converter Megmeet PLC – three connection methods for PLC and frequency converter

1. Use the analog output module of the PLC to control the inverterThe 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 requires the option to ...

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