Jump to content

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


---
 Share

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Posted (edited)

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
Link to comment
Share on other sites

you could try this

getRunMode("inspectionRunning")

this gave me a true when Calypso is actually running and a false when it was not (offline). ymmv.

  • Like! 1
Link to comment
Share on other sites

It would be great if you can run something outside of Calypso to obtain status.

It's fine until Calypso freezes or have interuption like collision or other problems.

  • Like! 2
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

I assume you will code your part with connection for device - so just file version or even WebAPI ( running web server ).

If you need more or something to better fit your needs then just ask.

What version of .NET would you like?

Link to comment
Share on other sites

Posted (edited)

I am using Visual Studio v17.14.13, It just updated this morning.

NET framewrok should be 4.8.

Edited
  • Like! 1
Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...