签到最新话题最热话题

懒虫工控(旧)

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 5165|回复: 1
打印 上一主题 下一主题

[MACS-K、SM、FM] 和利时4.6编译错误代码与含义

[复制链接] |关注本帖

签到天数: 124 天

连续签到: 1 天

[LV.7]以坛为家I

跳转到指定楼层
楼主
发表于 2017-1-25 20:54:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
DCS讨论
DCS品牌名称、版本号 : 和利时4.6
装置描述(即DCS使用在生产什么产品的装置上) : 和利时4.6
和利时4.6编译错误代码与含义
"Code too large. Maximum size: '<number>' Byte (<number>K)"
超过了程序最大容量,减少程序容量。
"Total data too large. Maximum size: '<number>' Byte (<number>K)"
内存超过了,减少应用程序的数据存储。
"Error in Library '<Name>'."
.hex文件并不是16进制的格式。
"Library '<Name>' is too large. Maximum size: 64K"
.hex文件大小超过设置的最大值。
"Nonrelocatable instruction in library."
.hex文件包含了一个不能再定位的指令,不能连接库代码。
"Library code overwrites function tables."
代码范围和函数表重叠。
"Library uses more than one segment."
.hex文件中的代码和表的使用超过一个片断。
"Unable to assign constant to VAR_IN_OUT. Incompatible data types."
字符串常量指针不能转换成VAR_IN_OUT指针格式,因为数据被设置为 "near",而字符串常量设置为 " huge" 或"far",需要改变目标设置。
"Function tables overwrite library code or a segment boundary."
Code 166x: 在当前设置下,外部库文件不能使用,必须调整。库文件必须用当前适当的设置重新编译。
"Current code-segment exceeds 64K."
当前产生的代码超过64k,会产生过多的原始代码。
"POU too large."
POU超过了64k。
"Initialisation too large. Maximum size: 64K"
函数或POU初始化代码不能超过64k。
"Data segment too large: segment '<Number>%s', size <size> bytes (maximum <number> bytes)"
请联系生产商。
"User-Stack too small: '<number>' DWORD needed, '<number>' DWORD available."
程序嵌套调用层数太多。在目标设置中,输入比较大的堆栈大小,或者没有这些选项的编译。
"User-Stack too small: '<number>' WORD needed, '<number>' WORD available."
联系PLC厂商。  
"System-Stack too small: '<number>' WORD needed, '<number>' WORD available."
联系PLC厂商。
"Parameter <number> of function '<name>': Cannot pass the result of a IEC-function as string parameter to a C-function."
IEC函数的结果分配了中间变量。
"Can't open library file '<name>'."
库管理器中包含了库文件,但是库文件在给定的路径中并不存在。
"Library '<name>' contains no codesegment"
库里的.obj 文件至少必须含有一个C函数,在.obj文件中插入的虚拟函数,在.lib文件中没有定义。
"Could not resolve reference in Library '<name>'(Symbol '<name>', Class '<name>', Type '<name>')"
.obj 文件包括一个无法解析的符号,请检查C编译器的设置。
"Unknown reference type in Library '<name>' (Symbol '<name>' , Class '<name>' , Type '<name>')"
.obj文件包含一个引用类型,无法被代码生成器解析。请检查C编译器的设置。
"<name>: Boolean expression to complex"
临时存储内存不能存下表达式,将表达式拆分成几个部分表达式,用中间变量来存储。
"<name> (<network>): A network must not result in more than 512 bytes of code"
内部跳转不能解析,在68k目标设置中激活选项"Use 16 bit jump offsets"。
"Stack overrun with nested string/array/structure function calls"
使用嵌套函数调用 CONCAT(x, f(i))函数,可能导致数据丢失。将调用划分成两个表达式。
"Expression too complex (too many used adress registers)."
将表达式划分成几个表达式。
"A jump exceeds 32k Bytes"
跳的距离不超过32767字节。
Internal Error: Too many constant strings"
在POU中,至少使用3000个字符串常量。
"Function block data exceeds maximal size"
功能块最多可以产生32767字节的代码。
"Array optimization"
数组最优化访问失败,因为在索引计算中,函数被调用。
"Conversion not implemented yet"
转换函数并不能被实际的代码生成器执行。
"Operator not implemented"
操作数不能被数据类型和代码生成器执行。MIN(string1,string2)。
"Function '<Name>' not found"
调用的函数并不存在。
"Max string usage exceeded"
字符串类型的变量在一个表达式中最多只能使用10次。
"Wrong library order at POU <POU name>"
POU的库文件顺序与 cslib.hex 文件顺序不匹配,以此纠正顺序。(如果在目标文件中检查选项被激活,只针对68K目标)
"Real not supported for 8 Bit Controller"
目标不支持。
"date of day types are not supported for 8 Bit Controller"
目标不支持。
"size of stack exeeds <number> bytes"
目标不支持。
"Could not find hex file: '<Name>' "
目标不支持。
"Call to external library function could not be resolved."
目标不支持。
"Pointers are not supported for 8 bit controllers."
在8位系统中,避免在程序中使用指针。
"An error occured during import of Access variables"
.exp文件包括了错误访问变量。
"An error occured during import of variable configuration"
.exp文件包含了一个不正确变量配置。
"An error occured during import of global variables"
.exp文件包含了不正确的全局变量。
"Could not import <name>"
在.exp文件中,对象<名称>不正确。
"An error occured during import of task configuration"
任务配置中 .exp 文件不正确。
"An error occured during import of PLC configuration"
在.exp文件中PLC配置不正确。
"Two steps with the name '<name'. Second step not imported."
在.exp文件中SFC POU包含了两个有着相同名字的步,在输出文件中重新命名其中一个步。
"Predecessor step '<name>' not found"
在.exp文件中步<名称>丢失。
"Successor step '<name>' not found"
在.exp文件中步<名称> 丢失
"No successing transition for step '<name>' "
在 .exp文件中,需要步<名称> 做为前一步的转换丢失。
"No successing step for transition '<name>'"
.exp文件中,需要转换<名称>做为前提条件的步丢失。
"Step '<name>' not reachable from initial step"
.exp文件中,步<名称>和初始步之间的连接丢失。
"Macro '<name>' not imported"
检查输出文件。
"Error during import of the CAMs."
引入的一个输出文件 (*.exp),它包含了在CAM中的错误信息。检查输出文件。
"Error during import of the CNC program list"
引入的一个输出文件,包含了CNC程序的错误信息,检查输出文件。
Error during import of the Alarm configuration"
引入的一个输出文件 (*.exp),包含了有关警告配置的错误信息,检查输出文件。
"PDO'<PDO-name>': Missing COB-Id!"
在模块的PLC配置对话框中点击属性按钮,并且为PDO<PDO名字>填入一个COB ID
"Error during load: EDS-File '<name>' could not be found, but is referenced in hardware configuration!"
设备文件需要的CAN配置并不在一个正确的路径中,检查路径设置。
"The module '<name>' couldn't be created!"
有关模块<名称>的设备文件与当前配置不匹配,文件可能在配置建立后被修改或者已损坏。
"The channel '<name>' couldn't be created!"
有关通道<名称>设备文件与当前配置不匹配,文件可能在配置建立后被修改或者已损坏。
"The address '<name>' points to an used memory!"
在PLC配置中,激活选项 'Check for overlapping addresses',检测到地址重叠。检查是基于模块数据类型结果的大小,而不是配置文件中“大小”属性里填写的值。
"Error during load: GSD-File '<name>' could not be found, but is referenced in hardware configuration!"
Profibus配置所要求的设备文件并不在一个正确的路径上,检查配置文件中路径设置。
"The profibus device '<name>' couldn't be created!"
模块<名称>的设备文件与当前配置不匹配,文件可能在配置建立后被修改或者已损坏。
"Error in module description!"
请检查模块的设备文件。
"The PLC-Configuration couldn't be created! Check the configuration files."
检查所有要求的配置和设备文件存在于正确的路径上。
"The selected baudrate is not supported."
改变CAN参数对话框中的设置。关于由GSD文件给出的波特率要求。
3S_CanDrv.lib has the wrong version.
确保3S_CanDrv.lib库文件在工程中,并且是最新的。
"3S_CanOpenMaster.lib has the wrong version."
确保 3S_CanOpenMaster.lib库文件在工程中,并且是最新的。
"3S_CanOpenDevice.lib has the wrong version."
确保 3S_CanOpenDevice.lib库文件在工程中,并且是最新的。
"3S_CanOpenManager.lib has the wrong version."
确保3S_CanOpenManager.lib库文件包含在工程中,并且是最新的。
"3S_CanNetVar.lib has the wrong version."
确保 3S_CanNetVar.lib库文件在工程中,并且是最新的。
"CanDevice: Sub indices have to be numerated sequentially"
Can设备使用参数列表中,子索引必须是顺序的,而且不中断的。在参数管理器中检查相应的列表。
"CAN network variables: No CAN controller found in the PLC configuration"
在CAN网络中,有网络配置参数。在PLC配置中,并没有CAN控制器。
"CanDevice: Update task not available in the task configuration."
在PLC配置中,CAN设备的基础设置对话框中,所定义的更新任务必须在任务组态中配置。
"No 'VAR_CONFIG' for '<Name>'"
在包含“Variable_Configuration”的全局变量列表中,插入变量申明。
"No address in 'VAR_CONFIG' for '<name>'."
在包含“Variable_Configuration”的全局变量列表中,为变量分配地址。
"Wrong data type for '<name>' in 'VAR_CONFIG"
在包含“Variable_Configuration”的全局变量列表中,变量声明的数据类型与在POU中声明的数据类型不同。
"Wrong data type for '<name>' in 'VAR_CONFIG'"
在包含“Variable_Configuration”的全局变量列表中,变量声明的地址与在POU中声明的地址不同。
"Initial values are not supported for 'VAR_CONFIG"
在variable_Configuration列表中的变量在声明时,具有地址和初始值,但是初始值只能赋给没有分配地址的输入变量。
"’<name>’is no valid instance path"
在 Variable_Configuration中包含一个不存在的变量。
"Access path expected"
在全局变量列表的访问变量中,变量的访问路径不正确。正确设置:<标识符>:<访问路径>:<类型>:<访问模式>
"No address specification for 'VAR_ACCESS'-variables"
在全局变量列表中,访问变量包含变量的分配地址,这是不允许的。合法的变量定义:<标识符>:<访问路径>:<类型>:<访问模式>
"Duplicate definition of identifier '<name>'"
有两个任务定义成相同的名字,重命名其中一个。
"The task '<name>' must contain at least one program call"
插入程序调用或者删除任务。
"Event variable '<name>' in task '<name>' not defined"
在任务属性对话框中,事件变量在‘Single’ 区域中设置,并不能在工程中全局声明它。使用另一个变量或者定义全局变量。
"Event variable '<name>' in task '<name>' must be of type 'BOOL'"
在任务属性对话框'Single'区域中,事件变量是BOOL类型。
"Task entry '<name>' must be a program or global function block instance"
在程序调用中输入了一个函数或未定义的POU,输入合法的程序名称。
"The task entry '<name>' contains invalid parameters"
在附加程序调用中,参数使用并不符合POU程序的声明。
"Tasks are not supported by the currently selected target"
在当前目标系统设置中,所配置的任务组态不能使用。改变目标或者正确修改任务组态。
"Maximum number of Tasks ('<number>') exceeded"
当前所定义的任务数目超过了目标系统所允许的最多数目。改变目标或者正确修改任务组态。注意:不要编辑组态任务的XML描述文件!
"Priority of task '<name>' is out of valid range between '<lower limit>' and '<upper limit>'"
在目标系统中,当前所定义的任务优先级是非法的,改变目标或者正确修改任务组态。
"Task '<name>': Interval-Tasks are not supported by the current target"
当前组态任务中含有一个间隔任务,但是目标系统并不允许。改变目标或者正确修改任务组态。
"Task '<name>': free wheeling tasks are not supported by the current target"
当前组态任务中包含了一个单向转动任务,但是目标系统并不允许。改变目标或者正确修改任务组态。
"Task '<name>': event tasks are not supported by the current target"
当前组态任务包含事件任务,当前目标系统并不支持。改变目标或者正确修改任务组态。
"Task '<name>': external event tasks are not supported by the current target"
组态任务中包含外部事件任务,目标系统并不支持。改变目标或者正确修改任务组态。
"The interval of task '<name>' is out of valid range between '<lower limit>' and '<upper limit>'"
在任务组态对话框中,改变间隔值。
"The external event '<name>' of task '<name>' is not supported by the current target"
目标系统并不支持在组态任务中定义的外部事件任务,改变目标或者正确修改任务组态。
"Maximum number of event tasks ('<number>') exceeded"
目标系统并不允许有与定义的任务数量相同的事件任务,改变目标或者正确修改任务组态。
"Maximum number of interval tasks ('<number>') exceeded"
目标系统不允许有与定义的任务数量相同的间隔任务,改变目标或者正确修改任务组态。
"Maximum number of free wheeling tasks ('<number>') exceeded"
目标系统并不允许有与定义的任务数量相同的单向转动任务,改变目标或者正确修改任务组态。
"Maximum number of external interval tasks ('<number>') exceeded"
目标系统并不允许有与定义的任务数量相同的外部间隔任务。改变目标或者正确修改任务组态。
"POU '<name>' for system event '<name>' not defined"
命名系统事件所调用的POU,在任务组态中定义了,但是工程中却不存在。正确修改任务组态或者确保POU在工程中可见。
"The tasks '<name>' and '<name>' share the same priority"
修改组态任务,保证每一个任务都有一个不同优先级。
"The tasks '<name>' and '<name>' share the same priority"
修改组态任务,保证每一个任务都有一个不同优先级。
"The tasks '<name>' and '<name>' share the same priority"
修改组态任务,保证每一个任务都有一个不同优先级。
"The library 'SysLibCallback' is not included in the project! System events can not be generated."
为了创建事件任务,需要SysLibCallback.lib库文件。在库管理器中,链接此库文件到工程中,或者以没有任务被事件触发的方式修改组态任务。
"Implicit variables not found!"
采用命令rebuild all,如果再次得到错误消息,请联系PLC厂商。
"<name> is a reserved variable name"
在工程中,给定的变量被声明,尽管它被保留到代码生成器中,重新命名变量。
[发帖际遇]: 一个袋子砸在了 唐宋元明清 头上,唐宋元明清 赚了 3 元. 幸运榜 / 衰神榜
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 转播转播 分享分享 分享淘帖 支持支持 反对反对
回复

使用道具 举报

签到天数: 124 天

连续签到: 1 天

[LV.7]以坛为家I

推荐
 楼主| 发表于 2017-1-25 20:56:01 | 只看该作者
" '<Name>' not supported"
当前编程系统的版本不支持给定的特性。
"The given compile directory '<name>' is invalid"
在工程路径中给出了无效的路径。
"Maximum number of POUs (<number>) exceeded! Compile is aborted."
在工程中,使用过多的POU和数据类型。在目标系统/内存设置中修改POU的最大数目。
"Build canceled"
编译过程被用户取消。
"Project must contain a POU named '<name>' (main routine) or a taskconfiguration"
在程序中创建一个初始POU或者建立一个任务组态。
"<Name> (main routine) must be of type program"
在工程中使用的初始POU,并不是程序类型。
"Programs musn't be implemented in external libraries"
作为外部库文件保存的工程包含一个程序,当库文件被使用时,程序不能被执行。
Out of memory"
在计算机中增加虚拟内存。
"BitAccess not supported in current code generator!"
目标系统中代码生成器并不支持变量的位访问。
"Object file '<name>' and library '<name>' have different versions!"
确保库文件与*.lib、 *.obj和 *.hex文件版本相符合,这些文件必须有相同的时间戳。
"The POU '<name>' must not be present inside a library"
保存工程做为库,版本为2.1,在这个版本的库中,不含有MACS_PRG对象,采用不同的POU名称。
[发帖际遇]: 唐宋元明清 发帖时在路边捡到 1 元,偷偷放进了口袋. 幸运榜 / 衰神榜
回复 支持 1 反对 0

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

回帖奖励

[详情]

  • * 每天自己主题被回复3次可获得额外3虫币奖励。
  • * 每天回复他人主题5次可获得额外10虫币的奖励。
  • * 奖励每天都可领取,一定要多参与论坛讨论哦。
  • * 同一主题的重复回复不计。
  • 
    关闭

    站长推荐上一条 /1 下一条

    QQ|手机版|小黑屋|懒虫工控(旧) ( 陕ICP备2020013210号-1 )|网站地图  

    GMT+8, 2024-4-20 21:51 , Processed in 0.073621 second(s), 34 queries .

    Powered by 懒虫工控

    © 2016-2020 LCGK

    快速回复 返回顶部 返回列表