linuxcncrsh -- need suggest for chang open prog

More
10 years 7 months ago #70984 by bkt
I read the doc .... set open command is usable only for 1 program at session .... than I can restart linuxcncrsh with other ini file with different base program in ini file ...... but I seeking a way to do these without restart linuxcncrsh session ....

some suggest?

regards
Giorgio

Please Log in to join the conversation.

More
10 years 7 months ago #70991 by dgarrett
The following session worked for me
Code:
telnet localhost 5007 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. hello EMC me 1 HELLO ACK i 1.1 set enable EMCTOO set enable EMCTOO set echo off set echo off set estop off set machine on set mode auto set open /tmp/1.ngc set run 1 set open /tmp/2.ngc set run 1

I use the following simple ngc files for testing:
Code:
$ cat /tmp/1.ngc (debug, 1.ngc) m68 e0 q1.1111 ;set pin motion.analog-out-00 m2 $ cat /tmp/2.ngc (debug, 2.ngc) m68 e0 q2.2222 ;set pin motion.analog-out-00 m2

and monitor the running program with halshow using:
Code:
$ cat l.halshow pin+motion.analog-out-00 $ halshow l.halshow &

Please Log in to join the conversation.

More
10 years 7 months ago #70994 by bkt
Real tanks ..... but the doc report command "open" not be used to close program. Than with these limit run only 1program per session.

I'm glad I misunderstood....

Regards
Giorgio

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum