File' 'print' in online mode, Access protection for multi-client operations, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 801

Advertising
background image

L-force | PLC Designer

PLC Designer Visualization



DMS 3.2 EN 02/2011 TD29

799

Note!

Operation over the keyboard in online mode is of greatest significance, if the
visualization should be used with Web-Visualization ! In the Web-Visualization a
specific setting in webvisu.htm (see chapter 8.3) allows to keep effective the
operation over the keyboard even if currently an entry field is opened.

20.10.2

'File' 'Print' in online mode

'File' 'Print'is used to print out the contents of the visualization window in online
mode. Visualizations which stretch over the border of the window can lead to
inconsistencies particularly when there are moving elements in the visualization.

20.10.3

Access protection for multi-client operations

Due to the fact that it is possible to connect multiple visualization clients to one PLC
(Target- and Web-Visualization), multiple clients might access data in the PLC at the
same time. If this is not desired, an access protection can be defined by certain INTERn

commands, so that always only one client can write the data on the PLC.

The following INTERN commands are available for restricting the write access to one
client:

REQUESTWRITEACCESS

The client requests write access on the visualization.

Using the system variable CurrentWriteAccessClientId the client then
can check whether it has got write access. This implicit variable
stores the identification (ID) of the client which currently has write
access. Each client has an unique ID "CurrentClientID".Thus the
following expression can be used to allow a certain input on a
visualization:

CurrentWriteAccessClientId = CurrentClientId

(Example: The expression could be used in the configuration of an
element to define its visibility : If the expression is TRUE, i.e. the
client has write access, then the element is visible, i.e. allows input)

The Web-Server will check at each write request, whether the
requesting client currently has write access.

RELEASEWRITEACCESS

The client deallocates its write access.

GLOBALRELEASEWRITEACCESS

The write access is deallocated client-independently.

Advertising