configure_drive_position_reference
Sets the software zero and optional position limits for this MCP session from the drive's stopped feedback, without writing to the drive or running homing.
Instructions
停机读取反馈后保存本次MCP会话的坐标参考,不写驱动器、不执行回零。先询问是否把当前停止点设为软件零点;existing_device_zero使用用户已建立的设备坐标。默认指令脉冲;圈/角度须明确每圈指令脉冲数。可选同时提供最小/最大软件行程;省略时只防32位溢出,无机械限位。断电、复位、重新回零或MCP重启后须重建,不能声称已验证物理零点。
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": {
"zero_method": "<zero_method>"
},
"name": "configure_drive_position_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | COM7 | |
| unit | No | pulses | |
| transport | No | selected_tcp | |
| zero_method | Yes | ||
| maximum_position | No | ||
| minimum_position | No | ||
| pulses_per_revolution | No | ||
| reference_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||