S5-95F
S5-95F on SINEC L1
Contents of the "Send" Condition Code Byte (DR 32)
"Send" Condition Code Byte
7
6
5
4
3
2
1
0
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
0: No
errors
1:
Frame could not be transmitted
0: No
errors
1:
Invalid transmission length (S5-95F responds with STOP)
Send Coordination Via the User Valid Byte (as per the Parameter Values Initialized with
COM 95F)
User Valid Byte
7
6
5
4
3
2
1
0
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
0:
Program can process Send Mailbox (data path 1) in
DB 252; operating system is not accessing mailbox.
1:
Send Mailbox is enabled for transfer; user program is
no longer modifying mailbox data (operating system
resets bit following transmission)
0:
Program can process Send Mailbox (data path 2) in
DB253; operating system is not accessing mailbox.
1:
Send Mailbox is enabled for transfer; user program is
no longer modifying mailbox data (operating system
resets bit following transmission)
User Program for Transmitting Data
The user program for transmitting data should have the following structure:
Scan bit 0 or bit 2 in the UVB to see if permission to send has been granted.
As long as the S5-95F is accessing the Send Mailbox, the relevant bit is set; the contents of the
mailbox must not be changed during this phase.
When the operating system has reset bit 0 or bit 2 in the UVB,
- enter the number of net data bytes to be transferred into DL32
- reset the condition code byte (write 00
H
into DR32)
- write the net data into the data words, beginning with data word DW33
Start the Send by setting bit 0 or bit 2.
When the operating has reset bit 0 or bit 2, check to see if the frame was transmitted.
The "condition code byte for Send" (DR32) contains 00
H
if the frame was transmitted
successfully (local acknowledgement).
If the frame could not be transmitted, DR32 contains 01
H
.
EWA 4NEB 812 6210-02
13-19