Hypersensing with THCAD - better way to do ohmic sensing

More
6 years 6 months ago #163139 by phillc54
PlasmaC has an output pin named plasmac.state-out that you may be able to use.

The states begin at 0 and in order are:
IDLE, PROBE_HEIGHT, PROBE_DOWN, PROBE_UP, ZERO_HEIGHT, PIERCE_HEIGHT, TORCH_ON, ARC_OK, PIERCE_DELAY, PUDDLE_JUMP, CUT_HEIGHT, CUT, PAUSE_AT_END, SAFE_HEIGHT, MAX_HEIGHT, FINISH, TORCHPULSE, PAUSED_MOTION, OHMIC_TEST, PROBE_TEST, SCRIBING, CONSUMABLE_CHANGE_ON, CONSUMABLE_CHANGE_OFF, DEBUG

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #163142 by Uthayne
I've been monitoring the plasmac.state-out pin. During jog moves between cuts it is at state 0 (idle). The other one I watched was plasmac:motion-type, which had a output of 1 during a jog. Either of these could be used, but how can we invoke an interrupt (pause) condition for plasmac? Is there a global pause hook we could tap?

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #163143 by phillc54
Do you want to pause plasmac?

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #163144 by Uthayne
Yes, I'd like it to mimic the situation where ohmic probe triggered outside of probe state. Raises Z to safe height.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #163146 by phillc54
That would take some code changes to plasmac.

If you want realtime you could set motion.feed-inhibit to 1 which pauses motion. You would probaly need to latch it for safety because as soon as it resets to 0 the motion will continue.

If user space is good enough you could tie into:
Code:
net plasmac:program-pause plasmac.program-pause => halui.program.pause
this exists in plasmac.tcl, you would need to break it and or it to your connection I guess.

Neither of these methods would give you an y error messages, they would just pause the machine.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #163148 by Uthayne
Thanks, I'll give these a shot, could work just as well. My magnetic breakaway has about 2-3 degrees of alignment error due to no locating features other than matching pairs of magnets. A collision may not be enough to break the torch away, but enough to knock it off square. An ohmic trigger would prevent it

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.086 seconds
Powered by Kunena Forum