Motion control C3F_T40152 192-121102 N04 June 2008In this chapter you can read about:Programming based on IEC61131-3................................................................................152Status diagrams ...............................................................................................................162Control functions ..............................................................................................................165Reading values.................................................................................................................170Determine valve/range parameters (C3_GetSystemFingerPrint).....................................174Positioning functions (standard) .......................................................................................178Superimposed motion ......................................................................................................198Adjust force / pressure (C3_PressureForceAbsolute)......................................................203Dynamic switching: Position- on force/pressure - adjustment..........................................204Cam Control .....................................................................................................................207Cam switching mechanism...............................................................................................288Error handling ...................................................................................................................300Process image..................................................................................................................303Interface to C3 powerPLmC .............................................................................................314IEC examples ...................................................................................................................322Profibus: Emulating the ProfiDrive profile (C3F_ProfiDrive_Statemachine).....................3295.1 Programming based on IEC61131-3In this chapter you can read about:Prerequisites.....................................................................................................................152CoDeSys / Compax3 target system (Target Package) ....................................................153Languages supported.......................................................................................................154Function range supported.................................................................................................154Data types supported .......................................................................................................157Retain Variables ...............................................................................................................157Recipe table with 9 columns and 32 lines ........................................................................157Maximum program size ....................................................................................................158Cycle time.........................................................................................................................158Access to the Compax3 object directory ..........................................................................158Compilation, debugging and down/upload of IEC61131 programs ..................................159General rules / timing .......................................................................................................160Library constants ..............................................................................................................1615.1.1. Prerequisites Installation of the CoDeSys programming tool. Installation of necessary Target Packages (target systems): Bring up the "InstallTarget" program (program group "3S Software": "CoDeSysV2.3") From “Open”, select the target file; file name: "Compax3.tnf". The selected target can be installed with "Install".5. Motion control