. . . , . . ~~tank~~, .
6.3 /
Switch On . , - . Switch on ( ), ~~tank~~.
:
0, ~~tank~~ 0;
0, 1 :
= + ICONICS. Simulator.1\diplom. dip. bool. out1 + ICONICS. Simulator.1\diplom. dip. bool. out2 - , : ICONICS. Simulator.1\diplom. dip. bool. out1 = 1, ValveA ( ) (CompA )
ICONICS. Simulator.1\diplom. dip. bool. out1 = 0, ValveA ( ) (CompA )
ICONICS. Simulator.1\diplom. dip. bool. out2 = 1, ValveB ( ) (CompB )
ICONICS. Simulator.1\diplom. dip. bool. out2 = 0, ValveB ( ) (CompB )
= 1, ; = 0, .
, .3:
.3 , -
ICONICS. Simulator.1\diplom. dip. start | Boolean | |
~~tank~~ | Double | ( 0 1000) |
ICONICS. Simulator.1\diplom. dip. bool. out1 | Boolean | ValveA |
ICONICS. Simulator.1\diplom. dip. bool. out2 | Boolean | ValveB |
~~disch~~ | Boolean |
OPC- OPC Simulator ICONICS Genesis-32. , diplom. dip. .
|
|
.12 OPC-
, / . Swtich On " ". " ". " ".
.13 "
. , Switch On 1 ( True) ( , Switch on , , , ) . , Switch On. " ( / , / ). Switch On, 1 ( True) , , True False. , " 50 ( , 50 ). ~~tank~~. , . .
, . : X= (if (~~tank~~>1000,1000,~~tank~~ +
{{ICONICS. Simulator.1\diplom. dip. start}}*{{ICONICS. Simulator.1\diplom. dip. bool. out1}}+{{ ICONICS. Simulator.1\diplom. dip. start}}*
{{ICONICS. Simulator.1\diplom. dip. bool. out2}} - {{ICONICS. Simulator.1\diplom. dip. start}} * ~~disch~~)) * (if (~~tank~~<0, 0,1))
Switch On ICONICS. Simulator.1\diplom. dip. start. ". , " " 1. Switch On , , - . Switch On /" . , ICONICS. Simulator.1\diplom. dip. start /, true. , ICONICS. Simulator.1\diplom. dip. start 1, Switch On . , Switch On, - Switch Off, . Switch Off , . 0 ~~tank~~.
|
|
Switch Off " . . ICONICS. Simulator.1\diplom. dip. start 0. Switch Off /" . " . ICONICS. Simulator.1\diplom. dip. start /, False". Switch On Switch Off, .