EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 105 - READ_SI - Reading Dynamic System Resources

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parameter Declaration Data type Memory block Description
RECNUM INPUT BYTE I, Q, M, D, L,
constant
Record set number
(permitted values: 0 ... 240).
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is active, the
return value contains an error code.
If no error occurred during the transmission, the
following two cases are distinguished:
n RET_VAL contains the length of the actually
read record set in bytes if the destination area
is larger than the read record set.
n RET_VAL contains 0 if the length of the read
record set is equal to the length of the desti-
nation area.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY = 1: The job is not yet closed.
RECORD OUTPUT ANY I, Q, M, D, L Destination area for the read record set. Only
data type BYTE is permitted. Note: Note that the
RECORDparameter of CPUs always required the
full specification of the DB parameters.
(for example: P#DB13.DBX0.0 byte 100).
Omitting an explicit DB number is not permitted
for CPUs and causes an error message in the
user program.
Ä
Chap. 14.1.45 ‘SFC 57 - PARM_MOD - Parameterize module’ page 696
14.1.59 SFC 105 - READ_SI - Reading Dynamic System Resources
When messages are generated with SFCs 107 ALARM_DQ and 108 ALARM_D, the
operating system occupies temporarily system memory space. For example, if you do not
delete a FB that exists in the CPU with SFC 107 or SFC 108 calls it may happen that
corresponding system resources stay permanently occupied.
If you reload the FB with SFC 108 or SFC 108 calls, it may happen that the SFCs 107
and 108 are not processed properly anymore.
With SFC 105 READ_SI you can read currently used system resources occupied with the
SFCs 107 and 108 when messages were generated.
This is done via the values of EV_ID and CMP_ID used in this place. The values are
passed on to SFC 105 READ_SI in parameter SI_ID.
SFC 105 READ_SI has four possible operating modes that we explain in the table below.
Set the desired operating mode via theMODE parameter.
MODE Which of the system resources occupied by SFC 107/SFC 108 are
read?
1 All (call of SFC 105 with SI_ID: =0)
2 The system resource occupied by the call of SFC 107-/SFC 108 with
EV_ID:= ev_id (call of the SFC 105 with SI_ID: = ev_id)
Error Information
Overview
Description
VIPA SPEED7
Integrated Standard
System Functions > SFC 105 - READ_SI - Reading Dynamic System Resources
HB00 | OPL_SP7 | Operation list | en | 18-30 723

Table of Contents

Related product manuals