I'm still having some trouble lifting the DustFoot manually, and automatically (at the right time).
Here is what I want to do:
1. Set a macro assigned to a button to raise the DustFoot and another to lower the DustFoot. This if for manually setting the machining surface, inspecting the tool, etc.
2. When my VCarve project runs, the DustFoot should be down, but it's up (logic is reversed).
It seems I should be able to set the raise Macro on mfunc58.mac by using M62, but it doesn't work. M67 will turn on Output 7, but nothing on Output 2 with M62.
So I tried to force it with the PLC diagnostic screen by triple clicking Output 2 to change it from Red to Green. The screen changes the button from red to green, but the dustfoot does not raise:
For #2, when the project runs, the dustfoot raises, and then lowers when complete. This is opposite logic. Where do I fix this in the gcode?
Here is the start of the project:
N0010 ; ---------------------------------------------
N0020 ; Filename: Profile w final pass
N0030 ; Generated by Vectric for Centroid CNC
N0040 ; ---------------------------------------------
N0050 ; Move to Z home - Tool Length Compensation Cancel
N0060 M25 G49
N0070 ; Circular Interpolation Plane Selection XY - Cutter Compensation Cancel
N0080 G17 G40
N0090 ; Select Metric Units
N0100 G21
N0110 ; Canned Cycle Cancel
N0120 G80
N0130 ; Absolute Positioning Mode
N0140 G90
N0150 ; Initial Point Return
N0160 G98
N0170 ; ---------------------------------------------
N0180 ; Toolchange: T1 - Speed: S16000
N0190 ; ---------------------------------------------
N0200 ; Tool Length Compensation Cancel - Move to Z home
N0210 G49 H0 M25
N0220 ; Absolute Positioning Mode - Rapid Positioning
N0230 G90 G0 X0.0000 Y0.0000
N0240 ; Start Tool Change
N0250 T1 M6
N0260 ; Spindle on CW
N0270 M3 S16000 F4445
N0280 ; Pause for 2 seconds
N0290 G4 P2
N0300 ; Tool Length Compensation (+)
N0310 G43 G0 Z26.9750 H1
N0320 ; ---------------------------------------------
N0330 G0 X-21.0527 Y9.7764
N0340 G0 Z11.7350
N0350 G1 Z3.3050 F254
N0360 G1 X-3.3750 Y27.4541 F4445
N0370 G1 Y327.5459
Machine report is attached.
FYI. This is an Acorn replacing a RichAuto Controller in a Laguna SmartShop M2 4x8 machine.
DustFootActivate
Moderator: cnckeith
-
- Posts: 16
- Joined: Mon Jul 15, 2024 6:15 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
DustFootActivate
- Attachments
-
- report_E06234435DC6-0506248223_2024-09-15_18-28-06.zip
- (925.25 KiB) Downloaded 3 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 836
- Joined: Fri Nov 30, 2018 1:04 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Thorp WI
Re: DustFootActivate
According to your report, you have output #2 assigned to DustFootActivate, which is turned on with M94 /28 and off with M95 /28. Read the example macro that is in mfunc58.mac for that description.
In order for output #2 to work with M62 (on) and M82 (off), the output needs to be assigned to OUTPUT2. The reason that output 7 works with M67/M87, is that it is assigned OUTPUT7.
You'll then need to add the proper code to your mfunc6.mac toolchange macro, or it could also be added to your Vcarve post processor. If all you want is to have it on a button, the button could check for the DustFootActivate output being active or not and either raise or lower accordingly. No need for two outputs.
In order for output #2 to work with M62 (on) and M82 (off), the output needs to be assigned to OUTPUT2. The reason that output 7 works with M67/M87, is that it is assigned OUTPUT7.
Code: Select all
; #wizardregion Outputs
SpinFWD IS OUT1
DustFootActivate IS OUT2
UnclampTool IS OUT3
OUTPUT4 IS OUT4
OUTPUT5 IS OUT5
OUTPUT6 IS OUT6
OUTPUT7 IS OUT7
OUTPUT8 IS OUT8
Code: Select all
;OUTPUT1 M61, M81
;OUTPUT2 M62, M82
;OUTPUT3 M63, M83
;OUTPUT4 M64, M84
;OUTPUT5 M65, M85
;OUTPUT6 M66, M86
;OUTPUT7 M67, M87
;OUTPUT8 M68, M88
Scott
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 16
- Joined: Mon Jul 15, 2024 6:15 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: DustFootActivate
@Sword. Perfect! Thanks. I will try that and report back.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)