Check mass with function

there is a function to check the payload mass of the robot?
I mean after a crash can I check the last payload of the robot at the beginning of a program, or I have to save it in an Installation Variables?

There is no URScript functions, that enables reading the actual payload set for the robot.