Axis setup tangential knife

Post anything you want to discuss with others about the software.

Axis setup tangential knife

Postby Millau05 » Tue Jan 07, 2025 10:17 pm

Hello,
I got a question regarding the Step Pin configuration in Axis Setup.
I have a AXBB-E and a ucsb board with a tangential knife.
Now I'm trying to install a second tangential knife that won't work at the same time but I would like to use them in the same cutting session.

The C axis will be the second Z axis and I will used it with the swap axis macro but at the moment my configuration has the A axis connected with the first tangential knife motor and there is no other axis that can be used with the same functions.

I read somewhere that the swap axis macro basically swap only the motor's pins. Is there a way to swap the pin of my A axis "the original one connected to the axbb-e" with the pin of new motor that is connected with the ucsb and the second tangential knife?

Thanks
Mauro
Millau05
 
Posts: 5
Joined: Sat Jul 08, 2023 8:16 pm

Re: Axis setup tangential knife

Postby cncdrive » Wed Jan 08, 2025 2:25 am

Yes, the swapaxis function exactly does that, it swaps the step/dir pins as well as the configuration temporarily.
cncdrive
Site Admin
 
Posts: 4998
Joined: Tue Aug 12, 2014 11:17 pm

Re: Axis setup tangential knife

Postby Millau05 » Wed Jan 08, 2025 4:53 am

cncdrive wrote:Yes, the swapaxis function exactly does that, it swaps the step/dir pins as well as the configuration temporarily.


from the information I got from the manual it can swap axis x axis to y or other axis

Example: exec.Swapaxis(0,1); //Swaps the X-axis with Y-axis.

in my case all the. axis are in use. Is there a way to swap pin 15 and 16 port 1 (my original tangential knife on the axbb-e) to pin 8 and 9 port 3 (my second tangential knife connected to ucsb)?
Millau05
 
Posts: 5
Joined: Sat Jul 08, 2023 8:16 pm

Re: Axis setup tangential knife

Postby cncdrive » Wed Jan 08, 2025 12:42 pm

You can set the pin and port number from macro using the AS3.setfield and AS3.validatefield functions, and then you can call the Apply settings button code with exec.callbutton to apply the changes.
cncdrive
Site Admin
 
Posts: 4998
Joined: Tue Aug 12, 2014 11:17 pm

Re: Axis setup tangential knife

Postby Millau05 » Wed Jan 08, 2025 7:25 pm

cncdrive wrote:You can set the pin and port number from macro using the AS3.setfield and AS3.validatefield functions, and then you can call the Apply settings button code with exec.callbutton to apply the changes.



Thanks for your feedback.
I'm not very good with macro.
Is there a place where I can see some example or how to use the AS3 functions?

Thanks
Millau05
 
Posts: 5
Joined: Sat Jul 08, 2023 8:16 pm

Re: Axis setup tangential knife

Postby cncdrive » Wed Jan 08, 2025 9:04 pm

Yes, sure, open the UCCNC/Documentation folder and you find some documentations there.
I'm also attaching the macroing manual made by Robertspark forum member.
Attachments
UCCNC MACROS - 1-2110.pdf
(891.4 KiB) Downloaded 35 times
cncdrive
Site Admin
 
Posts: 4998
Joined: Tue Aug 12, 2014 11:17 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 5 guests