EasyManua.ls Logo

VIPA SSM-BG41 - Page 155

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-39
Example: FB33, (SEND) by direct parametrizing
:SPA FB33
NAME :SEND
ADRE : KH F080 The address set with DIL switches
SSNR : KF +1 Interface number 1,2,3
A-NR : KF +4 Order number(1...255)
QTYP : KC MB Source type
QDBN : KY 0,0 DB no. by source type DB
QBWN : KY 0,100 From data in the source type
BWAN : KF 10 Amount of data to be sent (Bytes/words depending on source
type)
ANZW : MW 30 The display word is filed in this word
PAFE : MB 32 Error messages or parametrizing are filed in this byte
NEUS : M 1.0 New start bit
Example: FB33 (SEND) by indirect parametrizing
If the operands are to be transferred indirectly, it is possible in the following form. XX is to be
parametrized on the operand QTYP. This is the identifier for indirect parametrizing. The DB
number, in which the operands lie, is to be given on the operands QDBN. The DB’s data word
number, from where the operands lie, must be given on the operands QBWN. The remaining
operands are in this case of no meaning. The operands ANZW, NEUS and PAFE can not be
indirectly parametrized. They must still be directly given to the formal operands.
:SPA FB33
NAME :SEND
ADRE : KH 0000 Irrelevant
SSNR : KF +0 Irrelevant
A-NR : KF +0 Irrelevant
QTYP : KC XX Identifier: indirect parametrizing
QDBN : KY 0,6 Parameter lies in DB 6
QBWN : KY 0,50 From DW 50
BWAN : KF +0 Irrelevant
ANZW : MW 30 The display word is filed in this word
PAFE : MB 32 Error messages or parametrizing are filed in this byte
NEUS : M 1.0 New start bit
Allocation of the given DBs:
DB 6:
DW 50 KH ADRE
DW 51 KF SSNR
DW 52 KF A-NR
DW 53 KC QTYP
DW 54 KY QDBN
DW 55 KY QBWN
DW 56 KF BWAN

Table of Contents

Related product manuals