[ Log In ]
[ Register ]

Question #: 3492

Question: On your BOB, which pin outputs a PWM signal?

Current Solution

Yes, you can use any two of the output terminals of the breakout board to control the SuperPID closed loop router controller (a diagram is not needed with these instructions).

One output terminal will be used as an on/off (1/0 or 5v/gnd) that will be invoked with the M3/M4/M5 M-codes in your g-code instructions.

The other terminal will be connected to either another 5v/gnd signal to control speed for 5000/20000 rpm or for PWM output (recommended) for proportional speed control.

To setup this configuration in Mach3, go to your ports and pins dialog box (config menu -> ports and pins). Click on the spindle setup tab. In the Motor Control Section of the dialog, check the box for Use Spindle Motor Output and check the box for PWM control. Change the PWM Base Frequency to 50Hz.

Respond:

Other Possible Solutions to this Question

  • Can the spindle be controlled with a PWM signal or analog signal? Which pin do I assign the spindle control to in LinuxCNC?

    The Spindle can be controlled with either analog (Like with a DAC card) or PWM.

    If your spindle speed is controlled by an analog signal, (for example, by a VFD with a 0 to 10 volt signal) and you’re using a DAC card like the m5i20 to output the control signal:

    First you need to figure the scale of spindle speed to control signal. For this example the spindle top speed of 5000 RPM is equal to 10 volts.

    10 volts / 5000 RPM = .002 volts / 1 RPM

    If you need a spindle enable signal, link your output pin to motion.spindle-on. To link these pins to a parallel port pin put something like the following in your .hal file (net spindle-enable motion.spindle-on => parport.0.pin-14-out), making sure you pick the pin that is connected to your control device.

    Click the link to add information to this solution:
    Can the spindle be controlled with a PWM signal or analog signal? Which pin do I assign the spindle control to in LinuxCNC?

  • Is there a diagram or schematic showing which pin on the 3D printer driver is ABCD?

    You can find a diagram that describes the pin-out for the 2.5 am Driver that is intended for the 3D Printer Main Board, but can be used as a standalone driver as well.

    Additional Information:
    Where is the diagram located?

    Click the link to add information to this solution:
    Is there a diagram or schematic showing which pin on the 3D printer driver is ABCD?

  • WHICH CHEMICAL N ON THE PERIODIC TABLE.

    Nitrogen is the chemical element represented by the symbol N.

    Click the link to add information to this solution:
    WHICH CHEMICAL N ON THE PERIODIC TABLE.

  • ON WHICH CONTINENT THE SAHARA DESERT?

    Africa contains the Sahara Desert.

    Additional Information:

    Click the link to add information to this solution:
    ON WHICH CONTINENT THE SAHARA DESERT?

  • I'VE BUFFERED A PWM SIGNAL TO 0-10V ANALOG AND I WOULD LIKE USE THAT RUN YOUR 110V 2.2KW SPINDLE VFD. COULD YOU PLEASE DETAIL THE CORRECT WIRING VFD SETTINGS GET WORKING?

    This will depend on the VFD you have to identify the correct terminal. The terminal on the VFD will be labeled AI1 typically (Analog Input #1). You will also need to make sure to complete the PWM circuit using the GND terminal on the VFD.

    Additional Information:
    I have wired my 0-10V signal to the AI1 and GND terminals as suggested. I have also set the PD-01 and PD-02 settings to 1. Still nothing. Is there something else that I am missing?

    Additional Information:
    Thanks for the information. Can you let me know the model of the VFD that you have?

    Additional Information:
    VFD Model # YL600-2S-2K20

    Additional Information:
    Thanks. I will check our resources and documentation to see if there is another programming setting that needs to be changed.

    Additional Information:
    Does your VFD have a VI terminal?

    Additional Information:
    No, it does not. The terminals for this VFD are as follows (seperated by dashes "-").

    10V-AI1-AO2-PLC-DI5-DI3-DI1-COM
    AI2-GND-AO1-DI6-DI4-DI2-FM-24V

    Additional Information:
    Do you have a PD070 parameter?

    PD070 is the main Analog Input parameter.

    The options for that parameter is:
    0: 0-10V
    1: 0-5V
    2: 0-20mA
    3: 4-20mA
    4: 0-10V (4-20mA Stacked)
    5: XIA
    6: (VI+XIA)/2
    7: (3VA+XIA)/4
    8: (XIA_XIB)/2
    9: Max (XIA, XIB)
    10: Min (XIA, XIB)


    Additional Information:
    There is a PD-00 thru PD-09. PD-07 is currently set to 0.

    Additional Information:
    It appears that the manual I’m using “Titled YL600” is not the same as your unit. I will check our manuals and find the one that has only PD-00 to PD-09.

    Additional Information:
    For that VFD, the parameters are P0. The 0 may look like a D on the display.

    The parameters that need to be changed for the AI1 to work (Brackets [] around the correct selection):

    P0-01: First Motor Control Mode
    - 0: Sensorless Vector Control
    - 1: Flux Vector Control (FVC)
    - [2]: V/F Control

    P0-02: Options of Command Source
    - 0: Operation Panel Command Channel (LED will be off)
    - [1]: Terminal Command Channel (LED will be on)
    - 2: Communication Command Channel (LED will flicker)

    P0-03: Options of Principle Frequency Source X
    - 0: Digital Setting (Preset Frequency P0-08, UP/DOWN modifiable, no power-down memory)
    - 1: Digital Setting (Preset Frequency P0-08, UP/DOWN modifiable, with power-down memory)
    - [2]: AI1
    - 3: AI2
    - 4: AI3
    - 5: Pulse Setting (DI5)
    - 6: Multi Speed Instruction
    - 7: Simple PLC
    - 8: PID (Proportional Integral Derivative Control)
    - 9: Communication Given

    P0-11: Upper Limit Frequency Source
    - 0: P0-12 (Make sure the P0-12 parameter has the correct max frequency if used)
    - [1]: AI1
    - 2: AI2
    - 3: AI3
    - 4: Pulse Setting
    - 5: Communication Given

    P0-27: Command Source Bundle with Frequency Sources
    Single Digit: Options of Operation Panel Command Bundle with Frequency Sources
    - 0: No Bundling
    - 1: Digital Setting Frequency
    - [2]: AI1
    - 3: AI2
    - 4: AI3
    - 5: Pulse Setting (DI5)
    - 6: Multi Speed Instruction
    - 7: Simple PLC
    - 8: PID
    - 9: Communication Given
    Double Digit: Options of Terminal Command Bundle with Frequency Sources
    Hundred Place: Options of Communication Command Bundle with Frequency Sources
    Kilobit: Options of Automatic Operation Bundle with Frequency Sources

    P2-09: Upper Limit Source of Lower Torque Under Speed Control Mode
    - 0: Function Code P2-10 Setting
    - [1]: AI1
    - 2: AI2
    - 3: AI3
    - 4: Pulse Setting
    - 5: Communication Given
    - 6: MIN (Al1, Al2)
    - 7: MAX (Al1, Al2)
    - Maximum range for options 1-7, accords with P2-10

    If you elect to use a different AI#, then configure the parameters (P0-03, P0-11, P0-27 and P2-09) accordingly.

    Click the link to add information to this solution:
    I'VE BUFFERED A PWM SIGNAL TO 0-10V ANALOG AND I WOULD LIKE USE THAT RUN YOUR 110V 2.2KW SPINDLE VFD. COULD YOU PLEASE DETAIL THE CORRECT WIRING VFD SETTINGS GET WORKING?

  • Are the prices on your website in US dollars?

    Yes, all prices on the website are in US Dollars.

    Click the link to add information to this solution:
    Are the prices on your website in US dollars?

  • On the YL600 VFD which connections are DCM, ACM, V1 & Forward?

    The DCM is DC common, or DC Ground which is used in conjunction with Forward (FWD, or FOR) to start the spindle in the forward direction.

    The ACM is the AC Common, or AC Ground (Alternating current, or in this case, a variable voltage for spindle speed). The ACM is used in conjunction with V1 to provide variable speed for the spindle.

    In order to use the terminals DCM/XGND, FOR/FWD, ACM/GND and V1/VI1, you will need to program the VFD to enable the terminals and disable the control panel.

    YL-600:
    Start/Stop - XGND or COM is paired with FWD or X4 (X5 for Reverse).
    Spindle Frequency: XGND or COM is paired with AI1 and uses a top end of 5VDC

    YL-620:
    Start/Stop - XGND is paired with FWD (REV for reverse)
    Spindle Frequency: GND (not XGND) and VI1.

    The Start/Stop portion of the control panel and terminals is separate from the spindle speed/frequency control panel and terminals. Each of these have a separate programming parameter.

    For the YL-600/620, the P00.01 parameter controls the source of the start/stop function.
    Settings for the P00.01 are:
    0: Control Panel is used and the terminals are disabled.
    1: Terminals are enabled and the Stop on the control panel is still enabled if needed.
    2: Terminals are enabled and the Stop on the control panel is disabled.
    3: Control is sourced from the MODBUS also specified as the RS-485 connection. This would be labeled as RX and TX (Receive and transmit) and uses the UART protocol (serial communication protocol). https://buildyourcnc.com/FAQ/13381 explains this in depth.

    Additional Information:
    DCM is Digital Common, ACM is Analog Common

    Click the link to add information to this solution:
    On the YL600 VFD which connections are DCM, ACM, V1 & Forward?

  • IN WHICH ORGANELLE OF A LIVING CELL DNA FOUND?

    Nucleus is the organelle of a living cell DNA is found.

    Additional Information:


    Additional Information:
    nucleus


    Additional Information:
    qwertyuio

    Click the link to add information to this solution:
    IN WHICH ORGANELLE OF A LIVING CELL DNA FOUND?

  • WHAT IS THE WARRANTY ON YOUR PRODUCTS

    We provide a one year warranty from the date the item is delivered.

    Click the link to add information to this solution:
    WHAT IS THE WARRANTY ON YOUR PRODUCTS

  • WHICH BIGGER, A LAKE OR AN OCEAN?

    An ocean is bigger than a lake.

    Additional Information:


    Additional Information:


    Additional Information:
    An ocean is bigger

    Additional Information:
    An Ocean is larger than a Lake.


    Additional Information:
    An Ocean is larger than a Lake.

    Click the link to add information to this solution:
    WHICH BIGGER, A LAKE OR AN OCEAN?

  • I HAVE YOUR MACH3 USB BOB, DO YOU GUYS SELL A TORCH CONTROL RELAY CAN WIRE UP TO TURN MY PLASMA ON AND OFF HOW WOULD WIFE THAT TOO THIS BOB?

    We do have a relay board that words like a standard relay.

    Here is the URL of the relay board that we offer:

    https://www.buildyourcnc.com/item/electronicsAndMotors-breakout-Relays-relay-board-250V-12A-5V

    Click the link to add information to this solution:
    I HAVE YOUR MACH3 USB BOB, DO YOU GUYS SELL A TORCH CONTROL RELAY CAN WIRE UP TO TURN MY PLASMA ON AND OFF HOW WOULD WIFE THAT TOO THIS BOB?

  • How can I determine which wires on my stepper motor bellong to A+ A- B+ or B-?

    You can use a multimeter to determine the wires of the same coil (i.e A+ and A- belong to he same coil). The wires that are connected on the same coil will have relatively low resistance. A wire from one coil to another coil with have no continuity since the two coils are not touching each other.

    Click the link to add information to this solution:
    How can I determine which wires on my stepper motor bellong to A+ A- B+ or B-?

  • WHICH RAILWAY STATION THE LARGEST IN WORLD?

    Grand Central Terminal, Park Avenue, New York is the largest railway station.

    Click the link to add information to this solution:
    WHICH RAILWAY STATION THE LARGEST IN WORLD?

  • WHICH CONTINENT HAS THE BIGGEST POPULATION?

    Asia has the biggest population.

    Click the link to add information to this solution:
    WHICH CONTINENT HAS THE BIGGEST POPULATION?

  • WHICH TRAVEL FASTER, LIGHT OR SOUND WAVES?

    Light waves travel faster than sound waves.

    Click the link to add information to this solution:
    WHICH TRAVEL FASTER, LIGHT OR SOUND WAVES?

  • WHICH ROCK GROUP DID GEORGE HARRISON BELONG TO?

    George Harrison belonged to The Beatles

    Click the link to add information to this solution:
    WHICH ROCK GROUP DID GEORGE HARRISON BELONG TO?

  • SIGNAL AND 5V POWER WIRING DIAGRAM FOR RELAY USB BR ABOUT BOARD.

    Here is the wiring diagram for the MAch3 USB breakout board:
    https://www.buildyourcnc.com/Documents/Electric%20Wiring%20Diagram.pdf

    You will need 24 volt relays for the output on that board since that side of the board requires 24 volt power at the V+ and V-

    Customer Response:
    My inquiry is for the Planet CNC USB and 5v relays.
    I am 99% finished with my 2 axis lathe build and this is the last item for me to conquer.
    I want to control power to router, and vacuum with the BOB going through the 5V relays purchased on this site.
    Thanks again.

    Using the Mist, spindle or flood pins...

    Buildyourcnc response:
    There is an IN, GND and 5V for the digital side to engage the relay. There is an S, O and P for the power line of the device to be controlled.

    The 5V and GND must be connected to the 5V and GND from the USB board. The IN is the wire from the output terminal (i.e. mist, flood, spindle).

    For the power side, here are the scenarios:
    - P to O connection is normally open
    - P to S connection is normally closed

    So, if you have the power wire that would plug into the wall, the L "black" wire from the power cord will pass through this part of the circuit (cutting the wire and one end in the P terminal and the other end in the O or S terminal). Generally, the P to O is used as this connection is normally open and when the relay is engaged, the circuit will close allowing the current to flow through that wire.

    Click the link to add information to this solution:
    SIGNAL AND 5V POWER WIRING DIAGRAM FOR RELAY USB BR ABOUT BOARD.

  • WHICH COUNTRY HAS THE BIGGEST LAND AREA?

    Russia has the biggest land area.

    Click the link to add information to this solution:
    WHICH COUNTRY HAS THE BIGGEST LAND AREA?

  • BLOOD FILTERED BY WHICH PAIR OF ORGANS?

    Kidneys filter the blood.

    Additional Information:


    Additional Information:


    Additional Information:
    abc

    Additional Information:
    the kidneys

    Click the link to add information to this solution:
    BLOOD FILTERED BY WHICH PAIR OF ORGANS?

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales
Not logged in. Log In Register
Track Order(s)
View Order(s)
I Want to Schecule a One-On-One Paid Tech Support Session
Book an Appointment Pertaining to a BuildYourCNC Product (Free)
Ask a Quesion Below (Free):
Book an Appointment Pertaining Other Equipment ($60/half hour)
Book an Immedite Appointment Pertaining Other Equipment ($120/half hour)
Ask a Quesion Below (Free):
Waiting for response... I may not answer immediately, but I was notified on my cellular phone so my response is forthcoming. If I don't respond immediately, you can always go to the [My Account] page to see all of our chats at any time.