Platform library
The user library McpBase.lib contains data structures that concern references in the sense of the PLCopen specification for performing motion tasks.
The variables of the references are defined as global variables within this library.
Another important part of the library is FB MCV_PlatformBase, which must be used in every PLC application solving motion tasks with FB based on PLCopen specifications. This FB takes the task to initialize the reference structures and checks the correct definition of HLI at PLC and MCE side. Not until FB sets output ‘Done’ to TRUE motion commands could be transmitted successful to the MC using FB of the motion library mentioned in the next chapter (see application Frame_PLCopenP1.pro]).