EasyManua.ls Logo

VIPA SSM-BG41 - Tab. 4-8: Error Code, Which FEHL Can Comprise of

VIPA SSM-BG41
286 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
Loading...
Manual BG41/BG42/BG43 Software
Rev. 99/49 4-17
Example FB4 (RECEIVE)
Data should be received on channel 1 and filed in DB 100. The receive buffer begins in DB 100 at
DW5 and contains 40 bytes. The DIL switches are set to the absolute address F180h and any error
whichmayariseistobefiledinMB20.
:
:
:L KB40
:T MB14 The flag byte contains the size
: of the receive buffer
:L KB5
:T MW12 The flag word conains the number
: of data words, from the point where the data
: is to be filed
:
:
:SPA FB 4
NAME :RECEIVE
ADR :KH F180 Absolute base address
K/DB :KY1,100 Channel 1, data block 100
SZ :MB10
LZ :MB11
ANF :MW12
ANZ :MB14
FEHL :MB20 Error code in flag byte 20
NEUS :M 1.0 New start flag
4.1.5.3 Error code, which FEHL can comprise of
Error No. Error
1 Building block not plugged in, wrongly addressed or
defect.
2 Channel no. <1 or >3
3 DB0 used (should not be used)
4 Data block given does not exist
5 Buffer overflow reception
6 Parameter error in indentifier STOP
7 Parameter error in identifier PARI
8 Parameter error in identifier ZEI
9 Parameter error in identifier BAUD
Tab. 4-8: Error code, which FEHL can comprise of

Table of Contents

Related product manuals