5 l_eatp_module, 1 base(), Base() – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 121: L_eatp_module ( 121), The l_eatp_applicationtemplate library

Advertising
background image

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

121

The L_EATP_ApplicationTemplate library

1_POUs - Program Organization Units

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

• Optionally, the error can be acknowledged by means of the baseChannelSetErrorQuit method.

11.2.5

L_EATP_Module

This FB provides the empty basic FB of a machine module.

• All further machine modules are derived from this FB.

Inputs

Outputs

11.2.5.1

Base()

...is a management function for infrastructure processing.

• This method is to be called first in the body of the FB during every cycle.

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_Module

L_EATP_BUS ⎯ masterBus

slaveBus ⎯ L_EATP_BUS

L_EATP_MM_Address ⎯ MM_Address

Identifier/data type

Information/possible settings

masterBus

L_EATP_BUS

Provides a link to the higher level machine module (master).

• For the highest machine module, this input is unassigned.

MM_Address

L_EATP_MM_Address

Relative module ID of the machine module.

• Must be unique within a hierarchy level (a master with all directly connected

slaves).

Identifier/data type

Information/possible settings

slaveBus

L_EATP_BUS

Provides the link to all subordinated machine modules (slaves).

• For slaves of the lowest hierarchy level, this output is not assigned.

Return value
Data type

Value/meaning

BOOL

Gives a response as to whether the infrastructure has been established correctly.

Note: All methods and data regarding the infrastructure must only be used if the

return value is "TRUE" first.

TRUE Infrastructure established correctly (Success)

FALSE Infrastructure not correct (Error)

Advertising