Home Programming

Discussion

Left ArrowBack to discussions page
RamonSanchezRamonSanchez Posts: 14 Apprentice
edited April 2018 in Programming
Hello,
Would it be possible to have a UR10 write a .txt file?
I'll put an example:

Robot Program
stop_timer ≟ True
Loop 120 times
  stop_timer ≟ False
  Waypoint1
  Waypoint 2
  Waypoint 3
  lap_nr≔lap_nr+1
  sum_lap_s≔sum_lap_s+timer
  avg_lap≔sum_lap_s/lap_nr
  last_lap≔timer
  timer≔0

Thread 1
  Loop stop_timer≟ False 
  timer≔timer+0.008
  sync()

I would like to have a .txt after every loop of 120 laps indicating the result of the variables (what interests me the most is the average time of all laps).

Thanks,
Ramón



Tagged:

Best Answer

Comments

Sign In or Register to comment.
Left ArrowBack to discussions page