Agentify Your Machine · xArm 850 · Page 5 of 6
Status and Events
Anyone watching the factory should be able to tell what each machine is doing, and why, without asking it. The agent is always in exactly one named state, and it says when that changes.
What the Course Asks
- Report the states offline, available, preparing, awaiting information, awaiting human approval, ready, running, paused, completed, faulted and unavailable1.
- Publish events with timestamps, task identifiers and relevant operating information1.
The Eleven States
| State | Meaning |
|---|---|
OFFLINE | Not connected; also what a closed agent and its last will publish23 |
AVAILABLE | Free for a task2 |
PREPARING | A task has been taken and is being evaluated24 |
AWAITING_INFORMATION | The task is missing a required parameter42 |
AWAITING_APPROVAL | A person must approve before the run52 |
READY | Approved and about to start62 |
RUNNING | The program is running62 |
PAUSED | The run is held72 |
COMPLETED | The run ended well; the safe state comes next62 |
FAULTED | The run failed; only a person's reset clears it2 |
UNAVAILABLE | A condition holds, the run was stopped, or the safe state is unconfirmed26 |
Rules on the Moves
- Only the moves in the agent's table are allowed2.
- A fault never clears by itself; a stop or an unconfirmed safe state also waits for a person's reset2.
- A running or paused task never goes straight to offline: a closing agent stops the run, or lets it finish, and records where it ended2.
The Allowed Moves
| From | To |
|---|---|
OFFLINE | AVAILABLE, UNAVAILABLE2 |
AVAILABLE | PREPARING, UNAVAILABLE, OFFLINE2 |
PREPARING | AWAITING_INFORMATION, AWAITING_APPROVAL, READY, AVAILABLE, UNAVAILABLE, OFFLINE2 |
AWAITING_INFORMATION | PREPARING, AVAILABLE, UNAVAILABLE, OFFLINE2 |
AWAITING_APPROVAL | READY, AVAILABLE, UNAVAILABLE, OFFLINE2 |
READY | RUNNING, FAULTED, AVAILABLE, UNAVAILABLE, OFFLINE2 |
RUNNING | PAUSED, COMPLETED, FAULTED, UNAVAILABLE2 |
PAUSED | RUNNING, FAULTED, UNAVAILABLE2 |
COMPLETED | AVAILABLE, UNAVAILABLE, OFFLINE2 |
FAULTED | AVAILABLE (a person's reset only), OFFLINE2 |
UNAVAILABLE | AVAILABLE, OFFLINE2 |
Events
- Every status, event and response is written to the agent's hash-chained log first. The board gets what its protocol carries: the answers, each task's progress and outcome, and presence; every other event stays in the log89.
- Each carries the agent's id, a timestamp and the task's id when it has one; an event also carries its operating data: the evaluation's checks, the execution step, the program and version, the progress, the fault code or the safe state8.
- A record of a simulated run says it is simulated8.
Printed from https://www.anotherplace.com/learn/en/xarm-850/agentify/status. Every line cites its source on that page.