User's Manual

Siemens PLT 112 · 2002
10/3
Data couplings with other systems
System couplings
AG-AG coupling software
Overview
AG/AG coupling with SIMATIC S5/S7 central controllers
The devices of the SIMATIC S7-300 and S7-400 automation sys-
tems and those of the SIMATIC S5-95F, S5-95U, S5-115U, S5-
135U and S5-155U automation systems can be coupled to
AS 388/TM and AS 488/TM automation systems via an additio-
nal PROFIBUS-AG/AG parallel to the PROFIBUS-TM or CS 275
TELEPERM M system bus.
To reduce the load on the CS 275 or PROFIBUS-TM system bus,
AS x88/TM automation systems can also be connected together
via the PROFIBUS-AG/AG data bus.
Via an AS 488/TM automation system with AG/AG coupling, sys-
tem-independent and data-oriented connections are additional-
ly possible between TELEPERM M and SIMATIC PCS 7. The
AS 488/TM collects the data received via the TELEPERM M sys-
tem bus, and distributes them either to the SIMATIC PCS 7 auto-
mation systems on the PROFIBUS-AG/AG or transfers them to a
SIMATIC PCS 7 automation system with data collection and dis-
tribution function on this bus, from which they are then distribut-
ed further via the SIMATIC PCS 7 system bus.
PROFIBUS-AG/AG represents communication via configurable
connections, and permits simple exchange of linked data blocks
between the communication partners, without acknowledgment
at the user level. The transmission is carried out with PROFIBUS
FDL services. The user handles the services with the assistance
of communication blocks:
SIMATIC S7 stations: FC blocks AG_SEND and AG_RECV;
these blocks are part of the NCM S7 package
SIMATIC PCS 7 stations: blocks FR_AGSEN and FR_AGRCV
SIMATIC S5 stations: handling blocks SEND and RECEIVE
TELEPERM AS x88: standard function blocks S5KS [AGAG]
and S5KE [AGAG]
With OPC stations and those from other vendors, the
blocks/procedures are referred to in the associated documen-
tation.
Access to the FDL interface is usually only possible for the cou-
pling partners via a specifically installed communications pro-
cessor:
Coupling partner Communications processor
SIMATIC S7-400 CP 443-5 Basic
SIMATIC S7-300 CP 342-5
SIMATIC S5-155U,
S5-135U, S5-115U
CP 5430/CP 5431
S5-95U with PROFIBUS-
AG/AG interface
Already integrated
S5-95F CP 541
PC (Windows NT) CP 5613
An IF 964 interface module in the EXM 478 extension module as
well as the additionally loaded AG-AG coupling software is re-
quired to connect the AS 488/TM automation system to the PRO-
FIBUS-AG/AG.
With the AS 488/TM automation system, the IF 964 interface mo-
dule should preferably be connected to the bottom of the three
EXM 478 slots. If all EXM slots are already occupied, e.g. by re-
trofitted modules, a second EXM 478 extension module is addi-
tionally required.
EXM 478 extension module
If all slots in the first EXM 478 extension module are already oc-
cupied, a second EXM 478 extension module is required for
connection of the IF 964 interface module. This second EXM 478
module has three locations for interface modules.
Mode of operation
The AG-AG coupling software is loaded into the automation sys-
tem using the commissioning terminal. Together with the stan-
dard AS driver blocks S5KE [AGAG] and S5KS [AGAG] it
organizes the telegram traffic between the AS 488/TM automati-
on system and the coupling partners.
Using the FDL services SDA (send data to one station, with ack-
nowledgment of receipt) and SDN (send data to one or all stati-
ons, without acknowledgment of receipt; broadcast) of the
European standard EN 50 170, data blocks with a maximum
length of 240 byte are transmitted in the send and receive direc-
tions, where the receive telegrams occupy the first 4 byte with
the internal AS 488 address (i.e. max. 236 byte useful data).An
initialization file can be used to set the transmission rate between
9.6 kbit/s and 1.5 Mbit/s.
Note:
A coupling partner is addressed using its PROFIBUS station
address and one of the connection endpoints (SAP) configured
for communication with the AS 488. With SIMATIC, the connec-
tions are either configured completely (SIMATIC S7: specified
connections; SIMATIC S5: AG/AG connections) or only partially
(SIMATIC S7: non-specified connections; SIMATIC S5: FDL con-
nections). With the partial configuration, the communications pa-
rameters are entered automatically, permitting free access to the
FDL layer of PROFIBUS. This also permits the optional assign-
ment of the SAP subaddresses.
This catalog is out of date, see note on page 3