1
00:00:12,400 --> 00:00:20,050
Hello, in the studio, we will learn S.O.P W.L. instructions, so how it is working now, we are writing

2
00:00:20,050 --> 00:00:28,090
just one parameter we are writing or overeaten to one parameter or we are writing one parameter.

3
00:00:28,240 --> 00:00:34,840
If we want to write, uh, at one, two or three parameter with one instruction if you want it.

4
00:00:35,020 --> 00:00:36,390
How can we do this.

5
00:00:36,520 --> 00:00:37,230
Let's learn it.

6
00:00:37,750 --> 00:00:49,360
I mean if we are using for example Aldy OK then we can say to here, um see all this is uh our instruction,

7
00:00:49,360 --> 00:00:49,900
OK.

8
00:00:50,620 --> 00:00:57,070
And I will use it and I will say, OK, and then let's write here our instruction, this one.

9
00:00:58,420 --> 00:01:07,270
Then this instruction is how to write parameters each one time, like one instruction, one slot and

10
00:01:07,270 --> 00:01:09,350
three or four or five, whatever you want.

11
00:01:09,850 --> 00:01:11,980
You can write a data to parameters.

12
00:01:12,010 --> 00:01:18,510
OK, first of all, I will go to here and now I want to use, for example, another celebration and

13
00:01:18,640 --> 00:01:22,870
celebration times, for example, five thirty and five thirty one.

14
00:01:23,050 --> 00:01:30,170
I want to write the data with the one instruction to five thirty and to five thirty one.

15
00:01:30,280 --> 00:01:32,050
And then let's go to here.

16
00:01:32,230 --> 00:01:36,000
And five is five again is hexadecimal.

17
00:01:36,010 --> 00:01:39,160
OK, and let's take a look once the thirty.

18
00:01:39,370 --> 00:01:40,750
OK, no sorry.

19
00:01:41,380 --> 00:01:46,600
And thirty is one eight and plus two thousand is hexadecimal.

20
00:01:47,320 --> 00:01:47,940
I'm sorry.

21
00:01:47,950 --> 00:01:50,080
And then what are we going to use.

22
00:01:50,290 --> 00:01:55,990
Zero five one E plus two thousand two thousand five one E.

23
00:01:56,020 --> 00:01:58,810
OK, this is the address and we will use thirty one.

24
00:01:58,990 --> 00:02:02,860
But first of all it's got our picture which is instruction.

25
00:02:02,860 --> 00:02:05,790
OK, for example to First Salvo.

26
00:02:05,830 --> 00:02:16,710
OK, starting from the ten we will write 2.0 or 3.0 in example and this is the communication is OK and

27
00:02:16,720 --> 00:02:23,800
in the right side in the table ok you can see it and see what p w l the message number one and two,

28
00:02:23,950 --> 00:02:30,640
we will use just two message and we will write index address to the ten subindex address will be hexadecimal

29
00:02:30,640 --> 00:02:38,790
zero to here and the output will be ten written data uh will come from the 12 and 13 and 14 and 15.

30
00:02:38,830 --> 00:02:42,120
OK, let's test it and you will see OK.

31
00:02:42,760 --> 00:02:50,580
And I will write here first and then to hear the ten and then to the later on I will say s.o.p w.l..

32
00:02:50,860 --> 00:02:52,080
OK, ok.

33
00:02:52,090 --> 00:02:53,260
And this will be bu.

34
00:02:53,590 --> 00:02:55,450
And what can we do now.

35
00:02:56,290 --> 00:03:05,110
We can go to the monitor table and I will create a new monitor table and I will write here the ten from

36
00:03:05,110 --> 00:03:07,120
the ten I will add here six.

37
00:03:07,450 --> 00:03:11,680
OK and I will make it ok.

38
00:03:11,940 --> 00:03:13,480
Uh send it to p.l.c..

39
00:03:15,570 --> 00:03:18,420
And I will do I don't want this project to p.l.c..

40
00:03:21,300 --> 00:03:24,150
OK, and then I will go program zero.

41
00:03:25,290 --> 00:03:32,940
In this area, I will start my communication again and I will make it on, but it set it on for me and

42
00:03:32,940 --> 00:03:34,950
then I will come to here and then.

43
00:03:36,290 --> 00:03:43,610
Before to start this instruction, we need to write the data to here, OK, and the third, let's go

44
00:03:43,610 --> 00:03:45,840
to here and let's try to detail.

45
00:03:45,860 --> 00:03:49,550
Let's check your index address and 13 will be index address.

46
00:03:49,730 --> 00:03:53,000
And the index address is hexadecimal.

47
00:03:53,030 --> 00:03:54,800
OK, we need to right here.

48
00:03:54,950 --> 00:03:55,520
OK.

49
00:03:56,660 --> 00:04:06,170
Zero baht plus 2000, 2005 and one and OK, because of Y and in here you will see that some of this

50
00:04:06,170 --> 00:04:10,010
is one OK, decimal thirteen, OK, and.

51
00:04:11,400 --> 00:04:14,940
I will write here present value like that.

52
00:04:15,330 --> 00:04:19,830
OK and OK, and now you can see it is scientism.

53
00:04:19,980 --> 00:04:28,080
I will show it hexadecimal to five one E OK, and let's check where is the 31 year acceleration and

54
00:04:28,080 --> 00:04:29,010
deceleration time?

55
00:04:29,010 --> 00:04:29,520
Eleven.

56
00:04:29,760 --> 00:04:30,210
OK.

57
00:04:30,270 --> 00:04:34,340
It will be 31 and I will come to here and I will write 31.

58
00:04:34,350 --> 00:04:44,280
It must be one F and then I will go here than 13 is going to be to five is hexadecimal to five one.

59
00:04:44,620 --> 00:04:45,100
OK.

60
00:04:45,840 --> 00:04:47,890
Uh like that.

61
00:04:47,920 --> 00:04:48,530
OK.

62
00:04:48,810 --> 00:04:54,450
And this can be hexadecimal and this can be the decimal and this can be the decimal.

63
00:04:54,760 --> 00:04:58,760
Uh no this can be decimal because we will write the data.

64
00:04:59,010 --> 00:05:00,030
This can make the decimal.

65
00:05:00,030 --> 00:05:02,310
These are the index and these are the subindex.

66
00:05:02,580 --> 00:05:09,090
So this change the present value as hexadecimal must be zero like that and zero is OK.

67
00:05:09,310 --> 00:05:11,950
And also you can write here like that.

68
00:05:12,090 --> 00:05:12,620
OK.

69
00:05:13,310 --> 00:05:19,950
OK, so everything is OK, which we're going to write, I will write here, um six to nine OK.

70
00:05:20,070 --> 00:05:23,880
And I will write here for example, uh fifty eight.

71
00:05:23,880 --> 00:05:29,340
OK, and then you will see index subindex and which Theta is going to be written.

72
00:05:29,580 --> 00:05:33,270
Index subindex and which theta it starts from Ditton.

73
00:05:33,450 --> 00:05:34,860
Let's go to our program.

74
00:05:35,840 --> 00:05:43,130
It starts from Ditton and I will say set on, OK, then this is OK, you will see broken is OK and I

75
00:05:43,130 --> 00:05:45,370
will say set off and I will go.

76
00:05:45,380 --> 00:05:54,400
My program in the side will try and I will check my acceleration and deceleration time 30, end 31.

77
00:05:54,410 --> 00:06:02,810
OK, and you will see this is written with the one instruction we write to that the six to nine and

78
00:06:02,810 --> 00:06:03,400
fifty eight.

79
00:06:03,830 --> 00:06:12,950
OK, this is how S.O.P W.L. Instruction working and for the DC or W.L. you can write to.

80
00:06:14,200 --> 00:06:19,590
And I mean, you can write a lot of data, but the data are changed to 32 bit, OK?

81
00:06:19,870 --> 00:06:27,190
I mean, if you want to write 32 bit data and big data, for example, one bit, I mean 16 bit.

82
00:06:27,300 --> 00:06:29,470
OK, let's go to calculator.

83
00:06:30,100 --> 00:06:37,000
You can, uh, insert from here and make it one in one and one one one.

84
00:06:37,000 --> 00:06:43,060
OK, you will see it must be a maximum sixty five thousand divided by two minus and plus.

85
00:06:43,360 --> 00:06:48,850
This is your maximum that if you want to write a big data from the thirty two thousand, OK, you can

86
00:06:48,850 --> 00:06:57,160
use the S.O.P W.L. instruction and you can use the 12 and 13 that us and we double what you can write,

87
00:06:57,170 --> 00:07:00,730
for example, one million to one parameter in Sarut.

88
00:07:00,730 --> 00:07:01,000
Right.

89
00:07:01,300 --> 00:07:04,990
This is House GOP W.L. Instruction working OK.

90
00:07:05,180 --> 00:07:06,280
And you can use it.

91
00:07:06,280 --> 00:07:07,030
You can test it.

92
00:07:07,150 --> 00:07:10,290
If you stuck at any point, you can ask me a question immediately.

93
00:07:10,420 --> 00:07:12,250
See you in the next tutorials.
