yes, i need to have the solenoid physically lock the door shut.
The brains thing is a little hard to understand but, i can make the 1 and 2 liners work.
Ends up i used the "Cycle Start" macro and added the input# and output# for the interlock and the "M1030" macro with output# to release the solenoid at end of program.
this was the direction MachMotion sent me... i need to do a little more tweaking but it works very well
thanks BR
have a good day
Mac