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 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) Variable titles do not allow the use of system keywords.
(5) The title of the variable is not case-sensitive (but it still advocates the use of the camel rule to delimit the variable).
(6) Variable naming *** is good without underline, and it is recommended to use the hump naming convention. When a variable does not have an underscore, it is possible to quickly visit the variable in KCP, and it is not necessary to have an underscore in the variable name.
(7) Variables should be prefixed according to their data type, and their titles should briefly state their function 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) Calculated variables - prefix MX boundary variables:
DECL POS mxAfterTouched[2]
(2) The orientation 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 insertion 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 never uses the starting point.
(2) The title of the point always specifies the direction,
|
More on that
|
Execution of the CELL.src program of the KUKA robot
1) Run the CELL.src program in T1 or T2 form, perform part (1) in the figure, the KUKA robot performs back to the HOME point, performs the BCO operation, the window displays "BCO has been reached", and the BCO operation makes the KUKA robot run to the track.
...
|
|
Procedure for TCP correction of KUKA robots
1. In the main menu, select the > Measure > Thing > XYZ 4 points.
2. Give a number and a name for the thing to be measured. I admit it with a persistent key.
3. Use TCP to move to a reference point at will. Click Measure. Click Yes to reply to the security question ...
|
|
KUKA method for improving the accuracy of robot trajectories
1) In addition to aligning TCP (or using digital analogue), is there a way to improve the orbit accuracy?
2) There are cutting and other processes on site, which require high track accuracy, if the robot track presents the phenomenon formed by jitter such as sawtooth, how to deal with it?
3) ABB robot for ...
|
|
How the KUKA bot program works
1. By clicking on the "Program Operation Method" icon, you can view and select different methods.
2. The operation methods of the program are [Go], [Action], and [Single Process].
1. Go: refers to the uninterrupted connection of the program.
|
|
KUKA truss robot maintenance method
1. Maintain good parts
Parts are an important part of CNC machine tool robots, the reason why the parts of CNC machine tool manipulators show severe wear and tear in the process of use, mainly because of the problems in people's devices, so that the orientation of parts is problematic.
|
|
Advantages and disadvantages of two programming methods for robots – KUKA robots
Teach-in programming methods
At present, a considerable number of robots still use the teach-in programming method. The robot can be applied immediately after the teach-in, and at the time of reproduction, the robot repeats the tracks and various operations stored in the memory during the teach-in, and the process can be repeated several times if required.
Forte:...
|
|
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 ...
|
|
Classification of vision systems for mobile robots – KUKA KUKA
The vision system of mobile robot refers to the vision system of mobile robot, including two parts: obtaining pictures through sensors and processing pictures through computer processors. According to the number and characteristics of vision sensors, the mainstream mobile robot vision system includes monocular vision, binocular vision, etc.
|
|
How KUKA robots implement the KRL variable
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 ...
|
|
KUKA robots for hazardous environment repairs
The vast majority of robots in operation now consist of six joints with a simple "output" for interacting with the workpiece. Use ranges from selection and placement operations, to moving cameras and other viewing devices, to performing precision installation missions involving collaborative parts. This is certainly far ...
|
|
An introduction to KUKA six-axis robots
KUKA six-axis robot is a joint machine with 6 movable joint axes, similar to a human arm, known as a 6-axis joint robot, 6-axis industrial manipulator or 6-axis industrial robot, which is one of the most common forms of industrial robots in the industrial field today. Suitable for many industrial ...
|
|
Maintenance work on KUKA robots
KUKA robot maintenance is to ensure the normal operation of KUKA robots to the greatest extent, and the maintenance of KUKA KUKA robots generally needs to be carried out after 10,000 hours of operation, especially for KUKA robots that work at the load limit or operating limit for a long time under harsh conditions.
|
|
Maintenance of the control cabinet of KUKA robot systems
1. Protect content
1. Check the heat dissipation of the controller
It is forbidden to cover the manipulator with plastic or other materials; Leave a satisfying distance between the rear and side of the controller (>120mm); It is forbidden to place the controller close to the heat source; It is forbidden to put debris on the top of the controller; Prevent the controller from being too dirty; ...
|
|
Introduction to KUKA industrial robot control cabinets
Industrial robot manipulators generally have the main power supply, the power supply unit of the accounting machine, the control module of the accounting machine (the main part of the accounting machine), the input and output board (I/O board), the user connection port, the teaching pendant terminal (Flexpendant) interface, the accounting machine board of each axis, the drive unit of each axis, etc.
|
|
KUKA robot Win10 installation wv compatible method
One. Outline:
With win10 system, after installing WoV4.0.X or WoV5.0.x, WoV will stop working when the bus configuration is turned over:
When I was ready to connect to the bus online, I found that there was no network card adapter to choose from:
And there is an error message in the information window:
...
|
|
Industrial robot control system – KUKA robots
1. Program control system: apply a certain control effect to each degree of freedom, and the robot can complete the required space orbit.
2. Adaptive control system: when the external conditions change, in order to ensure the required quality or in order to improve the control with the accumulation of experience...
|
|
Industrial robots involve technology – KUKA robots
Robot manipulator structure
Through the application of modern planning methods such as finite element analysis, modal analysis and simulation planning, the optimization planning of the robot operation organization is completed. Explore new high-strength, lightweight materials to further improve the load/weight ratio. For example, with the Germany KUKA company as the representative ...
|
|
The KUKA robot adjusts the bias operation procedure
If the initial adjustment is lost (e.g. after a motor replacement or a bump), the initial adjustment is reverted. Since the learned error persists after the adjustment is lost, the KUKA robot calculates the initial adjustment. Before checking an axis, it is necessary to complete the ...
|
|
KUKA robots are maintained at different times
1. Check and maintain the content for three months
(1) The cable of the control part
(2) Ventilation of the controller
(3) A cable connecting the mechanical body
(4) Whether the fixed condition of the connector is excellent
(5) Tighten the cover plate and various additional parts on the machine
...
|
|
KUKA teach-in Smart Welding
In order to solve the pain points of welding professions, such as high variety, small batch, poor team consistency, harsh working environment, long commissioning time, and difficult changeover, KUKA Industry has launched a new treatment solution, Smart Welding. Smart Welding is developed in depth according to kuka.SimPro, offline programming without teaching, no ...
|
|