在CPU 诊断缓存区里的信息如下:
Diagnostic buffer of module CPU 314C-2 PN/DP
Order No./ Description Component Version
6ES7 314-6EH04-0AB0 Hardware 5
- - - Firmware V 3.3.11
Boot Loader Firmware expansion A 37.12.12
Rack: 0
Slot: 2
Serial number: S C-FNCR05862015
Event 1 of 10: Event ID 16# 2942
I/O access error, reading
P area, word access, Access address: 4
Requested OB: I/O access error OB (OB122)
Priority class: 1
External error, Incoming event
04:29:14.141 AM 02/17/1995
(Coding: 16# 2942 017A 0020 0004 0000 0000)
Event 2 of 10: Event ID 16# 2943
I/O access error, writing
P area, word access, Access address: 2
Requested OB: I/O access error OB (OB122)
Priority class: 1
External error, Incoming event
04:29:14.141 AM 02/17/1995
(Coding: 16# 2943 017A 0020 0002 0000 0000)
Event 3 of 10: Event ID 16# 2942
I/O access error, reading
P area, word access, Access address: 2
Requested OB: I/O access error OB (OB122)
Priority class: 1
External error, Incoming event
04:29:14.141 AM 02/17/1995
(Coding: 16# 2942 017A 0020 0002 0000 0000)
图片说明:
最佳答案
1、解读诊断信息:
I/O access error, reading
P area, word access, Access address: 4
I/O access error, writing
P area, word access, Access address: 2
/O access error, reading
P area, word access, Access address: 2
解读上述诊断信息,是I/O 读写错误。即,当执行读PIW4、PIW2,与写PQW2指令时则发生是I/O 读写错误。
2、原因:
、组态时没有定义上述地址;
、上述地址与实际硬件地址不符;
、实际相应地址的硬件不存在或故障。
3、有关OB块:
Requested OB: I/O access error OB (OB122)
由于你的系统中添加了OB122,所以当发生I/O 读写错误时,系统只报警(SF),不停机。
CPU程序块里面需要添加一些对应的OB组织块,只需添加不需编程,当发生相应故障时CPU只报警,不停机。如:
OB81 电源故障
OB82 诊断中断
OB83 插入/拔出模块中断
OB85 优先级错误
OB86 扩展机架,DP主站系统或者分布式I/O故障
OB87 通讯故障
OB121编程错误
OB122 I/O访问错误
提问者对于答案的评价:
地方哈哈的
原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc126841.html