17 internal control, Internal control, Architecture: the applicationtemplate in detail – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 101

Advertising
background image

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

101

Architecture: The ApplicationTemplate in detail

Internal Control

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Program in machine module 2 ( TaskHighPriority = 2 ms):

9.17

Internal Control

The "Internal Control" function makes it possible to decouple a slave module from its master. This

is advisable during e.g. commissioning.

[9-29] Example MM_Module1: The Activate button activates the "Internal Control"

How to use the "Internal Control":

1. Call the

A20_Visualisation folder,

L_Main.

2. Activate the desired machine module for which the "Internal Control" is to be activated,

example: MM_Module1.

3. Click the Internal Control button for activation.
4. Enter the password by clicking into the text field that is now visible.

• Standard value: lenze
• Confirm password entry with Enter.

IF Lock() THEN

For i:=0 TO 2000 by 1 DO

rACDOwn.aCAMData[i] := aCAMData[i];

END_FOR

Unlock()

IF NOT LockState() THEN

For i:=0 TO 2000 by 1 DO

aCAMData[i] := rACDModule1.aCAMData[i];

END_FOR

END_IF

Advertising