汇川中型PLC编程软件升级指导

合集下载

PLC自更新方法

PLC自更新方法

PLC自更新方法随着XC系列PLC的软件的更新,软件的结构在进一步的优化,软件的功能也在得到加强。

比如您是很久以前购买的PLC,用的是v2.3版本的软件,而现在PLC的软件已经更新到v2.4版本,功能也增加了许多,如果您想不需要增加任何成本就让手中PLC的功能变得和v2.4版本的一样多。

通过PLC自更新的方法,您就可以在硬件不需要更改的情况下,而只要通过软件的升级就可以将自己手中的PLC功能变得更强大。

下面就介绍一下PLC自更新的方法:一、P LC自更新需要的工具“XC系列PLC系统程序下载工具”和“下位机系统文件(*.sys文件)”二、PLC自更新的步骤1、将PLC断电,然后打开“XC系列PLC系统程序下载工具”。

(如图1-1)2、在“打开文件”选项中打开您需要更新的下位机系统文件。

(如图1-2)如上图是XC3系列60点PLC的下位机系统更新文件3、设置参数。

点击 “设置参数” 选项(如图1-3),则出现设置界面。

(如图1-4)a ) 设置“COM 口”b ) 设置“PLC 的下载地址”和“下载文件地址”。

4、参数设置完毕,然后先点“下载”(如图1-5),出现如下图方框里面的文字(如图1-6),接着给PLC上电,PLC就开始自更新了(如图1-7),更新需要几分钟时间(如图1-8),当数据停止更新出现“传送完毕”(如图1-9)时说明已更新好。

点击“下载”显示“连接下位机中。

”给PLC上电,显示“连接下位机成功”正在更新中。

更新完毕5、更新完毕后给PLC从新上电就OK了。

注意事项:在使用XC系列PLC时,要注意上位机的编程软件的版本必须与您自更新的下位机系统文件的版本一致。

比如您用的版本v2.3的下位机,您必须用XCP v2.3的软件搭配使用。

PLC编程及应用 第5版 第2章 STEP 7-Micro WIN编程软件使用指南

PLC编程及应用 第5版 第2章  STEP 7-Micro WIN编程软件使用指南
第2章 STEP 7-Micro/WIN编程软件使用指南
2.1 编程软件概述
2.1.1 编程软件的安装与项目的组成
1.编程软件的安装 双击随书光盘的文件夹“STEP 7-Micro_WIN V40+SP9”中的setup.exe, 开始安装,使用默认的安装语言English。单击选择目标位置窗口的 “Browse”按钮,可以选择软件安装的目标文件夹。 安装成功后,打开编程软件,执行菜单命令“Tools” →“Options”,单 击 左 边 窗 口 的 “ General ” , 在 “ General ” 选 项 卡 , 选 择 Language 为 “Chinese”。退出后再进入软件,界面变为中文的了。 2.指令树与浏览条 用右键菜单命令关闭浏览条,可调节指令树的宽度。可以将常用的指令 拖放到指令树的“收藏”文件夹中。
5.用系统块设置PLC通信端口的参数 双击指令树“系统块”文件夹中的“通信端口”,设置波特率和CPU的站 地址。 6.建立计算机与PLC的在线连接 双击指令树中的“通信”,双击“通信”对话框中的“双击刷新”,将显 示网络上的CPU。 7.下载程序 单击工具栏上的“下载”按钮 ,勾选需要下载的对象。建议设置为CPU模 式转换时不要提示,和下载成功后关闭对话框。 8.上载程序 新建一个空项目来保存上载的块,单击工具栏上的“上载”按钮 。 9.运行和调试程序 用模式开关或工具栏上的RUN按钮将PLC切换到RUN模式。用外接的小开 关模拟按钮信号和过载信号。观察Q0.0和Q0.1对应的LED的状态变化是否正 确。 10.执行菜单命令“PLC”→“信息…”,读取PLC中的信息。 11.单击“历史事件”按钮,查看CPU事件的历史记录。
3.S7-200的致命错误 用菜单命令“PLC”→“信息”查看错误信息。致命错误使PLC停止执行 程序。 4.非致命错误 非致命错误不会停止执行用户程序。 (1)运行时间错误:运行时CPU发现I/O配置变化,将在模块错误字节中设 置配置改变位。 (2)程序编译错误 :编译程序时出错,不能下载程序。 (3)程序执行错误:程序运行时出现的错误。

PLC程序更新用户手册

PLC程序更新用户手册

PLC程序更新用户手册1.准备工作1.1.备份重要参数如果有需要备份的参数,我们会特别说明。

1.2.备份原始PLC程序“系统”→“PLC”→“程序”→“编辑CF1”→“停止”→“输出”,将原来的PLC保存在E盘保存文件夹下,例如“E:\保存文件夹\20130717\1.plc”,以合理的文件名进行表示。

保存之后注意检查是否保存成功。

2.更新PLC程序2.1.加载新的PLC程序原始PLC文件保存之后,就可以加载新的PLC程序。

法一:“系统”→“PLC”→“程序”→“编辑CF1”→“停止”→“输入”→“保存”→“启动”→“取消”。

在这个过程中,“保存”正确之后,“保存”键会变成灰色,否则被加载的PLC程序出现语法问题,需要和数控部门联系,并更新回原来的PLC程序。

法二:在Test里面进行加载。

打开Test →在“系统文件检查”界面下→“Step2:检查系统文件”→“从文件中加载PLC程序”→选中所要加载的程序→“PLC 程序保存到FRAM”→“确定”→退出Test即可。

加载之后进入En3d8,在“系统”→“PLC”→“程序”→根据最上面的版本日期来检查是否加载成功。

2.2.恢复原始PLC程序如果更新错,可以恢复原来的PLC程序。

以加载新程序的方法直接加载原来的程序就可以达到恢复原始PLC程序的目的。

2.3.设置PLC参数如果有需要备份的参数,我们会特别说明。

3.更新PLC消息3.1.加载新的PLC消息原始PLC文件保存之后,就可以加载新的PLC程序。

法一:“系统”→“PLC”→“信息”→“编辑CF1”→“输入”→“保存”→“取消”。

与PLC保存不同,在这个过程中,“保存”正确之后,“保存”键不会变成灰色。

如果在保存之后出现光标不动,属于正常现象,同时按下“CTRL”和“ESC”就可以活动光标了。

法二:在Test里面进行加载。

打开Test →在“系统文件检查”界面下→“Step2:检查系统文件”→“从文件中加载PLC信息”→选中所要加载的信息→“PLC 信息保存到FRAM”→“确定”→退出Test即可。

怎样快速更新PLC程序

怎样快速更新PLC程序

怎样快速更新PLC程序
手里的PLC程序与实际设备中的PLC程序有很大的不同,想要将手里的PLC程序更新与实际设备中的相同,怎样简单快速的做到???
问题补充:
你们提的方法我都会,还有其他的吗?
最佳答案
上传PLC中的程序保存到电脑中。

上传:
首先要设置PLC与PG的通讯方式.
在SETPG/PC里面设置好。

在STEP7中,建立一个新的项目(为空)
点击PLCUPloadstationtoPG
在出现对话框中,选择机架号为0设定插槽号2(一定要设定)
选择通讯的地址,一般也为2。

“将站点上传到PG”是将整个站硬件组态和软件程序全部上载。

上传的程序没有注释,把离线程序中的符号表赋值到上传的程序中,DB块的注释只能写。

但可以先使用比较功能,
一致就可以直接替换,不一致的就需要手动填写了。

补充:没有了。

SINUMERIK Operate 4.7 SP3升级指南说明书

SINUMERIK Operate 4.7 SP3升级指南说明书

SINUMERIK 840D sl2016-12-07Upgrade instructionsSINUMERIK Operate 4.7 SP3 for PCU 50.5 / IPC_________________________________________________________________________________________SINUMERIK Operate 04.07.04.00 (internal version 04.07.04.00.016) for PCU 50.5 / IPC_________________________________________________________________________________________To install this software,a PCU 50.5 with previously installed PCU Base Software Win7 V10.0 (or later)a PCU 50.5 with previously installed PCU Base Software WinXP V1.4 HF9 (or later)is required.Important note for operation on PCU 50.5 Windows 7:Before switching off the power supply of the PCU 50.5 / IPC, the system should be shut down using the Operate softkey EXIT or using the Windows shutdown function, in the same way as with a PC with Windows 7. A UPS should be used to provide protection against unexpected power failures.The commissioning instructions for SINUMERIK Operate 4.7 SP2 and the PCU base software Win7 / WinXP, the Equipment Manual Operator Components and the SINUMERIK operating instructions Operate 4.7 SP2 apply accordingly. In addition, the general conditions published for the CNC software 4.7 SP4 must be observed.SINUMERIK Operate 4.7 SP4 is only released for operating SINUMERIK 840D sl NCU7x0.3 withCNC software 4.7 SP4 or with HMI Pro sl V04.05.03.04 or higher for operating a SIMATIC CPU 317 / 319.SINUMERIK Operate for PCU 50 does not include any technology cycles or measurement and ISO cycles. These are available on the CF card of the NCU, and are automatically installed when the NCU powers up - also see the notes provided in the upgrade instructions for the CNC software 4.7 SP4.InstallationImportant: A previously installed version V4.7 SP4 or higher of the SINUMERIK Operate for PCU 50 must first be uninstalled under Control Panel / Programs and Features.To install SINUMERIK Operate for PCU 50, the user must call the Setup_HMIsl_......exe file from the Windows desktop of the PCU 50. To do this, either create a network connection to a PC using the DVD supplied or copy the software from the DVD supplied to a USB flash drive and then connect it directly to the PCU 50.The installation directory is permanently defined as C:\Program Files (x86) for PCU 50 Windows 7 or F:\hmisl for PCU 50 WinXP.During the installation, you will be asked about the installation type:Operation on a SINUMERIK NCU (default setting)Operation on a SIMATIC CPU 317 / 319Integration of .NET-Framework for OEM applicationsLicensingFor operation on an NCU, SINUMERIK Operate on PCU 50 requires licensing via the SINUMERIK option6FC5800-0AP88-0YB0.====================================================================Compatibility==================================================================== SINUMERIK Operate 4.7 SP4 can be combined with 840D sl NCU 7x0.3 (B) with CNC-SW 4.7 SP4.The help system is based on the documentation for CNC SW 4.7 SP2.NC alarm texts are based on CNC SW 4.7 SP2.The additional languages V4.5.2 , V4.7.2.1 and V4.7.3 can be used. New texts in SW 4.7 SP4 are displayed in English if necessary.All drive texts (alarm and parameter texts as well as the corresponding online helps) are also displayed in English when using the additional languages V4.5.2 and V4.7.2.1.STEP7 for SINUMERIK PCU 50 from V5.5 SP3 and higher can be linked into SINUMERIK Operate 4.7 SP4 and can then be run.SINUMERIK Operate 4.7 SP3 for PCU 50.5 / IPC====================================================================Notes regarding SINUMERIK Operate on PCU 50:The "Local drive" in SINUMERIK Operate for PCU 50 Win7 is stored on the hard disk under C:\Program Files(x86)\Siemens\MotionControl\user\sinumerik\data and is always provided without option.When using SIMATIC ITC panels, no touch softkey is available for the help function.The mold and die view cannot be used with POLY and G91 blocks.The mold and die view cannot be used with BSPLINE blocks.Only the elements 0 to max. 65534 can be displayed or changed in GUD arrays, even if the array isgreater in the NC.File/folder names that contain a minus character are rejected both in the NC memory and on the local drive.Restrictions with EES:When using a USB stick on the TCU in combination with a PCU, you can currently not edit any files on the USB with active EES mode. You can only execute these files.If a USB stick on a TCU is accessed by several HMIs / NCUs in parallel, the components are notcoordinated. This entails the danger that a program being executed is modified / destroyed by another component.For the front USB of the TCU in combination withIf a specific user should be automatically logged on during installation of Operate on PCU 50 Win7, the user must have a Windows password.Othwerwise the installation is aborted and fault Fehler 1722output.When installing Operate on PCU 50, the entered password is not checked with autologon set for a user.When executing part programs from network drives or editing files on network drives, the user mustprovide for a stable, interference-free network connection to the network drives.When executing from USB stick it may occur that no program blocks are displayed if a USB stick was inserted before into another USB interface.When terminating Operate with the Exit softkey, an internal crash may occur which is not visible on the operator interface. However, a Crashlog and a dump file are created in each case.For touch panels without keyboard, the alarm screens of the Diagnostics area now include a verticalsoftkey " Cancel Alarm".Rsoftkey is displayed, the machine data MD 11280 $MN_WPD_INI_MODE must have the value 1.OPC-UA:There are two possibilities to set up a connection:Connection without securitymode "SignAndEncry"Siemens recommends that you always establish a connection with security, as only in this way theconfidentiality of the data transferred can be ensured.When restarting Operate, it may occur that the reconnection with the OPC server fails. In this case, you must restart NCU respectively PCU 50 / IPC.Settings:To operate a PCU 50 with an external monitor, the screen size of Operate can be set in the fileC:\Program Files(x86)\Siemens\MotionControl\user\sinumerik\hmi\cfg\slrs.ini with the entry[Global]SINUMERIK Operate 4.7 SP3 for PCU 50.5 / IPCResolution =; permissible values: 640x480, 800x600, 1024x768, 1280x1024Subsequently enter Autostart of Operate for a (different) user on PCU 50.5-Win7:On the desktop, start menu "All Programs", select Startup. Right-click and choose "Open". This opens an Explorer. In the right-hand Explorer window, right-click and create "New" "Shortcut".Then with "Browse ...", enter file "C:\Program Files(x86)\Siemens\MotionControl \siemens\sinumerik\hmi\ autostart\slstartup.exe".Operate includes the "AppSight-Blackbox" (tool for analyzing causes of application crashes), and is active as default. It can be deactivated by making an appropriate entry in file run_hmi.ini:[BlackBox]; enabled could be set to true or false. Default: trueenabled=trueThe log file created by the AppSight Blackbox on error is called:It is written when Operate is exited. Processes that are still running may need to be explicitly terminated. This log file must be forwarded to the SINUMERIK Hotline together with the HMI crash log.With Operate on PCU 50-WinXP the setting of the date / time only affects the clock of the NC/PLC, not the clock of the PCU 50New designsoftkeys incl. the icons on the softkeys, the appearance of the window title bars, various colors (window background colors) and the appearance / behavior of the header the displays for the operating area and operating mode can be found on the right side of the header line and, with no alarm pending, the header only shows the Siemens logo.The new skin can be activated with the display MD 9112 HMI_SKIN = 1. After a restart, Operate uses the new skin. For the new design, we recommend that you use a color depth of 32 bit.With multi-touch operation (e.g. OP015Black) the functions of the user interface have also been expanded. There are six function keys above the vertical softkeys which are always visible for the functions Undo, Redo, Open/close online help, Open/close virtual keyboard, Open/close calculator, Create screenshot.。

PLC固件升级帮助文档

PLC固件升级帮助文档

XC-PLC固件升级帮助文档
进行XC-PLC固件升级,会导致PLC中的用户程序丢失,应确保PLC中的用户程序已被保存。

XC-PLC固件升级过程如下:
1、运行升级工具
运行“XC系列PLC固件升级工具.exe”。

打开PLC固件文件(后缀名.sys)。

2、设置参数
XC3系列机型(包括XP系列机型),按照如下参数设置(串口号按照实
际连接设置):
更新到v2.3的参数为:6C000,10034,10035,0C000,1DFFF
更新到v2.5的参数为:6A000,10034,10035,0A000,1DFFF
V3.0以上版本,仅仅需要设置串口。

XC5系列机型,按照如下参数设置(串口号按照实际连接设置):
更新到v2.3的参数为:64000,30034,30035,24000,3DFFF
更新到v2.5的参数为:64000,30034,30035,24000,3DFFF
V3.0以上版本,仅仅需要设置串口。

3、下载
点击“下载”菜单项,出现如图显示:
4、PLC断电,将PLC与电脑通过编程电缆连接,XC1,XC2需要接1个短
接片,XCM需要接2个短接片,XC3,XC5不需要短接片。

5、PLC重新上电,可看到正在升级,如图显示:
6、等待升级完毕,升级完毕时,如图显示:
7、PLC重新上电,XC-PLC固件升级完毕。

(注意:升级过程中勿断电)
8、XC1,XC2,XCM升级完毕以后请取下端接片,重新上电,以防止电池耗
尽。

基于codesys的汇川中型plc对伺服探针使用的方法

基于codesys的汇川中型plc对伺服探针使用的方法

基于codesys的汇川中型plc对伺服探针使用的方法
1. 确保你的汇川中型PLC支持与伺服探针通信的通信协议,
比如Modbus RTU或者EtherCAT。

2. 在Codesys开发环境中创建一个新的工程,并添加与伺服探
针通信所需的库文件。

这些库文件通常由设备制造商提供,并且可以导入到Codesys中。

3. 在PLC程序中添加必要的代码来初始化与伺服探针的通信。

这通常包括指定通信协议、设置通信参数(如波特率、数据位、停止位等),以及定义通信地址等。

4. 在程序中编写逻辑来控制伺服探针。

这可能涉及到发送命令给伺服探针,比如设定目标位置、启动运动、停止运动等。

你可以根据设备制造商提供的文档或者通信协议规范来编写这些命令。

5. 在PLC程序中添加逻辑来处理从伺服探针返回的数据。


些数据可能涉及到当前位置、速度、加速度等信息。

你可以使用Codesys中提供的函数块或者函数来解析和处理这些数据。

6. 测试你的PLC程序。

可以使用Codesys中的仿真功能来模
拟与伺服探针的通信,以验证程序的正确性。

此外,你还可以借助Codesys自带的在线监视功能来监视伺服探针的状态和数据。

请注意,以上步骤仅提供了一个基本的使用方法,具体操作可
能因PLC型号、伺服探针型号和通信协议等而有所不同。

对于具体的操作细节,你需要参考设备制造商提供的文档或者咨询相关技术支持。

高级软件升级指南说明书

高级软件升级指南说明书

<<< Advanced Software Upgrade Guide >>>Applicable Models: LCD TV and PDP TV are released on 2008, 2009 years-LCD TV : **LH ****, **LU ****, **SL ****,**LF ****, **LG60**, **LG70** Series-PDP TV : **PS70**, **PS80**, **PG40**, **PG60**, **PG70** SeriesSearching the latest software.¾Search the latest software from the website ()-Our counselor of Call center inform you more detail method.n Searching the latest software.c Connect to d Select your countrye Move to the Supportf Click the Manual & Drivers ⑤Fill in the your Model name⑥Click the ”Drivers & software ”o Downloading the Software file to the USB Memory device.①Connect the USB Memory device to the USB port of your PC.②Make a folder in USB Memory device ( Folder name must be “LG_DTV ” )Click the “ Download this file” on the website to save it to the USB Memory device Caution!! Your PC don’t have any security Program!¾Save the latest software from website to the USB Memory device.③yS ft fil t “LG DTV ”f ld f USB M d i“Click”④Save software file to “LG_DTV ” folder of USB Memory device 9p Connecting the USB device to USB IN Jack on the TV¾Connect the USB device to USB IN (or USB IN SERVICE ONLY) Jack on the TV ※Position of USB In Jack : Side or Rear (differ depending on your TV Model)ORq Running the software upgrade¾If TV recognize the latest software for customer ’s TV model from connected USB device,g ,it will appear below message.¾Please select “start ”to execute the upgrade automatically※If there are the same or lower software version in the USB device than Software version in your TV,doesn ’t appear below message.※A few USB devices may not be compatible with the TV, in that case you use another USB device.!Warning!!Pl d ’t di t th th USB d i hil i th dStep1. Please select “Start”to execute the upgrade automatically.-Press Arrow key to move to the “Start”Please don’t disconnect the power or remove the USB device while running the upgrade.Step2. Copying software file from the USB device to the TVDon’t remove the USB device while this message is displayed※Don t remove the USB device while this message is displayed.Step3. Running the software upgrade※Don’t turn off the power while this message is displayed.※If some problems happen during upgrade,the TV will display the error message andrestart to return to the previous version.Step4. Complete the software upgrade-If the upgrade is completed, this message is displayed.-The TV will turn off and on automatically after the upgrade completed.NoteYou can check the upgraded software version on the “Diagnostics menu”( OSD Menu: Setup -> Diagnostics)It might be initialized previous menu setting (Channel tuning, Picture, Audio,,,) If you have still problem after upgrade, please contact with us again. !。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

汇川中型PLC编程软件升级指导
1,版本说明(倒叙说明)
1.1兼容版本概述
1,编程软件InoProshop V1.1.0及之前版本在持久性变量、硬盘分区、高速IO功能、EtherCAT总线IO模块等无法与新版本兼容,新开发项目避免使用,推荐升级到最新版本。

此外,本文述描述中未涉及的版本(V1.3.2以下)不推荐使用,如有特殊要求,需要与供应商确认。

2,汇川自定义库HC_Basic、SMHC_basic、CmpBasic、IodrvEthercatEncoder、工艺库等进行调整、优化。

版本兼容性请参考V1.3.2依赖库列表。

3,从站设备文件如EtherCAT描述文件(xml)、CANOpen描述文件(eds)、Profibus-DP描述文件(gds)应与从站设备固件版本相匹配,如有疑问请与供应商联系。

V1.3.2版本下列特定版本默认未安装的从站设备,通过安装相应设备文件可支持。

具体安装方法见xxx
4,下列所涉及产品具体使用方法请参考相关硬件手册或与供应商联系。

2,升级方法
2.1 应用软件安装
电脑配置要求Windows7或Windows10,内存不小于4G,强烈推荐使用64位中英文操作系统(32位系统不建议使用)。

可按照安装导向进行安装,默认安装路径为:C:\Inovance Control\InoProShop,也可根据需求在安装过程中对安装路径进行设置。

注意:不可与其他版本安装在同一个文件夹中。

2.2 用户工程
如果打开旧版本工程,会弹出“工程版本信息”窗口。

如果不希望更新工程,选择“不更新”即可,直接编辑使用,但是梯形图必须更新。

显示“工程版本信息”窗口有两种方式:一种是旧工程打开时自动弹出、另一种是使用菜单命令【工程】-【工程版本信息…】打开。

更新工程有两种形式:全部更新和部分更新。

(1)全部更新时,在弹出“工程版本信息”窗口时,选择“全部设置成最新版本”按钮,然后点击“确定”按钮。

(2)部分更新时,在弹出“工程版本信息”窗口时,选择需要更新类型对应的选项卡,然后点击“确定”按钮。

注意:梯形图必须更新。

2.3 在线固件升级
PLC设备(CPU模块)升级
步骤1.【工具】-【InoProshop工具】-【扫描网络】-选中相应设备
步骤2.【升级】-【选择固件升级包】-【升级】
2.4 EtherCAT模块升级
步骤1:【设备】-【概述】,勾选“启动专家设置”,【登录下载】-【运行】。

步骤2:【设备】-【在线】,在【状态机】选择“引导”。

当状态进入引导后,【通过EtherCAT 进行文件访问】,选择“下载”。

在弹出的框,找到要升级的后缀名为“.bin”固件文件路径,打开后开始升级。

2.5 库升级
参考常见问题中“如何在工程添加编译库”。

2.6 EtherCAT设备文件升级
步骤1:【设备】-【概述】,勾选“启动专家设置”,【登录下载】-【运行】。

步骤2:
【设备】-【在线】-【写EEPROMXML】,在弹出的框,找到要升级的XML文件路径。

开始升级
2.7升级包安装(如果涉及)
3.升级常见问题
3.1 如何查看版本,
【设备】-【升级】-【获取PLC信息】
3.2 如何制作升级文件
参考《SD升级制作指导》文档(控制技术园地下载)。

3.3.目标系统与连接设备不匹配
图:目标系统与连接设备不匹配
原因:出现错误的原因是由于InoProShop的PLC设备版本为“3.5.11.10”,而实际PLC设备设备版本为“3.5.10.20”。

InoProShop上的设备版本不能大于实际版本!
解决方案1:更新PLC固件,升级到与设备版本(3.5.11.10)匹配的固件版本(单板软件)。

i:InoProShop升级固件包
步骤1:
右击“设备”选择“更新设备”,弹出的窗口勾选“显示所有版本”,找到更新设备的对应版本,如果在设备列表中找不到与实际硬件相同的
版本,选择前三个数字一样的即可。

如下图所示,列表中不存在与硬件
设备相同的“3.5.10.20”,可以选择“3.5.10.40”(前面的三个数字
版本是相同的),并更新设备。

图:更新PLC设备版本
步骤2:
重新扫描并选中相应设备,系统将不会弹出错误窗口。

如下图:
图:连接PLC设备
步骤3:
选择“设备”,找到“升级选项”,在固件升级界面在线升级。

图:在线升级固件
步骤4:
固件升级完毕后,再按照步骤1,将PLC设备版本更新到版本“3.5.11.10”。

即可使用最新版本的PLC设备和PLC固件。

ii:SD升级
具体操作请参考《SD升级制作指导》(控制技术园地下载)。

解决方案2:更新设备版本,降低到与固件匹配的设备版本。

执行方案1中的步骤1即可达到目的。

但是低版本的PLC设备文件只能跟该版本匹配IEC库使用。

工程中添加IEC库时,由于IEC库添加的规则是默认最新版
本,因此编译程序时可能出现编译报错,原因是库版本与PLC设备版本匹配不一
致,可以通过手动更改IEC库版本解决。

具体参考“高版本打开低版本工程”问题
指导。

3.4.新编程软件中添加库编译报错
V1.3.2打开V1.3.0以前版本上的工程(V1.2.0为例),添加IEC库“CmpBasic ”,并使用库里面的“MC_R eset Drive”功能块,结果编译报错。

图:新添加库编译报错
原因:mpBasic库内依赖的特定库(SM3_Basic、IODrvEtherCAT)与工程库管理中依赖的特定库版本不统一)。

CmpBasic(V1.8.0.0)版本依赖的“IODrvEtherCAT”版本为
“V3.5.11.10”,而工程引用的版本是“V3.5.10.0”; CmpBasic(V1.8.0.0) 版本依赖的“SM3_Basic”版本为“V4.2.2.0”, 而工程引用的版本是“V4.2.1.0”。

解决方案:
步骤1:
双击“库管理器”打开“库管理器”界面,在库列表中选“C mpBasis库,
此时版本“1.8.0.0”。

步骤2:
库管理其中,选择“属性”选项,在弹出的窗口内,找到“版本”选项卡,
在下拉菜单中选择与PLC设备对应的IEC库版本为1.6.0.0(V1.2.0新建的
工程),然后确定。

图:手动更新IEC库
步骤3:
编译工程,如下图所示:
图:更新后的IEC库、编译信息
注意:库不兼容的主要原因是使用库内依赖系统库与前工程中包含系统库版本不一致造成的。

常见库有IODrvEtherCAT库、SM3_Basic库。

3.5.如何在工程添加编译库
安装库以“CmpBasic. compiled-library”,版本V1.11.0.0为例,后台软件版本以V1.2.60为例。

其他后台软件版本操作步骤与范例相同。

步骤1:安装编译库
打开工程,点击“库管理器”。

库“管理器”界面,点击“资源库”,点击“安装。

找到需要安装的编译库存储路径(piled-library V1.11.0.0),选中并“打开”。

步骤2:工程添加库
库“管理器”界面,点击“添加库”,在“库”弹出界面选择“杂项”,
点开“+”。

选择对应的库“C mpHCBasic”并“确定”。

默认将最高的版本添加到工程。

步骤3:手动选择库版本
在“库管理器”界面选中需要更新库“C mpBasic”。

点击“属性”,弹出“CmpBasic”库的属性窗口,在版本选项的下拉选择框,可以指定任意版本(注意库版本与后台的匹配关系,不匹配的情况使用库里
面的功能会出现编译报错)。

附录:
新编程软件库版本列表。

相关文档
最新文档