Ascii file containing device commands that must be in the alias folder SETUP_DIR and that RTE sends to execution when at switch on it detects a retentive memory loss in the user register area (NVR , NVRR , NVSR).
The cases in which this file will be executed are, the absence of the LOSTRNA.STP file and the presence of one of the following alarms:
Remember that in this situation RTE remains in MEMORY LOSS mode until the user gives an alarm reset command.
After resetting the alarms, RTE resets all NVR, NVRR, NVSR registers; then executes the commands in the LOSTREG.STP file and finally resets the predefined variable c0_done.
You can command RTE to perform an update of the values of the registers contained in the file using the ascii UAR directive.
You can create a LOSTREG.STP file from *.I3 files using the MKFILE shell command.
WARNING: This file, like all STP files, must always end with a carriage return, otherwise the last line is not executed.
NOTE: Use the LOSTRNA.STP file if you do not want the user to reset alarm 1.
Example of a LOSTREG.STP file
; LOSTREG.STP - machine's parameters that we want to load in case an alarm of memory lost occur
nvrr 1 42.3 ; piece length in mm nvr 1 3 ; gearbox ratio nvsr 1 "Warning temperature axis 1" ; custom message
; don't forget the return at the end of the file |