9.04M

Boolean1 (3)

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

13.

14.

15.

16.

17.

18.

19.

20.

21.

22.

23.

24.

25.

26.

27.

28.

29.

30.

31.

32.

33.

34.

35.

Problem Statement
In a factory safety system, a siren should turn ON if:
1.The temperature is high (T) AND there is smoke
detected (S),
OR
2.The emergency button (E) is pressed,
but the siren should NOT turn on if the system is
under maintenance (M).

36.

Define Inputs and Output
T = Temperature high (1 = yes, 0 = no)
S = Smoke detected (1 = yes, 0 = no)
E = Emergency button (1 = pressed, 0 = not
pressed)
M = Maintenance mode (1 = ON, 0 = OFF)
A = Siren Alarm (output)

37.

Logic Expression
1. High temp AND smoke: T · S
2. OR emergency button: (T · S) + E
3. NOT maintenance: ¬M
4. Final siren output:

English     Русский Правила