Why not clear error_flag When Obtaining Slave Status?
After the fault on the link is rectified, the slave station status can be obtained again.
But error_flag is set to 1 now. Why not set it to 0 again?
If error_flag is reset to 0, the slave status can be restored to OP separately without rescan.