0:16
hello everyone welcome to automation
0:18
community in this session we are going
0:20
to see about block transfer in Omron PLC
0:24
before entering into the topic like
0:25
kindly like and subscribe our YouTube
0:27
channel for more updates and videos so
0:29
what is this block transfer in data move
0:35
instruction here we are having three
0:38
address I mean three uh kind of
0:42
variables one is n which is the number
0:45
of words and s is the first source word
0:48
address and d is the first destination
0:51
address okay so here we are going to do
0:55
some bulk transfer of datas from one
0:58
location to another location so what is
1:01
that bulk is for example in the source
1:05
you are giving the starting address as
1:08
zero okay let take it as one you have
1:11
given the source address as one and in
1:13
the destination address you have given
1:16
the you know uh the value as 11 so
1:20
source is one and destination is 11 now
1:25
you will be giving some number of words
1:27
that have to be copied from one to the
1:30
number of uh you know words that will be
1:33
exactly copied to the destination from
1:37
11 to the number of words okay so I'll
1:42
take a help from one another
1:46
slide look at this here they have given
1:50
source is 100 and destination is 200 the
1:53
address okay and now the number of words
1:56
is 10 here so what it will do it will
2:00
copy the first 10 word from starting
2:04
from D 100 okay so from D00 what is the
2:08
next 10 uh you know address up to 109 so
2:12
it will copy all the data from D 100 to
2:16
D 109 because here you have given us 10
2:20
if it is 20 it will be taking up to
2:24
D119 understood so like this it will
2:27
copy and paste it in the destination
2:30
address which is starting from D200 and
2:35
D29 because here you have given 10 okay
2:39
it is the block transfer from one source
2:43
to another address which is called as
2:46
destination all right so let's see that
2:48
in the home run PLC ladder logic so I'm
2:53
just connecting one normally open
2:56
contact and the you know uh instruction
3:03
F okay block transfer so now same as the
3:08
example I will take now I'll just give
3:10
five okay and this is my source address
3:13
and this going to be the destination
3:15
address all right so what it will do the
3:19
first five will be copied to the first
3:29
now I have connected so let's take a
3:33
help from the watch table so there is a
3:35
watch table here toggle watch table all
3:38
right so click on that so now he here
3:41
you add all the address you want to
3:44
monitor now I'll start with
3:47
D00 enter D1 D12 D1 not 3 D14 so five
3:55
right 0 1 2 Okay 1 2 3 4 5 Here you have
4:00
given five correct now so now in the
4:03
next address we just give Enter for that
4:06
D1 not 4 it will be the next will be D
4:10
200 2 1 22 not 33 2 4 All right so all
4:14
five are there now so totally 10 are
4:16
there correct so let's go
4:21
online so we'll feed some value to D 100
4:26
D4 so I'm this is the uh value you can
4:33
uh like 10 some data okay and
4:38
20 it's taking that in the dist you know
4:44
40 50 so I have given all five oh sorry
4:49
I yeah it's right only here I have to
4:52
add one more address which is
4:56
d204 correct so now I have changed the
5:01
of you know source address i I'm just
5:04
giving some data okay so let's turn on
5:07
this block you can see all those five
5:10
are transferred to the destination
5:13
address see here 100 is copied to D200
5:17
correct a which is 10 and 1 is copied to
5:22
2.1 which is 20 1 2 is copied to 22
5:26
which is 30 1 e in hex is 30
5:30
correct in decimal it is 30 103 copied
5:33
to 23 104 is copied to 24 so this is
5:37
called as bul transfer or block
5:40
transfer so here you can change up to
5:44
how much you want to transfer you can
5:45
give so like that you can make use of
5:47
this instruction for some block
5:50
transfer so you can easily understand
5:55
table so let's do one thing let's change
6:01
number now I'll give just a three
6:06
here okay oh change to
6:11
53 just three d00 D 200 okay let's go
6:23
online now change the value here just
6:36
four five okay now this is going to be
6:40
the change in the you know while uh your
6:44
condition is true since I have given
6:46
three here okay what it will do 1 2 3 so
6:51
d 100 to d12 will be copied to 200 to 22
6:55
two how about this one or three and 1 or
6:57
four it will not copy right so four and
7:00
five should not get update here so let's
7:05
that see four but here it's not four
7:10
it's retaining the previous
7:15
because it's not mentioned here only
7:17
three we have given so it is transferred
7:19
just three that's the working of block
7:23
transfer i hope you have understood this
7:26
concept i will meet you in the next
7:27
session with another interesting topic
7:29
kindly like and subscribe our channel
7:30
for more videos and updates thank you