I think the unload script is the only place where that could be done. One could make a PMC object that does just what you want and then that PMC object could be called from the screen unload script.
example using myPmcObj object and calling it from the screen unload script.
machDir, rc = mc.mcCntlGetMachDir(inst)
myPmcObj = require(machDir .. "/myPmcObj.lua")
myPmcObj.PlcCycle() -- this will cycle that PmcObject one time. :)
I will see if I can add something in that can run PMC objects on startup and shutdown without having to add code.
Steve