M10.x

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

M10.x

Postby kim@moltved.dk » Tue Jan 19, 2021 5:08 pm

Who is the M10.x and M11.x work?

When set to a pin and call the ex- M10.1 it only flip on for a short.
kim@moltved.dk
 
Posts: 50
Joined: Sat Nov 25, 2017 12:25 pm

Re: M10.x

Postby cncdrive » Tue Jan 19, 2021 6:12 pm

M10.x and M11.x is similar to the M10 and M11, the difference is that the M10.x does not have a Q parameter, so it cannot do a PWM with set duty cycle on the output pin.
It just toggles the pin on/off.
If it goes on or off for you for a short time only then probably you have something else also configured to the same output which overrides the pin state.
cncdrive
Site Admin
 
Posts: 5159
Joined: Tue Aug 12, 2014 11:17 pm

Re: M10.x

Postby dezsoe » Tue Jan 19, 2021 6:31 pm

Enable and run the Pin mapping plugin to find what's configured on all the pins.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: M10.x

Postby kim@moltved.dk » Wed Jan 20, 2021 10:44 pm

Thangs.

I have been thru all the settings in the program and in the settings file. As well as all macros and also searched in them. The pin is not used elsewhere.
If I set the pin to "Active low" it invert the function.
It just make a shout puls, when make the M10.1
And the Pin mapping it show nothing!

Sw: 1.2113 (direct installed, no update)
Fw. 1.0370
Hw. 1.0000
API ver: 2.1820
Device: UC300ETH_5LPT
kim@moltved.dk
 
Posts: 50
Joined: Sat Nov 25, 2017 12:25 pm

Re: M10.x

Postby dezsoe » Wed Jan 20, 2021 11:26 pm

Please, upload your profile (.pro) with your M10.1 settings and I'll test it.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: M10.x

Postby kim@moltved.dk » Thu Jan 21, 2021 9:08 pm

Backup my UCCNC and delete the dir, then install a new 1.2113
The only change is to set M10.1 to Pin 8 port 3, that it make a puls.
Change M10.1 to Pin 17 port 5, the it work.
Then change back to Pin 8 port 3, the it work.

Restore my backup and the it make pulses again.

-------------------------------------
observation but not every time:
Port M10.1 pin 8 port 3 is off and the set M10.2 to Pin 6 Port 3, and apply and save and the pin 8 port 3 switch to on.
Attachments
Default.pro
(44.28 KiB) Downloaded 481 times
kim@moltved.dk
 
Posts: 50
Joined: Sat Nov 25, 2017 12:25 pm

Re: M10.x

Postby kim@moltved.dk » Tue Feb 09, 2021 11:35 pm

Any solution?
kim@moltved.dk
 
Posts: 50
Joined: Sat Nov 25, 2017 12:25 pm


Return to Macros

Who is online

Users browsing this forum: No registered users and 2 guests

cron