Network integration
6.3 Structure of the data block
SIMATIC Ident CB Gate
32
Operating Instructions, 08/2022, C79000-G8976-C671-01
6.3
Structure of the data block
With the "MCSInterface" data block, you can receive data from and operate SIMATIC Ident CB
Gate. The data block contains two structures. Via the "Interface.FromMCS" structure, you can
control the CB Gate from the higher-level system. The operating state, read result (data of
transponder) and statistical data on previous reads is displayed via the "Interface.ToMCS"
structure.
The "MCSInterface" data block serves as interface between the CB Gate and a higher-level
system and is divided into the following two areas:
•
Receive area (Interface.FromMCS): Client (higher-
level system) → Server (CB Gate)
Via the "Interface.FromMCS" area, you can control the CB Gate from the higher-level
system. If the higher-level system sends data, it is stored in the receive area. In this way,
the higher-level system can enable/disable the CB Gate, reset the gate or reset statistics.
The receive area comprises 6 bytes; its structure is described in one of the following
tables.
•
Send area (Interface.ToMCS): Server (CB Gate) → Client (higher
-level system)
Via the "Interface.ToMCS" area, the CB Gate sends data to the higher-level system. The S7
controller of the CB Gate enters the state of the Gate, the current read result and the
statistics in the send area. If there is a TCP connection, the send area is sent continuously
or on change (can be set in the Panel) from the server to the client. In an S7 connection,
this data is manually fetched from the higher-level system.
The send area comprises 130 bytes. Note that the data is always sent from offset "0.0"
depending on the type of connection. The structure of the data block is described in one
of the following tables.