new one hit buttons question

Moderator: cnckeith

suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: new one hit buttons question

Post by suntravel »

cncsnw wrote: Wed Mar 15, 2023 1:42 pm From the VCP buttons definition in his report:
"One Shot Chamfer" sends skin event 19.
The PLC recognizes skin event 19 as Aux11, and uses it to trigger "DoAux11Key"
"DoAux11Key" would run whatever function you specified with Parameter 198.

"One Shot Turn" sends skin event 20.
The PLC recognizes skin event 20 as Aux12, and uses it to trigger "DoAux12Key"
"DoAux12Key" would run whatever function you specified with Parameter 199.

"One Shot Lathe Facing" sends skin event 66, Aux13, DoAux13Key, Parameter 292.

"One Shot Radius" sends skin event 67, Aux14, DoAux14Key, Parameter 293.

"One Shot Lathe Drill" sends skin event 68, Aux15, DoAux15Key, Parameter 294.

So you need to set some parameters, as Uwe indicated, but not parameters 188-192. Instead you need to set those values in parameters 198, 199, 292, 293 and 294.
Thanks this works, just tested. Did not know that P292 is for AUX13 ect. It is not Not in the manual...

Centroids One shots are different from mine setup :D

Uwe
cnckeith
Posts: 7164
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: new one hit buttons question

Post by cnckeith »

thanks! we are adding one shots to the Acorn and AcornSix Wizard VCP aux keys menu drop down to make this easier and catch up on documentation as well.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
midy
Posts: 203
Joined: Wed Oct 11, 2017 12:20 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: new one hit buttons question

Post by midy »

ok thanks. So does that now mean that the parameters I changed are now going to cause other issues? Can't remember what they were actually set to before changing them, is zero a good idea to put back in there (P188 to P192)?
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: new one hit buttons question

Post by suntravel »

Yes they are 0 by default.

Uwe
midy
Posts: 203
Joined: Wed Oct 11, 2017 12:20 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: new one hit buttons question

Post by midy »

Well without doubt after the machine/control had been powered down overnight, those 5 parms had reset to 0 without me changing them?? I know they had been saved at the values Uwe gave me because I double checked twice because nothing was happening when pressing the buttons, I went back in to check those values had been saved, and they had! So today, I was going to reset them to 0 but didn't need to as they were already at 0? Strange things happening!
midy
Posts: 203
Joined: Wed Oct 11, 2017 12:20 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: new one hit buttons question

Post by midy »

Ok, so used the facing one shot and it's doing crazy things. It's changing the header to nonsense, the date to 2004? Although I'm learning, I still think that the unnecessary tool offset generated does cause problems, my lathe was left basically with tool 0101 in the machine but it was at tool 0100 offseton the DRO, I don't seem to have any control over this? I've included the g code file generated and a pic of the weird header?? (The stock size was set x31,9 and z15, I did not change to whats in the header)
Attachments
report_74E1829FB66D-0312191755_2023-03-16_10-22-24.zip
(842 KiB) Downloaded 8 times
__osfac_.cnc
(748 Bytes) Downloaded 6 times
20230316_102010.jpg
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: new one hit buttons question

Post by suntravel »

You are running Beta R4, pls update to R6.

What date shows Windows?

CNC12 is using the date/time from Windows.

Uwe
midy
Posts: 203
Joined: Wed Oct 11, 2017 12:20 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: new one hit buttons question

Post by midy »

I know, its crazy, windows showing correct date and time. Hmm didn't notice that it was rev4, but I thought the oneshots came new with rev6?
suntravel
Posts: 1967
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: new one hit buttons question

Post by suntravel »

If the PC got an hard reset, maybe some files are corrupted.

With new install R6 problem is solved.

Uwe
tblough
Posts: 3072
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: new one hit buttons question

Post by tblough »

The crazy characters and date in the header are because you are opening the one-shots in Intercon. They are not meant to be opened in Intercon - hence the name one-shot.

If you have made changes to the one-shot in Intercon, you will need to reload the files from a backup as they will no longer operate correctly. One-shots are designed to be opened only by the Aux key functions.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Post Reply