Skip to main content
Version: v2

RobCo Profinet Migration Guide

From the v1 pilot to the certified v2 implementation

The pilot used the cyclic PLC block FB_RobCo_Controller to synchronize shared values bidirectionally. In v2, the PLC reads feedback from Inputs, writes requests to Outputs and triggers commands through a command sequencer. The certified v2 device reports SoftwareRelease V1.0.0 in its GSDML and requires a RobFlow release with Profinet v2 support.

Replace the device in TIA Portal​

  1. Install the v2 GSDML with its companion BMP.
    GSDML-V2.45-RobCo_GmbH-ModularRobot-20260901.xml
  2. In the network view, replace the pilot device with RobCo Modular Robot and connect it to the PLC IO system.
  3. Import RobCo_Datatypes.udt. Remove the pilot FB call and replace references to its instance DB and the flat RobCo_Input / RobCo_Output tags. Map RobCo_Core_Input to the assigned %I address and RobCo_Core_Output to %Q. Add the Payload, CartesianPose and JointPose submodules as needed and map each to its assigned addresses.
  4. Configure the IP address in TIA Portal and assign the station name online.

Remove FB_RobCo_Controller​

v2 has no PLC function block. FB_RobCo_Controller is written for the pilot process image and must be removed from the project. Do not run it alongside the v2 device.

  1. Delete every call of FB_RobCo_Controller from the cyclic OB, for example Main [OB1], and from the user program.
  2. Delete the instance data block FB_RobCo_Controller_DB.
  3. Delete FB_RobCo_Controller under Program blocks and FB_RobCo_Controller.scl under External source files.
  4. Delete the PLC tags of type RobCo_Input and RobCo_Output and the two pilot data types.
  5. Compile the PLC program. Logic that read or wrote the instance data block now reads RobCo_Core_Input and writes RobCo_Core_Output directly.

Migrate command logic​

Replace Flow_action, Movement_action and implicit triggers with command IDs such as START_FLOW or SET_BRAKES. Review any pilot logic that uses joint-linear or relative Cartesian moves. MOVE_JOINT is point-to-point and MOVE_CARTESIAN takes an absolute target.

On startup or reconnect, read ack_seq as the sequence baseline. Write the payload and cmd_id, then increment cmd_seq once (wrap 65535 to 0). Hold the request until ack_seq and last_req_seq match cmd_seq and last_req_status is final. Evaluate the result before sending the next command. DONE confirms command handling. Use the feedback to track Flow or motion completion.

Acquire control​

Single Point of Control (SPOC) gives command authority to one owner at a time. To take control when control_external_active is false, send CLAIM_CONTROL. Wait for DONE and control_external_active = TRUE. Send other commands, including STOP, only while the PLC holds control. To return control to the browser, disable Profinet control in RobFlow. A transfer stops active motion.

Remap AuxVariables​

Review each Variable in RobFlow. Use profinetInput for PLC %Q → Robot and profinetOutput for Robot → PLC %I. Use two Variables for values previously written from both sides. Add the corresponding 64-byte Aux modules and import a fresh RobCo_Profinet_Variables.udt from RobFlow. Map each bank in slot order within its direction. Aux data is cyclic.

Verify the migration​

Before enabling automatic commands, verify online IO, each configured Aux direction, a command result and its feedback, and reconnection after PLC STOP → RUN. See the TIA Portal Application Manual in the User Manual PDF from the PLC integration package for module layouts and command and status tables.