[Ri...] Posted August 26 Share Posted August 26 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 More sharing options...
[Ch...] Posted August 26 Share Posted August 26 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 More sharing options...
[Ri...] Posted August 26 Author Share Posted August 26 (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 August 26 Link to comment Share on other sites More sharing options...
[Ch...] Posted August 26 Share Posted August 26 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. 1 Link to comment Share on other sites More sharing options...
[Ma...] Posted August 26 Share Posted August 26 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. 2 Link to comment Share on other sites More sharing options...
[na...] Posted August 26 Share Posted August 26 Please sign in to view this quote. I believe this is made for getting information like this -> https://github.com/EricRosenfeld1/CalypsoAPI But I haven't tried yet. 1 Link to comment Share on other sites More sharing options...
[Ri...] Posted August 28 Author Share Posted August 28 I get a slew of errors opening the SLN in VS 2022. Mostly NET 4.5 and vulnerabilities. Link to comment Share on other sites More sharing options...
[Ma...] Posted August 28 Share Posted August 28 Would you like to convert it to python? Link to comment Share on other sites More sharing options...
[Ma...] Posted August 29 Share Posted August 29 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 More sharing options...
[Ri...] Posted August 29 Author Share Posted August 29 A working copy in .NET would be great. Link to comment Share on other sites More sharing options...
[Ma...] Posted August 29 Share Posted August 29 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 More sharing options...
[Ri...] Posted August 29 Author Share Posted August 29 (edited) I am using Visual Studio v17.14.13, It just updated this morning. NET framewrok should be 4.8. Edited August 29 1 Link to comment Share on other sites More sharing options...
[Ri...] Posted September 4 Author Share Posted September 4 Special thanks to Martin Jansky for helping with this. 🫵 1 1 Link to comment Share on other sites More sharing options...
[Ma...] Posted September 4 Share Posted September 4 Please sign in to view this quote. I am glad it's working for you :-) 1 Link to comment Share on other sites More sharing options...
[Ma...] Posted September 9 Share Posted September 9 If is anyone interested in working copy, i can post that to GitHub. Link to comment Share on other sites More sharing options...
[Ma...] Posted September 21 Share Posted September 21 Here is a link to my GitHub fork https://github.com/justyand/CalypsoAPI/tree/Calypso Feel free to ask for any modifications if it's in my power 🙂 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in