在编译PCS 7的时候,为什么会出现如下警告信息”The number of communication jobs (x) configured in your program is greater than the maximum permissible number of communication jobs (x) of the connected CPU.”?

描述
问题原因在于程序所需通讯任务数量超过了CFC中的设置。

两种方法删除这个警告信息:
1.增加关于通讯任务数量的警告设置。具体做法,选择菜单"Tools > Settings > Compile..." (图. 1)。

在编译PCS 7的时候,为什么会出现如下警告信息"The number of communication jobs (x) configured in your program is greater than the maximum permissible number of communication jobs (x) of the connected CPU."?
图. 1: CFC中的设置

2.增加CPU允许的最大通讯任务数量。可以参考条目2446042 (图. 2)。

在编译PCS 7的时候,为什么会出现如下警告信息"The number of communication jobs (x) configured in your program is greater than the maximum permissible number of communication jobs (x) of the connected CPU."?
图. 2: 硬件组态中CPU设置

关键词
编译程序警告,编译器

原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc332297.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2020年11月5日 下午12:03
下一篇 2021年4月12日 上午12:00

相关推荐

发表回复

登录后才能评论