0
1
00:00:21,760 --> 00:00:23,730
Hello in this video.
1

2
00:00:23,830 --> 00:00:30,820
After we learn delta plc commands and the software's and everything we are going to take a look.
2

3
00:00:30,820 --> 00:00:34,440
to questions and answers from the real life.
3

4
00:00:34,450 --> 00:00:36,820
So let's take a look ,
4

5
00:00:36,880 --> 00:00:41,600
First question in my program cycle time is too long.
5

6
00:00:41,710 --> 00:00:43,510
Is it effects to my program.
6

7
00:00:43,510 --> 00:00:47,680
This is the question and the answer is No.
7

8
00:00:47,710 --> 00:00:51,480
It may just affect the reaction time of devices.
8

9
00:00:51,490 --> 00:00:59,770
As an example if you are using a one millisecond timer this timer's result will be effect in five or
9

10
00:00:59,980 --> 00:01:08,160
six milliseconds so it means if your cycle time for example is 10 a millisecond it will start from the
10

11
00:01:08,170 --> 00:01:09,000
zero to.
11

12
00:01:09,010 --> 00:01:17,700
It will complete to your project to scanning to complete programs and it will go back to STARTING POINT
12

13
00:01:17,700 --> 00:01:18,200
again.
13

14
00:01:18,340 --> 00:01:28,420
This is how the plcs are working and also we learned it so your timer will effect in this area or
14

15
00:01:28,600 --> 00:01:37,120
I mean one millisecond timer and your cycle time is 10 milliseconds your timer result can effect after
15

16
00:01:37,810 --> 00:01:41,080
eleven or twelve ms.
16

17
00:01:41,080 --> 00:01:50,380
So the question two is I have four analog modules in my system or my project and my cycle time is over
17

18
00:01:50,620 --> 00:01:59,610
70 milliseconds because of these four module can I do anything else for decrease my cycle time.
18

19
00:01:59,950 --> 00:02:03,860
Instead of using four different from command.
19

20
00:02:03,880 --> 00:02:08,920
So each module needs to one from command.
20

21
00:02:08,920 --> 00:02:18,730
For the example you are using it like this and that moment for the read for this channel you use for
21

22
00:02:18,790 --> 00:02:20,420
different from command.
22

23
00:02:20,500 --> 00:02:23,140
And this is effect your cycle time.
23

24
00:02:23,290 --> 00:02:32,950
And it goes up a little bit further so you can use this line or you can see it in this picture also.
24

25
00:02:33,430 --> 00:02:44,950
You can read immediately for channel also so you can read four consecutive channels like these and these
25

26
00:02:44,950 --> 00:02:56,000
channels needs to start from 12 and imagine from the analog input and output usage lesson for the DVP06
26

27
00:02:56,140 --> 00:02:57,000
--.
27

28
00:02:57,020 --> 00:03:04,090
It's a module Channel 12 and 13 and 14 and 15 was input.
28

29
00:03:04,090 --> 00:03:09,520
Present values so you can read them all in just one line.
29

30
00:03:09,760 --> 00:03:13,540
So this can help to decrease your cycle time.
30

31
00:03:14,080 --> 00:03:15,670
So let's take a look.
31

32
00:03:15,670 --> 00:03:16,270
to
32

33
00:03:16,420 --> 00:03:17,620
Third question.
33

34
00:03:17,620 --> 00:03:24,190
I have delta DVP14SS I think it's a little bit old model.
34

35
00:03:24,640 --> 00:03:27,070
I need to connect to encoders.
35

36
00:03:27,130 --> 00:03:38,260
So is this model enough or should I buy another model S4 is only 1 encoder can be connected to 14ss
36

37
00:03:38,330 --> 00:03:51,890
PLC Dvp 14SS plcs can get just one encoder up to 4 units can be connected to 4 or 2 ss2 plc
37

38
00:03:51,900 --> 00:03:58,250
and the bandwidth of this Ss2 Plc is 10 kilohertz.
38

39
00:03:58,420 --> 00:04:08,770
So you can use it easily if the motor rotation speed per second multiply by encoder resolution is less
39

40
00:04:08,770 --> 00:04:10,660
than ten thousand.
40

41
00:04:10,660 --> 00:04:16,860
For example your motor rotation speed per second.
41

42
00:04:16,900 --> 00:04:27,310
Lets say ten rpm and encoder the resolution is imagine five hundred resolution.
42

43
00:04:27,370 --> 00:04:36,610
So multiply this and according to this equivalent the result will be less than 10000.
43

44
00:04:36,610 --> 00:04:39,120
The result will be in here five thousand.
44

45
00:04:39,130 --> 00:04:51,250
So for example you can use a 500 resolution encoder and you can turn your motor for example until twenty
45

46
00:04:51,370 --> 00:05:03,040
rpm but this is a really small rpm value so ss2 support supports as bandwith 10 kilohertz.
46

47
00:05:03,250 --> 00:05:14,260
So according to this  equivalent or these multiply by encoder resolution and motor 
47

48
00:05:14,260 --> 00:05:16,580
rotation speed per second.
48

49
00:05:17,410 --> 00:05:28,900
You can select a little bit new or newest plcs and the bandwidth must be greater than this multiplication
49

50
00:05:29,170 --> 00:05:31,650
so you need to take care of it.
50

51
00:05:31,830 --> 00:05:32,870
That's all.
51

52
00:05:32,880 --> 00:05:37,850
And question for I measure the meter with the encoder.
52

53
00:05:37,900 --> 00:05:48,040
It's OK but when the information or pulses coming from the encoder stops in exact position or when we
53

54
00:05:48,040 --> 00:05:49,000
stop the machine.
54

55
00:05:49,000 --> 00:05:49,310
Okay.
55

56
00:05:49,310 --> 00:05:57,130
And encoder pulses are stopping for example when the fabric is finished and I want to stop the machine
56

57
00:05:57,340 --> 00:05:58,960
after a certain time.
57

58
00:05:58,960 --> 00:06:02,430
How should I proceed about this.
58

59
00:06:02,440 --> 00:06:09,280
So you can use 32-Bit comparison.
59

60
00:06:09,300 --> 00:06:14,450
command, keep the encoder count for you at the different data addresses.
60

61
00:06:14,580 --> 00:06:20,280
Move the encoder data to this data as the encoder value change and with encoder counter.
61

62
00:06:20,430 --> 00:06:27,110
You can get an output contact if the value of these data is equal for three seconds.
62

63
00:06:27,120 --> 00:06:34,990
Since this equation will not be achived for three seconds in a rotating encoder you can provide
63

64
00:06:34,990 --> 00:06:38,850
the return information of the encoder with this method.
64

65
00:06:39,750 --> 00:06:50,190
So in here what we are learning from this question for example your encoder pulses are coming to your
65

66
00:06:50,380 --> 00:06:57,820
see always and always and always and you are comparing this data and you are getting an output contact
66

67
00:06:58,020 --> 00:07:01,510
according to competition.
67

68
00:07:01,860 --> 00:07:13,530
So if data for example you are getting one meter for the each fabric and this one meter equals for example
68

69
00:07:13,830 --> 00:07:17,990
one pulses 1000 pulses.
69

70
00:07:18,110 --> 00:07:31,860
So if encoder data count data for example D100 equals one pulses as three second then you can say
70

71
00:07:32,030 --> 00:07:40,050
okay our fabric is came and one pulses or one meter is finished and after three seconds you can say
71

72
00:07:40,290 --> 00:07:48,480
continue or stop an exact error with the comparison and in the previous lessons we already learn high
72

73
00:07:48,480 --> 00:07:50,960
speed comparative counters.
73

74
00:07:51,010 --> 00:07:55,430
So remember them all and we were looking okay.
74

75
00:07:55,440 --> 00:08:05,400
High speed comparative set or high speed comparative reset and also Zone comparison is high speed comparison
75

76
00:08:05,430 --> 00:08:09,620
so you can use them all according to this question.
76

77
00:08:09,630 --> 00:08:16,120
These are all of them is going to help you.
77

78
00:08:16,200 --> 00:08:18,160
Question 5.
78

79
00:08:18,610 --> 00:08:29,910
Hello I'm reading 0-10VDC  with the value of the DVP04AD-Smodule  attached to Delta DVP 14SS2
79

80
00:08:29,990 --> 00:08:31,930
SS2 CPU
80

81
00:08:32,040 --> 00:08:34,120
--
81

82
00:08:34,140 --> 00:08:44,970
This is our or this is my command line TO K0 K1 H0 K1
FROM K0 K6 D90 K1 , I can read 0-10VDC
82

83
00:08:45,040 --> 00:08:52,350
smoothly with above code but I need to see all the peak values in the channel I think there is a
83

84
00:08:52,350 --> 00:09:01,230
situation like an average of 5 values in the channel then I do not adjust I want to take this instant
84

85
00:09:01,450 --> 00:09:06,120
value but not a average What should I do.
85

86
00:09:06,240 --> 00:09:14,640
And let's take a look once to our answer if you read at address twelve so I mean if you read these
86

87
00:09:14,700 --> 00:09:22,310
addresses directly input present values not these average values.
87

88
00:09:22,310 --> 00:09:32,930
So in here you can see the user or the customer or the person is using k 6,K6 is input average
88

89
00:09:32,930 --> 00:09:45,350
values you need to directly read or use these addresses K 12,13 and 14 and 15 you can see the
89

90
00:09:45,350 --> 00:09:56,690
current value so you need to use this command from K0 k12 D90 K1, now you 
90

91
00:09:56,690 --> 00:10:03,150
can get your instant value not a average value with this method.
91

92
00:10:03,230 --> 00:10:06,500
So for this video I'm finished in here.
92

93
00:10:06,500 --> 00:10:07,990
See you in the next video.
