Some progress - all motors running fine, tested using the LCD/control and from bCNC software on my computer. Next I have to study the rest of the firmware settings + try if I can control my Toshiba VFD using rs232
Is there software like the bCNC where I can connect using Ethernet?
Pendant is a nice feature available in bCNC that consists of simple web pages running silently in background that allow easy remote control of your machine.
How to access
Open your web browser to the link http://IP:8080 where IP is the ip addres where bCNC is running. If you want to have a test in the same machine bCNC is running you can use http://localhost:8080.
If you use this feature from your cabled/wireless network pc/table you need to know the ip address where bCNC is running. It’s usually four numbers, e.g., 192.168.0.100 but the actual numbers change based on many factors. To find them in windows os you can use ipconfig command; in unix you can use ifconfig (but you should already know that
Accessing pendant from an external network involves configuring your router by port forwarding the external request to bCNC. This is unsafe if managed in an improper way and it’s beyond the scope of this wiki.
Using pendant
After the page is loaded you’ll see some familiar buttons with the same functionality of the usual interface. Enjoy the progress of your work comfortably away from the computer bCNC is running on.
It’s also possible to use pendant to upload a file to the host pc running bCNC. There is a “select file” button that will open a file chooser Dialog. This will allow you to browse the local file system and, once confirmed, will upload the file to a user folder in the remote pc. If bCNC is not already running, the new file will be automatically loaded, ready to be launched.
It’s an easy way to move file from a cam station to bCNC without configuring shared folder or using a usb key.
Camera live stream
Accessing to http://IP:8080/camera.html you can enjoy also a remote video of your camera if you installed opencv dependency.
Configuring
You can stop running the pendant function or specify a different listening port using the Configuration file.
Under the hood
Pendant works thanks to a local web server created by bCNC. It also accepts a couple of special requests:
/send?cmd=xxx as something being typed from the command line
/send?gcode=xxx send gcode directly to the machine, multiple lines with %0D
/state return the position and state of the machine as json
/config returns the rpmmax of the spindle
/icon?name serve any icon name.gif file from the icons folder
/ return the index.html
@Brad_Cahoon If I get this correct, pendant is a way to connect to the computer running bCNC using ethernet if I install the pendant on the computer that is connected to my controller using USB/serial?
But I want to use ethernet between the controller and my computer, not the USB cable that I use today. I do not know if bCNC support this?
@Oyvind_Amundsen it’s a smoothie feature so yes you should be able to. (I manage my K40 laser via ethernet from my main PC in a other room). but @raykholo would be able to confirm via the ethernet adaptator. (wifi)
@StephaneBUISSON I have the Ethernet module, but I do not know if bCNC can connect with the controller using Ethernet. If not - any other CNC milling software that support smoothieware and Ethernet connection?
@Peter_Fouche
Yeah I usually build from the back forward myself. So power comes in the back, then you have the PSU in the background, and the active circuitry in the foreground. That just seems like how everyone does it. Here the flow seems more away from the observer.