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

    Glen_Remix

    @Glen_Remix

    3
    Reputation
    5
    Profile views
    17
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Website remixrobotics.com Location London

    Glen_Remix Unfollow Follow

    Best posts made by Glen_Remix

    • RE: Checking Trigger Status

      @jay_s_uk said in Checking Trigger Status:

      @Glen_Remix post an output of M98 P"config.g"
      and I see the .iso thing is specific to the 6XD. thats my new thing learnt today

      M98 P"config.g"
      HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • Connecting IO to 24V PNP PLC outputs

      Hi all,

      I'm working on a project using a Duet3 6XD for motion control for a larger system controlled by a PLC.

      The PLC has 5 24V PNP outputs which trigger macros on the Duet, and 2 inputs from the Duet to indicate 'Busy' and 'Finished' states.

      I have used up all four opto-isolated IO, and need to use three other pins.

      The datasheet states that the Input pins are +30V tolerant. Does this mean that I can connect the IO GND pin to the PLC 0V and the ioX.in pin to the PLC Output? Does this require anything else to avoid damaging the Duet?

      The PLC output is up to 0.5A per channel.

      Any advice would be greatly appreciated.

      Thanks,
      Glen

      posted in Duet Hardware and wiring
      Glen_Remixundefined
      Glen_Remix
    • RE: Duet3 MB 6XD - CAN0/CAN1 function?

      @jay_s_uk Thanks for your speedy reply!

      Looks like I'll have to do some rearranging to reach that port.

      Thanks!

      posted in Duet Hardware and wiring
      Glen_Remixundefined
      Glen_Remix

    Latest posts made by Glen_Remix

    • RE: Duet 3 getting stuck during macros

      @Glen_Remix the 1HLC looks like it might have an under-voltage error which might be causing this?

      Is there anything else that jumps out in the log as maybe a clue?

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • RE: Duet 3 getting stuck during macros

      So I got the error just now. Attached are the M122 outputs of both the 6XD mainboard and one of the 1HCL toolboards.

      Thanks for your help,
      Glen

      M122 B6XD.txt
      M122 1HCL.txt

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • RE: Duet 3 getting stuck during macros

      @dc42 said in Duet 3 getting stuck during macros:

      @Glen_Remix try sending M122 when it gets stuck and post the result here.

      When using more than one trigger as youvare doing, you should allow for the fact that only one trigger can execute at a time, except for trigger 0 (emergency stop) which can interrupt the macro for another trigger.

      We're running a load of tests today, I will upload the M122 result when it comes up.

      The PLC side of the code is meant to wait until the "done" bit is received until it sends any more triggers, but I can double-check with our control engineer if that's definitely true.

      Is there any M400 equivalent for macros? I've added M99 to the end of each macro so that it's definitely ended before it starts a new one, but that doesn't seem to have helped.

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • RE: Duet 3 getting stuck during macros

      @chrishamm
      RepRapFirmware for Duet 3 MB6XD version 3.4.2rc1 (2022-07-06 16:23:35) running on Duet 3 MB6XD v1.0 or later (standalone mode)

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • RE: Duet 3 getting stuck during macros

      Some further info:

      This time the delta seems to have frozen at its top, hard against its endstops, as if its homing but hasn't triggered the switches.

      It also makes this jittering noise that you can hear in the video below.

      https://photos.app.goo.gl/cEgmyTqrEsWX6Vpn6

      The motors are attached to 1HCL boards, but are in open-loop mode.

      The board status is idle.

      To rectify this, I have to send M999 then home all.

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • Duet 3 getting stuck during macros

      trigger7.g trigger6.g trigger5.g trigger4.g trigger3.g config.g Hi all,

      I'm using a Duet 3 6XD to motion control a delta robot as part of a larger system. The duet receives input triggers from a PLC to run macros. The macros are a couple of lines of movements, along with a "busy bit" which is high for the duration of the macro, and a "done bit" which is on for half a second at the end of the macro to signal to the PLC that the move is complete.

      I'm having an issue in that the duets seem to randomly get stuck during this routine. They stop responding to inputs, and when I connect via DWC, I am unable to interact with the duet without sending M999 to reset the board. I then need to home the robot, and send M582 to check the trigger status.

      I have attached my config and macro files.

      Any ideas as to what I can look into to resolve this problem would be greatly appreciated.

      Thanks,
      Glen
      config.g
      trigger7.g trigger6.g trigger5.g trigger4.g trigger3.g

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • RE: Checking Trigger Status

      @jay_s_uk said in Checking Trigger Status:

      @Glen_Remix post an output of M98 P"config.g"
      and I see the .iso thing is specific to the 6XD. thats my new thing learnt today

      M98 P"config.g"
      HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • RE: Checking Trigger Status

      @jay_s_uk I believe this is to specify the use of the opto-isolated IO pins, rather than the general IO pins.

      I very well could be wrong though.

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • RE: Checking Trigger Status

      @OwenD thanks for your reply.

      I don't seem to have 'object model' as an option in the sidebar.

      How would I enable this option?

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix
    • Checking Trigger Status

      Good morning,

      Apologies if this has been explained elsewhere but I haven't been able to find a solution.

      I'm using IO inputs to trigger macros.

      I'm running into some issues and it would be really helpful to be able to check the status of the IO inputs to understand why the machine is doing (or not doing!) what I expect.

      I have the IO setup as follows on my 6XD:

      M950 J2 C"!io5.in.iso" ;Delta Move 1
      M581 P2 T5 S1 R0
      M950 J3 C"!io6.in.iso" ;Delta Move 2
      M581 P3 T3 S1 R0
      M950 J4 C"!io7.in.iso" ;Delta Move 3
      M581 P4 T6 S1 R0
      M950 J5 C"!io8.in.iso" ;Delta Move 4
      M581 P5 T4 S1 R0
      M950 J6 C"!io0.in" ;Delta Move 5
      M581 P6 T8 S1 R0

      I have tried M582 Tx to check the trigger status, but this command just seems to trigger the Macro, rather than checking the input for the trigger.

      M409 also comes back Null.

      Any help with this would be greatly appreciated.

      Thanks!

      posted in General Discussion
      Glen_Remixundefined
      Glen_Remix