Step 1: Necessary libraries
To solve the motion application using PLCopen FB we have to link following PLC libraries
- STANDARD.LIB, belongs to PLC runtime system
- hli_rts_lib.lib, contains an utility FB
- hli.lib, contains layout of interface between PLC and MC
- McpBase.lib, connects to MC, contains structures and FB that are used in other PLC libraries.
- McpPLCopenP1.lib, FB based on PLCopen specification Part 1 and 2
in the application. In example Frame_PLCopenP1.pro this is already done.
Open the example application Frame_PLCopenP1.pro and save it as HelloWorld.pro, before we do additional steps to solve the application.