Control TCP position from PLC

Forum Forums Visual Components 4.0 Robot Programming Control TCP position from PLC

Be sure to read the Forum Rules and Guidelines before start using the Forum.

Tagged: , ,

This topic contains 2 replies, has 3 voices, and was last updated by  90jb12 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7375

    hagai.bar
    Participant

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas10_data03/02/2844402/html/wp-content/plugins/visitors-online/visitors-online.php:340) in /home/content/p3pnexwpnas10_data03/02/2844402/html/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220

    Hey,

    I have an application where a beckhoff PLC is controlling a nachi robot. the PLC sends XYZ positions to the robot and i want to use the same positions and send them via OPC-UA to Visual components. are there variables to connect to control the TCP position ?

    Thanks,

     

    #7816
    TSy
    TSy
    Participant

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas10_data03/02/2844402/html/wp-content/plugins/visitors-online/visitors-online.php:340) in /home/content/p3pnexwpnas10_data03/02/2844402/html/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220

    Didn’t you do that already?

    TCP position control via OPC-UA

    No variables to connect directly, needs to be done with a Python script.

    #7864

    90jb12
    Participant

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas10_data03/02/2844402/html/wp-content/plugins/visitors-online/visitors-online.php:340) in /home/content/p3pnexwpnas10_data03/02/2844402/html/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220

    I haven’t used the OPC-UA functionality inside VC yet, but I have built a digital twin inside VC, using the .NET api to drive a robot using data arriving over TCP and UDP, so I can give you a little advice. The problem with sending a robot to a Cartesian pose is that there isn’t enough data to fully define how the robot should achieve it.

    The two pictures above show the robot at the exact same position and orientation, but with different configurations. There are in fact 8 possible configurations for every pose when using a 6 axis robot. You can see these inside VC in the programming tab when you select a robot. So when you specify a pose, you need to specify the configuration also. An easy way of doing this, and is the way I do it in my digital twin, is to just send the joint positions. You can then write a script to take the OPC-UA data and move the robot to the given joint positions. As long as you are using the correct 3D model, it will mirror the real robot without having to deal with configurations…

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.