![ABB AC500-S Скачать руководство пользователя страница 255](http://html.mh-extra.com/html/abb/ac500-s/ac500-s_safety-user-manual_2916255.webp)
Name
Data Type
Initial Value
Description, Parameter Values
DONE
BOOL
FALSE
Writing procedure is completed (DONE = TRUE)
This output always has to be considered together
with output ERR.
The following applies:
DONE = TRUE and ERR = FALSE: Write opera-
tion completed. The data set has been stored in
the Flash.
DONE = TRUE and ERR = TRUE: An error
occurred during the write operation. Output ERNO
indicates the error number.
ERR
BOOL
FALSE
Error occurred (data segment could not be
written)
Output ERR indicates whether an error occurred
during the write operation. 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_WRITE operation may take quite
a long time since the Safety PLC user program is
processed with priority. Output ERNO then indi-
cates that the function block has started the exe-
cution (0x0FFF = BUSY).
During this phase, the outputs ERR and DONE
are set to FALSE.
Call in ST
WRITE_FLASH(EN := EN_FLASH_WRITE,
NB := NB_FLASH_WRITE,
SEG := SEG_FLASH_WRITE,
BNR := BNR_FLASH_WRITE,
SM := SM_FLASH_WRITE,
DONE => DONE_FLASH_WRITE,
ERR => ERR_FLASH_WRITE,
ERNO => ERNO_FLASH_WRITE);
Configuration and programming
AC500-S Libraries > SafetyExt_AC500_V22.lib
30.03.2017
AC500-S
255