Platform library

The McpBase.lib user library contains definitions of data structures that represent objects as references in conformity with the PLCopen specification. Their use is intended to release motion tasks.

The references are already included in the library as global variables.

Another key component of the library is the FB MCV_PlatformBase, which must be used in every PLC application that releases motion tasks based on PLCopen specifications.

This FB assumes the task to initialise the reference structures and checks the consistency of the HLI interface on the PLC and MCE sides. Only when this FB sets the “Done” output to TRUE can motion commands be sent to the MC successfully using the FB of the next motion library listed (see Frame_PLCopenP1).