I am trying to modify a PLC program to add extra features but it seems like the basics are confusing me. Im using a Unitronics Vision 570 PLC, programming with VisiLogic OPLC IDE.
I am trying to make a button or a number being higher than another number show / hide a text box but when I run the program and watch the inputs and outputs it seems that the output doesn't turn on. In the picture attached shows the red wire goes to the output but it doesn't turn red.
Ultimately I need a warning sign (text box) to be displayed and latched when an input goes above a user defined level. Is there a simple way to prove the concept before the actual hardware is implemented? Or am I trying to do something that isn't possible?
Ok, I've stripped it down to the most basic ladder logic, should this work? the first pic is button unpressed, second is button pressed. I would think that the output should energise unless I'm missing something?
Figured out what the problem was - this (new) subroutine wasnt being called or updated with the main logic because I tried putting this logic into the main ladder code and it worked.