EasyManua.ls Logo

VIPA SSM-BG41 - Page 254

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-30 Rev. 99/49
Cycle OB
OB1
00001 :U M 1.0 Send access
00002 :SPB FB 23
NAME #SEND
ADRE =KH F080 Base address
SSNR =KF +1 Interface number
A-NR =KF +1 Order number
QTYP =KC DB Source is DB
QDBN =KY 0,10 Number of data blocks
QBWN =KY 0,0 1. data word to be sent
BWAN =KF +50 Number of DW to be sent
ZTYP =KC DB Aim is DB
ZDBN =KY 0,11 Data block 11
ZBWN =KF +0 1. Word of the reception buffer
KOOR =KY 255,255 Without a coordination flag
ANZW =MW 2 Indicator word in MW 2
PAFE =MB 197 Error byte
NEUS =M 0.0 New start flag
00012 :O M 3.2 Order completed without an error
00013 :O M 3.3 or order completed with an error
00014 :R M 1.0 then SEND is not to be run any longer
00015 :
00016 :U M 1.1 Access Fetch
00017 :SPB FB 25
NAME #FETCH
ADRE =KH F080 Base address
SSNR =KF +2 Interface number
A-NR =KF +2 Order number r
QTYP =KC MB Source is flag area
QDBN =KY 0,0 Irrelevant
QBWN =KY 0,5 From flag byte 5
BWAN =KF +46 46 flag bytes
ZTYP =KC MB Aim is flag area
ZDBN =KY 0,0 Irrelevant
ZBWN =KF +10 Record from MB 10
KOOR =KY 255,255 Without coordination flag
ANZW =MW 4 Indicator word
PAFE =MB 195 Error byte
NEUS =M 0.0 New start flag
00027 :O M 5.2 Order completed without an error
00028 :O M 5.3 or order completed with an error
00029 :R M 1.1 then FETCH is not to be run any longer
0002A :
0002B :SPA FB 24 Building block to receive the
NAME #REC ALL Data of SEND
ADRE =KH F080 Base address
SSNR =KF +2 Interface number
ANZW =MW 4 Indicator word
PAFE =MB 196 Error byte
NEUS =M 0.0 New start flag
00032 :
00033 :SPA FB 22 Building block to transfer the data
NAME #SEND-ALL for FETCh
ADRE =KH F080 Base address
SSNR =KF +1 Interface number
PAFE =MB 194 Error byte
NEUS =M 0.0 New start flag
00039 :
0003A :SPA FB 28 Building block access after OB1 has
NAME #RB_NEUS run through network ON
ADRE =KH F080 Base address
NEUS =M 0.0 New start flag
PAFE =MB 195 Error byte
00040 :BE

Table of Contents

Related product manuals