The invention discloses a fault
processing method and device and a storage medium, and relates to the technical field of digital
information transmission, and the method comprises the steps: when a
communication link between a first
EtherCAT slave
station and a previous
EtherCAT station is detected to be interrupted, when a
message frame in a preset format is received, sending the
message frame to a first
EtherCAT slave
station; judging whether a message index corresponding to the
message frame is written into a message initial
index register of the first EtherCAT slave station or not; if yes, modifying a circular flag
bit field in the message frame from 0 to 1 to obtain a modified circular flag
bit field; and the modified message frame is sent to a second EtherCAT slave station, so that the second EtherCAT slave station carries out discarding operation on the message
frame based on the modified circular flag
bit field, and the second EtherCAT slave station is an EtherCAT slave station which is located at the downstream of the first EtherCAT slave station and has the smallest distance from the first EtherCAT slave station. The technical problem that when link interruption occurs between slave stations in an EtherCAT protocol scene, the message continuously oscillates in a disconnected loop is solved, so that continuous oscillation of the message is prevented, and the stability and reliability of a
system are improved.