How to send Joint Data to PLC from ABB IRC5?

  • Hi All,

    Just wondering if anyone had tried sending Joint Axis Positions from ABB IRC5 controller to a PLC?

    I currently use the below and it seems to work on the simulator but does not appear to be real-time. It has a lag to update the Joints but has anyone tried similar methods or code changes to the below to make it work more real-time?


    Any help or example code appreciated.


    Regards

  • AD
  • I am assuming that this is running in a background task. If the robot is running at high speed, it will never be quite real time. You have a wait time, which is necessary to avoid CPU overload, therefore, you have an inherent lag due to the nature of the program. You could probably reduce it to 0.01 seconds.

  • I am assuming that this is running in a background task. If the robot is running at high speed, it will never be quite real time. You have a wait time, which is necessary to avoid CPU overload, therefore, you have an inherent lag due to the nature of the program. You could probably reduce it to 0.01 seconds.

    Hi Lemster,

    Thanks for your feedback.


    Yes it is a background task. And just to ease the buffer and I had them in several tasks running in parallel in background.

    Any idea how long it takes to stop if it deviates from the path? Say j1 has to be between 85-89 degrees so can the plc issue a stop by reading the task in the above manner without too much lag?

    Any suggestions appreciated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now