• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Controlling Integrated Vacuum Generators with PLC , Relay & 6XD

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
3
5
210
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    developeralgo222
    last edited by developeralgo222 26 Mar 2024, 01:06

    @droftarts , @dc42 , @T3P3Tony

    I am working with friend who is helping me through a complex setup of my PnP machine project using Duet 6XD .

    Devices involved:

    • 1 x Duet 6XD (with 24V DC input)

    • 6 x Integrated Vacuum Generators require 24VDC input

    • 1 x PLC ( Mitsubishi FX3U-48MR/ES-A ) with 24VDC input

    • 2 x Phoenix Contact 12V relay ( PLC-RSC-12DC/21 - 2966906 with 2961150 relay )

    we want to know if it possible to get 12V controllable digital outputs that can be used and controlled from Duet 6XD .Is it possible to use OUT 0 - 2 , OUT 3 -5 or OUT 6 - 8 for this . i have attached small diagram on our thought , is this possible or there is an better way to do it

    Is possible to control V_OUTLC1 (12V ) on Duet 6XD by switching it ON and OFF ?

    Please can anyone give us some quick guidance on Duet 6XD 12V controllable outputs

    Connection: Duet 6XD (24V DC input ) ===> 12V Controllable Digital Outputs ===> Phoenix contact 12V relay ===> PLC Inputs ===> Vacuum Generators

    Duet_6XD_PLC_12V_Relay.png

    undefined 1 Reply Last reply 26 Mar 2024, 17:15 Reply Quote 0
    • undefined
      droftarts administrators @developeralgo222
      last edited by 26 Mar 2024, 17:15

      @developeralgo222 If you're basically controlling a 12V relay from a fan output (OUT 3 -5 or OUT 6 - 8), yes, you can do that. OUT 0 - 2 are at VIN voltage, so not suitable to use if VIN is 24V. Set the voltage jumper to 12V for the fan pins you want to use, each bank of fan pins (OUT 3 -5 or OUT 6 - 8 ) can be set to VIN or 12V. Make sure your relays don't draw more current than the 12V regulator can handle.

      The fans aren't a 'digital' ouput, ie they are not an IO port to send digital data over, but they are a PWM output, as well as being on/off. They are switched on the ground side, not the positive side, but this shouldn't matter to a relay.

      What the relay is connected to is somewhat irrelevant; the 6XD is just controlling the relay. For some guidance on connecting a relay, see the heated bed section here: https://docs.duet3d.com/User_manual/Connecting_hardware/Heaters_bed#bed-heater-driven-using-a-solid-state-relay

      Use M950 with P parameter to create an output, control it with M42.

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      undefined 1 Reply Last reply 26 Mar 2024, 17:54 Reply Quote 0
      • undefined
        developeralgo222 @droftarts
        last edited by developeralgo222 26 Mar 2024, 17:54

        @droftarts , great guidance , let's see if we can get it going. As per the documentation the maximum current at 12V should not exceed 800mA ? would something like thise command work ?

        i have updated it to ( outX- , V_OUTLC1 ) and tested it , i am able to switch ON & OFF both Relay R1 and R2

        M950 P0 C"!0.out3" Q500 ; Duet 3 6XD (out3- , V_OUTLC1 ) to Phoenix Contact Relay 1 ( A1+, A2- ). Allocate OUT3 to Relay 1
        M42 P0 S0 ; set 0% PWM on OUT3 out3 pin ( OFF or CLOSE == X6(R1) is ON)
        ;M42 P0 S1 ; set 100% PWM on OUT3 out3 pin ( ON or OPEN == X6(R1) is OFF)
        M950 P1 C"!0.out4" Q500 ; Duet 3 6XD (out4- , V_OUTLC1 ) to Phoenix Contact Relay 2 ( A1+, A2- ). Allocate OUT4 to Relay 2
        M42 P1 S0 ; set 0% PWM on OUT4 out4 pin ( OFF or CLOSE == X7(R2) is ON)
        ;M42 P1 S1 ; set 100% PWM on OUT4 out4 pin ( ON or OPEN == X7(R2) is OFF)
        undefined 1 Reply Last reply 26 Mar 2024, 22:33 Reply Quote 0
        • undefined
          droftarts administrators @developeralgo222
          last edited by 26 Mar 2024, 22:33

          @developeralgo222 Great, glad that worked.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          1 Reply Last reply Reply Quote 0
          • undefined
            o_lampe
            last edited by o_lampe 28 Mar 2024, 07:09

            Hi,
            just a sidenote: I just stumbled across an vacuum generator that works with compressed air. Together with a pneumatic valve it would make a cheap and easy PnP tool.
            No need for an expensive vacuum pump, a single generator will use around 9l/min. Even a cheap airbrush compressor can handle that.
            It's called SMC ZU05S
            I ordered a few variants on aliexpress for ~4€ each to build a vacuum table (video). They are impressivly strong...

            1 Reply Last reply Reply Quote 0
            • undefined Phaedrux marked this topic as a question 28 Mar 2024, 21:04
            • undefined Phaedrux has marked this topic as solved 28 Mar 2024, 21:04
            3 out of 5
            • First post
              3/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA