Switching wifi networks
-
@newbee87 said in Switching wifi networks:
as soon as I disconnect and power the CNC on I lose connection and lose DWC on the browser.
Please can you explain what you mean by that. What do you disconnect, and what do you power on that wasn't powered before?
-
@dc42 Sorry if that wasn't clear... I power on the power source for the CNC/board... my understanding was you shouldn't have this turned on whilst connected to board via usb?
-
@droftarts thanks, this is all I have in config.g:
; Configuration file for Duet
; executed by the firmware on start-up
; WorkBee Firmware Version 1.1global systemSettingsVersion={1.2}
; Configuration files
M98 P"config-network.g"
M98 P"config-drives.g"
M98 P"config-axes.g"
M98 P"config-axes-limits.g"
M98 P"config-axes-calibration.g"
M98 P"config-axes-endstops.g"
M98 P"config-probe.g"
M98 P"config-spindle.g"
M98 P"config-laser.g"; Other Settings
M453 ; Put the machine into CNC Modes
G90 ; Set absolute coordinates
M140 H-1 ; Disable heated bed
M564 S1 H1 ; Disable jog commands when not homed
M911 S21.0 R23 P"G91 G1 Z3 F1000" ; Configure power loss resume; User Configuration files
M98 P"config-user-settings.g"M501 ; Load Stored Parameters
As for the commands I'm sending over USB/YAT, I'm connecting to my preferred wifi network fine and DWC is working... albeit temporarily!
-
@newbee87 whats in config-network.g?
-
@jay_s_uk In config-network.g we've got:
; Network configuration executed by config.g
; Configure Connection - ENABLE ONLY ONE OF THE BELOW THREE
M552 S1 ; Enable Wifi Network
;M552 S2 ; Enable Access Point Mode
;M552 S1 P192.168.251.2 ; Enable Ethernet - Change IP Address to suit; Network settings
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Network machine name
M550 P"WorkBee" ; Set machine name -
@newbee87 said in Switching wifi networks:
my understanding was you shouldn't have this turned on whilst connected to board via usb?
You can, but you must be aware of causing a USB ground loop.
https://docs.duet3d.com/en/User_manual/Overview/USB_ground_loops
If you can be sure not to create a ground loop, you can have USB connected when the mainboard is powered from the PSU as well.
This would let you see what is actually happening in normal usage.
The commands in your config-network.g file look correct and should be starting the network and connecting.
Can you also check the LEDs on the board? Particularly can you check that the 5v LED is lit when you are powered from the PSU only.
-
@phaedrux thank you, having looked at the LED's, everything seems to be OK and I have the diagnostic report above. I do however have a flashing red light immediately below the micro USB input... don't know what this is telling me though!
-
@newbee87 said in Switching wifi networks:
I do however have a flashing red light immediately below the micro USB input
Photo? Or can you point it out on the wiring diagram?
You can see a description of the LEDs here: https://docs.duet3d.com/en/User_manual/Troubleshooting/Duet_wont_respond
-
Erm, I can't see any references to the handling of spindles in the upgrade notes!
I have upgraded to 3.4.2 but not run the machine yet. But I am going to do that later today or tomorrow, so I would appreciate it if you could point to where these specific changes are, please?
Thank you
-
@nightowl he was upgrading from 3.3 to 3.4 and there were quite a few changes. 3.4 to 3.4.X there weren't any
-
Awesome, thank you @jay_s_uk
That'll teach me to read things properly!