Step 1: Required libraries
To execute a motion task using PLCopen FB, the PLC libraries
- STANDARD.LIB, belongs to the PLC runtime system
- hli_rts_lib.lib, contains the utility FB
- hli.lib, simulates the memory between the PLC and the MC
- McpBase.lib, sets up a link to the MC; supplies data structures and FBs which are used in other libraries
- McpPLCopenP1.lib, FB according to PLCopen specifications Parts 1 and 2
integrated in the application. This is already the case in the example program Frame_PLCopenP1.pro.
Open this example program and save it as HelloWorld.pro before executing the other steps to execute the task.