585,932 active members*
3,809 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2011
    Posts
    2

    Spindle rpm - variations

    Hi all,
    I am running a vertical lathe, EMAG VSC400.
    Because of vibrations I want to use the $TIMER-function to increase and decrease the rpm by 10%

    I tried this but got a syntax error on line 33! (there is no line 33)!

    $AC_TIMER[3]=0
    WHENEVER $AC_TIMER[3]>=6 DO $AC_TIMER[3]=0
    WHENEVER $AC_TIMER[3]<=2 DO S130
    WHENEVER $AC_TIMER[3]>=4 DO S120
    --------------------------------------------------------------
    N130 G1 Z50 F.1
    N132 G1 Z49 F.06
    N134 G1 X72 F.1
    N135 $AC_TIMER[3]=-1

    Regards/
    Jorma

  2. #2
    Join Date
    Nov 2007
    Posts
    352

    Re: Spindle rpm - variations

    The machine has a look ahead function and reads ahead so it is seeing that error somwhere else
    use the "Stoppre" command to make it look to the last line before going forward



    Stoppre

    $AC_TIMER[3]=0
    WHENEVER $AC_TIMER[3]>=6 DO $AC_TIMER[3]=0
    WHENEVER $AC_TIMER[3]<=2 DO S130
    WHENEVER $AC_TIMER[3]>=4 DO S120
    --------------------------------------------------------------
    N130 G1 Z50 F.1
    N132 G1 Z49 F.06
    N134 G1 X72 F.1
    N135 $AC_TIMER[3]=-1

    Stoppre

    If the timer doesnt work increase or decrease by declaring the spindle speed as an "R" value and can be changes at random

    S=R900 (value in user global parameter )

Similar Threads

  1. With 3Dprinting, why do we need variations of CNC machinery?
    By Maluseth in forum Automation Technology Products
    Replies: 8
    Last Post: 06-27-2013, 07:27 AM
  2. Tool holder variations...
    By Dave's_Not_Here in forum CNC Tooling
    Replies: 3
    Last Post: 10-31-2010, 01:46 PM
  3. zay mils variations
    By doc0302 in forum Uncategorised MetalWorking Machines
    Replies: 0
    Last Post: 11-25-2007, 07:37 PM
  4. zay variations question
    By doc0302 in forum Benchtop Machines
    Replies: 0
    Last Post: 11-24-2007, 05:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •