EasyManua.ls Logo

VIPA SSM-BG41 - Tab. 4-6: List of Parameters for the Loading of FB3

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...
Handling with VIPA data handling blocks Manual BG41/BG42/BG43
4-12 Rev. 99/49
4.1.5 Data handling without a protocol and procedure
It is possible to transmit data to a peripheral piece of equipment without a procedure and protocols.
One only has to define the respective channel with FB 100 (Code 00) as the general input/output
interface. This is in accordance with the fundamental philosophy of interface building blocks.
4.1.5.1 FB3 (SEND), data output without a protocol and procedure
This function block is used for transmitting data to a peripheral piece of equipment without a
protocol and procedure. For peripheral addressing please use FB13.
When loading FB3, the following parameters are to be transferred:
Des. Format Explanation
ADR KH Building block’s absolute base address
K/DB KY Number of channels/Number of data blocks
ANF W Start of transmssion buffer
ANZ BY Number of bytes
FRG BI Release strobe bit
FEHL BY Error byte
NEUS M New start flag
Tab. 4-6: List of parameters for the loading of FB3
The following details are necessary for the abovementioned parameters:
ADR
Input of the physical start address, under which the building block can be
accessed by the PLC. This start address can be set with the DIL switches S1 and
S2.
In the case of peripheral addressing enter the address, which you have set with the
DIL switch S1 on the building block, into FB13. The following addresses can be
loaded: BG41: PY128-PY252, BG42 and BG43: PY128-PY248
K/DB
K= Number of channels, through which the data is to be sent. This channel must
be defined with the FB 100 as the general input/output interface
(without a procedure/protocol).
DB= Number of DBs, which are contained in the data to be sent.
ANF
Word variable, which contains the number of data words from the point where
the characters to be sent are filed.
ANZ
Byte variable, which contains the number of bytes, which are to be transmitted.
FRG
If this bit is set at 1, the amount of data given in ANZ is transferred once. After
transmission the bit is set back to 0. If the bit is set at 0 when loading FB3, the
building block is exited immediately.

Table of Contents

Related product manuals