149992-01*146031-01
BENTLYNEVADA149992-01*146031-01BENTLYNEVADA149992-01*146031-01BENTLYNEVADA149992-01*146031-01新建的程序文件以“项目1(CPU221)”命名,括号内为系统默认PLC的型号。项目包括7个相关的块。其中程序块中有1个主程序,1个子程序SBR-0和1个中断程序INT-0。用户可以根据实际编程需要做以下工作:◆确定主机型号首先要根据实际应用情况选择PLC型号。右击“项目1(CPU221)”图标,在弹出的按钮中单击“类型”,或用“PLC”菜单中的“类型”命令。然后在弹出的对话框中选择所用的PLC型号。◆程序更名项目文件更名:如果新建了一个程序文件,可用“文件”菜单中“另存为”命令,然后在弹出的对话框中键入希望的名称。子程序和中断程序更名:在指令树窗口中,右击要更名的子程序或中断程序名称,在弹出的选择按钮中单击“重命名”,然后键入名称。主程序的名称一般用默认的MAIN,任何项目文件的主程序只有一个。◆添加一个子程序或一个中断程序方法1:在指令树窗口中,右击“程序块”图标,插入子程序或插入中断程序。方法2:用“编辑”菜单中的“插入”命令。方法3:在编辑窗口中单击编辑区,在弹出的菜单选项中选择“插入”命令。新生成的子程序和中断程序根据已有的子程序和中断程序的数目,默认名称分别位SBR-n和INT-n,用户可以自行更名。◆编辑程序编辑程序块中的任何一个程序,只要在指令树窗口中双击该程序的图标即可。2、打开已有文件打开一个磁盘中已有的程序文件,可用“文件”菜单中“打开”命令,在弹出的对话框中选择打开的程序文件,也可用工具条的按钮来完成。3、上装在已经与PLC建立通信的前提下,如果要上装PLC存储器中的程序文件,可用“文件”菜单中“上装”命令,也可用工具条中的按钮来完成。二、编辑程序编辑和修改控制程序是程序员利用STEP7-Micro/WIN32以上版本编程软件要做的最基本的工作,下面以梯形图编辑器为例介绍一些基本编辑操作。1、输入编程元件梯形图的编程元件(编程元素)主要有线圈、触点、指令盒、标号及连接线。输入方法有以下两种。方法1:用指令树窗口中的“治理”所列的一系列指令按类别分别编排在不同子目录中,找到要输入的指令并双击,如上图所示。方法2:用指令工具条上的一组编程按钮,单击触点、线圈和指令盒按钮,从弹出的窗口中下拉菜单所列的指令中选择要输入指令单击即可。工具按钮和弹出的窗口下拉菜单如图3所示。2、块操作利用块操作对程序大面积删除、移动、复制操作十分方便。块操作包括块选择、块剪切、块删除、块复制和块粘贴。这些操作十分简单,与一般字处理软件中的相应操作方法完全相同。3、符号表使用符号表,可将直接地址编号用具有实际意义的符号代替,有利于程序结构清晰易读。2AP-S2BMSignalProcessingModule2AP-S2BM1SignalProcessingModuleA60AP50/AP51ToAP51B(Adv)HWUpgradeA61WP50/WP51ToWP51B(Adv)HWUpgradeA62AW50/AW51ToAW51B(Adv)HWUpgradeA67WP50/WP51ToWP51B1(Adv)HWUpgradeA69ApplicationWorkstation51StyeE(Adv)HwUpgradeA70WorkstationProcessor51StyleE(Adv)HwUpgradeA71ApplicationProcessor51StyleE(Adv)HwUpgradeAG100FPIE-16,120Vac,AuxCoolingAssemblyKitAG100FQIE-16,230Vac,AuxCoolingAssemblyKitAG100FRIE-32,120Vac,AuxCoolingAssemblyKitAG100FSIE-32,230Vac,AuxCoolingAssemblyKitAG100PNFBM06PULSEINPUT,0-20MAOUTPUTAG100PPFBM07CONTACT/DCINPUTAG100PSFBM12CONTACT/DCINPUTEXPANDERAG100PVFBM170-10VDC,CONTACT/DCINPUT/OUTPUTAG100PWDUALNODEBUSEXTENDEDMODULE(DNBX)AG100TPSUNSYSTEMBDUPGRADEAG100UACP40BRETROFITAG400AUV4.0AP20SWReleaseKitAG400BUV4.0AP50SWReleaseKitAG400CUV4.0WP50SWReleaseKitAG400DUV4.0PW(All)SWReleaseKitAG400HUV4.0AW50SWReleaseKitAG400JUV4.0AW51SWReleaseKitAG400KUV4.0WP51SWReleaseKitAG400LUV4.0AP51SWReleaseKitAG420AUV4.2AP20UpgradeSWReleaseKitAG420BUV4.2Model50UpgradeSWReleaseKitAG420DUV4.2PWUpgradeSWReleaseKitAG420LUV4.2Model51UpgradeSWReleaseKitAG430AUV4.3AP20SWReleaseKitAG430DUV4.3PWSWReleaseKitAG610AUV6.1AP20SWReleaseKitAG610DUV6.1PWSWReleaseKitAK237AASHELL-80M/BP-ADAPTORAK408AAFrontPanelAssemblyAK409AAFrontPanelAssemblyAK410AAFrontPanelAssemblyAK428AA19"HWSFRONTPANEL(OLD)AK438AACELLBUSADAPTERAK440AAIE16/FE8SideDoorKitAK445AAHWTopKitAK446AAHWInBayKitAK451AAHWKitAK459AAIDS.WKST.ABT70AK591AAMICROI/ASalesDemonstratorKitAK592AAA/BFlexI/OSalesDemonstratorKitAK593AAWindowsNTSalesDemonstratorKitATSI/ASeriesATSJumpStartKitB01CommandCenterB0164JG1.5InchHeat-ShrinkTubingB0164JH.75InchHeat-ShrinkTubingB0184YUPrintedWiringAssemblyB0184YVPrintedWiringAssembly,JunctionBox24VdcB0184YWPrintedWiringAssembly,125VdcB0193AAI/ASeriesV6.x/7.xPaperDocumentationSetB0193ABI/ADocumentation-SitePlanManualB0193AXI/ADocumentation-ControlBlockDescriptionsB0193DJI/ADocumentation-Planning&InstallationB0193DKI/ASeriesMaintenanceGroupDocumentationB0193DLI/ASeriesOperationsGroupDocumentsB0193DMI/ASeriesEngineeringGroupDocumentationB0193DNI/ASeriesPlantManagementGroupDocumentationB0193EAPaperDocI/ASeriesPW-NB(Set)B0193ESPaperDocI/ASeriesPW-NB(MaintGroup)B0193ETPaperDocI/ASeriesPW-NB(OperGroup)B0193EUPaperDocI/ASeriesPW-NB(EngrGroup)B0193EVPaperDocI/ASeriesPW-NB(PlantMgmt)B0193FAPaperDocI/ASeriesPW-FB(Set)B0193FFPaperDocI/ASeriesPW-NB(MaintGroup)B0193FGPW-FBTrainPkgB0193FHPaperDocI/ASeriesPW-FB(OperGroup)B0193FJPaperDocI/ASeriesPW-FB(EngrGroup)B0193FKPaperDocI/ASeriesPW-FB(PlantMgmt)B0193GAPaperDocI/ASeriesPW-SSI(Set)B0193GFPaperDocI/ASeriesPW-SSI(MaintGroup)B0193GHPaperDocI/ASeriesPW-SSI(OperGroup)B0193GJPaperDocI/ASeriesPW-SSI(EngrGroup)B0193GLPaperDocI/ASeriesPW-SSI(PlantMgmt)B0193GMPaperDocI/ASeriesPW-SSI(TrainGroup)B0193HAPaperDocI/ASeriesPW-HTG(Set)B0193HKPaperDocI/ASeriesPW-HTG(MaintGroup)B0193HLPaperDocI/ASeriesPW-HTG(OperGroup)B0193HMPaperDocI/ASeriesPW-HTG(EngrGroup)B0193HNPaperDocI/ASeriesPW-HTG(PlantMgmt)B0193HPPaperDocI/ASeriesPW-HTG(TrainGroup)B0193HWAutomationEquipManagerHardCopyDocB0193KBVENIXProgrammingDocumentation(Paper)B0193KCDevelopmentAndCallsDocumentation(Paper)B0193KDINFORMIXDocumentation(Paper)B0193KEProgrammingDocumentationSet(Paper)B0193LB50SeriesCompleteSetDocumentationB0193LC50SeriesSUNOPSYSDocumentationB0193LD50SeriesFoxboroSWDocumentationB0193LE50SeriesINFORMIXRunTimeDocumentationB0193LF50SeriesSpreadsheetDocumentationB0193LG50SeriesINFORMIXDeveloper'sDocumentationB0193LRSunOSFullManualSetWithBindersB0193LSSunOSBeginner'sGuideSetB0193LTSunOSSystemAdministrationGuideSetB0193LUSunOS4.1SystemReferenceManualSetB0193LVSUNProgrammer'sReferenceGuideSetB0193NFCompleteAP51/WP51/AW51(Solaris2.2)DocsB0193NHI/ADocumentation-ProgrammingB0193NK50SeriesINFORMIXOnLineDeveloper'sEnv.Doc.B0193NMSolaris2.2FullManualSetWithBindersB0193NNFORTRANCompilerDocumentationB0193NPCCompilerDocumentationB0193NQDECnetConnectivityDocumentationB0193VACompleteAP51/WP51/AW51(Solaris2.4)DocsB0193VBSolaris2.4FullManualSetWithBindersB0193XAAP/AW/WP51Solaris2.5DocumentationB0193YXV4.3NodebusSolutionsGuideB0193YYV4.3ReleaseNotesB0193ZBUNIXV6.1ReleaseNotesB0193ZK50SeriesUNIXDocumentationB0193ZL50SeriesUNIXNodebusw/SW/DocsB0193ZM70SeriesDocumentationB0193ZN70SeriesNodebusSW&InstallationGuideB0193ZP70SeriesEthernetSW&InstallationGuideB0193ZQ50SeriesEthernetWithSWB0193ZWAW50/70EthernetTutorialB0199AHI/APoster-AW70BQuickSetupGuideB0199AJI/APoster-AW70A&B/WP70A&BQuickSetupGuideB02WorkCenterForI/ASeriesSystemsB0332PositionFBM2xxEnclosure,NEMA4B0432PositionFBM2xxEnclosure,NEMA12B0400AAI/ASeriesDocumentationFor70SeriesB0400GANTEthernetCompletePaperDocumentSetB0400LANTNodebusCompletePaperDocumentSetB0400UAV7.0I/ASeriesA²CompletePaperDoc.SetB05B0516PositionFBM2xxEnclosureB0616PositionFBM2xxEnclosureB0700AAI/ASeriesV8.xCompletePaperDocumentationSetB0750AAInFusionV1.0PaperDocumentationSetB21I/AIRLetterbugConfiguratorB30MICw/SouthernHemisphereMonitorsB47ModularIndustrialWS,SouthernHemisphereB760CF760ConfiguratorPW-FBB761CF761ConfiguratorPW-FBC0161FGOPTICALDISKKITC0161GBOPTICALKITC0161GCOPTICALDISKDRIVEASSY5.2GBC0162HWFBM01ATermCable,RingLugC0162HXFBM01BTermCable,RingLugC0162HYFBM02TermCable,RingLugC0162HZFBM03ATermCable,RingLugC0162JAFBM03BTermCable,RingLugC0162JBFBM04TermCable,RingLugC0162JDFBM07A/12ATermCable,RingLugC0162JEFBM07B/12BTermCable,RingLugC0162JFFBM08/13TermCable,RingLugC0162JGFBM09A/14ATermCable,RingLugC0162JHFBM09B/14BTermCable,RingLugC0162JJFBM09C/14CTermCable,RingLugC0162JKFBM09D/14DTermCable,RingLugC0162JLFBM10/15TermCable,RingLugC0162JMFBM11/16TermCable,RingLugC0162JNFBM17ATermCable,RingLugC0162JPFBM17BTermCable,RingLugC0162JQFBM17CTermCable,RingLugC0162JRFBM17DTermCable,RingLugC0162JSFBM18TermCable,RingLugC0162JTFBM20/21TermCable,RingLugC0162JUFBM22TermCable,RingLugC0162JVFBM24A/25ATermCable,RingLugC0162JWFBM24B/25BTermCable,RingLugC0162JXFBM24C/25CTermCable,RingLugC0162JYFBM26A/27ATermCable,RingLugC0162JZFBM26B/27BTermCable,RingLugC0162KAFBM26C/27CTermCable,RingLugC0162KBFBM41A/42ATermCable,RingLugC0162KCFBM41C/42CTermCable,RingLugC0162KFFBM08/13TermCable,RingLug,FPDC0162KGFBM10/15TermCable,RingLug,FPDC3603DUCRTLineCord120VacC760CF760ConfiguratorPW-CC761CF761ConfiguratorPW-CCM400YHFBM07Contact/dcInputCM400YJFBM08120VacInputCM400YKFBM09Contact/dcInput/OutputCM400YLFBM10120VacI/OCM400YMFBM11240VacInput/OutputCM400YNFBM12Contact/dcInputExpanderCM400YPFBM13120VacInputExpanderCM400YQFBM14Contact/dcInput/OutputExpanderCM400YRFBM15120VacI/OExpanderCM400YSFBM16240VacInput/OutputExpanderCM400YTFBM170-10Vdc,Contact/dcI/OCM400ZAIndustrialPwrMod2-120To240Vac,100msCM400ZDIndustrialPowerModule5-125VdcCM400ZEIndustrialPwrMod6-BackupOrBatteryPowerCM700QVFBM20240VacInputCM700TWFBM21240VacInputExpanderCM900HTFBM24Contact/125VdcInputCM900HUFBM26Contact/125VdcI/OCM900NXFBM25Contact/125VdcInputExpanderCM900NYFBM27Contact/125VdcI/OExpanderCM900WAIndustrialPwrMod3A,acBackupPowerCM902WLIndustrialPwrMod2,120-240Vac,100msCM902WMIndustrialPwrMod3A,acBackupPowerCM902WNIndustrialPowerModule3D,dcBackupPowerCM902WPIndustrialPowerModule4-24VdcCM902WQIndustrialPowerModule5,125VdcCM902WRIndustrialPwrMod6,BackupOrBatteryPwrCM902WSIndustrialPowerModule7-120To240Vac(Fan)CM902WTIndustrialPowerModule8-125Vdc(Fan)CM902WVIndustrialPowerModule9-24Vdc(Fan)CM902WXIndustrialPwrModuleIPM06A,ac/dcMemoryBackupCM902WYIndustrialPwrModuleIPM06D,dc/dcMemoryBackupD0148QDPrintedWiringAssemblyforJunctionBoxD0200DGAP20SWDistributionMedia,V4.2.xD0200DH51SeriesApplicationSWMediaV4.2.xD0200DJPWSWDistributionMedia,V4.2.xDM400YJFBM08120VacInputDM400YLFBM10120VacInput/OutputDM400YPFBM13120VacExpansionInputDM400YRFBM15120VacExpansionInput/OutputDM400YTFBM170-10Vdc,Contact/dcInput/OutputDM500SCFBM08/13TermCable,WireDM500SGFBM17ATermCable,Wire,(V.Mon/0.5A)DM700ALFBM08/13TermCable,DirectDM700BCFBM17ATermCable,Direct,(V.Mon/0.5A)DM700DRFBM08/13TermCable,PlugDM700DZFBM17ATermCable,Plug,(V.Mon/0.5A)DM700KLFBM17BTermCable,Direct,(V.Mon/10mA)DM700KPFBM17BTermCable,Wire,(V.Mon/10mA)DM700KSFBM17BTermCable,Plug,(V.Mon/10mA)DM900HTFBM24125VdcInputDM900HUFBM26125VdcInput/OutputDM900HYFBM24A/25ATermCable,Direct,(V.Mon)DM900HZFBM26A/27ATermCable,Direct,(V.Mon)DM900JCFBM24A/25ATermCable,Wire,(V.Mon)DM900JDFBM26A/27ATermCable,Wire,(V.Mon)DM900JMFBM24A/25ATermCable,Plug,(V.Mon)DM900JNFBM26A/27ATermCable,Plug,(V.Mon)DM900NXFBM25125VdcExpansionInputDM900NYFBM27125VdcExpansionInput/OutputDM900WTFBM10/15TerminationCable,WireDM900WVFBM10/15TermCable,DirectDM900ZAFBM10/15TermCable,PlugDM902BQFBM24C/25CTermCable,Wire,(Contact-ExtPwr)DM902BWFBM24C/25CTermCable,Direct,(Contact-ExtPwr)DM902BYFBM24C/25CTermCable,Plug,(Contact-ExtPwr)DM902CAFBM26B/27BTermCable,Wire,(Contact)DM902CBFBM26C/27CTermCable,Wire,(Contact-ExtPwr)DM902CCFBM26B/27BTermCable,Direct,(Contact)DM902CDFBM26C/27CTermCable,Direct,(Contact-ExtPwr)DM902CEFBM26B/27BTermCable,Plug,(Contact)DM902CFFBM26C/27CTermCable,Plug,(Contact-ExtPwr)DM902WQIndustrialPowerModule5-125VdcDTHDAI/ASeriesDesktop669MbSCSIDiskDTHDBI/ASeriesDesktopSCSIDiskE1600IndustrialEnclosure16(IE16)E31FiberOpticLANEnclosure-4(InternalsOnly)E32FiberOpticLANEnclosure-6(InternalsOnly)E3200IndustrialEnclosure32(IE32)E33FiberOpticLANEnclosure-8(InternalsOnly)E34MetalFieldEnclosure8(InternalsOnly)E351IE32Metalw/41x8CellMtgStructures(IntOnly)E361IE24Metalw/31x8CellMtgStructures(IntOnly)E381IEMetalw/4ModularMtgStructures(IntOnly)E391IEMetalw/21x8CellMtgStruct/2ModMtgStr(IntOnly)E401IEMetalw/21x8CellMtgStruct/1ModMtgStr(IntOnly)E411IEMetalw/11x8CellMtgStruct/2ModMtgStr(IntOnly)E760CF760ConfiguratorPW-HTGE761CF761ConfiguratorPW-HTGEAEMDAutoEquipmentManagerDisplayPW-HTGEF4FieldEnclosure4EF8FieldEnclosure8EL40000000LocalEnclosure4EL80000000LocalEnclosure8ER800000001x8MtgStructureFBISOFieldbusIsolatorFBM010FieldbusModule1(FBM01)FBM020FieldbusModule2(FBM02)FBM03FieldbusModule3(FBM03)FBM040FieldbusModule4(FBM04)FBM060FieldbusModule6(FBM06)FBM07"""Main""FieldbusModule7(FBM07)"FBM080"""Main""FieldbusModule8(FBM08)"FBM09"""Main""FieldbusModule9(FBM09)"FBM100"""Main""FieldbusModule10(FBM10)"FBM110"""Main""FieldbusModule11(FBM11)"FBM12"""Expander""FieldbusModule12(FBM12)"FBM130"""Expander""FieldbusModule13(FBM13)"FBM14"""Expander""FieldbusModule14(FBM14)"FBM150"""Expander""FieldbusModule15(FBM15)"FBM160"""Expander""FieldbusModule16(FBM16)"FBM17FieldbusModule17(FBM17)FBM180FieldbusModule18(FBM18)FBM200"""Main""FieldbusModule20(FBM20)"FBM210"""Expander""FieldbusModule21(FBM21)"FBM22FieldbusModule22(FBM22)FBM24"""Main""FieldbusModule24(FBM24)")