TDAY, if you would like I can post how to do it... you should be able to modify the other output to make it work. You will find with this system you can do ANYTHING. But the cost is it is a bit more complex.
Looked again at your error and it is nothing to do with your signal script. You are calling set last error and not sending the Inst , String . Please look at your code in the CycleStop() function. If you post a screen shot we can have a look at it .