3
2.10 GenerateyourPLCDocumentation......................................................................................................................82
2.11 LibraryImportandExport.....................................................................................................................................85
2.12 TemplateBasedprogramming..............................................................................................................................87
2.13 ScriptBasedProgramming....................................................................................................................................88
2.14 AdvancedCProgrammingforrepetitiveandadvancedusers.............................................................................89
3.0 PLCLadderProgrammingDetailedProgrammingDescription.................................................................................91
3.1 LogicalBoolean
Instructions,AND,NAND,OR,NOR,XOR,NXOR,INVERT..........................................................92
3.2 Hysteresis/InRangecompare.............................................................................................................................95
3.2.1 HYSTERESISMODE........................................................................................................................................95
3.2.2 INRANGEMODE...........................................................................................................................................97
3.3 StartstopinstructionEasystart/stopwithemergencystop..............................................................................99
3.4 CombinedlogicAND–ORCombinedlogic
instruction......................................................................................100
3.5 MathInstructions,...............................................................................................................................................103
3.6 Compareinstructions,>,>=,<,<=,==(Equal),!=(NotEqual)...........................................................................105
3.7 JumpInstructions,ConditionalandUnconditionalProgramBranching.............................................................107
3.8 SubroutineCalls,ConditionalandUn conditionalSubroutineCalling.................................................................109
3.9 Totalizer,TotalAccumulator,PeriodTotalization,EnergyTotalization
.............................................................111
3.10 LightingGroups, CreatingaLightingGroup........................................................................................................116
3.11 TimerInstructions,Timer,FreerunOsci llator,ValuetoFrequencyConverter..................................................120
3.12 OutputAssignment,makingthingshappenintherealworld............................................................................125
3.13 ProportionalControl,PIDforAutomationandHVACapplica tions....................................................................129
3.14 Alternateand
Paralleling,AlternateandParallelingofPumpsandMachinery.................................................132
3.15 AHUandRTUstaging,CreateeasilySimple orComplexHVACsequences........................................................136
3.16 HourCounter,Createanhourcounter...............................................................................................................141
3.17 SectionLabels,OrganizeandDocumentyourPLCprograms.............................................................................143
3.18 SpecialUserProgramsLinkyourinterface
touser“Clanguage”createdInstructions.....................................144
3.19 ProgramEndInsertENDinstructionstoterminatePLCorexitsubroutinecalls..............................................144