
SHPPLCD 13369837 L-force Engineering Software Manual Ä.E÷Fä PC-based Automation PLC Designer L L-force | PLC Designer Contents 1 About this Documentation ____________________________________________ 21 1.1 Liability______________________________________________________ 22 1.2 Trademarks __________________________________________________ 22 2 Lenze specifications __________________________________________________ 23 2.1 Migration of the Lenze targets ____________________________________ 23 2.1.1 Updating the Lenze target "V5 Logic" to "V6 Logic with Motion" ___ 23 2.1.2 Updating the Lenze target "V5 Logic with Motion" to "V6 Logic with Motion" __________________________________________ 24 2.1.3 Updating the Lenze target "V6 Logic" to "V6 Logic with Motion" ___ 24 2.2 Lenze Function Blocks and Functions _______________________________ 25 2.2.1 The LDM_ParameterAccess_FB function block _________________ 25 2.2.2 The function LLS_AddLog - generate a logbook ________________ 28 2.3 CANopen / PROFIBUS / EtherCAT __________________________________ 29 2.4 PLC program for the documentation of a cycle time violation ____________ 29 2.5 Visualisation via the "PLC Designer OPC Server" _______________________ 30 3 A Brief Introduction to PLC Designer _____________________________________ 31 3.1 What is »PLC Designer« _________________________________________ 31 3.2 Overview of PLC Designer Functions... ______________________________ 31 3.2.1 How is a project structured?_______________________________ 31 3.2.2 How do I set up my project? _______________________________ 31 3.2.3 How can I test my project? ________________________________ 32 3.2.4 Debugging ____________________________________________ 32 3.2.5 Additional Online Functions _______________________________ 32 3.2.6 Additional PLC Designer Features ___________________________ 33 4 What is What in PLC Designer __________________________________________ 34 4.1 Project Components...___________________________________________ 34 4.1.1 Project _______________________________________________ 34 4.1.2 POU (Program Organization Unit) __________________________ 34 4.1.3 Function ______________________________________________ 34 4.1.4 Function Block _________________________________________ 37 DMS 3.2 EN 02/2011 TD29 1 L-force | PLC Designer 4.1.5 Function Block Instances __________________________________ 38 4.1.6 Calling a function block___________________________________ 39 4.1.7 Program ______________________________________________ 42 4.1.8 PLC_PRG ______________________________________________ 44 4.1.9 Action ________________________________________________ 45 4.1.10 Resources _____________________________________________ 47 4.1.11 Libraries ______________________________________________ 47 4.1.12 Data types_____________________________________________ 48 4.1.13 Visualization ___________________________________________ 48 4.2 Languages... __________________________________________________ 48 4.2.1 Instruction List (IL)... _____________________________________ 49 4.2.2 Structured Text (ST)... ____________________________________ 52 4.2.3 Sequential Function Chart (SFC)... ___________________________ 61 4.2.4 Function Block Diagram (FBD)..._____________________________ 70 4.2.5 The Continuous Function Chart (CFC)... _______________________ 70 4.2.6 Ladder Diagram (LD)... ____________________________________ 70 4.3 Debugging, Online Functions... ____________________________________ 73 4.3.1 Sampling Trace _________________________________________ 73 4.3.2 Debugging ____________________________________________ 73 4.3.3 Breakpoint ____________________________________________ 73 4.3.4 Single step_____________________________________________ 74 4.3.5 Single Cycle ____________________________________________ 74 4.3.6 Change values online ____________________________________ 74 4.3.7 Monitoring ____________________________________________ 74 4.3.8 Simulation ____________________________________________ 76 4.3.9 Log __________________________________________________ 76 4.4 The Standard... ________________________________________________ 76 5 We Write a Little Program _____________________________________________ 77 5.1 Controlling a Traffic Signal Unit... __________________________________ 77 5.1.1 Introduction ___________________________________________ 77 5.1.2 Create POU ____________________________________________ 77 5.1.3 What does TRAFFICSIGNAL do? _____________________________ 77 2 DMS 3.2 EN 02/2011 TD29 L-force | PLC Designer 5.1.4 What does WAIT do? ____________________________________ 77 5.1.5 What does SEQUENCE do? ________________________________ 78 5.1.6 What does PLC_PRG do?__________________________________ 78 5.1.7 TRAFFICSIGNAL simulation ________________________________ 78 5.1.8 "TRAFFICSIGNAL" declaration ______________________________ 79 5.1.9 "TRAFFICSIGNAL" body ___________________________________ 80 5.1.10 Connecting the standard.lib _______________________________ 82 5.1.11 "WAIT" declaration ______________________________________ 82 5.1.12 "WAIT" body ___________________________________________ 83 5.1.13 "SEQUENCE" first expansion level___________________________ 84 5.1.14 Create a SFC diagram ____________________________________ 84 5.1.15 Actions and transition conditions___________________________ 86 5.1.16 "SEQUENCE" second expansion level ________________________ 88 5.1.17 The result _____________________________________________ 90 5.1.18 PLC_PRG ______________________________________________ 90 5.1.19 TRAFFICSIGNAL simulation ________________________________ 93 5.2 Visualizing a Traffic Signal Unit... __________________________________ 93 5.2.1 Creating a new visualization ______________________________ 93 5.2.2 Insert element in Visualization_____________________________ 94 5.2.3 The other traffic lights ___________________________________ 95 5.2.4 The TRAFFICSIGNAL case__________________________________ 96 5.2.5 The second traffic signal__________________________________ 96 5.2.6 The ON switch _________________________________________ 96 5.2.7 Font in the visualization __________________________________ 97 6 The Individual Components ____________________________________________ 98 6.1 The Main Window... ____________________________________________ 98 6.1.1 Components of the Main Windows _________________________ 98 6.1.2 Menu bar _____________________________________________ 99 6.1.3 Tool bar ______________________________________________ 99 6.1.4 Object Organizer ______________________________________ 100 6.1.5 Screen divider_________________________________________ 100 6.1.6 Work space___________________________________________ 101 DMS 3.2 EN 02/2011 TD29 3 L-force | PLC Designer 6.1.7 Message window ______________________________________ 101 6.1.8 Status bar ____________________________________________ 101 6.1.9 Context Menu _________________________________________ 102 6.2 Project Options... ______________________________________________ 102 6.2.1 Options for Load & Save _________________________________ 103 6.2.2 Options for User information _____________________________ 105 6.2.3 Options for Editor ______________________________________ 106 6.2.4 Options for the Desktop _________________________________ 108 6.2.5 Options for Colors ______________________________________ 110 6.2.6 Options for Directories __________________________________ 112 6.2.7 Options for Log ________________________________________ 113 6.2.8 Options for Build _______________________________________ 115 6.2.9 Passwords ____________________________________________ 118 6.2.10 Source download ______________________________________ 119 6.2.11 Options for 'Symbol Configuration' _________________________ 120 6.2.12 Options for 'Project source control' _________________________ 122 6.2.13 Options for project objects and shared objects regarding the project data___________________________________________ 125 6.2.14 Options for Compile Files regarding the project data base _______ 128 6.2.15 Options for 'Macros' ____________________________________ 129 6.3 Managing Projects... ___________________________________________ 131 6.3.1 'File' 'New' ____________________________________________ 131 6.3.2 'File' 'New from template' ________________________________ 131 6.3.3 'File' 'Open' ___________________________________________ 132 6.3.4 'File' 'Close' ___________________________________________ 134 6.3.5 'File' 'Save' ____________________________________________ 134 6.3.6 'File' 'Save as' __________________________________________ 134 6.3.7 'File' 'Save/Mail Archive' _________________________________ 136 6.3.8 'File' 'Print' ____________________________________________ 141 6.3.9 'File' 'Printer setup' _____________________________________ 142 6.3.10 'File' 'Exit'_____________________________________________ 144 6.3.11 'Project' 'Build' _________________________________________ 144 6.3.12 'Project' 'Rebuild all'_____________________________________ 146 4 DMS 3.2 EN 02/2011 TD29 L-force | PLC Designer 6.3.13 'Project' 'Clean all'______________________________________ 146 6.3.14 'Project' 'Load download information'_______________________ 146 6.3.15 'Project' 'Translate into another language' ___________________ 147 6.3.16 Create translation file___________________________________ 147 6.3.17 Editing of the translation file _____________________________ 151 6.3.18 Translate Project (into another Language) ___________________ 152 6.3.19 'Show project translated' ________________________________
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages844 Page
-
File Size-