ABB AC500-S Safety User Manual page 263

Safety programmable logic controllers system
Hide thumbs Also See for AC500-S:
Table of Contents

Advertisement

4.6.5.2
DPRAM_SM5XX_REC
The DPRAM_SM5XX_REC function block receives data from the SM560-S safety CPU
The DPRAM_SM5XX_REC is used to receive data from the SM560-S Safety CPU. These data are stored in
the planned memory area (DATA, memory address for received data, provided via ADR operator). The func-
tion block is enabled by a TRUE signal at input EN. It remains active until input EN is set to FALSE. The slot
number of the SM560-S is set at input SLOT. Output DATA_LEN displays the length of the received data in
bytes. DONE = TRUE and ERR = FALSE indicate that the reception was successful. If an error was detected
during function block processing, the error is indicated at the outputs ERR and ERNO.
Caution: Reception using the DPRAM_SM5XX_REC function block is not edge-triggered. Therefore, input
EN has to be continuously set to TRUE during data reception.
Table 30: FB Name: DPRAM_SM5XX_REC
Name
Data Type
VAR_INPUT
EN
BOOL
SLOT
BYTE
DATA
DWORD
VAR_OUTPUT
30.03.2017
AC500-S Libraries > DPRAM_SM5XX_SEND and DPRAM_SM5XX_REC in SysInt_AC500_V10.lib
Initial Value
FALSE
16#00
16#00000000
Configuration and programming
Description, Parameter Values
Enabling of function block processing.
Processing of this function block is controlled by
input EN. The function block is active if EN =
TRUE. The reception of data is indicated by
output DONE.
Slot number (module number)
Input SLOT is used to select the slot (module
number) the data should be read from.
The external slots are numbered consecutively
from right to left, starting with number 1.
Memory address for received data, provided via
ADR operator.
Input DATA is used to specify the address of the
variable the user data are to be copied to. The
address specified at DATA has to belong to a vari-
able of the type ARRAY or STRUCT.
Caution: Set the variable size to the maximum
expected amount of data in order to avoid over-
lapping of memory areas.
AC500-S
263

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents