Operation In The Sinec L1 Local Area Network - Siemens Simatic S5-101U Programming Instructions Manual

Table of Contents

Advertisement

3.6
Operation in the SINEC L1 local area network
The SINEC L1 l o c a l area network i s used
f o r i n t e r c o n n e c t i n g programnabl e con-
t r o l l e r s o f t h e l ow-end performance
range and operates on the Master-Slave
p r i n c i p l e .
The C P 530 comrnun i c a t i o n s processor
i s always t h e Master, and the slaves
t h e CPUs o f a l l small PCs. Each slave
i s assigned a s1 ave number under which
i t i s referenced. Data can be i n t e r -
changed between t h e master and up t o
30 slaves, as w e l l as between the i n d i -
v i d u a l slaves. I n the case o f the S5-101U,
t h e slave number, t h e coordinating f l a g s
and t h e send and r e c e i v e mailboxes are
d e f i n e d as f o l l o w s :
Slave n u m k
The slave number i s stored a t the beginning
o f t h e user program (PBlIFB1) together
w i t h an i n d e n t i f i e r .
I n a d d i t i o n t o t h e a c t u a l data, c o n t r o l
and s e c u r i t y i n f o r m a t i o n , which t h e
STEP 5 user program can access through
a c o o r d i n a t i n g f l a g word, i s a l s o t r a n s -
m i
t t e d
.
The a c t u a l data a r e deposited i n a r e c e i v e
mailbox and a send mailbox which t h e
user can access w i t h load and t r a n s f e r
operations.
header
SF
63.0
LKF
..
Identifier
Nos.
1...30
RECEIVE c o o r d i n a t i n q f l aq b.yte (KME)
SEND c o o r d i n a t i n g f l aq b y t e (KMS)
F l a g b y t e FB 61 i s used.
F l a g b y t e FB 62 i s used.
M61.7
. .
.
M 61.0
I
I
1-r~
Receive error in last transfer
ERROR with master
SLAVE FAIL
A
slave in the network has failed
BUS-RUN
BUS is in RUN state
PG-BIT Programmer requests the bus access
INTERRUPT This message is accompanied by an interrupt
EMPF-ERK Operating system may accept data from the bus into
t h e receive mailbox
Bit from bus master
M62.7
.
M 62.0
Send error In last transfer
Slave permits programmer access
SEND-ERK User releases send mailbox for sending t o the bus
Bit for bus master
The c o o r d i n a t i n g f l a g s are a f f e c t e d b y t h e o p e r a t i n g system o f the P C and
can t h e r e f o r e n o t be used as f l a g s i n t h e normal sense.

Advertisement

Table of Contents
loading

Table of Contents