Skip to main content
Version: v9

Migrating from RobFlow 8 to RobFlow 9

Your Flows, Subflows, Dashboards and Variables carry over and open in the new editor without conversion. Three things do not carry over on their own: HTTP calls that move the Robot, Profinet V1 projects and Photoneo cells built with Function Nodes. If none of those apply to your cell, the update is mostly a matter of telling operators about View-only mode.

What applies to your cell​

Your cellWhat changesWhat you have to doEffort
Any cellNew editor. Only one session operates the Robot at a time.Brief operators on View-only mode and Take control.Minutes
Dashboard buttons or HTTP Request Nodes that call a Robot's APICalls that move the Robot or change what is stored on it are rejected without a control token.Set Control Token on each button and Node, then test on site.Minutes per call
Your own programs on the HTTP API, including StreamingSame rule. Requests without a token get a 409.Request control first and send the token as a header.Small code change
Profinet V1The V1 TIA project does not work with V2.Redo the TIA project and the Profinet Variables.Depends on the project's complexity.

Before the update​

  1. Go through the table above for every cell you plan to update.
  2. Create a full backup: three-dot menu, then Create Full Backup. You need to be logged in, and it does not work while a Flow runs continuously.
  3. If the cell uses Profinet, book the PLC programmer for the days after the update and send them the Profinet V2 documentation ahead of time: Migrate from Profinet V1.
  4. Connect the Control Unit to the internet by cable. On a stable wired connection the update takes about 30 minutes per Control Unit. RobCo runs the update, so agree on a slot with RobCo support.

After the update: every cell​

RobFlow now opens in View-only mode, with an amber frame around the window. Press Take control to work. This happens in every new session, also when nobody else is connected.

Things operators should know:

  • Every browser tab is its own session. If an engineer takes control on a laptop, the HMI tablet drops to View-only mode and its Dashboard buttons open the take-control dialog instead of doing their job. A Flow that is already running keeps running.
  • The STOP button in the RobFlow window is a Robot command. In View-only mode it opens the take-control dialog and does not stop the Robot.
  • The status pill in the app bar shows who has control: this session, another session, Profinet, or nobody.
  • When the last browser session closes, control is freed. The Robot is not stopped and a running Flow continues.

Then open your Flows and Dashboards and run a test cycle before the cell goes back into production.

See Single point of control for the full description.

HTTP calls from Dashboards and Flows​

This affects the Generic Button with the action HTTP Call and the HTTP Request Node, whenever they call an endpoint that moves a Robot or changes what is stored on it. Read-only calls such as GET requests are not affected.

Open each button and Node and choose a Control Token setting:

  • Send the current session's token (Generic Button only). Use this for calls to the Robot's own API. If the session has no control, the button opens the take-control dialog.
  • Acquire a token automatically. RobFlow requests control from the Robot that the URL addresses and then sends the call. The URL has to contain the API root (.../api/vX.Y/...). Whoever held control of that Robot loses it.

If no token can be had, the call is not sent and RobFlow reports HTTP_REQUEST_ERROR in the Message Log. Test every call on site after the update. This is the step that gets forgotten.

Your own programs on the HTTP API​

A program that moves the Robot or changes stored data has to request control and send the token with every such request.

import requests

BASE = f"http://{robot_ip}/api/v3.0"

response = requests.post(f"{BASE}/control/request", timeout=10)
response.raise_for_status()
token = response.json()["token"]

response = requests.put(
f"{BASE}/start-streaming",
headers={"X-Robflow-Control-Token": token},
json={"mode": 1, "target_frequency": 200, "source_ip": {"address": "192.168.1.99"}},
timeout=10,
)

What to expect:

  • The most recent request wins. It takes control from any browser session or other program without stopping the Robot.
  • Gated endpoints include motion and jogging, starting, pausing and resuming Flows, outputs, settings and Robot Configuration, and creating, changing or deleting Flows, Subflows, Dashboards and Variables. PUT /stop is gated too.
  • Without the header, or with a token that is no longer valid, the request is rejected with 409.
  • If an operator presses Take control, your token is invalid from then on. Request control again.
  • While the PLC has control over Profinet, the control request itself is rejected with 409.
  • GET /api/v3.0/control/owner tells you who has control. PUT /api/v3.0/control/release gives it back.

Full endpoint list: Request control.

Profinet V1 to V2​

V2 is a new implementation, so the V1 project has to be redone on the PLC side. The update only converts your existing Profinet Variables into Profinet input Variables. Everything else is manual work in TIA Portal and RobFlow.

Follow the step-by-step migration guide on RobDocs: Migrate from Profinet V1.

Start every new project on V2.