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