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);