.


:




:

































 

 

 

 


. x(executant)[Output.ctl]





:

 

x(executant)[Output.ctl]

;

 

y(sensor)[Intput.ctl]

;


 

Delay[32-bit


 

integer]


 


.

50 ;


 

Timeout[32-bit


 

integer]


 


.8.1 do_and_wait


;


 

Mod[boolean] . Mod = TRUE,

(x) TRUE,

(y) FALSE; Mod = FALSE, (x)

TRUE FALSE -[boolean],

(y) ;

 

-[booolean] , TRUE FALSE

. Mod = 1;

 

Tasks cDAQ;

 

Wait 0-1[boolean] , , .

;

 

Wait_time(ms) ,

( Mod =

TRUE);

 

error in ;

 

Ready in[boolean] , , ;

 

:

27

 


 

 

Worktime ,

;

 

Ready out[boolean] .

TRUE , FALSE ;

 

error out .

 

- .8.2.

 

:

 

1. , y


 

1.1.

 

 

1.2.


 

, TRUE Ready

out.

 

,


 

2. Mod TRUE

FALSE

 

3. y


 

3.1.


 

, Mod


TRUE FALSE



; TRUE Ready out


 

3.2.


 

,

Timeout, FALSE Ready out

 

28


 

29

 


 

 





:


: 2015-10-01; !; : 330 |


:

:

,
==> ...

1555 - | 1512 -


© 2015-2024 lektsii.org - -

: 0.008 .