Siemens SIMATIC S5 Manual page 142

Interface of the programmable controller
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Data Transmission by Accessing Layer 2 Services
8.1
Characteristic Features of Layer 2 Access Data Transmission
Layer 2 accesses are used for communications between active stations or between active and
passive stations.
In DB1, you can program up to 23 layer 2 accesses for sending data and up to 23 layer 2
accesses for receiving data.
You can send/receive up to 242 bytes of net data per job.
You can send data in parallel over all configured layer 2 accesses.
You can receive data in parallel over all configured layer 2 accesses.
To communicate over configured layer 2 accesses, you need the integral standard function
blocks L2-SEND and L2-RECEIVE ( chapter 5).
You must specify the following parameters for L2-SEND:
- a job number to identify a particular layer 2 access
- the data you wish to send
You must specify the following parameters for L2-RECEIVE:
- a job number to identify a particular layer 2 access
- where the data received are to be stored.
Figure 8-1 shows a typical hardware configuration. The examples in section 8.3 refer to PLC 1 and
PLC 2 in this configuration.
Active
station
Bus
Passive
station
Figure 8-1. Example: Hardware Configuration Using Layer 2 Services
Principle of Operation
The principle of operation of layer 2 services is described in the following section, and the function
model is shown in Figure 8-2.
The principle of operation of the various layer 2 services is explained in detail in the relevant
sections of the manual (from section 8.5 onwards).
8-2
Layer 2 access
CP 5410
(for PC)
Layer 2 access
S5-95U
(PLC 1)
None
S5-95U, SINEC L2
S5-95U
. . .
(PLC 2)
EWA 4NEB 812 6112-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinec l2S5-95u

Table of Contents