Function block MCV_P1_PLATFORM

The following definition was made for the MCP:

Notice

notice

Definition for the MCP:

  1. The generic FB "MCV_Axis" of PLCopen axes are instanced in the ISG-MCP and implemented in the FB MCV_P1_PLATFORM.
  2. Every PLC application which executes motion tasks using FBs according to PLCopen specifications Parts 1 and 2 must contain exactly one instance of the FB MCV_P1_PLATFORM before the FBs to execute the motion task can be calculated.
  3. Application programmers must ensure that all PLCopen FBs used to program the application (e.g. motion sequence) are instanced and invoked in a single application program.
  4. Before the first invocation of the MCV_P1_PLATFORM instance, the HLI (interface to the MC) must be initialised and the instance of the FB MCV_PlatformBase must notify the MCP of successful initialisation.
PLC application frame for motion applications in CoDeSys
PLC application frame for motion applications in CoDeSys

The FB MCV_P1_PLATFORM assigns an AXIS_REF structure to the initialisation phase of each axis. This structure is then available as elements of the globally defined g_array_axis_ref array.