RET_VAL (Return value)Value Description0000h no error8080h Incorrect number for the run-time meter8081h A negative value was supplied to parameter PV.14.1.5 SFC 3 - CTRL_RTM - Control run-time meterThe SFC 3 CTRL_RTM (control run-time meter) starts or stops the run-time meterdepending on the status of input S.Parameter Declaration Data type Memory block DescriptionNR INPUT BYTE I, Q, M, D, L,constantInput NR contains the number of the run-timemeter that you wish to set.Range: 0 ... 7S INPUT BOOL I, Q, M, D, L,constantInput S starts or stops the run-time meter. Setthis signal to "0" to stop the run-time meter. Setthis signal to "1" to start the run-time meter.RET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if anerror is detected when the function is beingprocessed.Value Description0000h no error8080h Incorrect number for the run-time meter14.1.6 SFC 4 - READ_RTM - Read run-time meterThe SFC 4 READ_RTM (read run-time meter) reads the contents of the run-time meter.The output data indicates the current run-time and the status of the meter ("stopped" or"started").When the run-time meter has been active for more than 32767 hours it will stop with thisvalue and return value RET_VAL indicates the error message "8081h: overflow".DescriptionParametersRET_VAL (Return value)DescriptionVIPA SPEED7 Integrated StandardSystem Functions > SFC 4 - READ_RTM - Read run-time meterHB00 | OPL_SP7 | Operation list | en | 18-30 647