Point-To-Point Link
S5-95U, Second Serial Interface
:L KF +72
:L FW 252
Scan to determine whether all 32 DW have
:!=F
already been copied
:JC =M002
then jump to receive mailbox enable
:L FW 252
otherwise, data word numbers are
:ADD KF +1
incremented by 1
:T FW 252
:L FW 254
:ADD KF +1
:T FW 254
:JC =M003
and next data word is copied
:
M002 :AN F 61.7
Enable receive mailbox again for
:S F 61.7
new frame
:
M001 :
Send data
==============================================
:AN F 1.0
if no request to send,
:BEC
end
:
:O F 1.1
if transmitting disabled or
:O F 62.7
if send request active then
:JC =M004
jump to pulse edge evaluation ”Send ready”
:
:AN F 1.1
Disable transmission since the send mailbox
:S F 1.1
must not be changed during transmission
:L KY 64.1
Enter frame length (here = 64 bytes) and
:T DW 80
destination number (here = 1 for slave 1) in
:
1st DW of the send mailbox
:
Net data must be entered in DW 81 to DW 112
:
at this point.
:AN F 62.7
:S F 62.7
Enable transmitting in the KBS and
:R F 1.2
reset edge auxiliary flag
M004 :
Pulse edge evaluation ”Transmission terminated”
:AN F 62.7
if KBS bit 7 changes from 1 to 0 and
:AN F 1.2
edge auxiliary flag is not set,
:= F 1.3
Edge ”Transmission terminated”
:U F 1.3
in case of negative edge,
:S F 1.2
set auxiliary flag again
:
:A F 1.3
If transmission terminated and
:AN F 62.0
no errors have occurred during transmission,
:R F 1.0
reset send initiation bit,
:R F 1.1
reenable transmission
:
:A F 1.3
If transmission terminated and
:A F 62.0
errors have occurred during transmission,
:R F 1.1
enable transmission for repeat
:BE
Description
FB100 AWL (continued)
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
2-10
EWA 4NEB 812 6095-02