We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.
12-05-2023 10:16 AM
Hello
I encountered one issue during calling a function block of programable robot(ProgrammableRobotItemInformation.GetRobotPointByPointId), I want to get robot point from robot piont list, then assign the point to brake test ParCmd.ExecuteBrakeTest.RobotPointAfterFail, but after call the FB, PLC is stopped with library error(see attachment), I uninstalled all robot library from the TwinCAT, and exported them by CPS, but still not working.
below is my code, I am not sure if it is correct.
ProgrammableRobotItemInformation.GetRobotPointByPointId(rUnit := AssyRobot.Unit,
RobotPointListIdentifier := PROGRAMMABLE_ROBOT_TEMPLATE_NEST_LIST_GRIPPER1_ID,
PointId := AssyRobotNestGripper1Enum.HOME,
rRobotPoint := rRobotPoint,
rRobotPointIndex := rRobotPointIndex);
Solved! Go to Solution.
12-05-2023 12:57 PM
Hello, thank you for describing the problem. We are not currently aware of any problem with the method call. If the problem is reproducible, it would be helpful if you could tell us which values have been passed, e.g. by taking a screenshot with a breakpoint before the method call? A screenshot of the call stack in TwinCAT3 at the time of the exception would also be helpful.
12-06-2023 06:12 AM
12-18-2023 11:33 AM
The method parameters 4 and 5 are each defined as a reference to which the method writes back the result of the calculation. In this case, however, no structure or variable was assigned here, but again a reference. This is not possible.