EasyManuals Logo

VIPA CPU 21 Series User Manual

VIPA CPU 21 Series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #312 background imageLoading...
Page #312 background image
Chapter 11 Integrated OBs SFBs SFCs Manual VIPA CPU 21x
11-10 HB103E - Rev. 05/45
SFC 217 SER_SND
This block allows to send data from the CPU via the RS232C interface.
Here you define a range of the type Pointer for the send buffer where the
data that has to be send is stored. You have to set type, start and length.
Example: Data is stored in DB5 starting at 0.0 with a length of
124Byte.
DataPtr:=P#DB5.DBX0.0 BYTE 124
Word where the number of sent Bytes is stored.
At STX/ETX and 3964R, the length set in DataPtr or 0 is entered.
At ASCII, the value may be different from the sent length when the data is
sent that fast that not all data can be stored in the send buffer of 256Byte.
Error that is thrown in case of an error:
Error code Description
0000h no error
9001h Parameter "Data" is not available (e.g. DB not loaded)
9002h Parameter "Length" is not available
7000h Not all data has been sent (only for ASCII protocol)
8000h Send buffer is not available (Pointer defective)
A000h
F000h
Data has not been send (output buffer overrun)
No RS232C interface found
Description
Parameters
DataPtr
DataLen
RetVal
(Error message)
11x 21x 31x 51x

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VIPA CPU 21 Series and is the answer not in the manual?

VIPA CPU 21 Series Specifications

General IconGeneral
BrandVIPA
ModelCPU 21 Series
CategoryControl Unit
LanguageEnglish

Related product manuals