Ah, exactly the information I was looking for. Are there any timing restrictions associated with these commands or can the whole set be dumped to the port all at once?
On 3/10/2013 3:23 PM, Eric H. Johnson wrote: > Norton, > > Emcrsh / linuxcncrsh looks like it will do what you want. Prior to version > 2.5 it is emcrsh, 2.5 and later it is linuxcncrsh. You simply need to do an > 'enable', then set the 'mode' to MDI, and finally issue the MDI commands. > For example: > > telnet <machine address> 5007 > > hello EMC x 1.0 > set echo off > set enable <password> // default EMCTOO > set mode mdi > set mdi G0 X0 > set mdi G0 X63.85 > quit > > Note: Depending on what you are doing you may need to set mode back to > manual or auto once you are done. > > Regards, > Eric > > I am new to EMC. I am the software guy responsible for automating operation > of a simple mechanical device. The folks who created it, set it up with a > stepper motor connected to the parallel port of a Linux box running EMC. > There are two commands implemented via buttons in Axis: > "Open" and "Close". These boil down to: > > [HALUI] > MDI_COMMAND = G0 X0 > MDI_COMMAND = G0 X63.85 > > I need to be able to execute these commands under program control (not with > a mouse click). Is there a straightforward way to issue these commands via, > say, emcrsh (or is it linuxcncrsh?) or via a command line, perhaps using > halcmd? The overall control for this system is on a separate computer, so > these commands need to be issued via TCP/IP or ssh. > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users