您好,欢迎访问三七文档
Forinternaluseonly/©SiemensAG2012.AllRightsReserved.TIAPortalV11SP2SCLinSTEP7V11SP2Forinternaluseonly/©SiemensAG2012.AllRightsReserved.ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionTIAPortalV11SP2TIAPortalV11SP2Forinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage32012-02-13SCLinSTEP7V11SP2ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionSCLinSTEP7V11SP2IntroductionValidforS7-300,S7-400,WinACandS7-1200FunctionavailableFunctionavailablewithrestrictionsFunctionnotavailableS7-1200S7-400WinACS7-300S7-1200S7-400WinACS7-300ValidforS7-300,S7-400andWinACS7-400WinACS7-300S7-1200ValidforS7-1200DescriptionofusedsymbolsForinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage92012-02-13SCLinSTEP7V11SP2ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionSCLinSTEP7V11SP2WhatisSCL?S7-1200S7-400WinACS7-300StructuredControlLanguageastext-basedCorrespondstoIEC61131-3(ST)CertifiedaccordingtoPLCopenComplexcalculations&algorithmsDataoperations,e.g.sortdataProgramcodeexchangeablebetweenS7-1200,S7-300,S7-400andWinACSCL:=high-levellanguageprogramming+extensionstypicalforPLCs;Forinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage102012-02-13SCLinSTEP7V11SP2ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionSCLinSTEP7V11SP2UsageofSCL:IFdata_operationTHENSCL3630.05290.06383.09215.013195.03630.05290.06383.09215.013195.0Example:StorageofReal-valuesinanarrayForinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage112012-02-13SCLinSTEP7V11SP2ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionSCLinSTEP7V11SP2UsageofSCL:IFdata_operationTHENSCLS7-400WinACS7-300S7-1200S7-400WinACS7-300S7-1200CodeinSTLforS7-300/400CodeinLADforS7-1200SolutioninSCLforS7-300/400ANDS7-1200(withSP2)Forinternaluseonly/©SiemensAG2012.AllRightsReserved.ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionTIAPortalV11SP2TIAPortalV11SP2Forinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage132012-02-13SCLinSTEP7V11SP2ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionSCLinSTEP7V11SP2AddanewblockAddanewblockProgramminglanguageBlocknameForinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage142012-02-13SCLinSTEP7V11SP2ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionSCLinSTEP7V11SP2ProgrammingwithSCLAdvantages:HandlingofSCLblockissamelikeLAD/FBD/STL(NoSource*anymore)!Theblocksarecompiledintherightorderautomatically(NeitherMake-File*nororganizationofthecompileorderisnecessary)!OBFCFBLocal*IncontrasttoS7-SCLV5.xSCLarecompiledintherightorderautomatically,likeLAD/FBD/STL!OneSCL–„Source“isdealedasoneblockfromcreatingonwards!Forinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage152012-02-13SCLinSTEP7V11SP2Editor:FavoritesbarforfrequentlyusedinstructionsEasytousedrag&dropfromtheinstructiontaskcard,projecttree,PLCtags,…IntellisenseBetternavigationintheprogramblocksEasierdebuggingSCLinSTEP7V11SP2EditorProjectview–allobjectsoftheprojectinahierarchicalstructureEditorfunctionsInterfaceEditorTaskcardwithinstructionsProjecttreeWorkareaDetailviewInspectorwindowForinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage162012-02-13SCLinSTEP7V11SP2SCLinSTEP7V11SP2EditorControlstructuresBlockcallusingDrag&DropD&DofTagsandconstantsForinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage172012-02-13SCLinSTEP7V11SP2SCLinSTEP7V11SP2Editoractivate/deactivatecodeBookmarkFavoritebarwithCodeSnippetsCollapse/Expandloops,blockcalls,commentsetc.IntellisenseforVariables,Instructions…SCLsupportsprogrammingbothusingthemouseandusingthekeyboard!CodesnippetTABbzw.ShiftTABspringtzwischendenBezeichnerundKonstantenTAB/ShiftTABjumpstonext/lastidentifierWhiletypingin,syntaxischeckedinstantly!Forinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage182012-02-13SCLinSTEP7V11SP2ProgrammingwithSCLinSTEP7V11SP2LiveDemoCreateanewSCLfunctionblockDeclarationintheinterfaceUseofCodeSnippetsDragandDropEditorfunctionsForinternaluseonly/©SiemensAG2012.AllRightsReserved.ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionDataTypesSCLinTIAPortalIntroductionTIAPortalV11SP2TIAPortalV11SP2Forinternaluseonly/©SiemensAG2012.AllRightsReserved.IIAASSSUPFAPage202012-02-13SCLinSTEP7V11SP2ExercisesSourcefilesCompiling/testingFurthermodelsforaddressingTypeconversionLanguagedescriptionParameterComplexEl
本文标题:博图 SCL
链接地址:https://www.777doc.com/doc-3593660 .html