1
00:00:12,360 --> 00:00:17,990
Here in this tutorial, we will give you an answer to Chautauqua Callea, and the question was that

2
00:00:18,000 --> 00:00:18,790
your Mustafah?

3
00:00:18,990 --> 00:00:21,540
Can you explain how to scale for 20 million?

4
00:00:21,550 --> 00:00:22,200
Pareene Delta.

5
00:00:23,700 --> 00:00:27,480
I have one Lozar which measures, uh, 150 kg.

6
00:00:27,480 --> 00:00:31,290
I want to get every kilogram like 10 kg, 20 kg and like that.

7
00:00:31,710 --> 00:00:36,630
And let's start first of all create a new project and I will go to Manuell.

8
00:00:36,630 --> 00:00:45,120
I can't imagine you are using analog to digital, but normally you should use DBP 200 to, uh, tell

9
00:00:45,150 --> 00:00:53,400
us, OK, Lortel module's OK, because if you want to get each gram OK or kilogram and if you make it,

10
00:00:53,400 --> 00:01:01,950
uh, calibrated or like that, you need to use a scale model of Delta 200 to L.C as this is the name

11
00:01:01,950 --> 00:01:02,490
of the module.

12
00:01:02,490 --> 00:01:09,570
But if you are working with the analog signal as current or as voltage, OK, I'm not going to talk

13
00:01:09,570 --> 00:01:11,820
about the details of the analog modules.

14
00:01:11,820 --> 00:01:13,290
Just I'm going to come to here.

15
00:01:13,380 --> 00:01:15,180
You will see a control register.

16
00:01:15,450 --> 00:01:16,920
Twelve is present for you.

17
00:01:17,010 --> 00:01:18,300
Channel one input signal.

18
00:01:18,550 --> 00:01:23,850
Um, I'm thinking the settings are done with the two instructions.

19
00:01:23,850 --> 00:01:26,940
Everything is defined to analog module.

20
00:01:26,940 --> 00:01:29,220
I will just continue with the from instruction.

21
00:01:29,430 --> 00:01:30,870
Let's create a new program.

22
00:01:31,020 --> 00:01:34,080
Nippo, you and the little diagram.

23
00:01:34,260 --> 00:01:38,910
OK, it can remain like that and I will start with the Aldy and one thousand.

24
00:01:38,910 --> 00:01:44,430
OK and imagine I am reading from the first module.

25
00:01:45,270 --> 00:01:53,310
And I'm Reading Channel Control registered 12 Channel one input signal, and I'm writing it to the zero

26
00:01:53,310 --> 00:01:55,230
and one that I am reading.

27
00:01:55,260 --> 00:02:02,760
OK, this is the first thing and done for the scale instruction than what we are doing here.

28
00:02:03,030 --> 00:02:05,010
We are reading.

29
00:02:06,460 --> 00:02:09,310
Analogue signal it here.

30
00:02:10,180 --> 00:02:18,610
OK, and then skate instruction that we need to use at this point and then for the skill instruction

31
00:02:18,760 --> 00:02:26,440
we have for parameter, OK, because of this, I will write your one thousand and then I will start

32
00:02:26,440 --> 00:02:27,770
with the instruction.

33
00:02:28,060 --> 00:02:30,540
Imagine your analog data.

34
00:02:30,760 --> 00:02:32,640
I'm just giving an example now.

35
00:02:32,970 --> 00:02:34,300
OK, zero to.

36
00:02:35,730 --> 00:02:36,630
Tannenwald or.

37
00:02:38,400 --> 00:02:48,280
And it equals to, um, for the resolution of the our system, imagine it is eight thousand in Delta.

38
00:02:48,810 --> 00:02:53,760
OK, so but zero to eight thousand, this is the first thing.

39
00:02:54,090 --> 00:03:02,730
And imagine you have zero kg and then, for example, 1000 kg.

40
00:03:02,760 --> 00:03:07,080
OK, then now what we need to do, we need to right here.

41
00:03:07,110 --> 00:03:13,400
First of all, uh, move and the input data is maximum eight thousand.

42
00:03:13,410 --> 00:03:15,970
OK, and five hundred.

43
00:03:16,260 --> 00:03:18,210
OK, these are not important.

44
00:03:18,210 --> 00:03:26,580
And then move zero the five hundred and one and move the output data is one thousand.

45
00:03:26,640 --> 00:03:33,300
Now this is kg ok to D five hundred and two and the minimum kg.

46
00:03:37,150 --> 00:03:46,240
OK, now it is raining and the next I will use now the scale instruction and how we are using scale

47
00:03:46,240 --> 00:03:52,510
instruction all day and one thousand and then scale and scale and.

48
00:03:53,200 --> 00:04:01,240
OK, then the input data where the input data from here, analogue signal is coming from here it is

49
00:04:01,240 --> 00:04:03,860
reading from the module and it's written to zero.

50
00:04:04,120 --> 00:04:09,780
So this is my input data first thing and the parameters are starting from the five hundred.

51
00:04:10,600 --> 00:04:14,990
OK, and then in here the output data.

52
00:04:15,010 --> 00:04:20,800
OK, then we can say to here for example these six hundred then now we are ready.

53
00:04:20,830 --> 00:04:22,160
I will go to compute.

54
00:04:22,390 --> 00:04:26,370
This is the first thing and what we going to do.

55
00:04:26,380 --> 00:04:28,000
I will create a simulator.

56
00:04:28,000 --> 00:04:29,950
I'm looking is it created now.

57
00:04:30,370 --> 00:04:40,130
And it is going to be a simulator and the simulator is going to run on ISS to uh for our CPU.

58
00:04:40,150 --> 00:04:50,080
OK, and I am going to say this driver driver five, then go here then communications settings and then.

59
00:04:51,160 --> 00:04:57,550
I will select that I will fight for and I will say, OK, and I will go online and I will say yes.

60
00:05:02,180 --> 00:05:07,340
Then, um, it is not connected, I guess I'm looking and searching.

61
00:05:09,610 --> 00:05:13,260
Um, OK, is it run still offline?

62
00:05:14,180 --> 00:05:20,690
OK, then what I forgot, I'm just going to say run simulator start.

63
00:05:21,700 --> 00:05:29,080
OK, it stopped because of this now, uh, it started again, I will go on line.

64
00:05:30,160 --> 00:05:32,680
And I want to do a download transfer.

65
00:05:34,760 --> 00:05:37,460
Also, you can use this data on the HMO.

66
00:05:37,570 --> 00:05:45,710
I'm not going to show HMO at this tutorial and this is stopped and I will say just say yes, OK, and

67
00:05:45,710 --> 00:05:46,760
let's test once.

68
00:05:47,220 --> 00:05:54,650
Imagine your zero is changed, but now it is not going to change because it is not reading, but it's

69
00:05:54,650 --> 00:05:55,030
changed.

70
00:05:55,220 --> 00:05:56,090
OK, now.

71
00:05:56,300 --> 00:05:56,930
Very good.

72
00:05:57,150 --> 00:06:04,620
Uh, the input data is five hundred so the output is sixty two kg according to our input.

73
00:06:04,640 --> 00:06:09,800
Imagine if the input, that analog signal is zero to 10.

74
00:06:09,800 --> 00:06:15,940
What at this point you can see if it is 2000, the input voltage will be 2.5 fold.

75
00:06:15,950 --> 00:06:16,330
Right.

76
00:06:16,670 --> 00:06:17,950
And then let's check it.

77
00:06:18,230 --> 00:06:21,830
So the output is two hundred and fifty kg.

78
00:06:21,980 --> 00:06:31,910
And then if you change it to, for example, four thousand, OK, the output is will be 500 kg then.

79
00:06:33,320 --> 00:06:40,220
The answer of the question, you can make it like that, and if you say I want to show it on the HMO

80
00:06:40,370 --> 00:06:51,440
and thank KG and then 20 kg or 30 kg, OK, you can put here costs like how, um, for example, if

81
00:06:51,440 --> 00:06:59,450
the data is, uh, you can divide the output data to ten, for example, and you can show on the HMO,

82
00:06:59,450 --> 00:07:08,660
I will just uh or you can say if it is equal to, uh, five hundred now for example, you can divide

83
00:07:08,660 --> 00:07:16,640
or you can multiply it and also, um, you can you can show it on the HMO with the scale destruction

84
00:07:16,640 --> 00:07:17,500
easily like that.

85
00:07:17,770 --> 00:07:27,020
Imagine this is your input data and if you change to 1000 to 2000, the output scale output scale instructions,

86
00:07:27,020 --> 00:07:27,950
output will be changed.

87
00:07:27,950 --> 00:07:34,670
But, uh, it is easy to use religious instruction, really easy to use instructions in here.

88
00:07:34,880 --> 00:07:40,820
You can get this, uh, program, uh, for you to show.

89
00:07:40,820 --> 00:07:42,020
How can you continue?

90
00:07:42,030 --> 00:07:48,190
How can you, uh, write a code and how can you understand the program if you're stuck at any point?

91
00:07:48,200 --> 00:07:51,050
Again, you can ask me a question directly.

92
00:07:51,380 --> 00:07:53,120
See you in the next tutorial.
