Reading points from .txt in KUKA Sim Pro 2.2

  • Hi!


    I want to simulate motions of robot in Kuka Sim Pro (project is connected with machining using 3D model from SolidWorks). I generate sequence of points with my own program and write them in .txt like this:
    X
    Y
    Z
    angle 1
    angle 2
    angle 3
    ...the second point...


    I need to read one point and move robot to this point, read the second point and move ...


    How can I do it? I tried to change code on Python in "Behavior" - "Action Script" but I didn't find move commands. Of course I can save "Main" from "Teach" mode and change it but I have a lot of points and using this variant I can't use advantages of Python. Can I read points and move my robot in cycle?


    Thank you for help!

Advertising from our partners