- 17/09/2018 at 22:24 #7375
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,008/10/2018 at 17:14 #7816
Didn’t you do that already?
No variables to connect directly, needs to be done with a Python script.008/10/2018 at 17:15 #7864
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…010/05/2019 at 10:20 #14278
Im looking for some help regarding TCP and UDP communication between a PLC and VC. I was thinking if you had any pointers how you managed to setup the communication in VC/python to actually be able to read the data arriving from TCP and UDP?
Thanks for your time//010/05/2019 at 12:13 #14292
@autohenrik have you read this post?0
You must be logged in to reply to this topic.