Command Reference
Table: cmd_id Values
cmd_id / command | Payload and result |
|---|---|
0 NONE | No payload; no command. |
1 SET_BRAKES | Core Output brake flag. |
2 SET_GLOBAL_SPEED | Core Output global speed, 1..100; invalid range returns REJECTED_VALUE. |
3 SET_PAYLOAD | Payload IO Submodule output; submodule required. |
4 SET_HAND_GUIDING | Core Output hand-guiding flag. |
5 MOVE_JOINT | JointPose IO Submodule output; submodule required. |
6 MOVE_CARTESIAN | CartesianPose IO Submodule output; submodule required. |
7 START_FLOW | Core Output Flow UUID; invalid UUID returns REJECTED_VALUE. |
8 PAUSE_FLOW | No payload; implemented. |
9 RESUME_FLOW | No payload; implemented. |
10 STOP | No payload; implemented. |
11 SET_TOOL | Core Output tool UUID; NIL clears the tool. |
12 CLAIM_CONTROL | No payload; obtain PLC authority. See Single Point of Control. |
13 ACK_ERROR | No payload; acknowledge the latest backend error. See Acknowledge an error. |
Missing Payload, CartesianPose or JointPose IO returns REJECTED for the
associated command. IDs not listed in the table are invalid. Flow_action and
Movement_action do not exist; cmd_id selects the behavior directly.
Core Output payload fields are defined in the
Core Output offset table.
Table: last_req_status Values
| Value | Name | PLC interpretation |
|---|---|---|
| 0 | NONE | no result |
| 1 | ACCEPTED | queued; not final |
| 2 | EXECUTING | running; not final |
| 3 | DONE | final success |
| 4 | REJECTED | final: unavailable, disallowed or not implemented |
| 5 | REJECTED_VALUE | final: invalid value, UUID, object or range |
| 6 | REJECTED_UNAUTHORIZED | final: PLC does not hold control authority |
| 7 | ABORTED | final: unexpected execution failure |
EXECUTING is defined by the interface; the current backend may transition
directly from ACCEPTED to a final result.
Acknowledge an error
Send ACK_ERROR through the normal command handshake while the PLC holds
control. It acknowledges the latest backend error message; it does not reset
the underlying Robot or safety fault. The legacy acknowledge_error flag is
not evaluated by this command. If no error message is available to acknowledge,
the command returns REJECTED.
Legacy operation-mode byte
Core Output retains the UDT name requested_operation_mode for layout
compatibility. The backend treats it as reserved and ignores it. Write zero.
There is currently no Profinet command for changing the SRCI operation mode.