MCV_PlatformBase

The FB MCV_PlatformBase must be instanced in every PLC application which triggers motion tasks based on PLCopen specifications. This FB assumes the task of initialising axis and axis group references and checking the consistency of the HLI interface at the MCE and PLC ends. Only if this FB has its “Done” output set to TRUE can motion tasks be successfully sent to the MC via the FB with the axis or axis group references as input, as specified in the motion libraries Part 1 and Part 4.

Blockdiagramm

Parameters of the FB

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Value TRUE indicates that...

1. the simulation of the interface between the MC and the PLC in the PLC HLI library matches the definition of HLI at the MC end.

2. the corresponding area exists on the HLI exists for every defined axis and axis group according to the MC configuration.

Error

BOOL

Indicates whether an error has occurred in the FB.

ErrorID

WORD

Error code.

Behaviour of the FB