Category: Interface — Embedded Direct-Connect (TCP)
| Item |
Content |
| Interface Name |
Axis Relative Move |
| Command ID |
CMD_ID = 02 |
| Request Method |
POST |
| URL |
http://{deviceIP}:8555/api/app_print |
| Content Type |
application/json |
Request Parameters
| Name |
Type |
Required |
Description |
| CMD_ID |
string |
Yes |
Fixed "02" |
| TYPE |
int |
Yes |
1 = X axis, 2 = Y axis |
| MOVE |
int |
Yes |
Relative movement in mm; positive moves forward, negative moves backward |
Request Example
{ "CMD_ID": "02", "TYPE": 1, "MOVE": 10 }
Response Parameters
| Name |
Type |
Description |
| CMD_ID |
string |
"02" |
| code |
int |
0 indicates success |
| msg |
string |
Hint message (optional) |
Response Example
{ "CMD_ID": "02", "code": 0, "msg": "Move successful" }
If the device encounters an unsolvable problem during debugging, contact the cloud-printing owner to troubleshoot and find a solution. Contact details are as follows:
- Phone: 137-5177-4454 (WeChat same number)
- Email: info@ColorPark.cn