Sfc 101 - Rtm - Handling Runtime Meters - YASKAWA VIPA SPEED7 Operation Manual

Table of Contents

Advertisement

VIPA SPEED7
RET_VAL (Return value)
Value
Description
0000h
no error
8091h
The source area is located in a data block that is not relevant to execution.
14.1.57

SFC 101 - RTM - Handling Runtime meters

Description
Parameters
Parameter
Deklaration
NR
INPUT
MODE
INPUT
PV
INPUT
HB00 | OPL_SP7 | Operation list | en | 18-30
The source and target field must not overlap.
If the specified target field is larger than the source field, only the amount
of data located in the source field will be copied into the target field.
However, if the size of the specified target field is less than the size of the
source field, then only the amount of data that will fit into the target field
will be copied.
If the data type of the ANY-pointer (source or target) is BOOL, then the
specified length must be divisible by 8, otherwise the SFC will not be exe-
cuted.
If the data type of the ANY-pointer is STRING the specified length must
be 1.
Call SFC 101 RTM (runtime meter) to set, start, stop and read a 32-bit runtime meter of
your CPU. To fetch the values of all 32-bit runtime meters of your CPU, call SFC 51
RDSYSST with SZL_ID=W#16#0132 and INDEX=W#16#000B (for runtime meters 0 ...
7) or INDEX=W#16#000C (for runtime meters 8 ... 15).
Datentyp
Speicherber-
eich
BYTE
I, Q, M, D, L,
constant
BYTE
I, Q, M, D, L,
constant
DINT
I, Q, M, D, L,
constant
System Functions > SFC 101 - RTM - Handling Runtime meters
Beschreibung
Number of the runtime meter
Numbering starts at 0. You will find the number of
runtime meters of your CPU in the technical spec-
ifications.
Job ID:
n
0: fetch (the status is then written to CQ and
the current value to CV). After the runtime
meter has reached (2E31) -1 hours, it stops at
the highest value that can be displayed and
outputs an "Overflow" error message.
n
1: start (at the last counter value)
n
2: stop
n
4: set (to the value specified in PV)
n
5: set (to the value specified in PV) and then
start
n
6: set (to the value specified in PV) and then
stop
New value for the runtime meter
Integrated Standard
721

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents