Validity: Rule, Task
Variable that contains the index of the R register from which DUMP information begins. To enable its use see sys_dump. Specifically:
•The R register I refer to contains the index of the first NVRR register that will be part of the first block of Dump
•The next R register indicates how many NVRR registers following the first are part of the first Dump block
•Additional R registers will, two by two, have the same function as the registers shown above, and will reference subsequent Dump blocks
NOTE: The DUMP operation will be concluded when one of the R registers indicating the first NVRR of a block is an illegal number or less than an NVRR register already in the Dump. The operation will also be concluded if the number of registers I want to save is greater than the number of registers remaining.
From RTE 34.24.0, by setting the value of the variable -1 I do the DUMP of all NVRR registers.
Example
; I want to save NVRR Reg 101 to 105 and 241 to 243 in the DUMP ; Commands from SHELL: sys_dump_nvrr = 1000 ; I take the DUMP info from register 1000 R(1000) = 101 ; First block: The starting NVRR is 101 R(1001) = 5 ; First block: Dump the 5 NVRR following the starting one(101) R(1002) = 241 ; Second block: The starting NVRR is 241 R(1003) = 3 ; Second block: Dump of the 3 NVRR following the starting one(241) R(1004) = 2 ; Since this is a smaller num than the last reg in the Dump (243) ; a third block is not created and the Dump operation ends sys_dump.16 = 1 ; I enable the use of the variable sys_dump_nvrr sys_dump.0 = 1 ; Start DUMP
; The generated file /dump/dump.stp will be as follows: ; System Dump - created on (dmy) 28/11/17 at 9:44:46 ;-------------------------------------------------------------- ; Dumping from NVRR(101) to NVRR(105) ;-------------------------------------------------------------- NVRR(101) = 5 NVRR(102) = 5 NVRR(103) = 5 NVRR(104) = 5 NVRR(105) = 5 ;-------------------------------------------------------------- ; Dumping from NVRR(241) to NVRR(243) ;-------------------------------------------------------------- NVRR(241) = 0 NVRR(242) = 0 NVRR(243) = 0 ; ----- End of DUMP ----- file written in 0.037 mSec |