10 l_eatp_modulrelations, L_eatp_modulrelations ( 125), The l_eatp_applicationtemplate library – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 125

Advertising
background image

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

125

The L_EATP_ApplicationTemplate library

1_POUs - Program Organization Units

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

11.2.10

L_EATP_ModulRelations

This FB provides an overview of how the machine modules are linked.

• This FB can for instance be used to retrace whether the interconnection of structures and the

assignment of the module address have worked.

Inputs

Outputs

Function library:

L_EATP_ApplicationTemplate

Runtime software licence:

…

LPC 1x00

…

MPC 1x00

…

MPC 2x00

…

MPC 2x10

…

MPC 2x20

…

MPC 2x30

…

MPC 3x00

;

None

L_EATP_ModuleRelations

BOOL ⎯ Enable

numberOfModules ⎯ INT

relationsAsString ⎯ BOOL

Success ⎯ BOOL

Identifier/data type

Information/possible settings

Enable

BOOL

In the case of a positive edge, the module analysis will start.

Identifier/data type

Information/possible settings

numberOfModules

INT

Number of machine modules identified

relationAsString

ARRAY [1...30] OF STRING

For every master-slave relation identified, there is an entry with the corresponding

master and slave in the array.

• The entry has the following structure: <master instance name>[<master module

address>] -> <slave instance name>[<slave module address>]

Example: MachineModule[1] -> InFeed[3]

Success

BOOL

Supplies a response stating whether the analysis has been correct.

TRUE Analysis executed correctly.

FALSE An error has occurred during the analysis

Advertising