Fbmag6T; Description Of Fbmag6T - Siemens SITRANS PCS 7 Function Manual

Library
Table of Contents

Advertisement

SITRANS F M MAG 6000

5.3 FbMag6T

5.3
FbMag6T
5.3.1

Description of FbMag6T

Object name (type + number) and family
Type + number: FB 2600
Family: AdvLibPI
Area of application for FbMag6T
The block is used for the following applications:
● Transfer of cyclic data from and to a MAG6000 flow meter.
How it works
The block reads/writes all cyclic data of a MAG6000 from/to the process image in cyclic mode.
Configuration
Use the CFC editor to install the block in a cyclic interrupt OB (OB30 to OB38).
When the CFC function "Generate module drivers" is used, the following occurs automatically:
● The member variables of input structure Addr
(.Tot1/2, .SetTot1/2, .ModeTot1/2, .DCtr, .DSta, .DSetP, .DComp) are assigned the
address parameters configured in HW Config. The member variable is assigned the value
-1 if an element is not configured in HW Config.
● The SubnTyp input parameter is set to 1 if the MAG6000 is connected to a CPU via CP
(external DP interface), otherwise to 0.
● The Mode in/out parameter is interconnected to the corresponding OMode_xx output
parameter of the MOD_XXXX block.
● The DataXchg in/out parameter is interconnected to the corresponding DataXchg_xx
output parameter of the MOD_XXXX block.
● The MS parameter is interconnected to the O_MS output parameter of the diagnostics driver
block.
Write the volume flow (AI) address that was generated in HW Config to input parameter
AVolFlow.
Note
If you are not using the CFC function "Generate module drivers", parameterize the addresses
of input structure Addr and the Mode in/out parameter manually. The block expects the values
Mode = 16#80xxxxxx for "I/O data can be read", and 16#00xxxxxx for "invalid I/O data".
140
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11

Advertisement

Table of Contents
loading

Table of Contents