4 Safety Function Blocks
4 - 4
NX-series Safety Control Unit Instructions Reference Manual (Z931)
The common output variables for safety FBs are listed in the following table.
All FBs output unique diagnostic information to
DiagCode
.
If an error does not occur,
DiagCode
gives the internal state of the FB. Errors are given in hexadecimal.
You can get detailed information on internal and external errors for FBs from
DiagCode
. More than one
reset input may be required to reset a FB.
Safety FB Common Output Variables
Output vari-
able
Data type
Valid range
Default
Description
Ready
BOOL
TRUE or
FALSE
FALSE
The ready flag.
FALSE: Indicates that the FB is not active and the pro-
gram is not executed. This is useful in DEBUG Mode
or to activate/deactivate additional FBs, as well as for
further processing in the functional program.
TRUE: Indicates that the FB is operating and that the
output results have been stored.
This variable is used for debugging or for further pro-
cessing in the user program.
Error
BOOL
TRUE or
FALSE
FALSE
The error flag.
FALSE: Indicates that no error has occurred. The state
is given by
DiagCode
.
TRUE: Indicates that an error has occurred. The error
state is given by
DiagCode
.
DiagCode
WORD
Depends on
FB state code.
16#0000
Diagnostic information.
All status (active, non-active, and error) for the FB is
stored in this variable.
The information is given as a hexadecimal number.
Only one code is given each time. If more than one
error has occurred, the information for the first error
that is detected is output to
DiagCode
.
Refer to
on page 4-4, below, for
details. This variable is used for debugging or for fur-
ther processing in the user program.
Diagnostic Codes
Range of Values for Safety FB Common Diagnostic Codes
DiagCode
Meaning
0000_0000_0000_0000 binary
The FB is not operating or the Safety CPU Unit is stopped.
10xx_xxxx_xxxx_xxxx binary
The FB is operating and an error does not exist.
“x” is a FB-specific code.
11xx_xxxx_xxxx_xxxx binary
The FB is operating and an error exists.
“x” is FB-specific code.
Содержание NX-SL series
Страница 8: ...CONTENTS 6 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 14: ...Terms and Conditions Agreement 12 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 28: ...Sections in this Manual 26 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 98: ...2 Standard Functions 2 64 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 104: ...2 Standard Functions 2 70 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 110: ...2 Standard Functions 2 76 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 130: ...3 Safety Standard Function Blocks 3 20 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 265: ...I 1 I NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Страница 268: ...I 4 NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Страница 269: ......