您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 汽车理论 > YASKAWA CP-717培训
1ControllerCP-317,316,9200SHMaintenanceCourse2CP-717Start-upGroupFolderGroupFolderOrderFolderOrderFolderPLCFolderCPUFolderCreatefolders.3LogONOperationRightclick“CPU1”icon.Ifitison-lineoperation,click“On-line”.→Checkmarkisaddedto“On-line”.InputUSER-Ain“UserName”.AftermovingacursorwithTABkey,inputUSER-Ain“Password”again.Thenclick“OK”.Rightclick“CPU1”iconagain.Thenclick“LogON”.→“LogON”windowisdisplayed.LogONComplete4On-LineCommunicationParameterSettingSet217IFcommunicationportthrough“CommunicationProcess”.5HowtoProgramLadderDiagrams•DrawingsUsefulforProgramDesignandMaintenance•ProgramandDrawingConcepts–StartProcessDrawing,High-speed・Low-speedProcessDrawing,InterruptionProcessDrawing–ParentDrawing,ChildDrawing,GrandchildDrawing–Register6DrawingProcessScheduleStartProcessParentDrawingHigh-speedProcessParentDrawingLow-speedProcessParentDrawingInterruptionParentDrawingPowerONInterruptionSignalHigh-speedScanHigh-speedScanHigh-speedScanLow-speedScan7ParentDrawing,ChildDrawing,GrandchildDrawingParentDrawing1page(Onedrawingperstart,interruption,high-speedandlow-speed.)ChildDWG.1GrandchildDWG.1ProcessGrandchildDWG.1Function1.ProcessReferenceFunction1ChildDrawing1ProcessReferenceChildDrawing2ProcessReferenceChildDrawing3ProcessReferenceChildDWG.2ChildDWG.3GrandchildDWG.2ProcessGrandchildDWG.2Max.99Max.99Max.648Function•StandardprogramsarecalledFunctions.Anyonecanretrieveatanytime.•SystemStandardFunctionsareprogrammedinadvance.UserFunctionsareprogrammedknow-howbytheirusers.DTRC-RDEXECUTECOMPLETEGROUP-NOERRORREC-NOSTATUSREC-SIZEREC-SIZESELECTREC-LENDAT-ADRSystemStandardFunctions(Example)9HowtoAssignandCallDrawingNo.•High-speedProcessParentDrawing:DWG.H•High-speedProcessChildDrawing:DWG.H01-99•High-speedProcessGrandchildDrawing:DWG.H.01-99(Here:01~99)•Sameruleisappliedtolow-speed,startandinterruptionprocess.(DrawingtypeHchangestoL,AandIrespectively.)•Function:FUNC-001-064•ChilddrawingcanbecalledbySEEH01inprogram(whencallingchildscreenH01fromhigh-speedprocessparentscreen).10WhatisRegister?•Registeristhememorythatstoresdata.•Dataisnumericalvaluessuchaspositionorspeed,andbitsuchasON-OFFsignal.11Registers•NameRangeNotationUsage•SystemRegisterSW00000-SW01023DecimalPreparedregister.•Failurecontents,scantime,etc.•arestored•DataRegisterMW00000-MW32767DecimalRegistertostoredatacommonlyusedbetweendrawings••InputRegisterIW0000-IW7FFFHexadecimalRegistertonametheinput•OutputRegisterOW0000-OW7FFFHexadecimalRegistertonametheoutput•ConstantRegisterCW00000-CW16383DecimalRegisterthatstoresreadonlydata•#Register#W00000-#W16383DecimalReadonlyregisterusedonlyindrawings•DRegisterDW00000-DW16383DecimalGeneral-purposeregisterusedonlyincertaindrawings12HowtoAssignNumbersMB001001BitNumber:0~F(Contact,Coil,etc.)RegisterNumber:Decimal,5digitsorHexadecimal,4digitsDataType:B,W,L,F,ARegisterTypes:S,M,I,O,C,D,etc.13HowtoAssignNumbers(Examples)•MB000002:•The2ndbitofdataregister(M)00000address.•DW00030:•The00030thintegralnumberdataofregister(D)peculiartoeachdrawing.14WhatisDataType?•B:Bit.Usedinrelaycircuits.•W:16-bitintegralnumber.–Range–32768~+32767.•L:Doublelengthintegralnumber.–Range–2147483648~+2147483647.•F:Floatingvalue.•A:Address.–Range0~32767.15BasicCommands•SequenceControlCommand•ProgramControlCommand•DirectI/OCommand•LogicOperationCommand•NumericalValueCalculationCommand•NumericalValueConversionCommand•NumericalValueComparisonCommand•DataOperationCommand•BasicFunctionCommand•DDCCommand16Let’sProgramaSequence!–RequiredCommands•ContactA,ContactB,Coil,LeadingEdgePulse,TrailingEdgePulse,Branch,ParallelConnection,ON-DelayTimer,OFF-DelayTimer•HowtoAssignNumbers•TimerCircuit•Counter17SequenceControlCommands•ContactAMB000100ContactBMB000110•CoilMB000101•SetCoilOB000000ResetCoilOB000000[S][R]•LeadingEdgePulseTrailingEdgePulse•ContactAMB000100ContactBMB000110•CoilMB000101•SetCoilOB000000ResetCoilOB000000[S][R]•LeadingEdgePulseTrailingEdgePulse18PulseCircuitProgramming•IB00001MB000100MB000101PreviousstatusofimmediateregistertobestoredContacttobeapulse19BranchCommand•Commandsusedforparallelcircuitandbranchcircuit.•Branch•ConfluenceConfluenceConnection20Timer•4Types•ON-DelayTimer(Unit:10ms)ON-DelayTimer(Unit:1s)[5.00DW00011]•OFF-DelayTimer(Unit:10ms)OFF-DelayTimer(Unit:1s)[5.00DW00011]•Incaseof1secondtimer,itssubscriptisS.MB000101TTMB000101CurrentValueStoreRegister21Let’sProgramtheCircuit!•Exercise1•IfRunbutton(InputIB00015)ispressed,lamp(OutputOB00010)turnsON.Ifitisreleased,thelampgoesOFFimmediately.•Exercise2•IfRunbutton(InputIB00016)ispressed,lamp(OutputOB00011)turnsON5secondslater.Ifitisreleased,thelampgoesOFFimmediately.22Answers-Exercise1and2-•Exercise1•IB00015OB00010•Exercise2•IB00016005.00DW00030OB00011•[]T23Let’sProgramtheCircuit!(Continued)•Exercise3•IfRunbutton(InputIB00018)ispressed,lampturnsON(OutputOB00012).Evenifitisreleased,thelampstaysON.IfStopbutton(IB00019)ispressed,thelampgoesOFF.IfRunandStopbuttonsarepressedatthesametime,thelampturnsON.•Exercise4•IfRunbutton(InputIB00018)ispressed,lampturnsON(OutputOB00012).Evenifitisreleased,thelam
本文标题:YASKAWA CP-717培训
链接地址:https://www.777doc.com/doc-5509592 .html