linuxcncrsh -- need suggest for chang open prog

More
03 Mar 2016 17:46 #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 or Create an account to join the conversation.

More
03 Mar 2016 20:48 - 03 Mar 2016 20:51 #70991 by dgarrett
The following session worked for me
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:
$ 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:
$ cat l.halshow
pin+motion.analog-out-00
$ halshow l.halshow &
Last edit: 03 Mar 2016 20:51 by dgarrett. Reason: typo
The following user(s) said Thank You: bkt

Please Log in or Create an account to join the conversation.

More
03 Mar 2016 21:22 - 04 Mar 2016 08:26 #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
Last edit: 04 Mar 2016 08:26 by bkt.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum