KRL is KUKA's programming language, and when programming a robot, variables are memory of various calculated values presented during the operation of the robot program. Each variable belongs to a specific data type, and it is necessary to declare the data type before using it; Variables can be divided into local variables and global variables according to the storage orientation. A global variable that applies to all programs. A local variable is built in a program module and therefore only applies to that program module. The rules of the variable world are as follows:
(1) The length of the variable title *** is 24 more characters.
(2) The variable title is intended to contain letters (A - Z), numbers (0 - 9), and special characters "_" and "$".
(3) Variable titles are not promised to be numerically initial.
(4) The variable title does not allow the use of system keywords.
(5) The title of the variable is not case-sensitive (but it is still recommended to use the hump rule to demarcate the variable).
(6) Variable naming *** is good without underscore, it is recommended to use the camel naming convention. When a variable does not have an underscore, it is possible to quickly access the variable in KCP, and there is no need for an underscore in the variable name.
(7) Variables should be prefixed according to their data type, and their titles should briefly describe their utility in a concise manner
1.1.1 Variable Titles
1. Input and output signal variables:
(1) Single input signal (1 bit) - The prefix i starts to indicate a single input signal:
SIGNAL iVacuumOk $IN[1]
(2) Multiple input signals (> 1 bit) - the prefix gi starts to indicate the input signal group:
SIGNAL giSt12PlateType $IN[1281] TO $IN[1296]
(3) Single output signal (1 bit) - The prefix O starts with a single input signal:
SIGNAL oErrorTarget $OUT[1265]
(4) Multiple output signals (> 1 bit) - the prefix go starts to indicate the output signal set:
SIGNAL goStartValueEnc1 $OUT[705] TO $OUT[721]
(5) Imitation of input signal - the prefix AI starts to indicate that the input signal is imitated:
SIGNAL aiWeldVoltage $ANIN[1]
(6) Imitation output signal - the beginning of the prefix ao indicates that the analog output signal is simulated:
SIGNAL aoActPower $ANOUT[1]
2. Boolean variable - the prefix b starts with indicating the boolean type:
DECL BOOL bGripperEmpty= TRUE
3. Signed integer variable - the prefix z starts with a boolean type:
DECL INT zTarget = 2
4. Single-precision floating-point type variables - prefix r starts with a boolean type:
DECL REAL rCenterOffset= 0.0
5. FRAME-type variable - prefix f starts with a boolean type:
DECL FRAME fStackCorrection[2]
6. Enumerated variables - start with the prefix e to indicate the boolean type:
DECL ENUM ePostion HOME,STACK12,STACK34,CULLET,DROPOFF_CONV,RAZING
DECL ePostion POSITION = #HOME
7. Struct Type Variable - Prefix S Boundary says struct type, but variable Bounded says no prefix:
DECL STRUC sRackData INT nActType,…
DECL sRackData Stack[2]
Stack[1]= {nActType 1,…}
8. POS/AXIS/E6POS/E6AXIS Azimuth Type Variable - Prefix x Boundary Variable:
(1) Calculate the obtained variables - prefix MX boundary variables:
DECL POS mxAfterTouched[2]
(2) The azimuth variable obtained by teaching - the variable with the prefix x boundary:
DECL E6POS xStack12A = {X … }
9. Character and string type variables - prefix s boundary variables:
DECL CHAR sCharacter= "A"
1.1.2 Fundamental Benchmarking
1. For all variable types, constants are preceded by a c, followed by a variable prefix (see 1.1.1):
DECL INT czCompMin = 30
2. For all variable types, local variables start with l (local):
DECL INT lzCompMin = 30
3. For all variable types, the running process variable is preceded by an n:
DECL INT nzActStack
4. For all variable types that have passed through the external signal piercing program, if it is an input signal, the second character is i; If it is an output signal, the second character is O:
DECL BOOL biProgramEnd= FALSE
DECL INT zoPlateType = 1
5. Naming rules for coordinate points/coordinate directionsIt is necessary to adhere to standardized point titles to make the movement easy to read.
(1) Start/end: e.g. xHomeA, xStack12A, etc.
(1) The movement from one station to another will never use the starting point.
(2) The title of the point always specifies the bearing
|
More on that
|
The role of tactile sensors for industrial robots – KUKA robots
In the field of industrial robot operation skills, as in the human category, the sense of sight and touch are complementary forms. Career experts expect that touch sensing will soon add visual skills to mainstream robotics applications. Basically, an industrial robot tactile sensor is a touch sensor that can provide ...
|
|
KUKA robot dresspack selection concept
In recent years, KUKA has made a qualitative leap forward in robot skills, and the robot's performance has been continuously improved and adaptable. In order to ensure the service life of KUKA robots, KUKA robot dresspacks are widely used. With the continuous improvement of the robot system, the variety of pipeline packs is also increasing.
|
|
Check the electric drive of the robot before powering on - KUKA robot
The power of the electric drive equipment is simple, the speed change scale is large, the efficiency is high, and the speed and position accuracy are high. However, they are often associated with deceleration equipment, and direct drive is more difficult.
Electric drive equipment can be divided into direct current (DC), communication (AC) servo motor drive and stepper electric ...
|
|
KUKA robots are programmed to implement the KRL variable method
Variable naming conventions
KRL is KUKA's programming language, and when programming a robot, variables are memory of various calculated values presented during the operation of the robot program. Each variable belongs to a specialized data type, and it is necessary to declare the data type before applying it; Variables are selected according to ...
|
|
Reasons and countermeasures for the design of KUKA robot reducer
1. Japan RV reducer internal gear accuracy level planning Japan RV reducer planners often consider economic factors as much as possible more economical confession gear accuracy grade negligence accuracy grade is the symbol of gear noise and backlash. The United States Gear Manufacturers Association has passed many gear seminars ...
|
|
Maintenance check of KUKA robot before start-up
1. The equipment must be checked before starting, and the operation can only be started after the equipment is in good condition
2. Check and sort out the operation place to ensure that there are no flammable materials (such as oil rags, waste oil gloves, paint, perfume, etc.) and no air leakage, water leakage;
3. Ensure that the temperature of the operating room is not ...
|
|
How the KUKA robot is launched
1. Active operation method
When the KUKA robot is in active operation, it first selects the program that needs to be operated in the manual condition, and then switches the robot to self-power through the key switch, and then starts the robot operation program, so that the robot can reach the BCO safety reference point first, and then ...
|
|
What are the programming instructions for KUKA robots?
When programming the KUKA robot, the input and output signals that indicate the logic instructions are used.
(1) OUT - Closes the output in a certain direction in the program
(2) WAIT FOR - Signal-related waiting function ...
|
|
Classification and model of KUKA robots
Functionally, KUKA robots can be divided into arc welding robots, casting and forging robots, and handling/palletizing robots.
KUKA arc welding robot refers to an industrial robot that performs automatic arc welding, which is basically the same as a spot welding robot. Welding robots are mainly used for welding of various automotive parts.
|
|
KUKA robot resolver-to-digital converter
KUKA robotic resolver-to-digital converters (RDCs) are used to collect motor orientation data. Eight resolvers can be connected on the RDC. In addition, the temperature of the motor is measured and analyzed. EDS is used to store non-volatile data in an RDC bin.
...
|
|
KUKA KR40 robot customized protective clothing and dust clothing
The KUKA KR40 robot is an industrial palletizing robot, which is indispensable for the packaging profession due to its fast operation speed and high precision. Therefore, its protection system is also improving day by day, and the use of KUKA KR40 robot protective clothing is a commonly used protection method.
...
|
|
Precautions for the use of KUKA welding robot equipment
1. The correct sequence of turning on or off the robot:
(1) Correct boot sequence
Open the robot control cabinet first, and then turn on the power supply of the welding machine - the power supply of the water tank and the power supply of the dust removal equipment
(2) Correct shutdown sequence
Close the robot control cabinet first - then turn off the power supply of the welding machine - ...
|
|
The manual movement of industrial robots – KUKA robots
The manual movement method of industrial robots is mainly divided into four control methods: point control method, continuous track control method, force (torque) control method and intelligent control method.
1. Point Control Method (PTP)
This manipulation ...
|
|
Top 10 Faults and Solutions for KUKA Robots
In the process of long-term use of KUKA robots, with the increase of operation time, various parts and parts will present various problems due to the influence of many factors such as friction, corrosion, vibration, impact, bumps, etc., so only by dealing with these problems and insisting on the normal operation of the robot can ...
|
|
KUKA robot partial learning operation steps
Perform "bias learning" with loads. The difference from the first zero calibration is stored.
1. Place the robot in the pre-zero calibration position
2. In the main menu, select the zero calibration > EMD > with load correction > > deviation ...
|
|
The coordinate conversion of KUKA robots is subject to conditions
One. Outline:
Those who have used KUKA robots should know that to indicate the orientation of a robot's Cartesian coordinate system, data of type FRAME/POS/E3POS/E6POS type will be used, during which the following period:
-X/Y/Z: indicates the rectilinear coordinates of the Cartesian coordinate system;
-A/B/C ...
|
|
KUKA Robotics Knowledge Points
1. The KUKA robotic arm body is composed of 1) base 2) turntable 3) balance cylinder 4) big arm 5) small arm 6) central shaft. In the meantime, not every robot has a balance cylinder, and robots with larger loads will be equipped with a balance tank.
...
|
|
KUKA Robot _HRC is not always equal to HRC
In human-robot collaboration (HRC), humans and KUKA robots work directly together without a safety fence. This opens up a huge potential. But HRC is not always equal to HRC. There are four possible scenarios for how humans and KUKA robots can work together effectively.
|
|
The robot implements the predictive maintenance step – KUKA
Speculative protection cannot be achieved overnight, but needs to be completed at multiple levels and gradually. The following are the three key steps to start implementing speculative protection in the production equipment, please consult the data application experts of Xiamen Wutong Bolian for specific plans and steps:
...
|
|
Introduction to the IF logic of the KUKA robot
1. Enter the program in the form of the teach pendant T1, click on the lower left corner: Instruction - Logic, and you will see the commonly used logic instructions such as WAIT, WAITFOR, and OUT.
2. Select WAIT. The lower end of the interface *** presents the WAIT Time port sec .
|
|