Basic PLC programming steps for industrial robots

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

The scientific PLC programming process is actually very simple, but often most engineers think it is simple and neglect many details. Negligence in details will inevitably lead to problems in the future. If you want to avoid future problems, you can only abide by the rules well, no rules are not a circle, PLC programming has its own rules.

                              Basic PLC programming steps for industrial robots

Step 1: Read the product manual

The first step may seem simple, but many engineers can't.

Carefully reading the manual is the first step in programming, first of all, read the safety rules, know which performance agencies may cause personal injury, which institutions are most prone to collisions, and how to solve the most fatal problems when risks arise, these most fatal problems are in the safety rules, reading the product manual is essential.

In addition, the characteristics, application methods, and debugging methods of each component of the equipment are also in the manual, and even if the program is correct, if the components are not debugged well, the equipment will not work. In addition, all the circuit diagrams, pneumatic and hydraulic circuit diagrams, and assembly drawings are also in the manual, and you need to read it to know what kind of modification can be done for each component.

Step 2: Check the I/O according to the manual

View I/O, commonly known as "dotting". There are many ways to check I/O, but you must check it in turn according to the address provided in the manual, and check it when it is safe to do so.

When looking at the input point, the general input signal is nothing more than a variety of sensors, such as capacitive, inductive, photoelectric, piezoresistive, ultrasonic, magnetic, and travel switches. Viewing these components is as simple as placing the workpiece on the station according to the component instructions or moving the fulfillment mechanism to see if the sensor has a signal. Of course, different devices may have different detection methods, depending on the situation.

However, you need to be extra careful when looking at the output signal. In the case of electric drive products, it is necessary to electrify the driver of the fulfillment mechanism under safe conditions, especially under the premise of ensuring that the equipment will not be impacted, and check whether the fulfillment mechanism can move. In the case of hydraulic or pneumatic actuators, the reversing valve is also manually energized to operate the actuator under safe conditions. When looking at the output signal, no matter what the driving method of the fulfillment mechanism is, it must be based on the component manual, first of all, to ensure the safety of the equipment and personnel, and it should be noted that not all the fulfillment mechanism of the equipment can be powered on for testing, so sometimes a single output signal may not be able to be tested manually.

Whether it is an input or output device, when the sensor has a signal or the driving device of the actuation mechanism is energized, it is necessary to check together whether the I/O module indicator light on the PLC is also lit. In many equipment, the input and output signals are connected with the PLC through the terminal block, and sometimes the indicator light of the terminal has a signal, but it cannot be guaranteed that the corresponding address on the PLC is not connected due to the internal circuit of the connecting wire. This is something to keep in mind.

After measuring the input and output signals, the measured address should be recorded together to ensure that the signal address is consistent with the manual. If there is a difference, measure the address of the equipment again, and the measurement is still inconsistent after multiple measurements, contact the equipment manufacturer first, because there is no guarantee that the address provided by the manufacturer is not wrong at this time.

Step 3: Open the programming software, set up the hardware, and write the I/O address in the symbol table.

Different PLCs use different programming software. However, for any kind of software, the first step before programming is to carry out hardware configuration, and establish hardware equipment and corresponding communication equipment according to the type of actual PLC. After the hardware configuration is completed, the I/O addresses that were previously recorded on paper are written down in the symbol table of the software. The definition of the symbol table may be different depending on the software, but it is important for general software to have this function. When writing the symbol table, it is not only necessary to write the positive address of the device input and output correctly, but it is also better to name each address and add comments, which will be very convenient for later programming. You don't need to look up a positive address every time you are programming, you just need to fill in the named title. Of course, it also depends on whether the software has this function or not.

Step 4: Write out the program flowchart

Before programming, it is necessary to write a flowchart of the program on a draft. A good program should include the main program, the abort program, the emergency stop program, the reset program and other parts, if the software allows, each program should be written in the form of "block", that is, a program is a block, and finally each block can be called according to the demand.

PLC is best at processing sequence control, in the order control of the main process is the core, must ensure that the process is correct, to carefully check on the draft. If there is a problem with the main process, when the program is performed by the PLC, it is likely to cause bumps, damage to equipment or pose a risk to people.

Step 5: Write a program in the software

Once you've made sure that there are no problems with the main process, it's time to write the program in the software. In addition, it is necessary to pay attention to the correctness of the abort, emergency stop and reset procedures, especially the suspension and emergency stop procedures, which are the most important procedures related to personal safety and equipment safety, and should not be underestimated. It is necessary to ensure that in any case, only the abort or emergency stop procedure is carried out, and the equipment will not cause injury to people. It is recommended that you pay attention to the training of WeChat signal technology.

Step 6: Debug the program

In this step of debugging, it can be divided into two aspects.

1. If the conditions allow, or your logic is super strong, you can use the simulation function of the software as a test first, but many cumbersome programs are difficult to use software simulation to see whether the program is correct.

2. Transfer the program to the PLC for online debugging. If the equipment does not move or there is an abnormal situation in operation, do not correct the program first, it is likely that the sensor is not debugged in place, if the sensor is guaranteed to be correct, then correct the program.

Step 7: After debugging, correct the program again

In the previous debugging step, since the program was corrected, it is necessary to review or correct the program again, and then transfer the final program to the PLC.

Step 8: Save the program

In this step, it is important to keep in mind the question of where should I save the program? PC hard drive? Flash memory devices? Portable hard drives? Of course, none of these can be infected, all of these storage devices can be infected with viruses. Therefore, it is necessary and only possible to burn the program to the disc. And there is also a question, which program is the program for firing? Previously, we downloaded the program that was finally debugged and corrected to the PLC, and if the PLC performed the program correctly, we uploaded the program to the PC and burned the program to a CD. Everything above is for safety.

Step 9: Fill in the statement

After the programming, you should fill in the final debugging statement, and record the problems encountered and some difficult problems of the program one by one. In the long run, you will also forget about some of the techniques of the program, so that other partners can understand the program you have written.

More on that
OTC robot reset operation OTC robot reset operation

When the encoder battery low alarm cannot be recovered, the encoder orientation information is lost, and it is necessary to reset the operation: 52 encoder failure encoder batterycharge low1016 1. Replace the robot ...

OTC robot teach pendant touch screen repair OTC robot teach pendant touch screen repair

This article first introduces the OTC robot repair case - the calibration method and process of the teach pendant touch screen (W-L02140). When we use the OTC robot teach pendant, we adjust the touch screen light spot and the process of screen echoing.

Basic welding knowledge of OTC robots Basic welding knowledge of OTC robots

Welding is a very demanding operation in industrial production, and novices who are new to welding will feel confused by all kinds of new terms. If you want to do a good job, you must first sharpen your tools. If you want to quickly get started with the welding profession, you must grasp the basic knowledge of welding. Share a ...

The OTC robot is printed with the word DAIHEN on it The OTC robot is printed with the word DAIHEN on it

With the acquisition of more and more users of OTC robots, the popularity is growing. At present, more and more factory users have begun to pay attention to OTC robot products, and everyone may have a simple or in-depth understanding of OTC robot products from the Internet or related exhibitions. ...

The main input and output interface of the robot - Odichi robot The main input and output interface of the robot - Odichi robot

(1) I/O port I/O input and inlet, including welding start, stop, reset, welding method selection, welding car and welding torch adjustment and other 16 switching inputs, plus pendulum photoelectric sensor switching input, sharing 17 I/O input points. I/O outputs, 3 ...

Classification of industrial robots - OTC robots Classification of industrial robots - OTC robots

Industrial robots refer to multi-joint manipulators or multi-degree-of-freedom robots for the industrial field. In addition to industrial robots, special robots are used in non-manufacturing industries and serve human beings, including: service robots, underwater robots, entertainment robots, military robots, ...

The operation method of Odihi TIG welding The operation method of Odihi TIG welding

1. Power cord: divided into internal filling and external filling. External filling lines are available for bottom and high current filling. The end of the wire is located at the front of the ramp and is fixed with the left hand, and it is fed into the weld pool for welding. There is almost no gap between males. Its advantages include high current, small aperture ...

OTC robot contacts need to be replaced OTC robot contacts need to be replaced

Contacts are one of the items that often replace welding materials. During this time, the contact fixes the direction of the wire, and since the instantaneous current that moves when the arc is closed after welding is too simple to melt the contact outlet, it must have a role. The wire and contacts have been welded together, so that the welding can no longer be performed ...

Advantages of OTC welding robots: Advantages of OTC welding robots:

1. The industry only has a 3-year warranty (body, control box, teaching box, operation box, control cable); 2. Full Chinese operation interface, simple and easy to understand, together can support 6 language selection; 3. The operating radius is long, and the size ...

The main requirement of the robot for the joint drive motor - OTC robot The main requirement of the robot for the joint drive motor - OTC robot

1. Rapidity, the time from obtaining the command signal to the working state required by the completion of the instruction should be short. The shorter the moment of echoing the command signal, the higher the sensitivity of the electric servo system, and the better the fast response function, which is generally explained by the size of the electromechanical moment constant of the servo motor.

What are the welding shielding gases of ODC robots What are the welding shielding gases of ODC robots

In the welding process, the shielding capacity is most commonly used in four gases - oxygen, argon, carbon dioxide and helium. Each of these gases has its own unique elements and characteristics, such as specific welding arc stability, desired characteristics, cost, and availability, which are all selected correctly ...

Why is the word DAIHEN printed on the OTC robot Why is the word DAIHEN printed on the OTC robot

With the increasing number of OTC bot procurement users, the popularity is increasing. Now that more and more factory users are beginning to pay attention to OTC robot products, we may have a brief or in-depth understanding of OTC robot products from the Internet or related exhibitions. ...

Control method of Odichi flexible robotic arm Control method of Odichi flexible robotic arm

1. Rigid treatment. The influence of elastic deformation of the structure on the motion of the rigid body of the structure is completely ignored. For example, in order to avoid excessive elastic deformation from damaging the stability and terminal positioning accuracy of the flexible robotic arm, the maximum angular velocity of NASA's remote-controlled spaceman movement is 0.5deg/s. 2. Feedforward ...

OTC Welding Robot Wire Feeder Type: OTC Welding Robot Wire Feeder Type:

1. The wire feeder is divided into two types: integrated and separated according to the installation method. The wire feeder is installed on the rear of the upper arm of the robot and is integrated with the robot; The wire feeder is installed separately from the robot as a separate type. Due to the integral wire feeder to the welding torch distance score ...

OTC welding robot origin reset OTC welding robot origin reset

When the OTC robot is being used, the encoder battery low alarm cannot be recovered, and the encoder orientation information is lost, it is necessary to reset the operation: 52 encoder failure encoder battery charge lo ...

Comparison of the advantages of the special sensor for arc welding of OTC welding robots!! Comparison of the advantages of the special sensor for arc welding of OTC welding robots!!

Welding robots are divided into arc welding robots and spot welding robots. Arc welding robots can be used for all arc welding, cutting techniques, and similar industrial methods. The commonly used range is self-consumable electrode active gas shielded welding (CO2 welding, MAG welding) of structural steel and chromium-nickel steel, metal welding of aluminum and special alloys.

What jobs are swarm robots suitable for? - Odichi Robot What jobs are swarm robots suitable for? - Odichi Robot

Collective robots are teamwork-oriented, and they are well suited for applications that meet the following needs: 1. Mission needs include massiveness Collective robots are well suited for large-scale operations including large-area projects ...

Problem Analysis of Welding Robot - Oudixi Robot Problem Analysis of Welding Robot - Oudixi Robot

1. Why do I need to adjust the parameters at any time when welding stainless steel? When welding stainless steel, the primary reason why welders can adjust the welding parameters (voltage, current, arc length, induction coefficient, pulse width, etc.) at any time is the mismatched composition of the welding consumables. Chemical composition is important, and the batch...

Advantages of OTC robot synchronous feeding welding system Advantages of OTC robot synchronous feeding welding system

The primary advantages of the OTC robot synchronous feeding welding system: 1. The OTC robot synchronous feeding welding system has the ability to complete the ultra-high-speed control wire feeding, and the welding ability of the OTC Welbee welding used is also directly ...

Choose an industrial robot gripper Choose an industrial robot gripper

Industrial robots need a precise and simple end actuator that can handle many different parts, and it is necessary to know what type of parts will be processed before selecting the gripper of the industrial robot. 1) Shape Asymmetrical, tubular, spherical and tapered ...

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