1
Brains Development / If macropump fails, stop machine with brains
« on: November 20, 2017, 04:01:42 AM »
Not really sure how to umscribe it, but I'll try.
I am using mach3 for plasma machines. Sometimes the macropump crashes at a customer, and I don't know how they exactly get it to crash or why. I get they cypress enable error.
I want the machine to go in e-stop if the macropump fails.
What I was thinking of was this:
* make a brain that adds 1 to dro 1106 every second.
* make a brain that triggers e-stop if that dro has a value of 2
* add SetUserDRO(1106,0) to the macropump.
Then if the macropump script fails, the timer is not being reset anymore, and after 2 seconds the machine will go in e-stop.
I'm used to work with cypress enable, I changed much in mach3 and customized it completely, but I really don't have any clue how to do the brains part and if this is actually possible in brains.
Anyone who could make an example in brains how to add 1 to a DRO every second?
Or anyone have a better idea of how to make this check if the macropump is still running?
Regs,
Sascha
I am using mach3 for plasma machines. Sometimes the macropump crashes at a customer, and I don't know how they exactly get it to crash or why. I get they cypress enable error.
I want the machine to go in e-stop if the macropump fails.
What I was thinking of was this:
* make a brain that adds 1 to dro 1106 every second.
* make a brain that triggers e-stop if that dro has a value of 2
* add SetUserDRO(1106,0) to the macropump.
Then if the macropump script fails, the timer is not being reset anymore, and after 2 seconds the machine will go in e-stop.
I'm used to work with cypress enable, I changed much in mach3 and customized it completely, but I really don't have any clue how to do the brains part and if this is actually possible in brains.
Anyone who could make an example in brains how to add 1 to a DRO every second?
Or anyone have a better idea of how to make this check if the macropump is still running?
Regs,
Sascha