西门子300 Graph_7编程

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

--S7-GRAPH‰S7-GRAPH‰‰‰‰‰/‰‰SIMENSSIMATICS7S7-GRAPHTRAININGvENTER--S7-GRAPHS7-Graph--S7-GRAPHS7-GRAPHDesignProgrammingStart-UPDocumentationArchivingHMIS7-Graph:--S7-GRAPHM1M2--S7-GRAPHLEDsINI1INI2INI3123--S7-GRAPHNoYesSTEP7--S7-GRAPH--------S7-GRAPH***Step***=InitialStep***=******a:b:c:d:1.2./3.--S7-GRAPHI2.4I2.3TTransitions“”******--S7-GRAPHLAD/FBD/STLSTEP7S7LAD,FBDS7-GRAPH--S7-GRAPHS7-GRAPH‰‰IEC1131-3‰S7-300S7-400‰‰‰/‰--S7-GRAPH--S7-GRAPHSIMATICOB1FBPLC-S7GRAPHFB-Yes--S7-GRAPHOB/FB/FCCallFB/DBSQ_INIT=FBxDBxS2S1T1T2--S7-GRAPHS1Step1T5trans5STEP99924Initialstep//Transition“”“”S3Step3S3Step3--S7-GRAPHSxxx--S7-GRAPH--S7-GRAPH249“”--S7-GRAPHFBFB88SequencerSequencer--S7-GRAPHS7-GRAPHBlocksS1SequencerasFBS13T1T13SequencerasGRAPHsourcefileS1S13T1T13S1Open/InsertS7SaveSaveas…SaveSaveas…Open/InsertGRAPH--S7-GRAPH/GRAPH--S7-GRAPHS7-GRAPH--S7-GRAPH/FBGRAPH--S7-GRAPHLEDsS1Step1T1trans1S2Step2T2trans2S3Step3T3trans3--S7-GRAPHS1Step1T1trans1S2Step2T2trans2S3Step3T3trans3--S7-GRAPHSTEP7FB1+DBS1Step1T1trans1S2Step2T2trans2S3Step3T3trans3--S7-GRAPH--S7-GRAPHApplicationSettings/BlockSettings--S7-GRAPHApplicationSettings,General-1--S7-GRAPHApplicationSettings,General-2--S7-GRAPHApplicationSettings,Editor-1--S7-GRAPHApplicationSettings,Editor-2--S7-GRAPH:Overview--S7-GRAPH:SinglePage--S7-GRAPH:SingleStep--S7-GRAPH!!Interlock=0(error):Supervision=1(error):V=1--+STOPV=0--+continueC=0--+continueC=1--+continueFBERR_FLT=1“C”“NC”FBERR_FLT=1FBERR_FLT=0“C”FBERR_FLT=0--S7-GRAPH:--S7-GRAPHS1S2T1T2S4T3S5S6T4T5,,Seq.1S7S8T6T7S9T9Seq.2S8T9step8,Overview+FB/FCCall--S7-GRAPH-1--S7-GRAPH-2--S7-GRAPHActions---S7-GRAPH‰ActionsƒN=Non-storedƒS=SetƒR=ResetƒD=TimeDelayedƒL=TimeLimitedƒCALL=Blockcall-2NM1.1SM1.2RM1.3M1.4DT#1H2M3SM1.5LT#4MSCALLFC1--S7-GRAPH‰‰ƒ“C”C=1ƒ0CActions-3NCM1.1SCM1.2RCM1.3M1.4DCT#1H2M3SM1.5LCT#4MSCALLCFB5DB3--S7-GRAPHCompilerMessagesƒFBƒƒGRAPHƒƒ--S7-GRAPHS1Step1T1trans1S2Step2T2trans2S3Step3T3trans3LS1LEDsINI1INI2INI3123S1S2S3S4--S7-GRAPHS1Ground_stateT1trans1T2trans2T3trans3S2Part_completedS3Conveyor_rightErrorLS1LEDsINI1INI2INI3123S1S2S3S4--S7-GRAPH--S7-GRAPHFBFBDBDBFBFB--S7-GRAPHCompile/Save–1--S7-GRAPHCompile/Save-2--S7-GRAPHCompile/Save-3--S7-GRAPHCompile/Save-4--S7-GRAPH‰Minimumcallparametersƒ1‰Standardcallparametersƒ12ƒ7ƒ/FB-1--S7-GRAPH‰Maximumcallparametersƒ17ƒ12ƒ/FB-2--S7-GRAPH‰V5MaximumV5(userdefined)ƒ29ƒ32ƒ/()ƒFB-3--S7-GRAPH‰:‰:/--S7-GRAPH‰StaticVariables‰TemporaryVariables--S7-GRAPHS7GraphFBMin.Std.OFF_SQBOOLINIT_SQBOOLACK_EFBOOLREG_EFBOOLACK_SBOOLS_NOREG_SBOOLS_NOHALT_SQBOOL/HALT_TMBOOL/ZERO_OPBOOL0CALLEN_ILBOOL/EN_SVBOOL/EN_ACKREQBOOLDISP_SACTBOOLMax.User-def.ENBOOLFB.ENFB.DISP_SEFBOOLDISP_SALLBOOL--S7-GRAPHS7GraphFBMin.Std.S_NOINTS_MOREBOOLS_ACTIVEBOOLS_TIMETIMES_TIMEOKTIMES_CRITLOCDWORDS_CRITLOCERRDWORDL1S_CRITSUPDWORDS_STATEWORDT_NOINTT_MOREBOOLT_CRITDWORDT_CRITOLDDWORDMax.User-def.ENOBOOLFBENO=1ENO=0.T_CRITFLTDWORDL1ERRORBOOL--S7-GRAPH‰Overviewƒƒƒ‰SinglePageƒOverviewƒƒƒOverviewSinglePage--S7-GRAPHSingleStep‰Singlestepƒƒƒ‰LAD/FBDƒ‰ƒ‰ƒUƒT--S7-GRAPH1.CPU2.3.--S7-GRAPH--S7-GRAPH--S7-GRAPH-1--S7-GRAPH-2--S7-GRAPH-3--S7-GRAPHSynchronization-1--S7-GRAPHSynchronization-2--S7-GRAPH“ControlSequencer”LS1LEDsINI1INI2INI3123S1S2S3S4--S7-GRAPHLS1LEDsINI1INI2INI3123S1S2S3S4--S7-GRAPH--S7-GRAPHA1=L1=L0=S1=S0=V1=V0=_4A1NM1.1L1NM1.2L0NM1.3S1NM1.4V1NM2.5S0NM2.4V0NM2.6--S7-GRAPH330--S7-GRAPHS3Step3T3Valve_ONValve_1Valve_2CMP==ILADLADMW0MW2--S7-GRAPH‰=Si.S1/Si.S0=i/Si.L1/Si.L0=/iSi.V1/Si.V0=/Si.A1=I‰Si.X=iSi.LA=Si.VA=Si.AA=S002.A1T3S002.VAInterlock()--S7-GRAPH1--S7-GRAPH25s“”Step3“Acknowledgeerrors”TT=TransitionSatisfied--S7-GRAPHFBACK_EF//FBFB+transitionOK!ERR_FLT-OFFSx-S_OFFS_ON/-INIT_SQ-OFF_SQ3--S7-GRAPH4--S7-GRAPH5--S7-GRAPH6--S7-GRAPHLEDs--S7-GRAPHDrill_onQ5.1BOOLFlash2HzM10.7BOOLG7_STD_3FC72FC72H1Q4.1BOOLHornQ4.7BOOLINI1I1.5BOOLINI2I1.6BOOLINITIALIZATIONI0.0BOOLK1_CONVRQ4.5BOOLM_H4M20.4BOOLREAD_CLKSFC1SFC1S1I1.1BOOLS2I1.2BOOLS3I1.3BOOLK2_CONVLQ4.6BOOLLB1I1.0BOOLINI3I1.7BOOLM_H1M20.1BOOLH2Q4.2BOOLH3Q4.3BOOLH4Q4.4BOOLS4I1.4BOOL--S7-GRAPH--S7-GRAPH--S7-GRAPH--S7-GRAPH--S7-GRAPH-PLC--PLC“”--S7-GRAPH-S5S6Pos.S1Pos.S2Pos.S3--S7-GRAPH-Initial_statestartslider_Pos2stamp_downPosition_reachedStamp_is_downstamp_timestamp_updummy_step_1slider_Pos2dummy_step_2Pos3_freeStamp_is_upPos3_occupationremove_partslider_leftdummy_t2dummy_t2Pos1_occupationWaitstep--S7-GRAPHLEDs--S7-GRAPHOB1--S7-GRAPH23LS1LEDsINI1INI2INI3123S1S2S3S4--S7-GRAPH--S7-GRAPHLEDsLEDs--S7-GRAPH/AUTOMANLB1interlockKey_conveyor_rightCAUTOMANLS1.ttsupervisionSSEVVCmpDconveyor_right.t-T#5S---S7-GRAPH//FBPermanentinstructionsaftersequencer1AUTOMANM_conveyor_rightK1_conveyor_RKey_conveyor_rightLB1AUTOMANM_conveyor_leftK2_conveyor_LKey_conveyor_leftINI1--S7-GRAPH/-1/FCAUTOMANM_K1_MOTIONReq_K1Pushb_rightAUTOMANFinAss_okEnable_K1Req_K1Enable_K1K1_MOTIONLS1--S7-GRAPH/-2/FCLB1AUTOMANEnable_1K1_conveyor_rightK2_conveyor_leftEnable_2M_conveyor_rightINI1M_conveyor_leftFinal_pos_2AUTOMANEnable_1Enable_2AUTO_start_1Final_pos_1AUTO_start_2#conveyorcontrol_1control_2ENENONetwork3:/1left

1 / 114
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功