Parameter Deklaration Datentyp Speicherber-
eich
Beschreibung
RET_VAL OUTPUT INT I, Q, M, D, L The return value will contain an error code if an
error occurs while the function is being pro-
cessed.
CQ OUTPUT BOOL I, Q, M, D, L Status of the runtime meter (1: running)
CV OUTPUT DINT I, Q, M, D, L Current value of the runtime meter
You can also operate your 32-bit runtime meters with the SFCs 2 SET_RTM, SFC 3
CTRL_RTM and SFC 4 READ_RTM. In this case however, the 32-bit runtime meters
operate in the same way as 16-bit meters (Range of values: 0 to 32767 hours). The par-
tial list extract with SSL ID W#16#0132 and index W#16#0008 displays the 32-bit runtime
meters 0 to 7 in 16-bit mode. This means that you can continue to use programs devel-
oped for a CPU with 16-bit runtime meters that use partial list extract with SSL ID
W#16#0132 and index W#16#0008.
Error code Description
0000h The job was executed without errors.
8080h Wrong runtime meter number
8081h A negative value was passed to parameter PV.
8082h Overflow of the runtime meter.
8091h Illegal value in input parameter MODE.
8xyyh General error information
Ä
Chap. 4.2 ‘General and Specific Error Information RET_VAL’ page 66
14.1.58 SFC 102 - RD_DPARA - Reading Predefined Parameters
With SFC 102 RD_DPARA you can read the record set with the number RECNUM of a
selected module from system data configured with STEP7. The read record set is entered
into the target area opened with the parameter RECORD.
The SFC 102 RD_DPARA operates asynchronously, that is, processing covers multiple
SFC calls.
Start the job by calling SFC 102 with REQ = 1. The job status is displayed via the output
parameters RET_VAL and BUSY. Refer also to Meaning of REQ, RET_VAL and BUSY
with Asynchronously Operating SFCs.
Parameters
Parameter Declaration Data type Memory block Description
REQ INPUT BOOL I, Q, M, D, L REQ = 1: Read request
LADDR INPUT WORD I, Q, M, D, L,
constant
Address of the module.
For an output address, the highest value bit must
be set.
Compatibility to programs
for a CPU with 16-bit run-
time meters
RET_VAL (Return value)
Description
Operating principle
VIPA SPEED7
Integrated Standard
System Functions > SFC 102 - RD_DPARA - Reading Predefined Parameters
HB00 | OPL_SP7 | Operation list | en | 18-30 722