Hello Guest it is March 19, 2024, 06:52:08 AM

Author Topic: Running macro and testing them  (Read 18073 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #10 on: May 09, 2008, 05:09:31 PM »
Just another thought, you do have the macro in the correct folder dont you? example if you have a custom turn profile there will be a folder in the main macro folder with the name of that profile, thats where you want the M6Start.m1s
Hood

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #11 on: May 09, 2008, 05:18:27 PM »
Hood

Thank you for the help.what worry`s me is that i do not get any output on output 4. I am using 2 paralel card`s and u know they are both woring because i had my limit swithes connected to them to test the cards. when I do a tool change nothing happens to the output but the tool change dro does go to the new tool.I am using port 2 pin 2 and i know it is working because i tested it with the coolant pump on off. Any other suggestions.

CJ

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #12 on: May 09, 2008, 05:32:42 PM »
If you open Mach and then go to the Operator menu and choose VB editor. In the editor type in
ActivateSignal(OutPut4)
and then press the green arrow, your output should now be active, to turn it off again change the above to
DeActivateSignal(OutPut4) and press the green arrow it should turn off again.

Not sure if you saw my last post regarding the loacation of the M6Start.m1s, also is it named as that or do you still have M6StartGraham.m1s? If you do then that could well be the problem.

Hood

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #13 on: May 10, 2008, 08:41:02 AM »
Hi Hood

I tried to activatesignal(output4) in the vb editor but could not get it to work.

CJ

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #14 on: May 10, 2008, 08:43:08 AM »
You definitely have output 4 enabled in ports and pins?
Hood

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #15 on: May 10, 2008, 08:47:01 AM »
Yes

Port  1 pin6

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #16 on: May 10, 2008, 08:49:39 AM »
Can you please attach your xml and I will see if I can find a problem.
Hood

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #17 on: May 10, 2008, 09:05:19 AM »
Okay here we go but i have to change te name bcause the message i get is that the same file has been up loaded.

CJ

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #18 on: May 10, 2008, 09:33:09 AM »
OK your problem may well be that you have both your Z axis and Output 4 set to the same pin (port 1 pin 6)

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #19 on: May 10, 2008, 09:40:50 AM »
Hood your a genius