error running telnet using linuxcncrsh

More
10 Feb 2025 14:16 #321160 by noqui
Hi,to my hal file: loadusr -W hal_manualtoolchangenet tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared loadusr linuxcncrsh -n --name localhost, -p , --port 5007 I added the line in bold at the end of my hal file, and there didn't appear any error when I ran the CNC manually the Axis Gui. Everything works. But when i tried to run in this command "telnet localhost 5007", through the Terminal i got this error:Trying ::1...
Connection failed: Conexión rehusada
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]' I am using parallel port 0x378 What is missing or is wrong?Thanks a lot.

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

More
10 Feb 2025 22:16 #321188 by noqui
Replied by noqui on topic error running telnet using linuxcncrsh
Hi,
to my hal file: loadusr -W hal_manualtoolchangenet tool-change iocontrol.0.tool-change => hal_manualtoolchange.change net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

I added this line: "loadusr linuxcncrsh -n --name localhost, -p , --port 5007" at the end of my hal file, and there didn't appear any error when I ran the CNC manually the Axis Gui. Everything works. But when i tried to run in this command "telnet localhost 5007", through the Terminal I got this error:Trying ::1...
Connection failed: Conexión rehusada
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]' I am using parallel port 0x378 What is missing or is wrong?Thanks a lot.

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

More
11 Feb 2025 01:28 #321203 by noqui
Replied by noqui on topic error running telnet using linuxcncrsh
Finally I got it. 6 Axis working from telnet. Before I missed to start the inetd.

my code:
xxxx@zzzz# sudo systemctl start inetd
xxxx@zzzz# telnet localhost 5007
Trying ::1...
Connection failed: Conexión rehusada
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
hello EMC user-typying-at-telnet 1.0
HELLO ACK --name 1.1
set enable EMCTOO
set enable EMCTOO
set mode manual
set mode manual
SET MODE NAK
set estop off
set estop off
set machine on
set machine on
set home 0
set home 0
set home 1
set home 1
set home 2
set home 2
set home 3
set home 3
set home 4
set home 4
set home 5
set home 5
set mode mdi
set mode mdi
set mdi G0 X10
set mdi G0 X10
set mdi G0 Z10
set mdi G0 Z10
set mdi G0 A50
set mdi G0 A50
set mdi G0 B50
set mdi G0 B50
set mdi GO C50
set mdi GO C50
set mdi g0 C50
set mdi g0 C50
set mdi g0 X0 Z0 A0 B0 C0
set mdi g0 X0 Z0 A0 B0 C0

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

Time to create page: 0.076 seconds
Powered by Kunena Forum