Author Topic: Behavior problem  (Read 10269 times)

ckane

  • Newbie
  • Posts: 14
    • View Profile
Behavior problem
« 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.

« Last Edit: June 17, 2012, 06:38:34 PM by ckane »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Behavior problem
« Reply #1 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.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS