排查网线虚接故的简单方法--设置EtherCAT主站和从站的高级选项.docVIP

  • 65
  • 0
  • 约7.38千字
  • 约 5页
  • 2016-10-19 发布于贵州
  • 举报

排查网线虚接故的简单方法--设置EtherCAT主站和从站的高级选项.doc

排查网线虚接故的简单方法--设置EtherCAT主站和从站的高级选项

排查网线虚接故障的简单方法 一、EtherCAT主站和从站的设置 TwinCAT System Manager中对EtherCAT主站和从站的设置选项。 Device4(EtherCAT)(EtherCAT(Advaned Settings中的内容。EtherCAT Advanced Settings Dialog内容页里有相关的内容的解释。Beckhoff Information中Standard behavior of the EtherCAT master里有一些描述。 1.1 主站设置: 主站去掉“ReInit after Communication Error”选项,即在通讯故障之后,主站保持在原来的状态,例如OP状态如图1所示。 图1 EtherCAT主站和从站的设置 Standard behavior of the EtherCAT master里有一些描述。 主站的ReInit after Communication Error选项: Explanation: After a communication error during which the master has left the OP state (connection disconnected and lost frames for more than 10 cycles, stations switched off) TwinCAT tries to switch the master back to OP state.主站选项ReInit after Communication Error的含义是:主站(SAFEOP(OP状态。勾选该选项,在通讯错误之后,保持在原来的状态,例如OP状态 1.2 从站设置: 从站去掉“Auto Restore States”和“ReInit after Comm. Error”选项,如图1所示。 “Auto Restore States”,不选择,即主站不会试图去恢复从站的状态。 “ReInit after Comm. Error”,不选择,即在通讯故障之后,主站不会从站状态。EtherCAT Advanced Settings Dialog内容页里 Auto Restore States: If this box is checked, the EtherCAT master tries to restore the state of an EtherCAT slave automatically. If an EtherCAT slave device changes from error state (ERR SAFE-OP, ERR OP etc.) to a valid state(SAFE-OP, OP etc), the EtherCAT master tries to set the device to the current state of the master. ReInit after Communication Error: If this box is checked, all slaves are set to init after a communication error has occurred. 1.3 主、从站设置之后的情况 主、从站都设置之后,如果有EtherCAT通讯丢失10次的错误发生。 1.3.1 主站的状态: 主站的状态会维持原来的状态,例如OP状态。 在TcSysLog中的文件:只有Frame missed 10 times 的信息,没有“Message: Device 4 (EtherCAT (v2.10 only): Frame returned - force reinitialization!”的信息。 如下所示: TwinCAT System Message: Source: ; Timestamp: 8/20/2013 2:38:14 PM 654 ms Message: Device 4 (EtherCAT (v2.10 only): Frame missed 10 times (frame no. 0) TwinCAT System Message: Source: ; Timestamp: 8/20/2013 2:38:14 PM 654 ms Message: Device 4 (EtherCAT (v2.10 only): Frame missed 10 times (frame no. 1) TwinCAT System Message: Source: ; Timestamp: 8/20/2013 2:38:18

文档评论(0)

1亿VIP精品文档

相关文档