Controlling The Op From The Plc - Siemens OP5 Equipment Manual

Operator panel
Table of Contents

Advertisement

Controlling the OP from the PLC

Common data
The OP and the application program communicate with each other by alter-
areas
nately reading from and writing to the data areas in the memory of the PLC.
Thus the PLC and the OP can make each other execute different actions by
evaluating data areas.
PLC jobs
PLC jobs are functions that are initiated on the OP – for example, selecting
screens, printing screens, transferring the date and time from the OP to the
PLC. Jobs are stored with a job number and parameters on the PLC.
The PLC, for example, can call a screen on the OP to draw the operator's
attention to a particular condition or to the fact that inputs are required.
You will find a complete list of all the PLC jobs with their parameters and a
description of all the data user areas that have to be configured on the PLC in
the Communication User's Manual.
LED control
The LEDs on the keys of the OP can be driven from within the PLC. This
means it is possible to signal to the operator by means of a lit key LED that it
is advisable to press a specific key in a certain situation.
For LED control, it is necessary to create an LED image on the PLC. In the
configuration, two bits are assigned to every LED in the LED image area.
These two bits can be used to im plement four different LED states: Off, Per-
manently On, Low- Speed Flashing, High-Speed Flashing.
Evaluating the
The OP stores information about the object type called in the screen number
screen number
area of the PLC. Thus it is possible for information about the current display
contents of the OP to be transferred to the application program on the PLC
and, from there, for certain reactions to be initiated – for example, calling
another screen.
Function keyboard
With pressing a function key, it can be used to set a bit on the PLC, where it
image
is evaluated by the application program.
For this, you must have created the necessary data area on the PLC for the
keyboard image and have specified the appropriate area pointer in the config-
uration for assigning the key to a bit.
Manual OP5, OP15
( ) J31069-D0840-U001-A2-7618
13
13-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Op15

Table of Contents