VersaPro 编程软件用户手册_第1页
VersaPro 编程软件用户手册_第2页
VersaPro 编程软件用户手册_第3页
VersaPro 编程软件用户手册_第4页
VersaPro 编程软件用户手册_第5页
已阅读5页,还剩94页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

/VersaPro编程软件用户手册前言本手册描述了用于系列90-30,系列90-70,VersaMax,VersaMaxNano/Micro,和系列90MicroPLC的编程软件-VersaPro2.0的一些特征。本手册的修订内容本手册的新特点如下:支持系列90-70PLC,包括Genius冗余系统和CPU冗余系统。支持其他的VersaMaxI/O和系列90-30电源模块。增加的功能SNF/VCD的导入可以捕捉变量名称在同一计算机中的VersaPro与不同的PLC通讯支持绝大多数的CPU模块以LM90文件夹存储到PLC产生报警块加锁和解锁在线使用变量表打印文件头和脚本自动备份寻找本地变量在信息窗口中报告块的大小改变%R的上限内容第一章介绍VersaPro简介1-1安装VersaPro软件1-2启动VersaPro软件MultipleInstancesofVersaPro1-3VersaPro的多请求UsingVersaPro–Overview1-3使用VersaPro-概述TheWorkbenchWindow1-5桌面窗口SettingWorkbenchOptions1-5设定桌面选项SettingDisplayOptions1-7设定显示选项SettingCommunicationsOptions1-8设定通讯选项SettingLadderOptions1-11设定梯图编辑选项SynchronizingVersaProwithHWC1-14VersaPro与HWC同步Chapter2WorkingWithFolders2-1第二章使用文件夹CreatingandOpeningVersaProFolders2-2创建和打开VersaPro文件夹CreatingaNewFolder2-2创建一个新的文件夹Tocreateanew,emptyfolder:2-2创建一个新的空文件夹TocreateanewfolderbasedonanexistingVersaProfolder:2-4创建一个新的基于现存的VersaPro文件夹Tocreateanewfolder,importingaLogicmaster90Folder:2-6创建一个新的,导入Logicmaster90文件夹ImportingLogicmasterFoldersEarlierthanRelease6.02-7导入早于6.0版本以前的Logicmaster文件夹Whenafoldercontainsalockedblock2-8当文件夹包含一个加锁的块Tocreateanewfolder,importinglogicfromaControlfolder:2-9创建一个新的文件夹,从一Control文件夹中导入逻辑RulesforFolderNamesandNickname2-11文件夹名称和绰号的命名规则Directorystructureandfilesforanewfolder2-12新文件夹的目录结构和文件OpeninganExistingFolder2-12打开一现存的文件夹UsingtheFolderBrowser2-13使用文件夹浏览器InformationWindow2-14信息窗口Context-sensitiveMenu2-15上下文菜单WorkingwithWindowsintheVersaProWorkspace2-16使用VersaPro窗口FolderOperations2-17文件夹操作ClosingaVersaProFolder2-17关闭VersaPro文件夹SavingaFolder2-17保存文件夹DeletingaFolder2-17删除文件夹BackingUpandRestoring2-18备份/恢复BackingUpaFolder2-18备份文件夹RestoringaFolderfromBackup2-19恢复文件夹AutoBackup2-19自动备份RestrictingFolderAccess2-19限制文件夹的存取LockingaFolder2-19锁定文件夹UnlockingaFolder2-21解锁文件夹ChangingFolderProperties2-22改变文件夹的属性PrintingYourProgram2-23打印程序PrintingaReport2-23打印报告PrintingLogic,VariableDeclarationTable,orInformationWindowContents2-25打印逻辑,变量声明表,信息窗口内容CustomHeader/FooterFormatting2-25设定文件头和脚本格式Chapter3WorkingWithBlocks3-1第三章使用块Creating,InsertingandOpeningBlocks3-2创建、插入、打开块CreatingaSubroutine3-2创建子程序CreatinganExternalCBlock3-3创建外部块90-30TimedInterruptBlockNameRequirements3-490-30定时中断块命名要求NameFieldRestrictions3-4命名区的限制DescriptionFieldRestrictions3-4描述区的限制InsertingaBlockfromAnotherFolder3-5从另一个文件夹插入一个块OpeningaBlock3-6打开一个块MaximumBlockSize3-7最大的块容量InsertingandEditingObjects3-7插入、编辑目标WorkingwithBlocksandObjectsintheFolderBrowser3-8在文件浏览器中使用块和目标ArrangingBlocks3-8安排块ViewingandModifyingBlockProperties3-8查看、改变块属性MovingFolderComponents3-9移动文件夹的内容CuttingFolderComponents3-10剪切文件夹内容CopyingFolderComponents3-10拷贝文件夹内容PastingFolderComponents3-10粘贴文件夹内容DraggingandDroppingintheFolderBrowser3-11拖拉文件夹浏览器DeletingaBlock3-12删除块TodeleteablockorViewTable:3-12删除块或查看表Todeletethecontentsofthe_MAINblock:3-12删除主程序块的内容SavingaBlock3-13保存块Tosaveablock3-13保存块ClosingBlocks3-13关闭块UsingEditingOperationsonFolderComponents3-14使用编辑操作UsingUndoandRedo3-14使用Undo和RedoWorkingwithVariableswhileEditingBlocks3-14编辑块的同时使用变量SearchingandReplacinginVersaPro3-16在VersaPro中进行寻找和替代操作NavigatinginVersaPro3-16在VersaPro中浏览LocatingandgoingtoaRung,RoworVariable3-16定位到梯段,行,或变量LocatingNames,Instructions,AddressesorCallStatementsinBlocks3-17定位到名字,指令,地址或调用指令UsingSearchandReplace3-18使用搜寻和替代PerformingSyntaxChecks3-20执行语法检查ConvertingBlockLogic3-21转换块逻辑AssigningConversionVariables3-21分配转换变量ConvertingBlockLogic3-22转换块逻辑RulesforSuccessfulConversion3-22转换成功的规则ConvertingNon-NestedInstructions3-23转换嵌套指令Chapter4WorkingintheLDEditor4-1第四章使用LD编辑器OverviewoftheLDEditor4-2LD编辑器概述CustomizingtheLDEditorWindow4-3定制LD编辑器窗口CustomizingLadderDisplayOptions4-3定制梯图显示选项AdjustingtheZoomRatio4-4调节大小比例InstructionsandInstructionParameters4-5指令和指令参数EnteringInstructions4-6输入指令EnteringInstructionsusingtheFunctionToolbar4-6用功能工具条输入指令SelectingFunctionsUsingtheFunctionToolbar–Compact4-6使用功能工具条-紧凑型中选择功能SelectingFunctionsUsingtheFunctionToolbar–Expanded4-7使用功能工具条-扩展型中选择功能EnteringInstructionsusingtheLadderToolbar4-8使用梯图工具条输入指令EnteringInstructionsusingKeyboardEntry4-9使用键盘输入指令CompletingAddressandLengthInformation4-9完成地址和长度信息DATA_INITFunctions4-10DATA_INIT功能CompletingFunctionBlockParameters4-11完成功能块参数AssigningVariablestoFunctionBlockParameters4-11分配变量给功能块参数AssigningConstantstoFunctionBlockParameters4-13分配常数给功能块参数EditingLadderLogic4-15编辑梯图逻辑SelectingLogic4-15选择逻辑UsingCut,Copy,PasteandDeleteintheLDEditor4-16在LD编辑器中使用剪切,拷贝,粘贴和删除InsertinganemptyrowintheLDEditor4-17在LD编辑器中插入一空行Togotothenextcoil:4-17转到下一个线圈ConvertingLogicBetweenPLCFamilies4-18在PLC不同产品中转换逻辑ConvertingLogicfrom90-30/VersaMaxto90-704-18把90-30/VersaMax的逻辑转换为90-70TipsforConverting90-30Logicto90-70Logic4-1890-30转换为90-70的窍门IssuesinLogicConvertedfrom90-30to90-704-2090-30转换为90-70的结果ConvertingLogicfrom90-70to90-30/VersaMax4-2190-70转换为90-30/VersaMax逻辑TipsforConverting90-70Logicto90-30Logic4-2190-70转换到90-30逻辑的窍门IssuesinLogicConvertedfrom90-70to90-304-2390-70转换为90-30的结果DifferencesinLanguageCapabilityinVersaPro:90-70vs.90-30/VersaMax4-2490-70与90-30/VersaMax在VersaPro中在梯图语言的区别InstructionSetDifferences4-24指令设置区别OtherLanguageDifferences4-25其他区别Chapter5WorkingintheInstructionListEditor5-1第五章使用语句表编辑器(IL)OverviewoftheInstructionListEditor5-2语句表编辑器概述CustomizingtheILEditorDisplay5-3定制IL显示EnteringInstructionsandInstructionParameters5-4输入指令和指令参数SelectingtheInstruction5-4选择指令CompletingAddressandLengthInformation5-5完成地址和长度信息CompletingInstructionParameters5-5完成指令参数AssigningVariablestoInstructionOperands5-5分配指令以变量AssigningConstantstoInstructionOperands5-7分配指令以常数UsingCut,Copy,PasteandDeleteintheILEditor5-8在IL编辑器中使用剪切,拷贝,粘贴和删除InstructionListOperation5-9指令列表Constants5-11常数Functions5-12功能FunctionBlocks5-12功能块PLCBuilt-inFunctionsandFunctionBlocks5-13PLC内置功能和功能块NestingofBooleanExpressions5-17布尔操作的嵌套UsingENO5-18使用ENODefiningTemporaryVariables5-19定义临时变量ErrorChecking5-19错误检查Chapter6WorkingwiththeVariableDeclarationTable6-1第六章使用变量声明表OverviewoftheVariableDeclarationTable6-2变量声明表的概述VariableTableFieldDescriptions6-3变量表区域描述ReservedWords6-4保留字CreatingandModifyingVariables6-5创建,改变变量TocreateanewvariableormodifyanexistingvariableintheVDT:6-5在VDT表中创建新的变量或改变存在的变量NavigatingintheVDT6-6在VDT中搜寻NavigatingUsingtheMouseorKeyboard6-6使用鼠标或键盘搜寻LocatingaVariableusingtheGoToVariableDialogBox6-7使用GoTo变量对话框定位变量UsingCut,Copy,PasteandDragandDropintheVDT6-8在VDT中使用剪切,拷贝和拖曳功能Tocut,copyandpasteintheVariableDeclarationTable:6-8在VDT中剪切,拷贝,粘贴DetailsonCuttingandCopying6-9在剪切和拷贝中的细节DetailsonPasting6-9在粘贴中的细节Todraganddrop-cutintheVDT:6-10在VDT中拖曳剪切Todraganddrop-copyintheVDT:6-10在VDT中拷贝DetailsonDraggingandDroppingintheVDT6-11在VDT中拖曳的细节TodraganddropfromtheVDTtotheLDorILEditor:6-11从VDT拖曳到LD和IL编辑器中DetailsonDroppingaVariableintoanEditor6-11拖曳变量到变量表的细节VariableDeclarationTableUtilities6-12变量声明表的应用SortingVariables6-12排序变量DeletingVariablesandtheContentsofaVDT6-12删除变量与内容SavingEditsintheVDT6-13在VDT中保存编辑CompactingtheVDT6-14压缩VDTTocompacttheVDT:6-14压缩VDTViewingtheHighestReferencesUsed6-14查看使用的最大变量FindingUnusedVariables6-14寻找未使用的变量CreatingaCross-ReferenceListingofVariables6-14创建变量的交叉参数列表Toviewonlineusetables6-14查看再线使用表ImportingandExportingVariables6-15引入和导出变量Toimportavariable:6-15引入变量DetailsonImportinganSNFFile6-15引入SNF文件的细节Toexportavariable:6-16导出变量DetailsonExportinganSNFFile6-17导出SNF的细节VariableResolution6-18变量的分辨率Chapter7ConfiguringPLCHardware7-1第七章配置PLC硬件AccessingHardwareConfiguration7-2存取硬件配置HardwareConfigurationToolbar7-3硬件配置工具条UsingtheParameterEditor7-3使用参数编辑器EditingTips7-4编辑窍门UndoingChanges7-5撤消改变ErrorNotification7-5错误报告CorrectingErrors7-6修正错误ShortcutKeysforHWC7-6HWC的快捷键SettingOptionsinHardwareConfiguration7-7在硬件配置中设定选项ConfiguringaSeries90-30or90-70Rack7-8配置系列90-30或90-70的机架ChangingRackType7-8改变机架类型Changing/ConfiguringPowerSupplyandCPU7-9改变/配置电源模块和CPUConfiguringaPowerSupply7-9配置电源模块ConfiguringaCPU7-9配置CPUAdding/ConfiguringRackModules7-10增加/配置机架类型ConfiguringExpansionRacks7-10配置扩展机架DeletingRackModules7-11删除机架模块ClearingtheRack7-11清除机架GeniusBusConfiguration(Series90-70PLCs)7-12Genius总线配置(系列90-70PLC)BusOperations7-12总线操作BlockOperations7-13块操作CPURedundancy7-14CPU冗余ConfiguringCPURedundancyOverGenius7-14配置Genius网的CPU冗余CPURedundancyOverGeniusTypes7-14Genius网的CPU冗余GeneralProcedureforConfiguringCPURedundancyOverGenius7-15Genius网的CPU冗余配置过程UseofRack7inCPURedundancyOverGeniusSchemes7-15CPU冗余中机架7的使用StoringtheConfigurationstothePLCs7-16保存配置到PLC中ConfiguringtheGeniusRedundantSystem7-17配置Genius冗余系统GeniusRedundancyTypes7-17Genius冗余系统GeneralProcedureforConfiguringtheGeniusRedundantSystem7-17Genius冗余系统的配置过程ConfiguringtheSecondPLC7-18配置第二个PLCConfiguringaVersaMaxModularRack7-19配置VersaMax模块机架Changing/ConfiguringtheCPU7-20改变/配置CPURack/ModuleOperations7-20机架/模块操作Changing/ConfiguringthePowerSupply7-21改变/配置电源模块AddingModuleCarriers7-21增加模块机架AddingPowerSupplyBoosterBases7-21增加电源提升模块的机架ConfiguringaPowerSupplyforaBoosterBase7-22配置提升机架的电源模块Adding/ConfiguringModules7-22增加/配置模块ConfiguringModuleParameters7-22配置模块参数DeletingRackModules7-23删除机架模块DeletingCarriers7-23删除机架ClearingtheRack7-23清除机架ConfiguringVersaMaxExpansionNetworks7-23配置VersaMax扩展网络LoadingVersaMaxHardwareConfigurations7-27载入VersaMax硬件配置VersaMaxModuleswithSharedIDs7-27带共享ID的VersaMax模块ConfiguringaVersaMaxRemoteI/ORack7-28配置VersaMax远程I/O机架ConfiguringanNIU7-28配置NIUConfiguringtheRIORack7-29配置远程I/O(RIO)机架Load/Store/VerifyRIOConfiguration7-29载入/保存/校验RIO配置CommunicationsSetup7-29通讯设置StoringRIOConfiguration7-30保存RIO配置LoadingRIOConfiguration7-31载入RIO配置VerifyingRIOConfiguration7-31校验RIO配置ClearingRIOConfiguration7-32清除RIO配置EthernetGlobalDataConfiguration7-33以太网全局数据(EGD)配置ConfiguringtheEthernetInterfaceAdapterName(CPU364)7-34配置以太网接口适配器的名字(CPU364)SettingAliasesforRemoteEthernetInterfaces(CPU364andCMM742)7-34设定远程接口的别名(CPU364和CMM742)NameResolutionandRoutingTableConfiguration(CPU364andCMM742)7-34名字解析和路由表配置(CPU364和CMM742)DefiningEGDExchanges7-36定义EGD交换PLCTimingConsiderations7-37PLC定时考虑EthernetGlobalData:Example17-38EGD范例1EthernetGlobalData:Example27-39EGD范例2RestoringEGDandNameResolution7-41保存EGD和名字解析AdvancedUserParametersforEGD(CPUE05)7-41EGD的高级用户参数(CPUE05)ConfiguringVersaMaxNanoandMicroPLCs7-43配置VersaMaxNano和MicroPLCRack/ModuleOperations7-43机架/模块操作Counter,PulseWidthModulation,andPulseTrainOutput7-44计数器,PWM,和PTO输出PWMFrequencyandDutyCycle7-44PWM频率和周期ConfiguringAveragingFilterforAnalogInputPotentiometers7-44配置模拟输入电位器的滤波器ConfiguringSeries90MicroPLCs7-45配置系列90MicroPLCRack/ModuleOperations7-45机架/模块操作Counter,PulseWidthModulation,andPulseTrainOutput7-46计数器,PWM和PTO输出PWMFrequencyandDutyCycle7-46PWM频率和周期ConfiguringAveragingFilterforAnalogInputPotentiometers7-46配置模拟输入电位器的滤波器HardwareConfigurationReferenceView7-47硬件配置参考区(CRV)HardwareConfigurationLogView7-48硬件配置登录区HardwareConfigurationPowerConsumptionView7-49硬件配置电源损耗区PowerConsumptionLimitCalculations7-49电源消耗计算ComponentsofthePowerConsumptionView7-51电源消耗区的组成ConvertingRackSystems7-52转换机架系统PrintingHardwareConfiguration7-52打印硬件配置Chapter8UsingReferenceandVariableViewTables8-1第八章使用参考和变量浏览表VariableViewTables–Overview8-2变量浏览表概述ReferenceViewTables–Overview8-3参考浏览表CreatingNewReferenceandVariableViewTables8-4创建新参考变量浏览表CustomizingViewTableDisplay8-5定制浏览表显示ChangingReferenceViewTableDisplayFormat8-6改变参考浏览表显示方式CustomizingVariableViewTableDisplayFormat8-7定制变量浏览表显示方式AddingElementstoaViewTable8-8增加变量到浏览表中AddinganElementbyDirectEntrytoaVVT8-8直接增加变量到VVT中ValidVVTVariableEntries8-8有效的VVT变量录入AddinganAddresstoaReferenceViewTable8-9增加参考变量表的地址ValidRVTEntries8-9有效的RVT录入AddingaRangetoaReferenceViewTable8-9增加参考浏览表的范围ModifyingInformationinaViewTable8-10改变浏览表中的信息EditingOperationsinViewTables8-11编辑浏览表中的操作Usingcut,copy,pasteinaVVT8-11在VVT中使用剪切,拷贝,粘贴DetailsonCuttingandCopying8-11剪切和拷贝的细节DetailsonPasting8-12粘贴的细节Todraganddrop-cutinaVVT:8-12在VVT中拖曳剪切Todraganddrop-copyinaVVT:8-12在VVT中拖曳拷贝DetailsonDraggingandDroppinginaVVT8-13在VVT中拖曳的细节SavingViewTables8-13保存浏览表OnlineViewing8-14在线浏览DetailsaboutOnlineViewing8-14在线浏览的细节ToToggleorOverrideaReferenceinanRVT8-14在RVT中触发和超弛参考变量ToWriteaValuetoaReferenceinanRVT8-15在RVT中写参考变量Chapter9MotionProgramming9-1第九章Motion编程SettingMotionProgram/LocalLogicEditorOptions9-2设定Motion程序/本地逻辑编辑器选项UsingtheMotionProgramEditor9-3使用Motion程序编辑器ToOpentheMotionProgramEditor9-3打开Motion程序编辑器CreatingMotionProgramLogic9-4创建Motion程序编辑器BasicRequirements9-4基本要求UsingtheLocalLogicEditor9-6使用本地逻辑编辑器ToOpentheLocalLogicEditor9-6打开本地逻辑编辑器LocalLogicCommands9-6本地逻辑命令UsingtheLocalLogicVariableTable9-7使用本地逻辑变量表ToopentheLocalLogicVariableTable9-7打开本地逻辑变量表InformationProvidedbytheLocalLogicVariableTable9-8本地逻辑变量表提供的信息SavingMotion/LocalLogicPrograms9-10保存Motion/本地逻辑程序PrintingMotion/LocalLogicPrograms9-10打印Motion/本地逻辑程序StoringMotionProgramsandSubroutinestothePLC9-10存储Motion程序和子程序到PLCRestoringMotionandLocalLogicBlocks9-11恢复Motion和本地逻辑块UsingtheCamEditor9-13使用Cam编辑器InstallingtheCamEditor9-13安装Cam编辑器StartingtheCamEditor9-14开始Cam编辑器AddingaCamBlocktotheVersaProFolder9-15增加Cam块到VersaPro文件夹OpeninganExistingCamBlock9-15打开已有的Cam块DeletingaCamBlock9-15删除Cam块DuplicatingaCamBlock9-15复制Cam块ViewingandEditingCamBlockProperties9-16浏览,编辑Cam块属性RenamingaCamBlock9-16重命名Cam块UsingCamProfilesinaMotionProgram9-16在Motion程序中使用CamChapter10CommunicatingwiththePLC10-1第十章与PLC通讯CCUOverview10-2CCU概述OpeningtheCCU10-2打开CCUPassword10-2密码ModemTurnaroundTime10-3Modem循环时间ConnectingtoaPLC10-4连接到PLCDirectSerialPortConnection10-4直接串口连接SerialParameterSettings10-5串行参数设定MultidropConnections10-7Multidrop连接ConfiguringYourDeviceandPLCCPU10-7配置设备和CPUConnectingtothePLC10-9连接到PLCTCP/IPEthernetConnection10-9TCP/IP以太网连接ConfiguringYourPCandPLCHardware10-9配置PC和PLC硬件ConnectingtothePLC10-11连接到PLCModemConnections10-12Modem连接ModemConfigurationandCabling10-12Modem配置和电缆ConfigurethePLC10-13配置PLCConfigureaModeminWindows10-13在Windows中配置ModemSetupModemCommunicationsusingtheCCU10-15使用CCU设置Modem通讯ConnectingtothePLC10-16连接到PLCTransferringFolders10-17传输文件夹StoringaFoldertothePLC10-17存储文件夹到PLCWordforWordChangesinLD10-18在LD中字对字的变化LoadingafoldertoYourComputer10-19装载文件夹到计算机ClearingthePLC10-20清除PLCVerifyingFolderData10-21校验文件夹数据Reading/Writing/VerifyingFlashMemory10-22读/写/校验Flash内存Reading/Writing/VerifyingtheEZProgramStoreDevice10-23读/写/校验EZ程序存储设备ViewingPLCStatusInformation10-24浏览PLC状态信息PlacingthePLCinRunorStopMode10-26将PLC置于运行方式或停止方式MonitoringLogicExecution10-27监控逻辑执行TurningMonitoringOnandOff10-27打开/关闭监视状态ChangingtheDisplayFormatofMonitoredLogic10-28改变监视逻辑的显示方式Updateinprogressorunavailable-PressF1forHelp10-28升级过程或获得方式-按F1帮助SearchingforOverrides10-29寻找超弛Chapter11WorkingwithFaultTables11-1第十一章使用错误表WorkingwiththePLCandI/OFaultTables11-2使用PLC和I/O错误表ViewingthePLCandI/OFaultTables11-2查看PLC和I/O错误表ViewingFaultDetails11-3查看错误细节SortingFaults11-4排序错误SavingFaultInformation11-4保存错误信息ClearingtheFaultTable11-5清楚错误表OpeningOtherFaultTables11-5打开其他错误表ChangingFonts11-6改变字体PrintingFaultTables11-6打印错误表AppendixAVersaProMenusandToolbarsA-1附录AVersaPro菜单和工具条VersaProMenusA-1VersaPro菜单A-1文件菜单,NewSubmenuA-2文件菜单,子菜单EditMenuA-2编辑菜单Edit,PropertiesSubmenuA-3编辑,属性子菜单ViewMenuA-3查看菜单InsertMenuA-4插入菜单FolderMenuA-4文件夹菜单PLCMenuA-5PLC菜单ToolsMenuA-6工具菜单WindowMenuA-6窗口菜单HelpMenuA-7帮助菜单VersaProToolbarsA-8VersaPro工具条StandardToolbarA-8标准工具条LadderToolbarA-9梯图工具条ViewToolbarA-10浏览工具条FolderToolbarA-10文件夹工具条PLCToolbarA-11PLC工具条FunctionToolbarA-11功能块工具条HWCMenusA-12HWC菜单A-12文件菜单EditMenuA-13编辑菜单Editmenu,ExpansionRackSystemSubmenuA-13编辑菜单,扩展机架系统子菜单Editmenu,ExpansionReceiverSubmenuA-14编辑菜单,扩展接受子菜单Editmenu,RackOperationsSubmenuA-14编辑菜单,机架操作子菜单Editmenu,ModuleOperationsSubmenuA-15编辑菜单,模块操作子菜单ParameterMenuA-15参数菜单ViewMenuA-16浏览菜单ViewMenu,ParameterEditSubmenuA-16浏览菜单,参数编辑子菜单ToolsMenuA-16工具菜单RedundancyMenuA-17冗余菜单WindowMenuA-17窗口菜单HelpMenuA-17帮助菜单HWCToolbarA-18HWC工具条AppendixBSerialConnectionsB-1附录B串行连接SerialPortandCablesB-2串行口和电缆RS-422InterfaceB-2RS-422接口CableandConnectorSpecificationsB-3电缆和连接器特性PLCSerialPortB-4PLC串行口IBM-AT/XTSerialPortB-5IBM-AT/TX串行口RS-232/RS-485ConverterB-5RS-232/RS-485转换器SerialCableDiagramsB-6串行电缆图RS-232Point-to-PointConnectionB-6RS-232点对点连接MultidropConnectionsB-7Multidrop连接MiniconverterKitB-8转换器DescriptionofMiniconverterB-8转换器描述PinAssignments,RS-232PortB-9针脚分配,RS-232PinAssignments,RS-422PortB-9针脚分配,RS-422SystemConfigurationsB-10系统配置CableDiagrams(Point-To-Point)B-10电缆图(点对点)MiniconverterSpecificationsB-11转换器特性AppendixCVersaProLicenseTransferProcedureC-1附录CVersaPro注册号的转移AppendixDVersaProKeyboardQuickReferenceGuideD-1附录DVersaPro键盘快速参考指导Chapter1第一章Introduction介绍WelcometoVersaPro欢迎使用VersaProWelcometoVersaPr,GEFanuc'sWindow-basedprogrammingsoftwarefortheSeries9-70,Series90-30andVersaMax.PLCs.VersaProisdesignedtoinstallandrununderWindows95,Windows98,andWindowsN4.0,andWindows2000.WithVersaPro,youcan:‧CreatePLClogicandinformationassociatedwiththatlogicinafolder‧ConfigurePLCHardware‧Createandeditvariables‧Create,edit,andmonitortheexecutionofLadderorInstructionListlogic‧CreateMotion,LocalLogic,andCamprogramsforthe90-30DSM314Motionmodule欢迎使用VersaPro,GEFanuc的基于Windows的编程软件,应用于系列90-70,系列90-30和VersaMaxPLC。VersaPro是设计,安装,运行在Windows95,98,和WindowsNT4.0和Windows2000操作系统下的。使用VersaPro,可以:在一个文件夹中创建PLC逻辑和与逻辑相关的信息配置PLC硬件创建,编辑变量创建,编辑和监视梯图或语句表的执行情况为90-30DSM314Motion模块创建Motion,本地逻辑,Cam程序ChapterContents本章内容‧OverviewoftheVersaProProgrammingSoftwarecomponentsVersaPro编程软件组成的概述‧TheWorkbenchWindow工作台窗口‧ConfiguringWorkbenchOptions(settingeditorandtargethardware)配置工作台选项(设置编辑器和目标硬件)1-2VersaPro™ProgrammingSoftwareUser'sGuide–November2000GFK-1670CInstallingVersaProSoftware安装VersaPro软件Note:VersaPromustbeinstalledonaharddriveinyourcomputer.DonotattempttoinstallVersaProonremovablemediasuchasJaz®orZip®drives.注:VersaPro必须安装在计算机的硬盘中,不要试图安装在可移动的媒介例如Jaz或Zip驱动器。Itisrecommendedthatyoucloseallapplicationsincludingviruschecking,InternetExplorer,andCIMPLICITYHMIsoftwarethatmightberunninginthebackground.Youmayneedtocheckthetaskmanagertodetermineifotherapplicationsarerunning.1.推荐关闭所有的应用程序包括查毒软件,IE浏览器,CimplicityHMI软件等可能运行在后台的软件。可以检查任务管理器来判断是否有应用软件运行。PuttheVersaProCDintheCD-ROMDrive.2.将VersaProCD盘放入CD-ROM驱动器。SelecttheCDdrivefromWindowsExplorer.3.从资源管理器中选择CD驱动器。DoubleclickSetup.exe4.双击Setup.exeFollowtheuserpromptstocompletetheinstallation.IfyouhaveapreviousversionofVersaProinstalled,theinstallationtoolwillfirstuninstallthepreviousversion.Duringthisuninstallprocess,youmaybeaskedwhetheryouwouldlikeremovesharedfiles.Itisrecommendedthatyoualwaysanswer“NotoAll”toensurethatnofilesaredeletedthatmightbeneededbyanotherapplication.5.按照提示完成安装过程。如果机器中安装了以前版本的VersaPro,安装工具将首先卸载以前的版本。在卸载的过程中,会提到是否移去共享文件。推荐使用“NotoAll”确保其他文件所需的文件不被删除。Note:WhenyouupgradefrompreviousversionstoVersaPro2.00,youruserscreensettingsandthedirectorylocationforprogramfileswillbelost.Youwillneedtore-establishthesesettingsaftercompletingtheupgrade.注意:当从以前的版本升级到VersaPro2.0的时候,用户屏幕设置和程序文件的目录会丢失。需要重新建立这些设置在完成升级过程。Note:ForprocedurestotransferyourVersaProlicensetoanothercomputer,refertoAppendixC.注意:转移VersaPro注册号的过程,参见附录C。Note:IfyouareinstallingonacomputerwiththeWindowsNToperatingsystem,youmustbeloggedinwithadministratorprivileges.Ifyoudonothaveadministratorprivileges,VersaProwillnotinstallproperly.ContactyourcompanyIS/ITdepartmentforassistanceifthisisthecase.注意:如果计算机安装了NT操作系统,必须以管理员的权限登录。如果没有管理员的权限,VersaPro不会正确安装。如果出现这种情况,与公司的IS/IT部门联系。StartingVersaProSoftware运行VersaPro软件TheVersaProapplicationisinstalledintheGEFanucSoftwareProgramgroup.TheapplicationcanbestartedbyselectingStart->Programs->GEFanucSoftware->VersaPro.ItisalsopossibletocreateashortcuttotheVersaProapplicationandplacetheshortcutonthedesktop,ortoclickonabyVersaPro(thetheVersaProfolderwitha.fldextension),andstarttheapplicationinthecontextoftheselectedfolder.VersaPromayalsobestartedusingCTRL-ALT-V.VersaPro软件在GEFanuc软件程序组。应用程序可通过选择开始-程序-GEFanuc软件-VersaPro。也可以创建一个VersaPro应用程序的快捷键并放在桌面上,或点击由VersaPro创建的文件(在VersaPro文件夹以.fld为扩展名的文件),或在开始菜单中的文档中保留的程序,或使用CTRL-ALT-V键盘操作。MultipleInstancesofVersaProVersaPro的多任务‧FourVersaProsessionsorinstancesofVersaProaresupported.VersaPro可支持4个VersaPro任务。‧Ifyouareusingaserialconnection,twoinstancesofVersaProcanbeconnectedtothePLC.EachconnectionwoulduseauniquecommunicationportonyourPC.Forexample,oneconnectionwoulduseCOM1whiletheotherwoulduseCOM2.Withtwosessionsconnectedyoucanhavetwoadditionalsessionsofflineornotconnected.如果采用串行连接方式,VersaPro的两个任务可连接到PLC中。每个连接使用PC的唯一的通讯口。例如,一个用COM1口,而另一个用COM2口。‧IfyouareconnectingtothePLCviaEthernet,youcanhavefourinstancesofVersaPro.VersaProsupportsonlyoneEthernetadapterinyourPCbutallowsuptofourconnectionsviathisadapter.如果通过以太网连接到PLC,VersaPro可以连接4个任务。VersaPro只支持一个以太网适配器,但允许通过这个适配器连接4个任务。UsingVersaPro–Overview使用VersaPro-概述VersaProprovidesasingleprogramminginterfacetoconfigureyourPLChardware,createandeditPLClogic,andmonitortheexecutionofthePLCprogram.VersaPro提供简单的编程接口来配置PLC硬件,创建,编辑PLC逻辑,并监视PLC程序的执行情况。ThefollowingabbreviationsareusedinVersaPro:下列的缩略用在VersaPro中:TheWorkbenchWindow工作台窗口WhenyoufirststartVersaPro,theworkbenchisdisplayed.Youcanperformthefollowingtasksfromtheworkbench:当第一次启动VersaPro,显示工作台。从工作台中可完成下面的任务:CreateandOpenFoldersBackupandRestoreVersaProfoldersSetupcommunicationsparameters,ConnecttothePLCandviewFaultTablesCustomizeWorkbenchOptions创建,打开文件夹备份和恢复VersaPro文件夹SettingWorkbenchOptions设定工作台选项VersaProallowsyoutocustomizeeditorandwindowoptions.Itisimportanttoconfirmthedefaultlanguageandhardwareconfigurationbeforecreatinganewfolder.Otheroptionsmaybecustomizedbeforeopeningafolder,orafterthefolderisopened.VersaPro允许定制编辑器和窗口选项。在创建新文件夹之前确定缺省的语言和硬件配置是很重要的。其他的选项在打开文件夹或打开文件夹后可以定制。GeneralOptions一般的选项VersaPro'sdefaulthardwareconfigurationistheVersaMaxPLC.ThedefaultblocklanguageisLadderDiagram.Tochangethedefaultconfigurationsothatyoucancreateprogramsandhardwareconfigurationforthetargetdevices,ortocustomizedisplayandeditingoptions,selecttheToolsmenuandchooseOptions.TheOptionsdialogboxwillappear.VersaPro的缺省硬件配置是VersaMaxPLC。缺省的编程语言是梯图。要改变缺省配置以便可以创建程序和硬件配置用于设备中,或定制显示和编辑显示,选择工具菜单,选择选项。出现选项对话框。SettingBlockLanguage:ThedefaultlanguageisLadderDiagram.TochangethedefaultblocklanguagetoInstructionList,selecttheGeneraltab.ClicktheDefaultBlockLanguageandselectInstructionList设置块语言:缺省的语言是梯图。要改变为语句表,选择Generaltab。点击缺省块语言,选择语句表。ChangingHardwareConfigurationdefault:VersaPro'sdefaulthardwareplatformistheVersaMaxPLC.YoucancreateprogramsandhardwareconfigurationforallSeries90-30,VersaMax,VersaMaxNano/Micro,andSeries90MicroPLCs.Tochangethedefaulthardwareconfiguration,selecttheGeneraltabandsettheDefaultHardwareConfigurationfield.改变硬件缺省配置:VersaPro的缺省硬件配置平台是VersaMaxPLC。可以为系列90-30,VersaMax,VersaMaxNano/Micro,和系列90MicroPLC创建程序和硬件配置。要改变缺省的硬件配置,选择Generaltab,设置缺省的硬件配置区。SettingFullorBriefcomments:IntheLDandILEditors,commentscanbeconfiguredtobeviewedinfullorbriefmode.Thedefaultistoviewcommentsinbriefmode.Tochangethedefault,selecttheGeneralTabandchecktheFullCommentsbutton.设置详细或简要注解:在LD和IL编辑器中,可在详细或简要的模式中看到注解。缺省的是简要模式,选择Generaltab,选择详细的小框。SettingSyntaxCheck(TurnoffWarnings):Bydefault,whenVersaProperformssyntaxcheckingonlogic,multiplecoilusagewarningsaredisplayedintheinformationwindow.Tosuppressthewarnings,selecttheGeneraltabandchecktheTurnOffWarningsbox.设置语法校验(关闭警告):在缺省情况下,当进行VersaPro语法校验校验逻辑时,会在信息窗口中显示多线圈使用报警。若去掉报警,选择Generaltab,选择TurnOff报警框。EnableSNFAuto-Export:ThisoptioncausesvariablestobeautomaticallyexportedinSNFformatwhenyoucreateoreditvariablesandthensavetheVDT.OnlyvariablesintheVDTwiththeEXTcheckboxselectedwillbeauto-exported.The.snfbeexportedtothecurrentfolder;anyexisting.snfthesamenamewillbeoverwritten.使用SNF自动导出功能:当创建编辑变量,保存VDT时,此选项可使变量自动地以SNF格式导出。只有在VDT中以EXT选择的变量才能自动导出。.snf会导出当前的文件夹,任何同名字的.snf文件将被覆盖。Settingthenumberofundoableactions:VersaProallowsyoutoconfigurethenumberofundo/redooperationsavailableduringeditingsessions.Thedefaultnumberis10.Thevalidrangeis1to100.设置撤消命令的数量:VersaPro在编辑时允许配置撤消/恢复命令的数量。缺省值是10。有效的范围是1-100。:IfUseFolderNameisnotselected,aisrequired.ThisnamefollowsthesamenamingrulesasVersaProfoldernames.文件名:如果没有选文件夹名,需要一个文件名。可以按照同一个VersaPro文件夹的文件名。UseFolderName(default):Ifthisboxischecked,theexportedwillbefoldername.snf.使用文件夹名(缺省):如果选择了此框,会以foldername.snf的名字导出。Timeout:A*.lck(lock)generatedatthesametimeasthe*.snffile.The*.lckusedtopreventreadingorwritingofthe*.snfitisinuse.VersaProwillattempttoaccessthe*.lckthenumberofsecondsspecifiedinthisfield.Validvaluesarefrom1to60seconds.文件超时锁定时间:在产生*.snf文件的同时,产生了一个*.lck(lock)文件。此文件用在在使用时保护读写*.snf文件。VersaPro可以在指定的时间里存取*.snf文件。有效值是1-60秒。SettingDisplayOptions设定显示选项VersaProallowsyoutosettextfont,sizeandcolorseparatelyfortheIL,LD,LocalLogic,andMotionEditors,fortheVDT,

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论