ABB AC500-S Safety User Manual page 314

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

Advertisement

Configuration and programming
AC500-S libraries > SafetyExt_AC500_V22.lib
Name
Data type
DATA
DWORD
VAR_OUTPUT
DONE
BOOL
ERR
BOOL
ERNO
WORD
DATA_LEN
DWORD
Call in ST
PM5xxRec (EN := PM5xxRec_EN,
DATA := ADR(PM5xxRec_DATA),
DONE => PM5xxRec_DONE,
ERR => PM5xxRec_ERR,
ERNO => PM5xxRec_ERNO,
DATA_LEN => PM5xxRec_DATA_LEN);
4.6.7.14
SF_DPRAM_PM5XX_S_SEND
Sending data from the safety CPU to non-safety CPU
314
Initial value
Description, parameter values
16#00000000
Input DATA is used to specify the address of the vari-
able to which the user data is to be copied to. The
address specified at DATA has to belong to a vari-
able of the type ARRAY or STRUCT.
Set the variable size to the maximum expected
amount of data in order to avoid overlapping of
memory areas.
FALSE
Output DONE indicates the reception of data. This
output always has to be considered together with
output ERR.
The following applies:
DONE = TRUE and ERR = FALSE: Reception
completed. A data set was received correctly.
DONE = TRUE and ERR = TRUE: An error
occurred during reception. The error number is
indicated at output ERNO.
FALSE
Output ERR indicates whether an error occurred
during reception. This output always has to be con-
sidered together with output DONE. The following
applies if an error occurred during reception: DONE =
TRUE and ERR = TRUE. Output ERNO indicates the
error number.
16#0000
Error number
Output ERNO provides an error identifier if an invalid
value has been applied to an input or if an error
occurred during job processing. ERNO always has to
be considered together with the outputs DONE and
ERR. The output value at ERNO is only valid if
DONE = TRUE and ERR = TRUE.
16#00000000
Output DATA_LEN displays the length of the
received data in bytes (the maximum number is 84).
The output value at DATA_LEN is only valid if DONE
= TRUE.
3ADR025091M0208, 12, en_US
Ä [4].
2020/06/19

Advertisement

Table of Contents
loading

Table of Contents