• {{item.name}}
{{item.name}}
{{item2.name}}
更多

故障和中断

star star star star star
0 分
  • 硬件组态与安装
  • 故障诊断
  • S7-300
发布时间:2024年04月24日
  • 0
  • 1
介绍FM350-1可以触发诊断中断的条件

诊断中断

可以触发诊断中断的条件:

  • 模板电源 1L+/1M 短路或过载
  • 5.2 VDC 编码器电源故障
  • 模块参数丢失
  • 模块参数错误
  • 看门狗错误
  • RAM 故障
  • 过程中断丢失
  • 信号 A 故障(断线、短路)
  • 信号 B 故障(断线、短路)
  • 信号 N 故障(断线、短路)

中断时间产生后,CPU会

  • 读取诊断信息,并将其存储在 DS0 和 DS1中
  • 故障LED点亮
  • 调用诊断中断服务程序 OB82,若OB82未下载,CPU停机
  • FM继续计数

其中,DS0是OB82的局部变量LB8-12,DS0的详细定义见下表:

ByteBit含义可能的原因事件 ID
00模块故障任意诊断事件都会置位此位8:x:00
1内部故障任意内部故障产生时置位此位RAM测试中产生错误触发看门狗过程中断丢失8:x:01
2外部故障任意外部故障产生时置位此位1L/1M未连接辅助电源或5.2VDC传感器电源被短接5.2VDC传感器电源被短接或过载5V信号故障参数配置错误8:x:02
3一个计数通道故障参考DS1,BYTE48:x:03
4外部辅助电源故障检查电压8:x:04
6配置参数丢失重新参数化模板8:x:06
7参数错误请参考Counter DB中的DA_ERR_W: DBW38,含义见表DATA_ERROR8:x:07
10--3种类级别固定为8
4通道信息固定为1
23看门狗错误模块故障或强干扰8:x:33
33RAM失效模块故障或强干扰8:x:43
6过程中断丢失检查组态。由于相同的过程中断还没有被用户程序或CPU确认,新的过程中断仅能被检测到8:x:46

表. DS0

DS1是Counter DB从DW54往后的16字节长的数据,前4字节与DS0相同,后12字节见下表:

ByteBit含义可能的原因事件 ID
40--6通道种类固定为76H
7深一层的通道种类固定为0
50--7诊断信息长度固定为10H
60--7故障通道号固定为1
70通道矢量错误有通道错误时为1
80信号A错误 8:x:B0
1信号B错误 8:x:B1
2信号N错误 8:x:B2
45.2VDC传感器电源故障 8:x:B4
5--7保留
9--15 保留

表.DS1

Counter DB中的DA_ERR_W: DBW38的含义

No.含义
0No error
200Coding connector wrongly connected or missing
201Incorrect value for receiver selection
202Incorrect value for diagnostics of signal pair
203Incorrect value for signal evaluation
204Incorrect value for input filter of the 24 V counter signals
205Incorrect value for the input filter of the digital inputs
206Reverse direction not allowed
207Incorrect parameter for reaction of DO0
208Incorrect parameter for reaction of DO1
209Range violatoin for pulse length
211Incorrect operating mode
212No gate specified or both gates specified
213Incorrect parameter for main count direction
214Upper limit range violation
215When parameterizing the process interrupt ‘Reaching the comparison value in up
or down count direction’, a different count direction was specified to that specified in
the parameterization of the behavior of the outputs ‘Output active for one pulse
duration in up or down direction’. The directions must agree.
216Interrupts from the gate control only possible in the operating modes with gate
control.
217Interrupt at reaching comparison values is not allowed as reaction for the outputs
“Active from comparison value to overflow” or “Active from comparison value to
underflow”.

表.DATA_ERROR



剩余80%未阅读,请登录查看大全章节内容

  • 评论
更多
  • 分享

    扫码分享

扫码进入移动端

信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。