- Posts: 70
- Thank you received: 0
Status during single line execution
5 years 7 months ago #202226
by mwinterm
Status during single line execution was created by mwinterm
Hello,
I would like to detect during single line execution if the machine is currently still moving or if the move is completed and the machine is waiting for the next line to be executed. Unfortunately
are not reflecting what is going on (program_run.is_paused is always true and program_run.is_running is always false in step mode no matter if the machine is currently moving or not).
Best regards,
Marc
I would like to detect during single line execution if the machine is currently still moving or if the move is completed and the machine is waiting for the next line to be executed. Unfortunately
Code:
70 bit IN TRUE program_run.is_paused
70 bit IN FALSE program_run.is_running
Best regards,
Marc
Please Log in to join the conversation.
5 years 7 months ago #202357
by andypugh
Replied by andypugh on topic Status during single line execution
Just a guess, but look at motion.program-line.
That is zero when waiting for a tool change.
That is zero when waiting for a tool change.
Please Log in to join the conversation.
5 years 7 months ago #202362
by MaHa
Replied by MaHa on topic Status during single line execution
When i made the timer for tool life, i solved that by using 'motion.current-vel' to detect if the machine is moving. The returned value converted from float to bit with wcomp, for further processing.
Please Log in to join the conversation.
Time to create page: 0.072 seconds
