Welcome to Our Community

Some features disabled for guests. Register Today.

H100 VFD 220V 2.2Kw

Discussion in 'Controller Boards' started by Bloch, Feb 19, 2024.

  1. Bloch

    Bloch New
    Builder

    Joined:
    May 2, 2023
    Messages:
    7
    Likes Received:
    0
    Hey guys.

    I have a small issue with this new setup. Im running grblhal on a teensy 4.1. When i first got it hooked up, i had it working when enabling the spindle manually in openbuilds. It start the spindle with this command if choosing 100 percent. S1000M3. Perfect, it runs.

    But my gcode generated from Aspire choose rpm, like this. S24000M3.

    So i went in a changed $30 to $30=24000. Now it says RPM instead of PWM. And it doesnt turn on at all...

    Im a little stuck right now! I know it works, but i messed it up even more than before..

    Help! :)
     
    #1 Bloch, Feb 19, 2024
    Last edited by a moderator: Feb 19, 2024
  2. Bloch

    Bloch New
    Builder

    Joined:
    May 2, 2023
    Messages:
    7
    Likes Received:
    0
    [09:28:33] [ ] GrblHAL 1.1f ['$' or '$HELP' for help]

    [09:28:36] [ $$ ] $0=10.0 ;Step pulse time, microseconds

    [09:28:36] [ $$ ] $1=25 ;Step idle delay, milliseconds

    [09:28:36] [ $$ ] $2=0 ;Step pulse invert, mask

    [09:28:36] [ $$ ] $3=5 ;Step direction invert, mask

    [09:28:36] [ $$ ] $4=0 ;Invert step enable pin, boolean

    [09:28:36] [ $$ ] $5=0 ;Invert limit pins, boolean/mask

    [09:28:36] [ $$ ] $6=1 ;Invert probe pin, boolean

    [09:28:36] [ $$ ] $9=1 ;PWM Spindle as bitfield where setting bit 0 enables the rest

    [09:28:36] [ $$ ] $10=511 ;Status report options, mask

    [09:28:36] [ $$ ] $11=0.010 ;Junction deviation, millimeters

    [09:28:36] [ $$ ] $12=0.002 ;Arc tolerance, millimeters

    [09:28:36] [ $$ ] $13=0 ;Report in inches, boolean

    [09:28:36] [ $$ ] $14=6 ;Limit pins invert, mask

    [09:28:36] [ $$ ] $15=0 ;Coolant pins invert, mask

    [09:28:36] [ $$ ] $16=0 ;Spindle pins invert, mask

    [09:28:36] [ $$ ] $17=0 ;Control pins pullup disable, mask

    [09:28:36] [ $$ ] $18=0 ;Limit pins pullup disable, mask

    [09:28:36] [ $$ ] $19=0 ;Probe pin pullup disable, boolean

    [09:28:36] [ $$ ] $20=0 ;Soft limits enable, boolean

    [09:28:36] [ $$ ] $21=1 ;Hard limits enable, boolean

    [09:28:36] [ $$ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [09:28:36] [ $$ ] $23=3 ;Homing direction invert, mask

    [09:28:36] [ $$ ] $24=50.0 ;Homing locate feed rate, mm/min

    [09:28:36] [ $$ ] $25=2000.0 ;Homing search seek rate, mm/min

    [09:28:36] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds

    [09:28:36] [ $$ ] $27=3.000 ;Homing switch pull-off distance, millimeters

    [09:28:36] [ $$ ] $28=0.100 ;G73 retract distance, in mm

    [09:28:36] [ $$ ] $29=0.0 ;Step pulse delay (ms)

    [09:28:36] [ $$ ] $30=24000.000 ;Maximum spindle speed, RPM

    [09:28:36] [ $$ ] $31=1000.000 ;Minimum spindle speed, RPM

    [09:28:36] [ $$ ] $32=0 ;Laser-mode enable, boolean

    [09:28:36] [ $$ ] $33=5000.0 ;Spindle PWM frequency

    [09:28:36] [ $$ ] $34=0.0 ;Spindle off Value

    [09:28:36] [ $$ ] $35=0.0 ;Spindle min value

    [09:28:36] [ $$ ] $36=100.0 ;Spindle max value

    [09:28:36] [ $$ ] $37=0 ;Stepper deenergize mask

    [09:28:36] [ $$ ] $39=1 ;Enable printable realtime command characters, boolean

    [09:28:36] [ $$ ] $40=0 ;Apply soft limits for jog commands, boolean

    [09:28:36] [ $$ ] $43=1 ;Homing passes

    [09:28:36] [ $$ ] $44=4 ;Homing cycle 1

    [09:28:36] [ $$ ] $45=3 ;Homing cycle 2

    [09:28:36] [ $$ ] $46=0 ;Homing cycle 3

    [09:28:36] [ $$ ] $62=0 ;Sleep Enable

    [09:28:36] [ $$ ] $63=3 ;Feed Hold Actions

    [09:28:36] [ $$ ] $64=0 ;Force Init Alarm

    [09:28:36] [ $$ ] $65=0 ;Require homing sequence to be executed at startup

    [09:28:36] [ $$ ] $100=101.79000 ;X-axis steps per millimeter

    [09:28:36] [ $$ ] $101=79.94000 ;Y-axis steps per millimeter

    [09:28:36] [ $$ ] $102=401.79000 ;Z-axis steps per millimeter

    [09:28:36] [ $$ ] $110=5000.000 ;X-axis maximum rate, mm/min

    [09:28:36] [ $$ ] $111=5000.000 ;Y-axis maximum rate, mm/min

    [09:28:36] [ $$ ] $112=2000.000 ;Z-axis maximum rate, mm/min

    [09:28:36] [ $$ ] $120=100.000 ;X-axis acceleration, mm/sec^2

    [09:28:36] [ $$ ] $121=100.000 ;Y-axis acceleration, mm/sec^2

    [09:28:36] [ $$ ] $122=50.000 ;Z-axis acceleration, mm/sec^2

    [09:28:36] [ $$ ] $130=1300.000 ;X-axis maximum travel, millimeters

    [09:28:36] [ $$ ] $131=2300.000 ;Y-axis maximum travel, millimeters

    [09:28:36] [ $$ ] $132=250.000 ;Z-axis maximum travel, millimeters

    [09:28:36] [ $$ ] $341=0 ;Tool Change Mode

    [09:28:36] [ $$ ] $342=30.0 ;Tool Change probing distance

    [09:28:36] [ $$ ] $343=25.0 ;Tool Change Locate Feed rate

    [09:28:36] [ $$ ] $344=200.0 ;Tool Change Search Seek rate

    [09:28:36] [ $$ ] $345=200.0 ;Tool Change Probe Pull Off rate

    [09:28:36] [ $$ ] $346=1 ;Restore position after M6 as boolean

    [09:28:36] [ $$ ] $370=0 ;Invert I/O Port Inputs (mask)

    [09:28:36] [ $$ ] $372=0 ;unknown

    [09:28:36] [ $$ ] $384=0 ;Disable G92 Persistence

    [09:28:36] [ $$ ] $398=35 ;Planner buffer blocks

    [09:28:36] [ $$ ] $481=0 ;Autoreport interval in ms

    [09:28:36] [ $$ ] $484=1 ;unknown

    [09:28:36] [ $$ ] $486=0 ;unknown

    [09:28:36] [ $$ ] ok

    [09:28:36] [ $I ] [VER:1.1f.20231229:]

    [09:28:36] [ $I ] [OPT:VNMSL,35,1024,3,0]

    [09:28:36] [ $I ] [AXS:3:XYZ]

    [09:28:36] [ $I ] [NEWOPT:ENUMS,RT+,HOME,ES,REBOOT,SED,RTC]

    [09:28:36] [ $I ] [SIGNALS:HSE]

    [09:28:36] [ $I ] [FIRMWARE:grblHAL]

    [09:28:36] [ $I ] [NVS STORAGE:*FLASH]

    [09:28:36] [ $I ] [FREE MEMORY:492K]

    [09:28:36] [ $I ] [DRIVER:iMXRT1062]

    [09:28:36] [ $I ] [DRIVER VERSION:231228]

    [09:28:36] [ $I ] [DRIVER OPTIONS:USB.1]

    [09:28:36] [ $I ] [BOARD:T41U5XBB]

    [09:28:36] [ $I ] [AUX IO:5,3,0,0]

    [09:28:36] [ $I ] ok

    [09:28:36] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [09:28:36] [ $G ] ok

    [09:28:37] [ connect ] Firmware Detected: grbl version 1.1f on COM3
     
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    you must power cycle the Teensy after changing that parameter
     
  4. Bloch

    Bloch New
    Builder

    Joined:
    May 2, 2023
    Messages:
    7
    Likes Received:
    0
    I will try that... :)
     
  5. Bloch

    Bloch New
    Builder

    Joined:
    May 2, 2023
    Messages:
    7
    Likes Received:
    0
    Nope, didn't do a thing. Guess I'll try and change back to pwm settings in the grbl. But there must be someone who's got what I'm missing here..
     
  6. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    778
    Likes Received:
    256
    I have a VFD on a Teensy 4.1 too. I had the same problem, of the spindle not starting. I had saw a video on YouTube and the guy there had the VFD on but on 0 (zero) so the spindle didn't turn but it works with when the M command is given. Try it out and let us know if it works for you.
     
  7. Bloch

    Bloch New
    Builder

    Joined:
    May 2, 2023
    Messages:
    7
    Likes Received:
    0
    I tried using manual M3, with and without S command. And nothing...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice