Hello Guest it is March 19, 2024, 07:40:42 AM

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

0 Members and 1 Guest are viewing this topic.

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #30 on: May 10, 2008, 02:26:12 PM »
Hood  the turret reverses to lock.You can hear the turret going past the locking pointand then it must reverse. The OEM triggers is working I tested it in a brisn brogram.

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #31 on: May 10, 2008, 02:35:27 PM »
Hood the previous reply should have been brain.I tested it with a brain program and with that it is working (the OEM TRIg).

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #32 on: May 10, 2008, 02:43:19 PM »
Ok if it reverses I dont see that in the macro, will look again though.
What kind of motor is on the turret? What does OutPut4 actually switch on and off?

Hood

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #33 on: May 10, 2008, 02:50:16 PM »
Hood output4 drives a relay to turn the turret.When this relay falls away another relay comes in at a lower voltage and reverses the turret. This is hard wired.

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #34 on: May 10, 2008, 02:52:46 PM »
I have disconnected the revers relay just to see if the relay was the problem.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #35 on: May 10, 2008, 02:52:57 PM »
OK that explains why its not in the macro, so I am presuming there must be some sort of stop pin or ratchet that is also released when output 4 is active and dropped when its not?
Hood

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #36 on: May 10, 2008, 02:56:08 PM »
It is a ratched type turret.When it reverses it locks the turret.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #37 on: May 10, 2008, 02:59:16 PM »
OK, thats good, I have an understanding of how it works now.
I am trying out a few things in the macro, will post back if I find anything, wish Graham would jump in with the answer ;)

Hood

Offline CJEls

*
  •  69 69
    • View Profile
Re: Running macro and testing them
« Reply #38 on: May 10, 2008, 03:01:23 PM »
Hood I even tried to Use iunput 1 to4 in the place o OEMtrigger1 to4 with the same result no output.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Running macro and testing them
« Reply #39 on: May 10, 2008, 03:28:13 PM »
You would have to set the macro to look for the Inputs rather than OEM Triggers if you are going to do that.
 I am going to try something else but just cant get why its not working, I can get the output operating but the triggers are not stopping it, wish I was more knowledgeable in VB :(
Hood