ABB AC500-S Safety User Manual page 308

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
Call in ST
DEL_FLASH(EN := EN_FLASH_DEL,
SEG := SEG_FLASH_DEL,
DONE => DONE_FLASH_DEL,
ERR => ERR_FLASH_DEL,
ERNO => ERNO_FLASH_DEL);
4.6.7.11
SF_FLASH_READ
Reading of user data from the flash memory
The function block reads a data set from a data segment in the flash memory and stores this
data set beginning at the starting flag defined at input SM. The data contained in the data set
were previously stored to the flash memory using the SF_FLASH_WRITE function block.
308
Initial value
Description, parameter values
FALSE
Delete procedure is completed (DONE = TRUE)
Output DONE indicates that deletion of the data seg-
ment is completed. This output always has to be con-
sidered together with output ERR.
The following applies:
DONE = TRUE and ERR = FALSE: Deletion
completed. The data segment has been deleted
successfully.
DONE = TRUE and ERR = TRUE: An error
occurred while deleting the data segment. The
data segment could not be deleted successfully.
FALSE
Error occurred (data segment could not be deleted)
Output ERR indicates whether an error occurred
during deletion. This output always has to be consid-
ered together with output DONE. The following
applies if the data segment could not be deleted:
DONE = TRUE and ERR = TRUE. Output ERNO
indicates the error number.
16#0000
Error number
Output ERNO indicates an error number. This output
always has to be considered together with the out-
puts DONE and ERR.
The SF_FLASH_DEL 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.
3ADR025091M0208, 12, en_US
Ä [4].
2020/06/19

Advertisement

Table of Contents
loading

Table of Contents