Internet PLC Forum

General => Technical support => Topic started by: ckane on June 17, 2012, 06:36:57 PM

Title: Behavior problem
Post by: ckane on June 17, 2012, 06:36:57 PM
I see different behavior when Simulating and when Monitoring the Nano PLC

Not sure what is happening.
 ???
I have attached the code as well as a doc as to what I want.  Any assistance would be appreciated, since I am new to all of this.

Title: Re:Behavior problem
Post by: support on June 17, 2012, 08:03:37 PM
It appears that you are using the non-differentiated call for all the custom functions in your program. This is unlikely to be what you want the program to behave.  Usually a custom function is to be executed once when its execution condition turns from "false" to "true". E.g. your reset input to GoToHome should be a {dCusF} call which only run once when the reset input is turned ON.