施耐德PLC讲座17 实用功能.ppt
ConceptV2.6,Lesson17ObjectivesAftercompletingthislesson,thelearnerwillbeabletoImportorexportIECprograms,sectionsandvariables.UsetheConceptconvertertoarchiveand/ortransferaproject.PertheUploadfunctionDocumentandprintaConceptProject,ConceptV2.6,Export/ImportcoversIEC-ProgramsProjects,SectionsandVariableDeclarationsExportConceptProjectetc.ExportFileASCIIImportImportFileASCIIConceptProjectetc.,IECExport/Import-General,ConceptV2.6,Whenexporting,youcansendIECPrograms,i.e.,FBD,LD,andSFCsectionstoILInstructionListorSTStructuredTextfiles.Whenimporting,youcanbringIECProgramsi.e.,ILfilesInstructionListorSTfilesStructuredTextintoFBD,ST,IL,orSFCsections.NoteOnlyexportedSFCsectionscanbeimportedbackintoSFC,Iferrorsorwarningscomeupduringimport/export,theywillbedisplayedinthemessagewindow.Doubleclickonthewarningorerrormessageinthemessagewindow,andaneditorwilldisplaythesourcetextandidentifythelinethatcausedthewarningorerrormessage.,ConceptV2.6,ThefollowingfilesfileatscanbeexportedVariablesdeclarationsTextdelimitedASCIIfileFactoryLinkimportfilesforFLModlinkodLinkDDEServerProgramminglanguagesProgramIECtextExportintoIEClanguagesILandSTProgramSectionsASCIIfile,extension.secConfiguration,IECExport,ConceptV2.6,ConceptV2.6,ExportProgramminglanguagesIECtextExportintoIEClanguagesILandST,SectionsinConcept/Concept-DFBcanbeexportedtoanASCIIfilewithextension.secwithFile-ExportSections,incl.allrelatedinationfromanysource-projectorfromanysource-DFBSectionsinConcept/ConceptDFBcanbeimportedintoaneworopenedproject/DFBfromthefile.secwithFile-Importexportedsectionsintoadestination-projectordestination-DFB,ConceptSection,ConceptDFBSection,Export/ImportofSections,ConceptV2.6,ConceptV2.6,ExportSections,VariablescreatedintheVariableDeclarationEditorcanbeexportedintoatextdelimitedfileClickingthecheckboxes“EXP”marksthevariablesthataretobeexported,ConceptV2.6,IECExport-Variables,VariablesthatcanbeexportedincludedeclaredvariablesanddeclaredconstantsUseSeparatorsettingtospecifythecharacterthatwillseparatetheindividualparametersofavariabledeclaration,IECExport-Variables,ConceptV2.6,ThefollowingfilesfileatscanbeimportedVariablesdeclarationsTextdelimitedTXTfileFactoryLinkexportfilesfromFLProgramminglanguagesProgramIECtextIEClanguagesILandST,tobeconvertedtoFBDorSFCProgramSectionsASCIIfileswithextension.sec,exportedsectionsfromanyotherprojectConfiguration,IECImport,ConceptV2.6,ImportProgramminglanguagesIEClanguagesILandST,alsothosecontainingSFC,ConceptV2.6,ConceptV2.6,ImportSections,ReplacementoptionsavailableforspecificchangestoindividuallyadaptthesectionstobeimportedtoaprojectorDFBReplacingnamesnamesofvariables/sections/instances,namesintextlanguages,comments,...Wildcard,*usageinreplacingnamesOffsetaddressforLocatedvariablesanddirectaddressesingraphicallanguagese.g.410--420andtextlanguagesQW10--QW20,IECImport-SpecificChanges,ConceptV2.6,Usewildcard,*forreplacementofpartialname“”Wildcardservesasspaceholderfor1characterandisallowedonlyatbeginningofname.Multiple“”wildcardsarepermitted“*”WildcardservesasspaceholderforanynumberofcharactersExamplesReplaceByExistingNamesResult123456abc123abc456cde123cde456Name1*Name2Name1AName2AName1CDName2CD*123456abc123abc456defg123defg456*123*456abc123abcabc456abc123*456ab123abcab456abc,IECImport-WildcardUsage,ConceptV2.6,VariablesareimportedintotheVariableEditorSeparatorsettingmustbethesameasthatselectedwhenvariableswereexportedSelectingAllowmodificationofexistingvariablesresultsinoverwritingofexistingvariablesintheprojectwiththesameVariablename.,IECImport-Variables,ConceptV2.6,Import/ExportDemonstration,ConceptV2.6,TheConverter,,ConceptV2.6,ArchivingaProject,Iferrorsorwarningsoccurtheycanbeviewedinthemessagewindow,ConceptV2.6,ExportProgressWindow,,ConceptV2.6,Files,ConceptV2.6,ConverterImport,ConceptV2.6,ImportProgressWindow,ConverterDemonstration,,SupportedbyallPLC’sWhatwillbestoredintheQuantumPLCAllSectionSourceCodeandVariableNamesUserPreferencestoreducememoryusageUsercreatedEFB’sC-ToolkitDFB’sDTYfilestosupportEFB/DFBExcludeLongDescriptionsExcludeProgramCommentsUploadinationwillbemanagedautomaticallyduringONLINEchanges.,IECUpload,ConceptV2.6,PLCSourceCode,RuntimeApplication,,,,Modbus,ModbusPlus,ModbusTCPIP,,TransferSourceCodeFromthePLCtothePC,IECUploadPLCSourceCode,ConceptV2.6,,,ProjectCodeGenerationParameters,ConceptV2.6,ProvidestheUserwiththemostflexibilitytostorePLCSourceCode,IncludeVariableComments,IncludeSectionComments,IncludeUsercreatedEFB’s,IncludeDFB’sLocal/Global,ProjectbyProjectSelection,UserConfigurableSourceCode,ConceptV2.6,,,STEP1-ConnecttoPLCSTEP2-UploadSTEP3-SelectComponentstoUploadSTEP4-SaveProject,IECUploadProcess-4EasySteps,ConceptV2.6,UploadDemonstration,ConceptV2.6,CommentsandDescriptions,CommentscanbeenteredforFunctionsandFunctionBlocksFFB’sDerivedFunctionBlocksDFB’sSectionsSpecificcommentsGeneralcommentsProjectDescriptions,ConceptV2.6,CommentFFBs,DoubleclickonFFBClickon‘Comment’EnterText,,,ConceptV2.6,CommentSections-Specific,ClickonSelectanypositiononthesectionwiththecursorEnterCommenttextforspecificpartsonthesectionMovethetextfreewithintheSection,,ConceptV2.6,CommentSections-General,FileSectionpropertiesRightclickonSectioninProjectBrowserEntergeneralsectioncomments,ConceptV2.6,ProjectComment,ProjectPropertiesEnterageneralprojectdescription/comment,ConceptV2.6,ConceptallowscompletedocumentationorpartialdocumentationFilePrintDocumentcontentsandselect,ProjectPrinting,ConceptV2.6,VariablelistOptionsSelectallorspecific,ConceptV2.6,StateRAMusageOptionsSelectionofprintingtypes,ConceptV2.6,RemarksforSectionsSelectselectionofsectionstobeprintedsubsequentlykeepleftMousebuttondepressedanddragordepresssimultaneouslyshiftbuttonandleftmousebutton.singlemouseclick,depresssimultaneouslyCTRL,ConceptV2.6,RemarksforSectionsOptionsSelectionofprintingtypesScaleofgraphPayattentiontoViewOverviewPagebreaks,DocumentationDemonstrationandLab,ConceptV2.6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,