1
00:00:12,400 --> 00:00:14,710
Hello, in this tutorial, we will learn.

2
00:00:15,650 --> 00:00:23,890
Competition, instructions and control is in here, you can see instructional block, how can be inserted

3
00:00:23,900 --> 00:00:32,270
control B and I will use it, control B and let's take a look to competition instructions so we need

4
00:00:32,270 --> 00:00:34,140
a greater OK.

5
00:00:34,160 --> 00:00:37,030
I'm trying to it um.

6
00:00:37,100 --> 00:00:38,200
It's OK.

7
00:00:38,210 --> 00:00:39,560
I selected that.

8
00:00:39,590 --> 00:00:47,210
Now this one I came down for this apparent as the key needs to be greater than this one.

9
00:00:47,210 --> 00:00:48,790
So we will get an output.

10
00:00:48,800 --> 00:00:52,510
Let's test once these and the two and four output.

11
00:00:52,520 --> 00:00:56,530
OK, I will just use uh M0.

12
00:00:56,780 --> 00:00:57,320
OK.

13
00:00:57,470 --> 00:01:05,700
And one more network control B just click two here and then I will use this one.

14
00:01:05,720 --> 00:01:10,140
So in here you will see as one must be greater than is two.

15
00:01:10,170 --> 00:01:17,960
OK, this is um you can see opposite the for the competition then what we need, we need for example

16
00:01:17,960 --> 00:01:22,750
the four and the six and for an output out M one.

17
00:01:22,760 --> 00:01:32,420
OK, and then one more network control B and click to empty area and then come to here than for example

18
00:01:32,420 --> 00:01:34,010
for the quality like that.

19
00:01:34,440 --> 00:01:42,110
OK, and this moment as one is greater than or equal to a student, we will get an output and the eight

20
00:01:42,710 --> 00:01:43,770
and ten.

21
00:01:43,790 --> 00:01:46,910
OK, and then here out to.

22
00:01:47,710 --> 00:01:55,750
Then one more and then control be to hear click A. And then OK, then you will see.

23
00:01:56,860 --> 00:02:01,600
This one, so it must be greater than or equal to one.

24
00:02:01,630 --> 00:02:07,210
So again, the 12 and 14 and at the end of the road, for example, entry.

25
00:02:07,510 --> 00:02:12,100
So one more not equal control, B, a..

26
00:02:12,100 --> 00:02:13,770
OK, like that.

27
00:02:13,780 --> 00:02:16,660
And this is not equal instruction.

28
00:02:17,380 --> 00:02:21,880
And for example, the 16 and the 18.

29
00:02:21,910 --> 00:02:26,350
OK, and then we will get out, put out M four.

30
00:02:26,650 --> 00:02:30,850
OK, now I will make a complete.

31
00:02:31,960 --> 00:02:38,260
This is the first thing and I will do a download and stop transmission, and it's sending to.

32
00:02:39,290 --> 00:02:49,400
P.L.C. processing, OK, and finished, then let's start it can go online and we have no output for

33
00:02:49,400 --> 00:02:50,060
the M0.

34
00:02:50,060 --> 00:02:50,350
Why?

35
00:02:50,360 --> 00:02:57,970
Because it's too must be greater than S1, so the two must be greater than the zero.

36
00:02:57,980 --> 00:03:02,000
So I will make it five minutes right here and five, for example.

37
00:03:02,180 --> 00:03:03,980
So five greater than zero.

38
00:03:03,990 --> 00:03:05,930
So we have an output in here.

39
00:03:05,960 --> 00:03:12,700
This must be bigger than OK, so we have an output in here because of the quality.

40
00:03:12,710 --> 00:03:17,950
OK, there is an output and this must be greater than or equal still output.

41
00:03:18,080 --> 00:03:19,750
But let's make it three.

42
00:03:19,760 --> 00:03:22,400
The ten is three now so there is no output.

43
00:03:22,940 --> 00:03:25,430
The competition instructions are working correctly.

44
00:03:25,450 --> 00:03:27,720
OK, now this must be bigger.

45
00:03:27,860 --> 00:03:30,130
OK, five still output.

46
00:03:30,140 --> 00:03:32,570
And if I make it six, there is not.

47
00:03:32,570 --> 00:03:36,280
But this zero equals zero because of there is no output.

48
00:03:36,350 --> 00:03:37,460
Let's make.

49
00:03:38,950 --> 00:03:43,370
There's no equality zero not equal to one, so there is an output.

50
00:03:43,570 --> 00:03:49,900
These are the basically competition instructions, OK, and then if you want to use, for example,

51
00:03:50,560 --> 00:03:57,790
uh, competition with the double or Doubler, because these are all work we need to use now.

52
00:03:58,160 --> 00:03:59,790
Um, OK.

53
00:03:59,860 --> 00:04:01,870
Now control be OK.

54
00:04:02,290 --> 00:04:04,300
And this right here.

55
00:04:04,690 --> 00:04:06,130
OK, like that.

56
00:04:06,630 --> 00:04:13,680
OK then in here we need is apparent OK at top level to twenty, twenty two.

57
00:04:13,690 --> 00:04:17,910
OK, so there is an output for example out and five.

58
00:04:18,220 --> 00:04:23,800
Just one more thing and I will explain to you operation and project comp..

59
00:04:24,130 --> 00:04:25,250
The project is compiled.

60
00:04:25,290 --> 00:04:29,620
Now let's send it to simulator and now start the transmission.

61
00:04:32,530 --> 00:04:33,860
It will be finished.

62
00:04:33,890 --> 00:04:34,820
OK, very good.

63
00:04:35,110 --> 00:04:42,630
Then go line, then if I try to write to the 14, for example, what is the maximum value?

64
00:04:42,670 --> 00:04:44,520
Let's write here, OK?

65
00:04:44,860 --> 00:04:48,860
Then I write a bigger value, but nothing is changed.

66
00:04:48,880 --> 00:04:54,390
Again, I will change it to, for example, fifty thousand.

67
00:04:54,400 --> 00:04:56,640
OK, but it is not written.

68
00:04:56,650 --> 00:04:59,670
OK if I try to write here for example.

69
00:04:59,680 --> 00:05:00,880
Thirty thousand.

70
00:05:00,880 --> 00:05:08,830
OK you can see because the this is the word to exponential by 16 six to five thousand five hundred thirty

71
00:05:08,830 --> 00:05:09,210
seven.

72
00:05:09,220 --> 00:05:14,770
OK, and then if you divide it thirty two thousand seven hundred sixty seven, this is the maximum value

73
00:05:15,820 --> 00:05:16,480
in here.

74
00:05:16,480 --> 00:05:18,550
We will compare is double.

75
00:05:18,560 --> 00:05:25,240
OK, so maybe in here we can create a duplicate variable, for example.

76
00:05:25,510 --> 00:05:25,810
Right.

77
00:05:25,810 --> 00:05:34,600
Click and add a variable and this will be a double to the variable and then add one more the name variable

78
00:05:34,600 --> 00:05:35,260
to double.

79
00:05:35,830 --> 00:05:36,250
Very good.

80
00:05:36,530 --> 00:05:38,920
And this come to here, for example.

81
00:05:38,920 --> 00:05:40,810
Let's write here variable one.

82
00:05:42,710 --> 00:05:47,620
This one and this will be able to OK and OK.

83
00:05:48,660 --> 00:05:54,270
And operation and project to compile and send it to simulator.

84
00:05:56,390 --> 00:05:57,980
OK, it is downloading the.

85
00:06:01,230 --> 00:06:08,840
Close that online so we can right here as double word, for example, bigger than 30000, for example.

86
00:06:08,840 --> 00:06:10,750
One hundred thousand.

87
00:06:10,760 --> 00:06:13,730
OK, so you can see 100000.

88
00:06:13,730 --> 00:06:15,900
It's written to double what we're able to.

89
00:06:15,920 --> 00:06:18,440
And then I will come to here, for example.

90
00:06:18,450 --> 00:06:19,520
Two hundred thousand.

91
00:06:20,690 --> 00:06:26,150
The biggest, biggest value, not the biggest failure, because we can write it a million, for example,

92
00:06:26,150 --> 00:06:26,740
like that.

93
00:06:26,750 --> 00:06:30,050
Okay, so you can see it one minute, one million.

94
00:06:30,050 --> 00:06:31,890
Two hundred thousand, OK.

95
00:06:31,940 --> 00:06:39,770
Then there is the not so the opposite side we can use not greater than lower than or equal down with

96
00:06:39,800 --> 00:06:42,680
the double comparisons like that for the flood.

97
00:06:43,070 --> 00:06:44,770
I will take a look in the next class.

98
00:06:44,780 --> 00:06:46,160
OK, for this story.

99
00:06:46,210 --> 00:06:46,940
I am finished here.

100
00:06:46,940 --> 00:06:50,150
We can use the competition instructions like that.

101
00:06:50,360 --> 00:06:53,630
Just you can come to a new network.

102
00:06:53,630 --> 00:06:58,310
OK, then, controlled by this one box and click A..

103
00:06:58,310 --> 00:06:59,150
And then come here.

104
00:06:59,270 --> 00:07:06,020
And what you need, for example, more than or greater than an executor of your instruction, competition

105
00:07:06,650 --> 00:07:14,160
instructions and according to your appearance, OK, like variable one, variable two or the 16 or the

106
00:07:14,180 --> 00:07:14,640
18.

107
00:07:14,660 --> 00:07:21,730
OK, you will get an output in the logic in the Delta passes for this tutorial are finished here.

108
00:07:21,860 --> 00:07:23,480
See you in the next tutorial.
