Hi,
how about something simple like waiting for a second or two after Mach fires up, turn on an output pin for 2 seconds
then off again. This could go in the PLC script, it waits until tescount (the number of times the script has run since the beginning
of the session) is 50:
if (testcount==50)then
local outHandle=mc.mcSignalGetHandle(inst,mc.OSIG_OUTPUT5)
mc.mcSignalSetState(outHandle,1)
wx.wxTimer(2000)
mc.mcSignalSetState(outHandle,0)
end
Craig