Writing from virtual controller Profinet signals to PLC through OpcUa
in RobotStudio
Hello all,
I would like to simulate ProfiNet communication between the virtual controller and Siemens PLC using OpcUa. I have configured the OpcUa client in RobotStudio assigning the ProfiNet device to an array of Usint defined in a DB (an array for the input, another for the output).
If I set the input array in the PLC, then I see the corresponding Profinet signals set as well. But if do the opposite (I set one of the output Profinet signals), I don't see nothing changing in the corresponding array in the PLC.
What I have noticed is that when I configure the relationship between Profinet output and OpcUa node, I get this error;
Bad result writing OPC UA data for node 2 (status: 2155085824)
Has anyone ever had this kind of issue?
I would like to simulate ProfiNet communication between the virtual controller and Siemens PLC using OpcUa. I have configured the OpcUa client in RobotStudio assigning the ProfiNet device to an array of Usint defined in a DB (an array for the input, another for the output).
If I set the input array in the PLC, then I see the corresponding Profinet signals set as well. But if do the opposite (I set one of the output Profinet signals), I don't see nothing changing in the corresponding array in the PLC.
What I have noticed is that when I configure the relationship between Profinet output and OpcUa node, I get this error;
Bad result writing OPC UA data for node 2 (status: 2155085824)
Has anyone ever had this kind of issue?
Tagged:
0
Comments
-
Hello,
I have encountered the same problem. I tried to use different types of arrays in the PLC ocpua node but they cannot be added to the RS opcua configuration.
0 -
The solution is to set the Profinet internal device with input and output size of 64 byte (in the tab Controller, Configuration --> I/O System --> Profinet Internal Device).
You'll get another error ("Unable to write robot input data on device: PN_Internal_Device"), but the communication works.1
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings