· Another method that can be used to explore a state based program is a script. Another way to describe this is "what is happening, what started it and what will stop it?"
· The general hierarchy for a script is below,
· After we get a process description it must be rewritten as a script. Care is needed to check for consistency.
· This can be put into ladder logic. (clearly this logic is not complete and extra work is needed make it ready for the PLC)
· Implemented for an Allen Bradley PLC it might look like.
· General rules for scripting are,
· This method is not rigorous and can be inadequate for many designs.
· Use the method to design a parking gate controller.