Integral Blocks
The SEND Block
- FB244 -
FB244 requests that data be sent to a module with page addressing.
A distinction is made between two function modes:
•
SEND All
The function block is a substitute for direct memory access.
•
SEND Direct
Data is sent for a specific job.
Calling Function Block FB244
STL
: JC
NAME
: SEND
SSNR
:
A-NR
:
ANZW
:
QTYP
:
DBNR
:
QANF
:
QLAE
:
PAFE
:
:
***
Description of the SEND ALL Function
For the SEND ALL function, the block requires the following parameters:
•
SSNR -
interface number
•
A-NR
-
job number (assign "0")
•
ANZW -
job status word
•
PAFE -
parameter assignment error byte
All other parameters are irrelevant for this job. The CP uses the communications area to provide
the following information:
•
address of the job status word
•
type of data
•
amount of data
•
start address of the data area
The following bits are evaluated or set/reset in the job status word for the pertinent job:
•
data transfer disabled
•
data transfer completed
•
data transfer in progress
The SEND block enters the number of bytes transferred in the data word that follows the job
status word.
11-20
FB
244
KY
0,10
KY
0,32
FW
14
KS
DB
KY
0,10
KF
+1
KF
+33
FY
13
S5-115U Manual
CSF/LAD
FB244
SEND
SSNR
PAFE
A-NR
ANZW
QTYP
DBNR
QANF
QLAE
EWA 4NEB 811 6130-02b