t=tcpclient('192.168.2.1',23);
writeline(t,"G1 X100");
Just make sure to enable telnet in the config file. and Telnet client in the program features, you can access it from the Control Panel.
t=tcpclient('192.168.2.1',23);
writeline(t,"G1 X100");
Just make sure to enable telnet in the config file. and Telnet client in the program features, you can access it from the Control Panel.
I was able to connect to the board using Telnet. I created the tcpclient with port number 23 and it worked fine. I just had to enable telnet in my board config file.
Thanks everyone. I will leave it here so maybe someone will need it.