I use a remote IP camera. Screenshot of it is here:
http://igor.chudov.com/tmp/Netcam.png <http://igor.chudov.com/tmp/Netcam.png>Comments below: On Thu, Apr 7, 2011 at 11:53 AM, Rando Sauvage <[email protected]>wrote: > I am an EMC2 user and currently I am doing some pieces which take > several hours to mill. > So, I would like to run my CNC while I am not at home (eg while I am > at work), but still want to take an eye on my CNC through an IP camera > + *get the possibility to remote control the AXIS GUI* (this is the > important part ;-)) > > I do the same thing. I also can monitor this netcam on my Android cell phone. > Basically what I would need is: > 1) Remotely pause and continue a running GCode program. > > I have only one command, Estop, implemented as a shell function. If I log on to the CNC machine and type "estop", the machine goes into estop. BLING::~/public_html/tmp==>declare -f estop estop () { halcmd setp halui.estop.activate 1; sleep 0.1; halcmd setp halui.estop.activate 0; echo Machine E-stopped. } It should give you an idea how to pause. > 2) While the program is paused, I need to be able to stop the spindle > and the lube (these one are important because eg if the mill broke, I > need to stop the spindle ASAP. but I don't know if it is possible > since I can't stop the spindle from AXIS while a program is paused) > > You can probably do this with halcmd. But I think that if end mill broke, estop is the only reasonable alternative. > I did some research but I am a bit lost ... I found that maybe I could > use "axis-remote" or "emcrsh" ? > Which one is should I use ? (remember that I want to keep axis running > on my EMC2 machine). > Can someone show me what to do to pause a running program ? (eg > "axis-remote --mdi ?????") > > > Not sure how to pause, but see my above estop function. > Note: > - I have a SSH connection to the EMC2 computer > - I could possibly wire a relay on the IP camera to control Axis but > that's not my preferred solution and I don't even know If I can pause > EMC2 from an external contact ? > > You surely can pause EMC2 from a external contact, but you can do a lot with shell and halcmd also. i ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
