Coordination Bytes For A Computer Link - Siemens SIMATIC S5 Series Manual

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

Advertisement

S5-95U, Second Serial Interface
3.3

Coordination Bytes for a Computer Link

The computer link monitors data traffic and writes status and error messages in two different bytes,
the "send" (KBS) and "receive" (KBE) coordination bytes.
The following diagram shows the structure of the two coordination bytes.
"Send" coordination byte (KBS) (flag byte or high-order byte in data word)
7
2
W/R R
R
Sending permitted
Set by the user and reset by the computer link when the send procedure is terminated.
The send procedure is activated by a positive-going edge at this bit.
"Receive" coordination byte (KBE) (flag byte or high-order byte in data word)
7
2
W/R R
R
Receiving permitted
Set by the user and reset by the computer link after receiving data either with or
without errors.
R:
Read Only (bit may only be read)
W/R:
Write / Read (bit may be both read and overwritten)
Note
The bits in the coordination bytes can be set or reset by the operating system after any
instruction and independently of the PLC cycle. This means that multiple scanning of the
coordination bit within a program cycle may lead to different results. (Important when
evaluating pulse edges!)
EWA 4NEB 812 6095-02
R
R
R
R
Error message ( Table 3-1)
R
R
R
R
Error message ( Table 3-2)
Figure 3-6 Structure of the Coordination Bytes
Computer Link with 3964(R) Transmission Protocol
0
2
R
0
2
R
3-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s5-95u

Table of Contents