
Nick (Customer) asked a question.
I have an LS XBF-PN08B on an XEM-DP16H2 and connected to a Teknic Clearpath EC motor. I can connect the EtherCAT communications, enable the servo, and home it. If the motor faults, the XG-PM software will show the Srv. Error the first time. If I disable the servo, reset the error, then re-enable the motor and it faults again, the Srv. Error will not recognize the error, but the Srv. Alarm light on the drive pictorial will show red for the error. The PLC is not seeing the error either. The only way I found to have it recognized consistently is to disable the servo, reset the error, disable the EtherCAT communication, re-enable the EtherCAT, then re-enable the motor. Is this the correct process, because it doesn't seem right to me?
Which function blocks are you using? XPM_RST is used to reset axis errors. XPM_SRST is used to reset the servo errors that appear on the drive. Our online interactive help site is located at https://cdn.automationdirect.com/static/helpfiles/ls_plc/Content/C_ProcedureTopics/LP629.htm?tocpath=%20Procedures%7CXGB%20Motion%20-%20EtherCAT%7CXGB%20Single%20Axis%20Function%20Blocks%7C_____3
I started with your XEM_ECAT_Gantry example. I am using the XPM_RST, when that is done, it executes the XEM_SRST. This resets the axis and servo errors. In your example, they were executed at the same time, but that was giving me an error (Function Block Double Execution Error).
What error number are you getting? The XPM_RST is used to reset axis errors and common errors. I do wish LS would have them both acknowledged without having to change an input.
I am not getting any axis errors . The Function Block Double Execution Error is error 10 of the XPM_SRST block. I do not get that since i changed the rung to execute the RST and then the SRST block. I have found that I can leave the servo on and just disconnect the ECAT comms, then enable them again and the error will be recognized the next time there is one. I don't think it is a good idea to stop the ECAT connection every time there is a servo error.
You may need to get with the tech support for the drive to see if the drive error requires a reboot. For instance the LS Electric iX7 does have some errrors that require a network or drive reboot.
The drive is resetting back to a ready state and will respond to motion commands without performing an ECAT comm reset. The LS PLC/motion controller is not recognizing a new error from the drive in the servo error register unless the ECAT comms are reset. The LS motion controller is acknowledging there is an error by changing from a green light to the red one, just not giving a code in the error register.
What firmware version is your XBF-PN08B module?
V2.4, is that the issue? I just looked, the current version is V3.3.
I recommend updating to the newest firmware. It has lots of bug fixes in it.
I will try that and let you know. I just got it a few weeks ago and assumed it had the latest.