EasyManua.ls Logo

VIPA SSM-BG41 - Page 248

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...
Examples Manual BG41/BG42/BG43
5-24 Rev. 99/49
Cycle OB
OB1
BIB #5104
00000 :
00002 :L KF +8 Send data from DW8
00006 :T MW 10
00008 :L KF +16 Send 16 byte
0000C :T MB 12
0000E :
00010 :U M 1.0 Send initiation
00012 :S M 13.0 Set transmission access
00014 :SPA FB 43
NAME #STX-SEND
ADR =KH F080 Base address
K/DB =KY 1,10 Interface 1/ from DB 10
ANF =MW 10 Flag word with 1.DW
ANZ =MB 12 Flag byte with length
FRG =M 13.0 Transmission access
FEHL =MB 14 Error byte
NEUS =M 0.0 New start flag
00026 :
00028 :L KF +0 1. DW of the reception buffer
0002C :T MW 22
0002E :L KF +50 Length of the reception buffer in by
00032 :T MB 24
00034 :SPA FB 44
NAME #STX-REC
ADR =KH F080 Base address
K/DB =KY 2,11 Interface 2/reception DB 11
SZ =MB 20 Writing indicator
LZ =MB 21 Reading indicator
ANF =MW 22 Flag word with buffer start
ANZ =MB 24 Flag byte with buffer length
FEHL =MB 25 Error byte
NEUS =M 0.0 New start flag
00048 :
0004A :SPA FB 28
NAME #RB_NEUS
ADRE =KH F080 Base address
NEUS =M 0.0 New start flag
PAFE =MB 9 Error byte
00054 :
00056 :L MB 20 Writing indicator
00058 :L KB 0
0005A :!=F No telegram received
0005C :BEB
0005E :
00060 : Analyse data
00062 :
00064 :L KB 0
00066 :T MB 20 Writing indicator at start
00068 :BE

Table of Contents

Related product manuals