PLC Archive:OP Screen Number

From ControlWiki

Jump to: navigation, search

OP Screen Number

contributed by: Michael Griffin

Link to File

Click here to view program file.


This document describes a simple method of determining which is the current screen displayed on a Siemens text OP (operator panel with display and keypad). These OPs include the OP20, OP5, OP15, OP7, or OP17. It is often convenient to determine this screen number in order to limit specified actions to when a particular screen is selected by the operator. This version was written for a Siemens S5 PLC.


For all material in the PLC Archive, our site disclaimer applies. You take full responsibility for the application of any code appearing on this site, as we have made no engineering evaluation of the code nor are we, or the author, familiar with the details and risks inherent in your application.

Personal tools