3D Mouse Control
Set Sensitivity Send
0x7301 THREED_MOUSE_SET
json
{
"ABC": 4 or 5 or 6,
"mouseSen": [128, 128, 128, 128]
}| Parameter | Type | Description |
|---|---|---|
| ABC | int | Attitude ABC |
| mouseSen | int[4] | Mouse sensitivity xyz and attitude sensitivity (0-300) |
Get Sensitivity
0x7302 THREED_MOUSE_INQUIRE
data: None
Controller Response
0x7303 THREED_MOUSE_RESPOND
json
{
"ABC": 4 or 5 or 6,
"mouseSen": [128, 128, 128, 128]
}| Parameter | Type | Description |
|---|---|---|
| ABC | int | Attitude ABC |
| mouseSen | int[4] | Mouse sensitivity xyz and attitude sensitivity (0-300) |
3D Mouse Zero Point Mark Zero Point Send
0x7304 THREED_MOUSE_SETZERO
data: None
Get Zero Point Mark Status
0x7305 THREED_MOUSE_SETZERO_INQUIRE
data: None
Controller Response
0x7306 THREED_MOUSE_SETZERO_RESPOND
json
{
"zeroTagged": 0 or 1 or 2
}| Parameter | Type | Description |
|---|---|---|
| zeroTagged | int | 0: Not marked, 1: Marked, 2: Communication failed |
3D Mouse Positive Direction Mark Set
0x7307 THREED_MOUSE_SIGN_DIRECTION
json
{
"axis": 1 or 2 or 3
}| Parameter | Type | Description |
|---|---|---|
| axis | int | 1 indicates mark X positive direction, 2: Y, 3: Z |
Get 3D Mouse Positive Direction Mark Status
0x7308 THREED_MOUSE_SIGN_DIRECTION_INQUIRE
data: None
Get 3D Mouse Positive Direction Mark Status, Controller Response
0x7309 THREED_MOUSE_SIGN_DIRECTION_RESPOND
json
{
"xTagged": 0 or 1 or 2,
"yTagged": 0 or 1 or 2,
"zTagged": 0 or 1 or 2
}| Parameter | Type | Description |
|---|---|---|
| xTagged | int | X positive direction 0: Failed, 1: Success, 2: Calibrating |
| yTagged | int | Y positive direction 0: Failed, 1: Success, 2: Calibrating |
| zTagged | int | Z positive direction 0: Failed, 1: Success, 2: Calibrating |
Send When Exiting Page from Teach Pendant
0x730A PAGE_BACK
json
{
"pageBack": 1
}| Parameter | Type | Description |
|---|---|---|
| pageBack | int | 3D mouse point mark direction but not marked, notify controller to exit mark direction thread when switching interface directly |
Set 3D Mouse Port Number
0x730B THREED_MOUSE_SET_PORT
json
{
"port": 1
}| Parameter | Type | Description | Range |
|---|---|---|---|
| port | int | Port number | 1-10 |
Query 3D Mouse Port Number
0x730C THREED_MOUSE_INQUIRE_PORT
json
{}Return Query Result
0x730D THREED_MOUSE_RESPOND_PORT
json
{
"port": 1
}| Parameter | Type | Description | Range |
|---|---|---|---|
| port | int | Port number | 1-10 |