587,518 active members*
3,154 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > SolidCAM for SolidWorks and SolidCAM for Inventor > bug report on solidcam and a quetion for machine simulation
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2014
    Posts
    222

    bug report on solidcam and a quetion for machine simulation

    1) bug report: when you add different tool diameter for specific tool (to work with two diameters in G41), the G code will make an error in first line of new toolpath creation for second radius adding
    DXX before lowering tool in position. instead of:
    G01 Z-1
    you will get
    G01 D1 Z-1


    2) how to make/obtain machine simulation file for haas vf2 tr?

  2. #2
    Join Date
    Oct 2013
    Posts
    153

    Re: bug report on solidcam and a quetion for machine simulation

    It's a misplaced compensation call in your post processor . Check your gpp file for compensation calls.

    For machine simulation there is already a lot of posts here ! Do a search!

  3. #3
    Join Date
    Jul 2014
    Posts
    222

    Re: bug report on solidcam and a quetion for machine simulation

    sorry but i did search entering
    solidcam machine simulation

    but the search results were less than satisfactory so can you please point out to which earlier posts can i refer to?
    it only says that you must make an assembly yourself which is impossible for me right now.

  4. #4
    Join Date
    Jul 2014
    Posts
    222

    Re: bug report on solidcam and a quetion for machine simulation

    yes it is but i feel like it isn't shown in the gpp file, I mean, like some code is missing from it, I've checked out the entire post and the only place I feel like this bug might be is here:

    @compensation
    ; Handle setting of Diameter Compensation Gcode
    ; We not use this procedure to output code
    ; We create our own procedure for this so that we..
    ; have can control placement during @line,@arc
    if side eq COMP_LEFT then
    iDiametercomp = 41
    if bDiameterCompOutputD
    change(iDiameteroffset) = true
    endif
    endif
    if side eq COMP_RIGHT then
    iDiametercomp = 42
    if bDiameterCompOutputD
    change(iDiameteroffset) = true
    endif
    endif
    if side eq COMP_OFF then
    iDiametercomp = 40
    change(iDiameteroffset) = false
    endif
    endp

    @usr_compensation_output
    ; Handle output of Diameter Compensation Gcode
    if change(iDiametercomp)
    if iDiametercomp eq 40 or !bDiameterCompOutputD
    {'G'iDiametercomp' '}
    else
    {'G'iDiametercomp, ' D'tool_number''}
    endif
    endif
    endp

    ;-------------------

    but I don't see the culprit.

    also I've tried turning on trace mode for postprocessing and found nothing, but here's the whole story so you can see it for yourself:
    Sendvid - Instant video upload

    please any hint would be helpful, I need to use this post as it perfectly suits my needs for now, but this little bug is so annoying and most of the time I am using at least 2 tool diameters.

  5. #5
    Join Date
    May 2013
    Posts
    37

    Re: bug report on solidcam and a quetion for machine simulation

    You must change the varitable tool_number on d_offset

    before:
    Code:
    @usr_compensation_output
    ; Handle output of Diameter Compensation Gcode
    if change(iDiametercomp)
    if iDiametercomp eq 40 or !bDiameterCompOutputD
    {'G'iDiametercomp' '}
    else
    {'G'iDiametercomp, ' D'tool_number''}
    endif
    endif
    endp
    after:
    Code:
    @usr_compensation_output
    ; Handle output of Diameter Compensation Gcode
    if change(iDiametercomp)
    if iDiametercomp eq 40 or !bDiameterCompOutputD
    {'G'iDiametercomp' '}
    else
    {'G'iDiametercomp, ' D'd_offset''} ;<-- line to change
    endif
    endif
    endp

    the same problem will be at the G43 Hxx. Here is a new variable h_offset. But it will not solve all the problems with automatic correction H. When creating a T-slot operation, we can choose two adjustments for both sides of the saw, but postprocessor does not print the correct G code. If this is also a problem for you, I can write how to fix it.

    Enjoy

  6. #6
    Join Date
    Oct 2013
    Posts
    153

    Re: bug report on solidcam and a quetion for machine simulation

    Quote Originally Posted by allenp View Post
    1) bug report: when you add different tool diameter for specific tool (to work with two diameters in G41), the G code will make an error in first line of new toolpath creation for second radius adding
    DXX before lowering tool in position. instead of:
    G01 Z-1
    you will get
    G01 D1 Z-1
    @usr_rapid
    ; Handle output for Rapid Move (G00)
    ; Note: XYZ not allowed together on a single line

    if change(iDiameteroffset)
    change(iDiameteroffset) = false
    endif

    if change(iDiametercomp)
    change(iDiametercomp) = false
    endif

    Add those two if statements to your @usr_rapid function . this should correct the issue

    cheers

Similar Threads

  1. SolidCam Machine Simulation
    By carbide_burner in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 3
    Last Post: 04-13-2016, 06:34 AM
  2. Need help! Solidcam machine simulation-stock problem
    By shadow2303 in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 0
    Last Post: 08-05-2014, 12:43 PM
  3. Solidcam Postprocessor with machine simulation
    By solidcamx in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 1
    Last Post: 04-24-2014, 05:55 AM
  4. G-Code program simulation using solidcam
    By mahesh17179 in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 1
    Last Post: 05-28-2013, 08:06 AM
  5. FIX: SolidCAM crashes performing solidverify/rest simulation
    By cwm9 in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 0
    Last Post: 12-01-2008, 10:21 AM

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
  •