Siemens 7 manual Data Transfer, To th e S e rM u x O b je c t a re in d ic a te d

Models: 7

1 36
Download 36 pages 57.86 Kb
Page 30
Image 30

Multiplexer Driver Developer’s Guide

7.4 Data Transfer

s

7.4Data Transfer

7.4.1Block 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 ys ic a l D e vic 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

 

 

re t

y e s

a ll b yte s

 

 

 

 

 

 

 

 

s c a n n e d ?

 

 

 

 

 

 

 

 

 

 

n o

 

 

 

 

 

P ro c e s s C h a r

 

 

 

 

 

 

 

n o

 

 

 

F ra m e va lid ?

 

 

 

 

 

ye s

 

 

 

 

 

D e m u xIn d ic a te F ra m e

 

 

 

 

A d d re s s ! = D L C I 0

 

y e s

 

 

 

 

S e rP o rtIn d ic a te F ra m e

 

 

 

& & U IH -F ra m e ?

 

o th e r p o rts th a n 0

 

 

 

n o

 

 

 

 

 

U IH -F ra m e ?

y e s

 

 

 

 

 

 

 

 

 

 

s e a rc h th e n e xt C o n tro l C o m m a n d

 

 

 

 

in th e

 

 

 

n o

 

In fo rm a tio n fie ld

 

 

 

 

 

a ll U IH -C o n tro l

ye s

 

 

 

 

 

 

 

 

 

C o m m a n d s s c a n n e d ?

 

 

 

 

 

S e rP o rt0 S c a n U IH C onnotro l s e e

 

S e rP o rt0 In d ic a te F ra m e ()

 

n o

 

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

 

 

 

U A -F ra m e

 

ye s

 

 

 

o r

 

S e rP o rt0 C o n firm R e q u e s t

 

 

 

D M -F ra m e ?

 

 

 

 

 

n o

 

 

 

 

 

S A B M o r

 

 

 

 

 

D IS C F ra m e

 

 

 

 

 

n o t v a lid

 

 

 

 

 

(M a s te r)

 

 

 

 

 

S e n d P o rt= =

 

 

 

 

 

T R U E ?

 

 

 

 

 

S e rM u xS e n d (), m u s t

 

 

 

c a ll if re c e ive a F C -B it= 0 , th e n

 

 

 

s ta rt th e s e n d in g

 

 

 

 

 

1

 

 

 

Figure 6: Block flow diagram for data received by the module

Mux_Drv_DevGuide_v07

Page 30 of 36

2006-9-27

Confidential / Released

 

 

Page 30
Image 30
Siemens 7 manual Data Transfer, To th e S e rM u x O b je c t a re in d ic a te d