The bridge
The bridge is a small program that runs on a PC next to the robot. It links the arm to Kata: it receives approved runs, checks them again itself, waits for a person at the cell to confirm the start, and talks to the controller.
Where it goes
- At the cell, with a clear view of the robot. A run starts only after someone confirms it at the bridge PC, so the person at that screen has to see the arm and its workspace.
- On the same network segment as the controller, and nowhere else. See Network.
Pairing
In Kata, open Robots, then the robot. Set the controller's address.
As a workspace owner, choose Pair a bridge. Kata shows a command with a one-time code.
On the bridge PC, in the Seventh Axis folder, run the command it shows:
npm run bridge -- pair <code> https://kata-seventh-axis.vercel.appThe code works once and expires in 15 minutes.
Start the bridge:
npm run bridge -- serve
Run the bridge in a console you can see. A bridge running without a console, as a background service, refuses every run, because nobody could confirm the start.
Confirming a run
When someone starts an approved program, the bridge checks the signature, the program's script, the robot, the expiry and the controller's safety mode. If all pass, it waits for someone at the bridge PC to look at the cell and type START. A Stop sent from the app cancels a run that's waiting.
What it needs from the controller
| Port | Used for |
|---|---|
| 29999 | Dashboard Server: power on, brake release, stopping programs |
| 30001, 30002 | Sending programs |
| 30004 | RTDE: live joints, safety mode, force |
Remote control must be enabled on the controller. Restrict who can change that setting with the controller's password and user roles.
What it stores
One file: bridge.json in the .seventh-axis folder in the user's home folder. It holds the robot's id, name, model and address, the Kata address and its public key, and the bridge's credential. The credential is a bridge-only refresh token, not a password, and on Windows it's encrypted for that user.
The bridge keeps no copy of your programs and no run log on disk; those live in your workspace.
Unpairing
- From the workspace: on the Robots page, an owner chooses Unpair bridge. Its token stops working at once. Pairing a new bridge also revokes the old one.
- From the PC: stop the bridge and delete
bridge.json. - If the PC is lost or you suspect it's compromised: revoke it in the workspace first, then unpair the PC, then check the audit log for anything you don't recognise.