Hi All,
Thanks for the help....
It is a CNC lathe that myself and brother are upgrading. (Old anilam crusader control)
The brake originally released and came back on in time with the spindle start signal. The spindle motor control was just a contactor / DOL system and now has a VFD so I wanted to get the VFD to apply its share of braking (softer deceleration than applying the brake at full chat) and also as Hood stated prevent the drive from tripping.
I am 'sure' (as I can be) that I am using the correct macro, I can set the delay to say 3000 (3s) and I see a delay in the start, set this to 100 and I see a much shorter delay. Also I deleted all the other profiles to be sure.
Profile I am using is Colchester - C:\Mach3\Macros\Colchester
BOB is a PMDX122 ( I have fitted this type to my BP mill and Orac lathe - good kit, the PMDX)
The spindle start signal from the BOB feeds a Homan Designs DC-06 speed controller. The relay on the DC-06 starts the spindle - this works fine.
An output from the BOB feeds a SSR that operates the brake. The SSR has a LED to show operation, this switches on as I toggle the ports and pins active hi/low but wont be controlled by the macro.
Just a point, might be unrelated, I did have the charge pump working but now I can't get the charge pump relay to operate - "fixed with a chock block for now" (my Estops still work

)
Haven't tried this yet
if you open the macro in the editor and press the green arrow does it work?On a positive note, I got the viper 200 drive powered up on the Z axis, and can talk to the drive to tune the parameters - motor holds position - at least no expensive smoke

I have not been able to command a move yet, drives are not getting or ignoring the step signal...it was late last night when I tested this and thought best to have a rest and have a fresh go in the morning.
I will get a scope on the OP of the BOB to see if there is a pulse train.
I'm sure when we get to the bottom of this, there will be a need to "issue an idiot alert warning" as its bound to be me that has done something silly

ATB
Derek.