ABB AC500-S Safety User Manual page 261

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

Advertisement

4.6.5.1
DPRAM_SM5XX_SEND
The DPRAM_SM5XX_SEND function block sends data to the SM560-S Safety CPU
The DPRAM_SM5XX_SEND function block is used to send data to the SM560-S Safety CPU. The data to
be sent are available in the planned memory area (DATA, memory address for data to be transmitted, pro-
vided via ADR operator). The function block is activated with a TRUE signal („0" ➔ „1" edge) at input EN.
The slot number of the SM560-S is set at input SLOT. The length of the data to be transmitted is specified in
bytes at input DATA_LEN. DONE = TRUE and ERR = FALSE indicate that the sending process was suc-
cessful. If an error was detected during function block processing, the error is indicated at the outputs ERR
and ERNO.
Caution: Sending data using the DPRAM_SM5XX_SEND function block is edge-triggered, i.e. each sending
process is initiated by a FALSE/TRUE edge at input EN.
Table 29: FB Name: DPRAM_SM5XX_SEND
Name
Data Type
VAR_INPUT
EN
BOOL
SLOT
BYTE
DATA
DWORD
DATA_LEN
WORD
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
16#0000
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 sending 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 sent to.
The external slots are numbered consecutively
from right to left, starting with number 1.
Memory address for data to be transmitted, pro-
vided 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.
Length of data to be transmitted (in bytes) starting
at address DATA, max. 84.
The length of the data to be transmitted is speci-
fied in bytes at input DATA_LEN. The maximum
number is 84.
AC500-S
261

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents