Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. kbjpick
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 16
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by kbjpick

    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      With invaluable assistance from this Forum, in particular @droftarts for which many thanks – I finally have a communication established between my MBP and the Workbee Duet board! Still some way to go in setting it up and calibrating it but…!

      I selected Ethernet as the connection method, in belief that with suspect WIFI availability in my garden located workshop, the use of a direct cabled connection would be more robust. However, the 2017 MBP lacks a direct Ethernet port, so I elected to use an USB to Ethernet Fast Ethernet connector. The initial issue was a compounding of my ignorance of the MBP Network Address system and poorly worded instructions (IMHO), together with an uncertainty whether the connections, both USB and Ethernet were working as intended or the Duet board was faulty i.e. when it doesn’t behave per the written instruction – which element is at fault -me, or the ‘bits’?

      Notwithstanding, over the next week and with the help of the Forum as above, progress was made in educating me as to the mysteries of Network Addresses. The breakthrough was in discovering how to configure the address for the Ethernet adapter AND finding how to edit the as-delivered SD card config.g file. My son-in-law and a Windows machine provided an easier way to configure the Duet SD card config.g file and then I was able to connect the MBP to prove that either of the computers would jog the Workbee.

      @droftarts suggested I post the config.g file which whilst no doubt containing some redundant lines/instructions, DOES work for me and may prove of assistance to those of a similar level of inexperience as myself!

      Config.g File below

      ; Configuration file for factory testing Duet Ethernet and Wifi with V2.03 firmware


      FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer!


      ; Communication and general
      M111 S0 ; Debug off
      M550 PDuetTest ; Machine name and Netbios name (can be anything you like)
      M551 Preprap ; Machine password (used for FTP)

      *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM
      M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
      M552 P192.168.2.3 S1 ; IP address
      M553 P255.255.255.0 ; subnet mask
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ;*** End of factory test lines to be removed

      ;*** Networking
      M552 S1 ; Turn network on

      M555 P2 ; Set output to look like Marlin
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      ; Disable Fan 1 thermostatic mode
      M106 P1 H-1

      ; Axis and motor configuration
      M569 P0 S1 ; Drive 0 goes forwards
      M569 P1 S1 ; Drive 1 goes forwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S1 ; Drive 3 goes forwards
      M569 P4 S1 ; Drive 4 goes forwards
      M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
      ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
      M665 R105.6 L215.0 B85 H250 ; set delta radius, diagonal rod length, printable radius and homed height
      M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
      M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation
      M92 X80 Y80 Z80 ; Set axis steps/mm
      M906 X1000 Y1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60%
      M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
      M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
      M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute

      ; Thermistors
      M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
      M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction
      M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correction

      M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

      ; Adjustments for dummy heaters on test rig
      M307 H0 A250 C140 D5.5 B1
      M307 H1 A250 C140 D5.5 B0
      M307 H2 A250 C140 D5.5 B0

      ; Fans
      M106 P1 S-1 ; disable thermostatic mode for fan 1

      ; Tool definitions
      M563 P0 D0 H1 ; Define tool 0
      G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
      ;*** If you have a single-nozzle build, comment the next 2 lines
      M563 P1 D1 H2 ; Define tool 1
      G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
      M92 E80:80 ; Set extruder steps per mm

      ; Z probe and compensation definition
      ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command.
      M558 P5 F100 T6000 X0 Y0 Z0 H3 ; Z probe is a Smart Effector and is not used for homing any axes R0.4 not used. Reduced F300 to 100
      G31 P100 X0 Y0 Z-0.25 ; Set the zprobe height and threshold for Smart Effector

      ;*** If you are using axis compensation, put the figures in the following command
      M556 S78 X0 Y0 Z0 ; Axis compensation here

      M208 S1 Z-0.2 ; set minimum Z

      T0 ; select first hot end
      ; M117 Use https://configurator.reprapfirmware.org/ to set up your printer config

      The MBP Network page, with the USB/Ethernet Adapter identified itself as ‘AX88x72A’ and I selected the ‘Configure IPv4:” to “Manually’
      IP address 192.168.2.2 and Subnet Mask to ‘255.255.255.0’
      The M552 P192 168.2.3 S1 line entered via the use of the MBP TextEdit app in the config.g file points to the solution for the successful connection! Remember to Save It to the SD Card!

      Learnt a lot – know how little I know @kbjpick

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      @Phaedrux Forgive my naive question, but where do you see the MBP address is 192.168.1.103?

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Per discussion, herewith is config.g file on SD card after editing per suggestion above.
      ; Communication and general
      M111 S0 ; Debug off
      M550 PDuetTest ; Machine name and Netbios name (can be anything you like)
      M551 Preprap ; Machine password (used for FTP)

      *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM
      M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
      M552 P192.168.2.3 S1 ; IP address
      M553 P255.255.255.0 ; subnet mask
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet
      M554 P192.168.1.255 ; Gateway
      M553 P255.255.255.0 ; Netmask

      ;*** End of factory test lines to be removed

      ;*** Networking
      M552 S1 ; Turn network on

      M555 P2 ; Set output to look like Marlin
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      ; Disable Fan 1 thermostatic mode
      M106 P1 H-1

      ; Axis and motor configuration
      M569 P0 S1 ; Drive 0 goes forwards
      M569 P1 S1 ; Drive 1 goes forwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S1 ; Drive 3 goes forwards
      M569 P4 S1 ; Drive 4 goes forwards
      M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
      ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
      M665 R105.6 L215.0 B85 H250 ; set delta radius, diagonal rod length, printable radius and homed height
      M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
      M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation
      M92 X80 Y80 Z80 ; Set axis steps/mm
      M906 X1000 Y1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60%
      M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
      M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
      M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute

      ; Thermistors
      M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
      M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction
      M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correction

      M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

      ; Adjustments for dummy heaters on test rig
      M307 H0 A250 C140 D5.5 B1
      M307 H1 A250 C140 D5.5 B0
      M307 H2 A250 C140 D5.5 B0

      ; Fans
      M106 P1 S-1 ; disable thermostatic mode for fan 1

      ; Tool definitions
      M563 P0 D0 H1 ; Define tool 0
      G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
      ;*** If you have a single-nozzle build, comment the next 2 lines
      M563 P1 D1 H2 ; Define tool 1
      G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
      M92 E80:80 ; Set extruder steps per mm

      ; Z probe and compensation definition
      ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command.
      M558 P5 F100 T6000 X0 Y0 Z0 H3 ; Z probe is a Smart Effector and is not used for homing any axes R0.4 not used. Reduced F300 to 100
      G31 P100 X0 Y0 Z-0.25 ; Set the zprobe height and threshold for Smart Effector

      ;*** If you are using axis compensation, put the figures in the following command
      M556 S78 X0 Y0 Z0 ; Axis compensation here

      M208 S1 Z-0.2 ; set minimum Z

      T0 ; select first hot end
      ; M117 Use https://configurator.reprapfirmware.org/ to set up your printer config

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Today's report. 5-Port Desktop Gigabit Ethernet Switch arrived albeit later than promised, and whilst working, it makes no difference to the communication between the Duet and the Mac, in that sending the command of ping 192.168.2.3 reports no response. I confirmed pre and post this activity that the address of the Duet WAS 192.168.2.3. I also connected the Mac to the router; changed the network settings from manual to DCHP and confirmed an IP address WAS assigned.
      BC245E96-19F0-4F89-BE41-0DBC1EC53801.jpeg
      Following suggestion that .."next thing is to show a directory listing of the SD card" please see image of my Card in juxtaposition to the example provided - a simple observation is that there appears to be less files than the example?
      295E5965-EF6C-4EA6-92E3-6586C6A52A40.jpeg
      Does the above provide any avenues for further investigation? Is it possible that whilst much of the Duet board is working, that the Ethernet 'module' is faulty? I have spent more time in connecting to a machine than the time taken to build it, but, I continue to welcome and appreciate your support in this. Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Ian Exposing all my ignorance here I know but, not sure what an ethernet Hub is? Google suggests one of these "TP-Link TL-SG105S 5-Port Desktop Gigabit Ethernet Switch/Hub, Ethernet Splitter, Plug & Play, no configuration required,' so have ordered it on Prime for delivery tomorrow. If this is not what you meant, please advise and I will order one. Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Ian photos of connections as requested
      IMG_2502.jpeg IMG_2501.jpeg
      Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      @droftarts said in Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro:

      ping 192.168.2.3

      My Mac/Apple education is leaping ahead! I never knew that there was more than one 'Terminal'! I am also appreciating the need to be LITERAL in reading instructions - Command n does not open a Terminal window - but 'Command-n' does! I have attached E579F503-EB44-41AB-9CBF-5FC91AB9A8DA.jpeg the result of the ping 192.168.2.3 command. Even to my uneducated eye it appears something is awry? Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      @droftarts said in Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro:

      ping 192.168.2.3

      Ian, have attached screen dump of Terminal confirming via M552 that the Duet's IP address is set to 192.168.2.3. Running ping 192.168.2.3 produces display on Terminal of "Bad command: ping 192.168.2.3" Does this help?
      58EF1826-FEFD-4989-BAF8-A9AF23715532.jpeg
      Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      @droftarts Thanks for quick reply, please see screen dump of your request and snapshot of my relevant network page

      2848269E-2ED3-4DE2-B784-3EB320BB15ED.jpeg

      It appears identical. Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Thanks again for your patience - completed instructions as above and confirmed via M552 that network IS operative and Duet address is as follows " Network is enabled, configured IP address: 192.168.2.3, actual IP address: 192.168.2.3
      ok"
      However, when using chrome and entering "192.168.2.3" into search bar, I receive the following message "This site can’t be reached192.168.2.3 took too long to respond.
      Try:
      Checking the connection
      Checking the proxy and the firewall
      ERR_CONNECTION_TIMED_OUT"

      As I commented in an earlier post, The Firewall is not activated and there are no Proxies, and I have tried this with another MacBook with same results. Is there anything further I can attempt. Regards Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      @droftarts Following latest instructions - Query why or what does having the Ethernet cable connecting Duet and Mac as above actually do when mains power is not connected?
      However, as instructed, I left the Ethernet cable connected and I plugged in the USB to Duet and Mac and the Duet duly powered up and confirmed that sending M552 P192.168.2.3 S1 had changed the Duet IP address to 192.168.2.3 by querying with M552. So far so good!
      So, I now have the Ethernet connected to the Mac and Duet as well as the USB connection but with no mains power given stricture of not having mains power connected when USB connection is made between Duet and computer.
      Again, following your instructions, I open Chrome browser on Mac and enter 192.168.2.3 into the address bar - no connection and search times out. The Firewall is not activated and there are no Proxies.
      I tried this with another MacBook with same results.
      Precis - I can change IP on Duet but still am unable to connect to it to change config. g file - with apologies for verbosity to avoid confusion - any suggestions please. Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      @bearer Having returned to home turf, I have spent afternoon trying suggestions listed above. Summary is that whilst I can see the UNPOWERED Duet via 'System Information' when connected via simple USB - but not when I then connect to the powered Duet via either a USB/Ethernet or a Thunderbolt/Ethernet connector!
      Workbee with USB Connected shows Duet.png
      Workbee with Thunderbolt Ethernet connected does NOT show Duet.png
      You suggested "share the output of ifconfig for the external thunderbolt network when the Duet is connected and powered on." `and I have attached the file recording the result and hope this makes more sense to you than it does to me! Result of ifconfig with Thunderbolt to Gig Ethernet Adapter and Duet connected.docx
      The final item of information is that given there are four (4) connectors to the motors at the top of the Duet board, only three (3) of them illuminate when power is applied? The Y axis Right does NOT illuminate. The other three go out when the relevant limit switch is operated - I'm not sure why one should be out when the other three are on, but I can't see how this would effects the comms?

      Please accept my thanks to all of you who are contributing to my education. Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Hi - thank you for your input - I am away from the house for 10 days from tonight and will implement your suggestions on my return and revert with the findings - again many thanks and will liaise on my return. I have tried to re-assure myself that the board IS working and am also trying to identify what all the LEDs mean! In the land of the blind etc...

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Ian - slow response from me I'm afraid as I get confused easily these days! Answering your question - yes Mac IS connected to Wifi and identifies address of MBP (MacBook Pro) as 192.168.1.125. The 'Advanced' tab further identifies the Subnet Mask as 255.255.255.0 and the router as 192.168.1.254.
      Going to an earlier process - connection of the USB cable alone and using Terminal and M115 identifies the Firmware as V 2.03, i.e the Duet boars IS responding. M552 returns an IP address (I am assuming of the Duet board ?) of 192.168.1.14
      Using Terminal on the MBP i.e. ipconfig getifaddr en0 returns the IP address of the MBP as 192.168.1.125 as above.
      The Thunderbolt Ethernet connection connects with 'Configure Ipv4: Using DHCP using address 169.254.79.162 Subnet Mask 255.255.0.0
      Is this where I should enter an IP address via the Configure IPv4: Manually ?
      and if so - whilst you say make it different - the guides are unclear as HOW different!
      I acknowledge my unfamiliarity with Mac and addresses but the next step seems to be buy a Windows computer as the guides seem simpler. From the above are you able to a/ confirm I need enter an IP address via the Configure IPv4: Manually boxes and b/ what address do I enter into Chrome to gain access to the Webcontrol page? With the Ethernet cable connected the Terminal commands return "command not found" so I can't even see the Duet board at all. Very complicated for a Newbie. Thanks for any light you are able to shed on this - thanks Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • RE: Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Many thanks for alacrity of response. Yes, I am trying to connect Duet directly into MacBook as Wi-Fi is non-existent at location of Workbee. The need to use an adapter as the MBP does not have an Ethernet port exacerbates confusion for me. I will examine the guide you have identified overnight and see if it becomes clearer. I appreciate your help - Ken

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick
    • Newbie connecting Workbee Duet 2 via Ethernet To MacBook Pro

      Can anyone help please? Having built Workbee am trying to connect Duet via Ethernet cable and Thunderbolt to Gigabyte Adapter to MacBook Pro. USB setup worked fine, however having removed USB connector and connected Ethernet cable and powered Duet, again all fine and M552 command confirms Network enabled and connected to correct IP address - however, when I open Chrome and enter IP address assigned to Duet, whilst the comms lights flash on the Duet board Ethernet connector, the Mac reports “This site cannot be reached” !! Can anyone shed any light as to my error(s) ? Thank you

      posted in Duet Hardware and wiring
      kbjpickundefined
      kbjpick