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
- Install the v2 GSDML with its companion BMP.
GSDML-V2.45-RobCo_GmbH-ModularRobot-20260901.xml - In the network view, replace the pilot device with RobCo Modular Robot and connect it to the PLC IO system.
- Import
RobCo_Datatypes.udt. Remove the pilot FB call and replace references to its instance DB and the flatRobCo_Input/RobCo_Outputtags. MapRobCo_Core_Inputto the assigned%Iaddress andRobCo_Core_Outputto%Q. Add the Payload, CartesianPose and JointPose submodules as needed and map each to its assigned addresses. - 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.
- Delete every call of
FB_RobCo_Controllerfrom the cyclic OB, for exampleMain [OB1], and from the user program. - Delete the instance data block
FB_RobCo_Controller_DB. - Delete
FB_RobCo_Controllerunder Program blocks andFB_RobCo_Controller.sclunder External source files. - Delete the PLC tags of type
RobCo_InputandRobCo_Outputand the two pilot data types. - Compile the PLC program. Logic that read or wrote the instance data block
now reads
RobCo_Core_Inputand writesRobCo_Core_Outputdirectly.
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.