Hello
Guest
it is
December 07, 2024, 09:41:01 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
macro to force oupt
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: macro to force oupt (Read 3745 times)
0 Members and 1 Guest are viewing this topic.
riporeno
48
macro to force oupt
«
on:
February 10, 2011, 04:41:36 AM »
hi to everybody
as a macro can be made (example m300.m1s)
what it forces an exit to 1(output #7) and another (example m301.1ms) what does it to 0?
the commanded signal, has to be also active after the reset
thanks
moreno
«
Last Edit: February 10, 2011, 04:47:32 AM by riporeno
»
Logged
stirling
2,188
UK
Re: macro to force oupt
«
Reply #1 on:
February 10, 2011, 07:39:51 AM »
Hi moreno
M300.m1s
activateSignal(OUTPUT7)
M301.m1s
deactiveSignal(OUTPUT7)
Add <space>M300 to the initialization string AND tick "use init string on ALL resets" both on the config/general config dialog.
Ian
Logged
Razordance Torch Height Control
riporeno
48
Re: macro to force oupt
«
Reply #2 on:
February 10, 2011, 08:00:14 AM »
ok Ian, thanks for the fast answer
very kind
regards
moreno
Logged
riporeno
48
Re: macro to force oupt
«
Reply #3 on:
February 10, 2011, 08:34:50 AM »
m300 works
m301 goes to error
after some tests I have understood that the exact command is deactivateSignal(OUTPUT7)
thanks
good day
moreno
Logged
stirling
2,188
UK
Re: macro to force oupt
«
Reply #4 on:
February 10, 2011, 08:47:21 AM »
yes - my typing is quicker than my brain as usual
Ian
Logged
Razordance Torch Height Control
riporeno
48
Re: macro to force oupt
«
Reply #5 on:
February 10, 2011, 08:57:55 AM »
no problem
thanks
moreno
Logged
Print
Pages:
1
Go Up
« previous
next »