Siemens SIMATIC S5 Series Manual page 103

Second serial interface of the programmable controller
Hide thumbs Also See for SIMATIC S5 Series:
Table of Contents

Advertisement

S5-95U, Second Serial Interface
2. Compute time for a bus cycle
The time for one bus cycle (cycle time T
equation:
T
=
(20 +
L
· 1.8
C
m
T
=
Bus cycle time for n nodes for identical frame lengths (m) master slave
C
L
=
Number of bytes in the case of the master
M
L
=
Number of bytes in the case of the slave
s
t
=
20 ms, for internode communication only (i.e. slave sends data to other slave)
Q
n
=
Number of slaves (n=1 is always valid in the case of point-to-point link)
For S5-95U as point-to-point master, the following equation is valid in the range
100 ms T
280 ms.
C
Example:
S5-95U is SINEC L1 slave
Number of bytes in the case of the master
Number of bytes in the case of the slave
Number of slaves
T
=(20+64 bytes·1.8+64 bytes·1.8)·15
C
T
=3756 ms
C
--------------------
PLC load time
Bus cycle time
The PLC scan time increases by 0.5% on account of SINEC L1 communication at the
SI2 interface provided the PLC scan cycle is just as long as the bus cycle. For short
PLC scan cycles, the load resulting from SINEC L1 communication is not evenly
distributed.
In the case of computer link/ASCII driver:
When sending, the first load occurs within 100 ms, i.e. the send request is recognized by the driver
in the operating system of the PLC (32 bytes are copied by the send mailbox into the internal output
buffer).
When receiving, the first load occurs when the KBE bit "Receiving permitted" is set and receive
data are available.
Further loads occur both during sending and receiving at intervals of approx. 10 ms.
The number of loads depends on the data quantity:
Worst case für 1 ... 32 bytes
Worst case für 1024 bytes
EWA 4NEB 812 6095-02
in ms) can be calculated by means of the following
C
+
L
· 1.8
+
t
s
Q
for identical frame lengths (s) slave master
18.5 ms
=
3756 ms
=
1 ms
=
32·1 ms
Technical Data, Scan On-Load Times
) · n
=
64 bytes
=
64 bytes
=
15
= 0.005
--------
E-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s5-95u

Table of Contents