4 data transfer, Data transfer, Block flow diagram for data received by the module – Siemens 7 User Manual
Page 30: Figure 6, Multiplexer driver developer’s guide
Multiplexer Driver Developer’s Guide
7.4 Data Transfer
s
Mux_Drv_DevGuide_v07
Page 30 of 36
2006-9-27
Confidential / Released
7.4
Data Transfer
7.4.1
Block Flow Diagram for Data Received by the Module
Figure 6: Block flow diagram for data received by the module
S e rM u x fu n c tio n s s e q u e n c e , if c h a ra c te rs fro m th e p h y s ic a l D e v ic e
to th e S e rM u x O b je c t a re in d ic a te d
W rIn d ic a te R e a d B u ffe r
P ro c e s s C h a r
F ra m e v a lid ?
A d d re s s ! = D L C I 0
& & U IH -F ra m e ?
D e m u x In d ic a te F ra m e
S e rP o rt In d ic a te F ra m e
o t h e r p o rts th a n 0
y e s
y e s
n o
U IH -F ra m e ?
U A -F ra m e
o r
D M -F ra m e ?
S e rP o rt0 C o n firm R e q u e s t
n o
n o
y e s
y e s
S A B M o r
D IS C F ra m e
n o t v a lid
(M a s t e r)
1
S e rP o rt0 S c a n U IH C o n tro l s e e
s h e e t 2 ,
c h e c k a U IH -C o n tro lF ra m e
re tu rn S e n d P o rt
a ll U IH -C o n tro l
C o m m a n d s s c a n n e d ?
s e a rc h th e n e x t C o n tro l C o m m a n d
in th e
I n fo rm a tio n fie ld
n o
a ll b y te s
s c a n n e d ?
n o
y e s
n o
n o
y e s
re t
S e rP o rt0 In d ic a te F ra m e ()
S e n d P o rt= =
T R U E ?
S e rM u x S e n d (), m u s t
c a ll if re c e iv e a F C -B it= 0 , th e n
s ta rt th e s e n d in g