REH
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by REH
-
-
Greeting all,
There is a "default return" placed by the VisiLogic software in every subroutine that cannot be deleted. This return then only allows the sub to run for 1 scan before returning. I need to stay in the sub and wait for an input before returning. I have tried placing a loop ahead of this return but that results in a watchdog error.
I am sure that there is a common method of dealing with this or my thinking is not in line with the way the software is supposed to work. Any advise is greatly appreciated. A screenshot is attached.
Thank you
Newbie question - Subroutine default return
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Thank you for the response Joe,
I was not anticipating stopping the scan but simply only scanning that subroutine until the inputs directed the return out of it. I see that my fundemental thinking is not correct so I need to hit the drawing board with this new knowledge!!
Thank you again Joe for the help
Rich Honchen