15.1.4. Posture Adjustment
15.1.4.1. Posture Adaptive Configuration Steps
Step1: Enter the Posture Adjustment configuration interface, select the plate type and the actual robot working movement direction, adjust the robot posture, and set Posture Point A, Posture Point B, and Posture Point C respectively. Usually, A is the flat posture point, B is the rising edge posture point, and C is the falling edge posture point.

Figure 15.1‑21 Posture Adjustment Configuration
Important
The posture change between posture A and B, and posture A and C should be as small as possible while meeting the application requirements. The posture adaptive function is an auxiliary application function, usually used in conjunction with seam tracking.
Step2: Select the “Adjust” command in the program teaching command interface. Add instructions as needed according to the specific program teaching requirements.

Figure 15.1‑22 Posture Adjustment Command Editing
15.1.4.2. Posture Adaptive Combined with Extended Axis and Laser Tracking Welding Teaching Program
No. | Command Format | Comment |
1 | EXT_AXIS_PTP(1,1laserstart) | #External axis move to laser sensor start point |
2 | PTP(laserstart,10,-1,0) | #Robot move to laser sensor start point |
3 | LTSearchStart(3,20,10,10000) | #Start search |
4 | LTSearchStop() | #Stop search |
5 | EXT_AXIS_PTP(1,1,seamPos) | #External axis move to seam start point |
6 | Lin(seamPos,20,-1,00,0) | #Robot move to seam start point |
7 | LTTrackOn() | #Laser tracking on |
8 | ARCStart(0,10000) | #Arc start |
9 | PostureAdjustOn(0,PosA,PosC,PosB,1000) | #Posture adaptive adjustment on |
10 | EXT_AXIS_PTP(1,1,laserend) | #External axis move to seam end point |
11 | Lin( laserend,10,-1,0,0) | #Robot move to seam end point |
12 | ARCEnd(0,10000) | #Arc end |
13 | PostureAdjustOff(0) | #Posture adaptive adjustment off |
14 | LTTrackOff | #Laser tracking off |
15.2. Palletizing System Configuration
15.2.1. Palletizing System Configuration Steps
Step1: Click the “Palletizing” menu item under “Auxiliary Application” -> “Process Package” to enter the Palletizing System Configuration interface.
For first-time use, you need to first create a recipe. Click “Recipe Creation”, enter the recipe name, click “Create”. After successful creation, click “Start Configuration” to enter the palletizing configuration page.

Figure 15.2‑1 Palletizing Recipe Configuration
Step2: In the Workpiece Configuration section, click “Configure” to enter the workpiece configuration pop-up window. Set the workpiece’s “Length”, “Width”, “Height”, and the workpiece pickup point. Click “Confirm Configuration” to complete the workpiece information setup.

Figure 15.2‑2 Palletizing Workpiece Configuration
Step3: In the Pallet Configuration section, click “Configure” to enter the pallet configuration pop-up window. Set the pallet’s “Front Edge”, “Side Edge”, and “Height”, then set the station and station transition points. Click “Confirm Configuration” to complete the pallet information setup.

Figure 15.2‑3 Palletizing Pallet Configuration
Step4: In the Palletizing Equipment Dimensions Configuration section, click “Configure” to enter the palletizing equipment dimensions configuration pop-up window. Set the equipment’s “X”, “Y”, “Z”, and “Angle”. Click “Confirm Configuration” to complete the palletizing equipment dimensions configuration.
Important
X, Y, Z are the absolute values of the coordinates of the upper right corner point of the left pallet or the upper left corner point of the right pallet relative to the robot base coordinate system. Angle is the rotation angle during robot installation, recommended to be 0 during installation.

Figure 15.2‑4 Palletizing Equipment Dimensions Configuration
Step5: In the Mode Configuration section, click “Configure” to enter the mode configuration pop-up window.
Mode B On/Off: On: Can switch between Mode A/B, configure Mode B for each palletizing layer; Off: Cannot switch to Mode B, cannot configure Mode B for each palletizing layer;Mode A/B Switch: Select Mode A: Added workpieces are Mode A, workpiece numbers are A1, A2…, cannot adjust workpiece transparency; Select Mode B: Added workpieces are Mode B, workpiece numbers are B1, B2…, can then turn on/off “Show Mode A Configuration” to display Mode A workpieces;Show Mode A On/Off: On: Adjust Mode B workpiece transparency to check if the A/B mode configuration effect is reasonable. At this time, only operations like selecting, adding, batch adding, deleting, and deleting all can be performed on Mode B workpieces; Off: Cannot set Mode B workpiece transparency;
Important
When configuring workpieces, if workpieces collide, the workpiece background color turns red, and the above operations cannot be performed. If operation is needed, please configure the workpieces to have no collision.
When configuring workpieces, first set the workpiece spacing. The right box simulates the placement of workpieces on the right pallet; you can add individually or in batches. Then set the number of palletizing layers and the mode for each layer. Click “Confirm Configuration” to complete the mode information setup.
Important
Palletizing direction: Taking the right pallet as an example, the lower right corner is the farthest point. Place a row of workpieces vertically or horizontally from the lower right corner, then place the next row of workpieces horizontally or vertically above it, and so on (The web page has marked the palletizing direction, please check).
The left pallet places workpieces mirrored based on the right pallet mode.

Figure 15.2‑5 Palletizing Mode A Configuration

Figure 15.2‑6 Palletizing Mode B Configuration
Step6: In the Teaching Program Generation section, click “Advanced Configuration” to enter the advanced configuration pop-up window. Configure the “Pick Lift Height”, “First Offset Distance”, “Second Offset Distance”, and “Suction Wait Time”.
Pick Lift Height: User-defined height lifted after successful pickup from the pickup point;First/Second Offset Distance: User-defined offset distance for the robot to tilt and stack to the target point;Suction Wait Time: User-defined suction wait time, monitoring the negative pressure signal after suction, repeating the suction action if not到位;Smooth Transition: Turn on the Smooth Transition button to configure parameters related to Palletizing/Depalletizing PTP smooth time and LIN smooth radius.PTP Smooth Time: No smooth transition time / Level 1 (200ms) / Level 2 (400ms) / Level 3 (600ms) / Level 4 (800ms) / Level 5 (1000ms)LIN Smooth Radius: No smooth transition radius / Level 1 (200mm) / Level 2 (400mm) / Level 3 (600mm) / Level 4 (800mm) / Level 5 (1000mm)

Figure 15.2‑7 Palletizing Advanced Configuration
Step7: In the Teaching Program Generation section, select “Method Selection”, click “Generate Program”, open the “Palletizing Monitor Page”. On this page, you can view and check the “Generation Information”, “Alarm Information”, and “Palletizing Program”.

Figure 15.2‑8 Palletizing System Monitoring
Step8: If the palletizing running program reports an error midway and stops, the user should first clear the error, then select the palletizing program to run again. At this time, a “Last Program Interrupted” pop-up box will appear. Click the “Resume” button to continue running, or click the “Restart” button to restart the program.

Figure 15.2‑9 Palletizing Program Resume
15.3. Conveyor Tracking
15.3.1. Conveyor Tracking Configuration Steps
Step1: Select the “Conveyor” menu item under “Auxiliary Application” -> “Process Package” to enter the Conveyor Tracking Configuration interface. Click the “Configure Conveyor IO” button to quickly configure the IO required for the conveyor function. Then, configure the corresponding parameters according to the actual function usage. Here, taking non-vision tracking picking function as an example, you need to configure the conveyor encoder channel, resolution, lead, and select “No” for vision pairing, then click Configure.


Figure 15.3‑1 Conveyor Configuration
Step2: Next, set the pickup point compensation values, which are the compensation distances in the X, Y, and Z directions. These can be set during debugging based on the actual situation.

Figure 15.3‑2 Conveyor Pickup Point Compensation Configuration
Step3: Start the conveyor, move the calibrated object to the defined Point A position, then stop the conveyor. Move the robot to align the tip of the calibration rod at the robot end with the tip of the calibrated object. Click the Start Point A button. A dialog box will pop up, displaying the current encoder value and robot pose. Click Calibrate to complete the Start Point A calibration.

Figure 15.3‑3 Start Point A Configuration
Step4: Click the Reference Point button to enter reference point calibration. When recording the reference point, record the robot’s height and posture during picking. Each tracking will use the recorded reference point height and posture for tracking and picking. It can be at a different height from Points A and B. Click Calibrate to complete the reference point calibration.

Figure 15.3‑4 Reference Point Configuration
Step5: Start the conveyor, move the calibrated object to the defined Point B position, then stop the conveyor. Move the robot to align the tip of the calibration rod at the robot end with the tip of the calibrated object. Click the End Point B button. A dialog box will pop up, displaying the current encoder value and robot pose. Click Calibrate to complete the End Point B calibration.

Figure 15.3‑5 End Point B Configuration
15.3.2. Conveyor Tracking Teaching Program
No. | Command Format | Comment |
1 | PTP(conveyorstart,30,-1,0) | #Robot move to pick start point |
2 | While(1) do | #Loop picking |
3 | ConveyorlODetect(10000) | #IO real-time object detection |
4 | ConveyorGetTrackData(1) | #Object position acquisition |
5 | ConveyorTrackStart(1) | #Conveyor tracking start |
6 | Lin(cvrCatchPoint,10,-1,0,0) | #Robot reach pickup point |
7 | MoveGripper(1,255,255,0,10000) | #Gripper pick object |
8 | Lin(cvrRaisePoint,10,-1,0,0) | #Robot lift up |
9 | ConveyorTrackEnd() | #Conveyor tracking end |
10 | PTP(conveyorraise,30,-1,0) | #Robot reach wait point |
11 | PTP(conveyorend,30,-1,0) | #Robot reach place point |
12 | MoveGripper(1,0,255,0,10000) | #Gripper release object |
13 | PTP(conveyorstart,50,-1,0) | #Robot return to pick start point, wait for next pick |
14 | end | #End |
15.3.3. Robot Conveyor Tracking System Composition
15.3.3.1. Conveyor Encoder Data Communication Connection Method
For machine tool processing, to achieve automated loading and unloading processes, a CNC function package based on FOCAS communication has been developed, enabling communication interaction and coordinated motion between collaborative robots and CNC machine tools.
As shown in the figure, FOCAS communication is based on Ethernet. By connecting the robot control box network port with the machine tool’s embedded network port via an Ethernet cable, FOCAS communication between the robot and the machine tool can be established, enabling CNC control and machine tool status monitoring on the robot side.

Figure 15.3‑6 Robot Conveyor Tracking System Composition Topology
In the system, (a) is the computer, (b) is the robot and its control box, (c) is the conveyor system consisting of the conveyor belt, photoelectric sensor, and encoder. The robot control box is connected to the photoelectric sensor and conveyor belt via digital IO communication, and connected to the conveyor encoder via RS485.
15.3.3.2. Conveyor Configuration
Enter the Conveyor Tracking function configuration interface under “Basic Settings”, “Peripherals”, “Tracking” on the robot Web page to configure the conveyor tracking function properties.

Figure 15.3‑7 Conveyor Tracking Configuration Page
On the conveyor tracking configuration page, click the “Conveyor I/O One-Key Configuration” button to configure the conveyor physical connection with one click. Then, in the “Function Selection” dropdown under “Parameter Configuration”, select “Tracking Motion”. Subsequently, configure the encoder properties, tracking workpiece coordinate system workpiece axis, vision pairing, and select “Chase Motion” in the “Tracking Type” dropdown. Then you can input the tracking start distance and tracking end distance. Tracking Start Distance: After the tracking signal is triggered, the robot starts action after the conveyor runs the set distance. When set to -1, it triggers automatically. Tracking End Distance: The maximum distance the robot follows the conveyor in synchronous motion after starting action.
15.3.3.3. Tracking Coordinate System Configuration
Tracking motion uses the workpiece coordinate system as the conveyor coordinate system, so the workpiece coordinate system needs to be set.
Click “Initial Setup”, “Basic”, select “Workpiece Coordinate System” under “Coordinate System”, click to select a workpiece coordinate system other than “wobjcoord0” for calibration. The calibration method is not detailed here.

Figure 15.3‑8 Tracking Coordinate System Setup
15.3.3.4. Conveyor Tracking Chase Motion Function
Chase motion is a type of conveyor tracking motion. Compared to tracking motion, the teaching of motion points for chase motion does not need to be done above the workpiece coordinate system; it can be taught at any position in the workpiece coordinate system. Then, through the “Tracking Start Distance” parameter, the end effector synchronizes motion with the conveyor, making it a more flexible tracking method.
15.3.3.5. Conveyor Tracking Chase Motion Function Introduction
The following gives a chase motion example to introduce its motion characteristics.

Figure 15.3‑9 Conveyor Tracking Chase Motion Teaching Example
Here, x is the direction of conveyor motion in the workpiece coordinate system, a is the conveyor plane, b is the target workpiece to be picked, c is the photoelectric sensor, d is the tracking start distance, e is the tracking end distance. P1 to P4 are the taught waypoints in sequential order, P2 to P3 are the same waypoint, including gripper motion.

Figure 15.3‑10 Conveyor Tracking Chase Motion Execution Example After Teaching
When the above taught program starts running and the workpiece triggers the photoelectric switch signal, the robot will wait for the target to move under P1 before starting the tracking motion. The robot gripper will move along the trajectory shown in the figure above.
15.3.3.6. Chase Motion Program Teaching
The chase motion program logic is basically the same as the tracking motion logic, including acquiring the trigger signal, acquiring conveyor data, and starting the tracking motion.
Step 1: Click “Teaching Program”, “Program Programming”, select and click the “Conveyor” button under “Peripheral Instructions” to enter the conveyor instruction configuration page.

Figure 15.3‑11 I/O Real-time Monitoring Instruction
Step 2: Click “I/O Real-time Monitoring” and set the “Max Wait Time (ms)” to detect the tracking trigger signal in real-time. Click “Add” and “Apply” to add the instruction to the program.

Figure 15.3‑12 Position Real-time Detection Instruction
Step 3: Click “Position Real-time Detection” and select “Tracking Motion” for the working mode. Click “Add” and “Apply” to add the instruction to the program.

Figure 15.3‑13 Tracking Start Instruction
Step 4: Click “Tracking Start” and select “Tracking Motion” for the working mode. Click “Add” and “Apply” to add the instruction to the program.
Step 5: Teach the Cartesian space motion after tracking starts and the gripper peripheral motion. During the motion process, it will maintain synchronous tracking motion with the conveyor.

Figure 15.3‑14 Tracking Stop Instruction
Step 6: Click “Tracking Stop” and click “Add” and “Apply” to add the instruction to the program.

Figure 15.3‑15 A Typical Conveyor Program Tracking Motion Program
When two identical tracking motion targets are taught consecutively (may include offset distance), the robot motion will block at this target position, achieving continuous synchronous tracking until the tracking distance reaches the stop tracking distance.

Figure 15.3‑16 A Typical Conveyor Blocking Tracking Picking Motion Program
When two identical tracking motion targets are taught consecutively (may include offset distance), and gripper motion is inserted in between, the robot will continuously track the conveyor at this target position until the gripper motion is completed, achieving blocking tracking picking.