![ABB AC500-S Safety User Manual Download Page 251](http://html.mh-extra.com/html/abb/ac500-s/ac500-s_safety-user-manual_2916251.webp)
Name
Data Type
Initial Value
Description, Parameter Values
ERR
BOOL
FALSE
Error occurred (data segment could not be read)
This output always has to be considered together
with output DONE. The following applies if an
error occurred: DONE = TRUE and ERR = TRUE.
Output ERNO indicates the error number.
ERNO
WORD
16#0000
Error number (
Ä
[4]
for more details).
Output ERNO indicates an error number. This
output always has to be considered together with
the outputs DONE and ERR.
The SF_FLASH_READ operation may take quite
a long time since the PLC user program is pro-
cessed with priority. Output ERNO then indicates
that the function block has started the execution
(0x0FFF = BUSY).
During this phase, the outputs ERR and DONE
are set to FALSE.
The structure of one of the Flash memory segments with user data is presented below.
Byte:
1 | 2
3 | 4
5 | 6
…
29 | 30
31 | 32
33 …
36
37
38
Byte
offset
Block
no.
Word 1 Word 2 Word 3 …
Word
15
Word
16
CRC
Written
identi-
fier
Align-
ment
0
0
38
1
76
2
…
…
65436
1722
65474
1723
Call in ST
READ_FLASH(EN := EN_FLASH_READ,
NB := NB_FLASH_READ,
SEG := SEG_FLASH_READ,
BNR := BNR_FLASH_READ,
SM := SM_FLASH_READ,
DONE => DONE_FLASH_READ,
Configuration and programming
AC500-S Libraries > SafetyExt_AC500_V22.lib
30.03.2017
AC500-S
251