Good day.
I need to update and view data online using ScreenMaker.
I have a statement speeddata as follows:
PERS speeddata Velocidade{5,4}:=[[[8,8,5000,1000],[1.2,1.2,5000,1000],[3.36,3.36,5000,1000],[95,95,5000,1000]],[[8,8,5000,1000],[1.2,1.2,5000,1000],[3.36,3.36,5000,1000],[95,95,5000,1000]],[[8,8,5000,1000],[1.2,1.2,5000,1000],[3.36,3.36,5000,1000],[95,95,5000,1000]],[[8,8,5000,1000],[1.2,1.2,5000,1000],[3.36,3.36,5000,1000],[95,95,5000,1000]],[[8,8,5000,1000],[1.2,1.2,5000,1000],[3.36,3.36,5000,1000],[95,95,5000,1000]]];
As you can see is an array. I need to update the data and see current speed when you need to change. In ScreenMaker can not update data speeddata due to its arguments (dataobject).
I figured assign a numeric array to view:
num_velocidade{5,4}:=velocidade{5,4}.v_tcp and do the same to write on the screen.
How to make it run on startup of the program as a sps in kuka robot to update instantly when needed?
Thanks to all