S5-115U Manual
Communications Capabilities
12.4.2 Coordination Bytes
The ASCII driver monitors data traffic and stores status and error information in two coordination
bytes, SEND (CBS) and RECEIVE (CBR).
Figure 12-11 shows the format of both coordination bytes.
Error message (see Table 12-8)
Error message (see Table 12-8)
Sending permitted
Is set by the user and reset by the ASCII driver when the send procedure is finished. A leading edge at this bit
activates the send procedure.
2
3
2
6
2
5
2
7
2
4
2
2
2
1
2
0
SEND Coordination Byte (CBS) (Flag byte or high-order byte in data word)
RECEIVE Coordination Byte (CBR) (Flag byte or high-order byte in data word)
Receive permitted
Is set by the user and reset by the ASCII driver when the Receive mailbox is full.
2
3
2
6
2
5
2
7
2
4
2
2
2
1
2
0
Figure 12-11. Coordination Byte Format
Note
As long as the "send/receive permitted" bits are set, the location of the Send and
Receive mailboxes (DB or flag area) cannot be changed.
Note
The operating system can set or reset bits in the coordination bytes after every
statement without regard to the PLC cycle. In consequence, multiple scanning of a
coordination bit in a program cycle may produce different results (be careful when
evaluating signal edges)!
EWA 4NEB 811 6130-02b
12-23
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...