DXF Function User Manual
Operation Procedure

- The DXF function is built on the user coordinate system. The origin of the user coordinate corresponds to the origin of the graphics in the DXF file.
- The workpiece and DXF file must be reproduced at 1:1 scale. The workpiece origin position must correspond to the graphics origin in the DXF file.
- DXF files need to be drawn using CAD software. When exporting the file, use .dxf format (QCAD drawing software is recommended).
- The DXF function supports reading line, arc, polyline, spline, and full circle entities. Other entities are not currently supported.
- Please delete unnecessary graphics from the DXF file. Keep it as simple as possible, and the graphics should ideally be a single complete continuous trajectory. If there are other messy graphics or the graphics are drawn in segments, it may affect the robot's motion trajectory.
Note: The origin and XY axes of the graphics in the DXF file are the origin and XY axes in the CAD software.

DXF Function
Graphic Interface
Operation path: [Process-DXF]

Click to enter DXF

| Function | Description |
|---|---|
| Back | Return to the [Process] interface. |
| Teach Start Point | When using external TCP, mark the workpiece start point to calibrate the workpiece position. |
| Teach End Point | When using external TCP, mark the workpiece end point to calibrate the workpiece position. |
| Drag | Turn on the switch to drag the canvas position. |
| Discrete Points | Before opening the DXF file (spline), you need to fill in the discrete points first. The higher the discrete points, the more points in the generated job file (except for splines, other supported entities do not need to modify discrete points, use the default discrete points, discrete point values are invalid for them). |
| Open | A USB drive is required. The default open directory is the controller directory. Place the DXF file in the root directory of the USB drive. |
| Speed Planning | Used to plan the speed of the trajectory in the graphic. |
![]() | Used to zoom in the canvas size. |
![]() | Used to zoom out the canvas size. |
![]() | Used to reset the canvas position. |
Opening DXF File
Old Version

Steps: Insert USB drive into the teach pendant, ① Fill in the required [Discrete Points] → ② Click [Open] → ③ Select the USB drive folder → ④ Select the corresponding DXF file → ⑤ Click [Open] to open the file.
Notes:
- After opening the DXF file, if you change the discrete points, please reload the DXF file after the change for it to take effect.
- Discrete points only apply to splines. The points of other supported entities generated are related to the points that exist during drawing.
- Currently the maximum supported discrete point value is 5000. The filled value should be reasonable. Do not fill too many discrete points in DXF files with too many splines. The product of the number of splines and discrete points must be less than 9999. Too many discrete points on a short trajectory will cause the program to fail, which is related to the robot's absolute position accuracy.
- When opening the DXF file, click open until the DXF file to be selected. During the process, please note! Do not drag any folders!!!
New Version

Steps: Insert USB drive into the teach pendant, ① Fill in the required [Discrete Points] → ② Click [Open] → ③ Select the corresponding DXF file → ④ Click [OK] to open the file.
After opening, the preview is as follows

The points connected to the origin by dashed lines in the graphic represent the starting point of each trajectory segment in the DXF file. X represents the positive direction of the X-axis, and Y represents the positive direction of the Y-axis.
Speed Planning Parameter Interface
Operation: [Process]-[DXF]-[Speed Planning]

| Function | Description |
|---|---|
| Start Point | The starting point of a certain trajectory segment |
| End Point | The ending point of a certain trajectory segment |
| Speed | The Cartesian speed of this trajectory segment |
| Offset Angle (External TCP only) | The offset angle of this trajectory segment relative to the tangential motion direction of the external TCP (gradual offset) |
| Delete | Delete this point trajectory segment and merge it into the previous trajectory segment |
Note:
- By default, it is from the first point to the last point of the entire trajectory. Modify the end point parameter to set partial trajectory segments. The remaining points are automatically divided into new trajectory segments. When selected, the corresponding points will be displayed as red trajectories in the graphic.
- This part of the points already includes lifting points.
Program Parameter Interface
Operation: [Process]-[DXF]-[Speed Planning]-[Program Parameters]

| Function | Description |
|---|---|
| Program Name | Job file name starting with a letter or Chinese character. |
| Instruction Type | Can choose TCP or External TCP. |
| Tool | Used to select the tool coordinate to use. (When a user loads a tool on the robot end-effector, the tool center point often does not coincide with the robot flange center. At this time, tool coordinate calibration is required. Refer to INEXBOT's official robot calibration method. This document does not focus on this. If the user does not perform tool calibration, the actual trajectory will have a large deviation from the imported graphic trajectory. The farther the tool center is from the flange center, the greater the deviation.) |
| User Coordinate System | Used to select the user coordinate number to use. If using a tool, calibrate the tool coordinate first, then calibrate the user coordinate with the tool. |
| PL | The smoothing level of the robot motion instruction. Increasing the smoothing level makes motion between instructions smoother, but also produces smoothing errors at the connection points between instructions (range 0-5). |
| ACC | Acceleration of the generated motion instruction (range 1-100). |
| DEC | Deceleration of the generated motion instruction (range 1-100). |
| Lift Height | The lift height before running each trajectory segment and after ending each trajectory segment (if the user coordinate system Z-axis positive direction is negative after calibration, i.e., Z-axis points down, the lift height direction will be negative). |
| Lift Speed | The running speed when executing the lift instruction. |
| Insert Lift Points | Can choose whether to insert lift points. If the switch is on, lift points will be inserted before running each trajectory segment and after ending each trajectory segment. If the switch is off, even if "Lift Height" and "Lift Speed" are filled in, lift point instructions will not be generated. |
| Back | Return to the DXF interface. |
| Generate | After filling in the parameters, generate the corresponding job file. |
Running Program

After the program is generated, it will automatically jump to the generated job file. You can also select the generated program in [Project] and open it. Switch the teach pendant to run mode and press the [Start] button.
Note:
If you want to run this program in a loop, you can add a joint coordinate point-to-point instruction as a safety point in the first or last line of the program. After setting the safety point, you need to run it to see if the trajectory is correct. If the safety point is set unreasonably, it will cause joint limit exceeded and abnormal motion trajectory.
Usage Examples
Example 1: Generate External TCP
Using a four-axis SCARA robot as an example:
- First, place the DXF file in the USB drive and insert the USB drive into the teach pendant (FAT32 type USB drive is recommended).

- Click [Process]-[DXF] on the teach pendant.

- First enter the required value in [Discrete Points] (only applies to splines. The larger the value, the more points in the generated job file. The value should be reasonable. Too many will cause the trajectory to run unsmoothly).

- ①Click the [Open] button, ②In the pop-up window, select the mnt folder and then enter the udisk folder. This folder contains the files on the USB drive. Find and open the DXF file, as shown below.

- Calibrate the tool to determine the flange center.
Step 1, click [Settings]-[Tool Calibration]

Step 2, click [Tool Calibration] in the No Tool state.

Step 3, use the 2-point method for four-axis SCARA robot tool calibration.

Step 4, TC1 is any point in space. Align the tool tip with the external tool tip point and click Calibrate.
Step 5, TC2 is based on TC1 with the U-axis of the Cartesian coordinate system jogged to 180° (you need to modify the attitude value to degree value in [Operation Parameters] to see degrees). Then move the XYZ axes to align the tool tip with the external tool tip point and click Calibrate.
Step 6, after two-point calibration, click Calculate.
Step 7, select the calibrated tool.
- Calibrate the user coordinate system.
If using a tool, when calibrating the user coordinate, you need to select the tool and calibrate the user coordinate with the tool (the calibrated user coordinates must be on the same horizontal plane, i.e., Z values must be consistent).
When calibrating the user coordinate system, pay attention to the calibration direction. It is recommended to set the robot coordinate system to user coordinate after calibration, and jog UZ to check the lift direction. Sometimes the calibration direction is reversed, causing the lift direction to be negative.
Step 1, click [Settings]-[User Coordinate Calibration]

Step 2, select the user coordinate number to calibrate.
Step 3, click [User Calibration]

Step 4, calibrate the user coordinate origin and XY axis direction (the calibrated user coordinates must be on the same horizontal plane, i.e., Z values must be consistent. If the Z-axis is inconsistent after clicking mark, you can click Modify to manually fill in the same Z value).

Step 5, click Calculate.
- Place the workpiece. The workpiece can be placed in any position. After placement, before generating the job file, you need to teach the start point and end point.

| Function | Description |
|---|---|
| Teach Start Point | The start point of the workpiece. Run the robot to align the trajectory start point with the external tool tip (if using a tool, select the tool number used; if not, select "No Tool"). After alignment, click "Teach Start Point". |
| Teach End Point | The end point of the workpiece. Run the robot to align the trajectory end point with the external tool tip (if using a tool, select the tool number used; if not, select "No Tool"). After alignment, click "Teach End Point". |
- Click Program Parameters, enter the program name, select the instruction type as External TCP, select the tool number as the calibrated tool, select the user coordinate system as the calibrated user coordinate system. Fill in the correct speed, smoothness, acceleration, deceleration, lift height, and lift speed to use (if using lift height, you need to turn on the "Insert Lift Points" switch).

- Click Generate. The generated job file is stored in Project. Open the job file and run it.
The generated job file point hand system is consistent with the hand system used when calibrating the user coordinate system. That is, when using the left hand to calibrate the user coordinate, the point hand system in the job file is the left hand; when using the right hand to calibrate the user coordinate, the point hand system in the job file is the right hand.
When running the job file in a loop, you need to manually insert a joint coordinate point-to-point instruction in the first or last line of the program to return to a safe position (after setting the safety point, you need to run it to check if the trajectory is correct. If the safety point is set unreasonably, it will cause joint limit exceeded and abnormal motion trajectory).

Example 2: Generate TCP
Using a four-axis SCARA robot as an example:
- First, place the DXF file in the USB drive and insert the USB drive into the teach pendant (FAT32 type USB drive is recommended).

- Click [Process]-[DXF] on the teach pendant.

- First enter the required value in [Discrete Points] (only applies to splines. The larger the value, the more points in the generated job file. The value should be reasonable. Too many will cause the trajectory to run unsmoothly).

- ①Click the [Open] button, ②In the pop-up window, select the mnt folder and then enter the udisk folder. This folder contains the files on the USB drive. Find and open the DXF file, as shown below.

- Calibrate the tool to determine the flange center.
Step 1, click [Settings]-[Tool Calibration]

Step 2, click [Tool Calibration] in the No Tool state.

Step 3, use the 2-point method for four-axis SCARA robot tool calibration.

Step 4, TC1 is any point in space. Align the tool tip with the external tool tip point and click Calibrate.
Step 5, TC2 is based on TC1 with the U-axis of the Cartesian coordinate system jogged to 180° (you need to modify the attitude value to degree value in [Operation Parameters] to see degrees). Then move the XYZ axes to align the tool tip with the external tool tip point and click Calibrate.
Step 6, after two-point calibration, click Calculate.
Step 7, select the calibrated tool.
- Calibrate the user coordinate system.
If using a tool, when calibrating the user coordinate, you need to select the tool and calibrate the user coordinate with the tool (the calibrated user coordinates must be on the same horizontal plane, i.e., Z values must be consistent).
When calibrating the user coordinate system, pay attention to the calibration direction. It is recommended to set the robot coordinate system to user coordinate after calibration, and jog UZ to check the lift direction. Sometimes the calibration direction is reversed, causing the lift direction to be negative.
Step 1, click [Settings]-[User Coordinate Calibration]

Step 2, select the user coordinate number to calibrate.
Step 3, click [User Calibration]

Step 4, calibrate the user coordinate origin and XY axis direction (the calibrated user coordinates must be on the same horizontal plane, i.e., Z values must be consistent. If the Z-axis is inconsistent after clicking mark, you can click Modify to manually fill in the same Z value).

Step 5, click Calculate.
- Click Program Parameters, enter the program name, select the instruction type as TCP, select the tool number as the calibrated tool, select the user coordinate system as the calibrated user coordinate system. Fill in the correct speed, smoothness, acceleration, deceleration, lift height, and lift speed to use (if using lift height, you need to turn on the "Insert Lift Points" switch).

- Click Generate. The generated job file is stored in Project. Open the job file and run it.
The generated job file point hand system is consistent with the hand system used when calibrating the user coordinate system. That is, when using the left hand to calibrate the user coordinate, the point hand system in the job file is the left hand; when using the right hand to calibrate the user coordinate, the point hand system in the job file is the right hand.
When running the job file in a loop, you need to manually insert a joint coordinate point-to-point instruction in the first or last line of the program to return to a safe position (after setting the safety point, you need to run it to check if the trajectory is correct. If the safety point is set unreasonably, it will cause joint limit exceeded and abnormal motion trajectory).

Note:
When generating a TCP job file, during runtime the flange center (tool center) moves along the DXF trajectory; when generating an external TCP file, during runtime every point in the workpiece (DXF trajectory) passes through the user coordinate origin.
When using External TCP to generate a full circle trajectory, the end point of the trajectory is the position of the start point symmetrically centered about the circle center, as shown below.

When using External TCP to generate full circle or arc trajectories, due to small movement distance and large attitude change, the running speed will be too fast, and you need to manually modify the instruction speed. When generating arc trajectories, if a dynamic limit exceeded error occurs, you can manually modify the user coordinate to joint coordinate in [Variables], as shown below.


If the DXF graphic drawn in CAD has right angles, it is recommended to insert points close together on both sides of the right angle, as shown below.

CAD Usage Notes
- After drawing with CAD, you must save in dxf format.
- When drawing with CAD, you can use line, arc, polyline, spline, full circle and other entities, but try to use the same entity to draw one complete trajectory in a single file.
- If drawn in segments, it will affect the robot's motion trajectory (when drawn in segments, the robot runs each segment in the order the graphics are drawn in the DXF file).


As shown above, if a lift height is filled in when generating the job file, the robot will first lift-run line ①-lift again-run arc ②-lift again-run polyline ③-lift again-run arc ④.
- If multiple entities are used to draw, the robot will not be smooth at the junction of two entities. When generating the job file, if a lift height is filled in, each trajectory segment will produce a lift; if no lift height is filled in, there will also be stuttering at the trajectory junction. It is recommended to fill in a smoothing value for smooth operation.
1. If multiple entities are needed to draw one graphic, the direction of the start point and end point of each trajectory segment must be consistent, i.e., the beginning of the next trajectory segment must be connected to the end of the previous trajectory segment.
1. In QCAD, when using arc or circle entities, both arc and circle trajectories run counterclockwise. When using multiple entities, pay attention to the start point of each trajectory segment. The end point of the previous trajectory segment should be the same point as the start point of the next trajectory segment. The start point of an arc is the counterclockwise starting point of that arc trajectory.

AI Retrieval Q&A (Q&A for Retrieval)
Q: What entity types does the DXF function support?
A: The DXF function supports reading line, arc, polyline, spline, and full circle entities. Other entities are not currently supported.
Q: How to correctly prepare a DXF file?
A:
- Draw using CAD software and export in .dxf format (QCAD drawing software is recommended)
- The workpiece and DXF file must be reproduced at 1:1 scale, and the workpiece origin must correspond to the graphics origin in the DXF file
- Delete unnecessary graphics, keep it as simple as possible, and the graphics should be a single complete continuous trajectory
- Try to use the same entity to draw one complete trajectory in a single file
Q: What is the function of the discrete point parameter?
A: Discrete points only apply to splines. The higher the discrete points, the more points in the generated job file. Other supported entities do not need to modify discrete points, use the default discrete points, discrete point values are invalid for them. Currently the maximum supported discrete point value is 5000.
Q: How to open a DXF file?
A:
- Insert USB drive into the teach pendant (FAT32 type USB drive is recommended)
- Fill in the required discrete points (only applies to splines)
- Click the [Open] button
- Select the corresponding DXF file in the pop-up window
- Click [OK]
Q: What is the difference between TCP and External TCP?
A:
- Generate TCP job file: During runtime the flange center (tool center) moves along the DXF trajectory
- Generate External TCP file: During runtime every point in the workpiece (DXF trajectory) passes through the user coordinate origin
Q: What should I pay attention to when using External TCP?
A:
- When using External TCP to generate a full circle trajectory, the end point of the trajectory is the position of the start point symmetrically centered about the circle center
- When using External TCP to generate full circle or arc trajectories, due to small movement distance and large attitude change, the running speed will be too fast, and you need to manually modify the instruction speed
- When generating arc trajectories, if a dynamic limit exceeded error occurs, you can manually modify the user coordinate to joint coordinate in [Variables]
Q: How to correctly calibrate the tool and user coordinate system?
A:
- Tool calibration: Click [Tool Calibration] in the No Tool state, use the 2-point method for calibration, and finally click [Calculate]
- User coordinate system calibration: If using a tool, select the tool and calibrate the user coordinate with the tool. The calibrated user coordinates must be on the same horizontal plane (Z values must be consistent)
Q: How to run the generated program in a loop?
A: You can add a joint coordinate point-to-point instruction as a safety point in the first or last line of the program. After setting the safety point, you need to run it to check if the trajectory is correct. If the safety point is set unreasonably, it will cause joint limit exceeded and abnormal motion trajectory.
Q: Why does the generated job file trajectory not match expectations?
A: Possible reasons include:
- Tool not correctly calibrated
- User coordinate system not correctly calibrated
- DXF file contains messy graphics or segmented drawing
- Discrete points set unreasonably
- Lift height set improperly
Q: What should I pay attention to when using multiple entities?
A:
- The direction of the start point and end point of each trajectory segment must be consistent, i.e., the beginning of the next trajectory segment must be connected to the end of the previous trajectory segment
- In QCAD, when using arc or circle entities, both arc and circle trajectories run counterclockwise
- When using multiple entities, pay attention to the start point of each trajectory segment. The end point of the previous trajectory segment should be the same point as the start point of the next trajectory segment
- If a lift height is filled in when generating the job file, the robot will lift before and after each trajectory segment
- If no lift height is filled in, there may be stuttering at the trajectory junction. It is recommended to fill in a smoothing value for smooth operation
Related Resources
Version History
| Version | Date | Changes | Author |
|---|---|---|---|
| 1.0.0 | 2026-04-15 | Initial version | Luoy-i |


