EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 38 - READ_ERR - Read Error Register

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...
RET_VAL (Return value)
Value Description
0000h All the specified faults have been unmasked.
0001h One or more of the faults was not masked, however, the other faults will still be unmasked.
14.1.28 SFC 38 - READ_ERR - Read error register
The SFC 38 READ_ERR (read error registers) reads the contents of the error register.
The structure of the error register is identical to the structure of the programming fault and
access fault masks that were defined as input parameters by means of the SFC 36 and
37. When you issue a call to the SFC 38 the specified entries are read and simultane-
ously deleted from the error register. The input parameters define which synchronous
faults will be queried in the error register. The function indicates the masked synchronous
faults of the current priority class that have occurred once or more than once. When a bit
is set it signifies that the respective masked synchronous fault has occurred.
Parameter Declaration Data type Memory block Description
PRGFLT_QUERY INPUT DWORD I, Q, M, D, L,
constant
Query programming faults
ACCFLT_QUERY INPUT DWORD I, Q, M, D, L,
constant
Query access faults
RET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if
an error is detected when the function is
being processed.
PRGFLT_ESR OUTPUT DWORD I, Q, M, D, L Programming faults that have occurred
ACCFLT_ESR OUTPUT DWORD I, Q, M, D, L Access faults that have occurred
Value Description
0000h All the specified faults have been masked.
0001h One or more of the faults that have occurred was not masked.
14.1.29 SFC 39 - DIS_IRT - Disabling interrupts
With the SFC 39 DIS_IRT (disable interrupt) you disable the processing of new interrupts
and asynchronous errors. This means that if an interrupt occurs, the operating system of
the CPU reacts as follows:
n if neither calls an interrupt OB asynchronous error OB,
n nor triggers the normal reaction if an interrupt OB or asynchronous error OB is not
programmed.
If you disable interrupts and asynchronous errors, this remains in effect for all priority
classes. The effects of SFC 39 can only be canceled again by calling the SFC 40 or by a
restart.
Description
Parameters
RET_VAL (Return value)
Description
VIPA SPEED7
Integrated Standard
System Functions > SFC 39 - DIS_IRT - Disabling interrupts
HB00 | OPL_SP7 | Operation list | en | 18-30 678

Table of Contents

Related product manuals