设为首页收藏本站积分获取及使用技巧附件上传须知[求助-西门子PLC300/400]300plc sf亮 stop状态诊断

追梦工控论坛|工控论坛-专业的Intouch论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

总共8197条微博

动态微博

查看: 2966|回复: 2

[求助-西门子PLC300/400]300plc sf亮 stop状态诊断

[复制链接]

升级  33%

该用户从未签到

发表于 2014-4-24 20:30:14 | 显示全部楼层 |阅读模式

上传分享工控资料得追梦点,下载积分获取办法点击进入 ☆追梦点充值入口
发帖回帖赚金币兑换下载积分。上传附件须知点击进入

×

马上注册,结交更多工控达人,分享经验,让你轻松玩转追梦工控论坛。

已有帐号?  点击登录   或者        

支付宝扫一扫领红包
程序已正常使用多年,出现问题后,上载来仿真可以run。诊断如下:
Diagnostic buffer of module CPU 313C-2 DP</P>Order No./ Description Component Version
6ES7 313-6CF03-0AB0 Hardware 1
- - - Firmware V 2.0.12
Rack: 0
Slot: 2
Event 1 of 100: Event ID 16# 4562
STOP caused by programming error (OB not loaded or not possible, or no FRB)
Breakpoint in user program: Cyclic program (OB1)
Priority class: 1
FC number: 1
Module address: 378
Previous operating mode: RUN
Requested operating mode: STOP (internal)
Internal error, Incoming event
11:15:45.070 PM 04/27/2000

Event 2 of 100: Event ID 16# 2521
BCD conversion error
Affected register: accumulator 1
Requested OB: Programming error OB (OB121)
OB not found, or disabled, or cannot be started in the in the current operating mode
Internal error, Incoming event
11:15:45.056 PM 04/27/2000

Event 3 of 100: Event ID 16# 4302
Mode transition from STARTUP to RUN
Startup information:
- Time for time stamp at the last backed up power on
- Single processor operation
Current/last startup type:
- Warm restart triggered by switch setting; last power on backed up
Permissibility of certain startup types:
- Manual warm restart permitted
- Automatic warm restart permitted
Last valid operation or setting of automatic startup type at power on:
- Warm restart triggered by switch setting; last power on backed up
Previous operating mode: STARTUP (warm restart)
Requested operating mode: RUN
Incoming event
11:15:45.033 PM 04/27/2000

Event 4 of 100: Event ID 16# 1381
Request for manual warm restart
STOP due to: STOP caused by programming error (OB not loaded or not possible, or no FRB)
Startup information:
- Startup without modified system configuration
- No difference between setpoint and actual configuration
- Time for time stamp at the last backed up power on
- Single processor operation
Current/last startup type:
- Warm restart triggered by switch setting; last power on backed up
Permissibility of certain startup types:
- Manual warm restart permitted
- Automatic warm restart permitted
Last valid operation or setting of automatic startup type at power on:
- Warm restart triggered by switch setting; last power on backed up
Requested OB: Startup OB (OB100)
Priority class: 27
Incoming event
11:15:45.032 PM 04/27/2000
让我们联手拒绝网络伸手党,下载积分获取办法&附件上传须知 ☆追梦点充值入口





+1
2968°C
2
  • 晴天雨天
  • 小小女t
过: 他们

升级  31%

该用户从未签到

发表于 2014-4-24 21:22:52 | 显示全部楼层
1、诊断信息:
BCD conversion error
Affected register: accumulator 1
Requested OB: Programming error OB (OB121)
OB not found, or disabled, or cannot be started in the in the current operating mode
Internal error, Incoming event
STOP due to: STOP caused by programming error (OB not loaded or not possible, or no FRB)
从上述诊断信息可看出是由于编程错误引起的STOP ,具体是由BCD码转换的错误。如果忽略这种错误可添加OB121,只需添加不需编程。
2、关于OB组织块:
CPU程序块里面需要添加一些对应的OB组织块,只需添加不需编程,当发生相应故障是CPU只报警,不停机。如:
OB81  电源故障
OB82  诊断中断
OB83  插入/拔出模块中断
OB85  优先级错误
OB86  扩展机架,DP主站系统或者分布式I/O故障
OB87  通讯故障
OB121编程错误
OB122  I/O访问错误
                                                                                                                                                                                                                                                              
                                                        

升级  28%

该用户从未签到

发表于 2014-4-24 21:27:24 | 显示全部楼层
程序中用到了不存在或超范围的地址。
                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                            你在进入诊断缓冲区看到这些内容时,右下角有一个“打开块”的钮应该有显示,点击此钮直接显示出错的地方。
FC1中有错误,变量地址是378。还有就是BCD码错误,16位的BCD码范围是+999~-999,看看是不是超出范围了。
                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                            FC1程序块中有数值超出应用范围了
                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                            建议楼主可以考虑更换个CPU再下载程序试试。
*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

请珍惜自己的ID,严禁发布垃圾水贴,诸如adsf......顶......纯表情......多次重复回帖刷积分......轻则删帖警告,重则封禁!★请分享资料、经验或者赞助论坛,贡献一份力量★

关闭

最新活动上一条 /1 下一条

小黑屋|手机版|追梦工控论坛|工控论坛-专业的Intouch论坛 ( 皖ICP备10012005号 )|网站地图

GMT+8, 2025-5-10 02:56 , Processed in 0.104797 second(s), 20 queries , Gzip On, APCu On.

Powered by Dreamyiyi

© 2009-2025 工控论坛

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