plan_drive_position_move
Preview and validate relative or absolute drive positioning moves, including speed limits, travel range, acceleration, timeout, and stop behavior before execution.
Instructions
预览相对/绝对位置运动。先建立坐标及行程范围,速度为正整数rpm并受额定/在线JOG上限约束,加减速由驱动器处理。绝对目标按参考零点计算差值;列出临时模式及JOG参数变更,停机后恢复,可能写EEPROM。allow_mode_change须用户允许。默认等待定位完成后停止释放,可设超时且随时可停止;首版要求固定方向/电子齿轮选择。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"position": "<position>",
"maximum_speed_rpm": "<maximum_speed_rpm>",
"motor_load_description": "<motor_load_description>",
"local_stop_available": "<local_stop_available>"
},
"name": "plan_drive_position_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | relative | |
| port | No | COM7 | |
| unit | No | pulses | |
| position | Yes | ||
| timeout_s | No | ||
| transport | No | selected_tcp | |
| acceleration_ms | No | ||
| allow_mode_change | No | ||
| maximum_speed_rpm | Yes | ||
| local_stop_available | Yes | ||
| motor_load_description | Yes | ||
| position_tolerance_pulses | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||