Modes
Le
u
ze electronic
MA 255
i
55
TNT
35/7-2
4
V
Collective mode sequence diagram
Send long online commands to the DEV, read RS 232 answer from DEV
Figure 11.1: Data transmission scheme with long online commands
Activate
Collective mode
Select
function mode in
PLC via EDS file?
Sa
ve toggle
b
it
s
as
proce
ss
im
a
ge
Reception of data
Has the slave received
data from the RS 232?
BLR = ! BLR
Rescue data e.g. data
block DLC = number of
valid binary-coded data
bytes
Is there still data
in the receive buffer?
DEX = 1 set
(status bit 0.3)
Transmit the next
data with toggle bit
R-ACK = ! R-ACK
(control bit 1.0)
Confirm data retrieval with
toggle bit
R-ACK = ! R-ACK
(control bit 1.0)
No
No
No
Yes
Yes
Sending of data
Number < 254
Enter user data that are to
be sent into output data
words starting at Out 2
DLC = number of binary-
coded data bytes
Send data in the transmit
buffer with the
CTB = ! CTB toggle bit
(control bit 1.3)
All desired data in the
buffer?
*)
Command ok?
W-ACK = ! W-ACK
(status bit 0.0)
(Display!)
*)
Command ok?
W-ACK = ! W-ACK
(status bit 0.0)
(Display!)
Send data with the
SFB = ! SFB toggle bit
(control bit 1.2)
No
No
No
Yes
Yes