I would like to generate a robot error or alarm using AS language. For example, I want to generate an alarm when the motor current or torque of axis 1 is outside a certain range, but I don't know how to program it. The after-sales service manual is too limited. Is there a way to read the robot's current motor current value and generate an alarm using that data?
How to display W error code without the robot stopping
I'm looking at the formula string of the PC software that checks the robot's current status, but I can't figure out how to create the formula or what data to load.
Also, I don't understand how to read the motor current values of the robot's 1-6 axes from the PC;;;;