Jump to content

Looking to add a light system to CMM to show Stopped or Running.


Recommended Posts

The light system would be like any CNC mill or lathe, I am thinking this could be triggered by PCM and a PLC.

I have an app for Autorun that can set a trigger for a PCM variable to create a Red light event that works, I would have to find out how to trigger a green light event (Make a Red light Green).

Has anyone tried something like this or similar?

what about " if trigger for Red Light" = false, then LightColor=GREEN

 

or something to that effect ?

 

What are you using for redlight detection ? Also I think Calypso has Andon light processing built in, not sure if works with AutoRun

I use this in a text file to generate a Red Light.

What I need is to capture a "CNC" end event when the program has completed.

//paramters exe file cancel, Start. 01.12.24
//Read Canc-Cont.txt value
my_list=readListFile("Canc-Cont.txt")
//Extract value from file
CanCon=val(getParameterNamed(my_list,2))
if CanCon==1
cncBreak()
endif
//paramters exe file cancel, End.

 

Edited

So from GIT repo it's obvious, that all commands are written into "c:\Users\Public\Documents\Zeiss\CMMObserver\observerCommandFile.txt"
Some info is stored in "observerFile.txt" in same location.

Actual running program is stored as "set_cnc_start" and "plan path"
Finished program is stored as "set_cnc_end" and toleranceState, hdr,fet,chr paths.

Otherwise there is stored another command.

This GIT also checks actually prefromed feature and other things.

Now question - do anyone want to make something from it or you try to edit original on your own?
I can do that for you in many languages, except for iOS - no machine to compile.

  • 2 weeks later...
×
×
  • Create New...