output activation with macros

Forum for Discussing Mach3/4 related issues

Re: output activation with macros

Postby Robertspark » Fri Sep 20, 2019 8:49 am

foxfly wrote:I have 4 ports then there are 4 pins number 14-16-17.
In the macro I have to use all the outputs but I have to specify the related port.


You are getting confused between port + pins and outputs.

Mach3 macros use OUTPUTS.

in Mach3 you define the ports and pins as OUTPUTS in the configuration tab.

whichever ports and pins you define as whichever corresponding outputs those numbers (i.e. OUTPUT1, OUTPUT2..... OUTPUT14) is what you toggle in your macro.

Read Gerrys post earlier.

ger21 wrote:I just told you. Go to Config > Ports and Pins > Output pins, and assign a port and pin number to Output14. Then you can use Activatesignal(OUTPUT14).
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: output activation with macros

Postby foxfly » Fri Sep 20, 2019 9:21 am

I have to use:
pin 14 port 2
pin 14 port 3
etc...
foxfly
 
Posts: 29
Joined: Thu Mar 07, 2019 7:57 am
Location: Italy

Re: output activation with macros

Postby cncdrive » Fri Sep 20, 2019 11:32 am

That's fine.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Previous

Return to Mach3/4 Discussions

Who is online

Users browsing this forum: No registered users and 14 guests