ABB AC500-S Safety User Manual page 310

Hide thumbs Also See for AC500-S:
Table of Contents

Advertisement

Configuration and programming
AC500-S libraries > SafetyExt_AC500_V22.lib
Name
Data type
DONE
BOOL
ERR
BOOL
ERNO
WORD
Table 88: Structure of one of the flash memory segments with user data
Byte:
1 | 2
Byte
Block
Word 1
offset
no.
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,
ERR => ERR_FLASH_READ,
ERNO => ERNO_FLASH_READ);
310
Initial value
FALSE
FALSE
16#0000
3 | 4
5 | 6
...
Word 2
Word 3
...
3ADR025091M0208, 12, en_US
Description, parameter values
Reading procedure is completed (DONE = TRUE)
This output always has to be considered together
with output ERR.
The following applies:
DONE = TRUE and ERR = FALSE: Reading
completed. The data set has been stored begin-
ning at the defined input SM.
DONE = TRUE and ERR = TRUE: An error
occurred while reading the data set. Output
ERNO indicates the error number.
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.
Error number
Ä [4].
Output ERNO indicates an error number. This output
always has to be considered together with the out-
puts DONE and ERR.
The SF_FLASH_READ operation may take quite a
long time since the safety CPU user program is pro-
cessed with higher priority. Output ERNO indicates
that the function block has started the execution
(0x0FFF = BUSY).
During this phase, the outputs ERR and DONE are
set to FALSE.
29 | 30
31 | 32
33 ... 36 37
Word 15 Word 16 CRC
38
Written
Align-
identi-
ment
fier
2020/06/19

Advertisement

Table of Contents
loading

Table of Contents