EasyManua.ls Logo

FATEK FBs-CB2 - Page 251

FATEK FBs-CB2
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Advanced Function Instruction
7-87
FUN103 D P
BT_M
BLOCK TABLE MOVE
FUN103 D P
BT_M
Ts :Starting register for source table
Td : Starting register for destination table
L: Lengths of source and destination tables
Ts, Rd may combine with V, Z, P0~P9 to serve indire
W
X
W
Y
WM WS TMR CTR HR IR OR SR ROR DR K XR
Range
Ope-
rand
WX0
WX240
WY0
WY240
WM0
WM1896
WS0
WS984
T0
T255
C0
C255
R0
R3839
R3840
R3903
R3904
R3967
R3968
R4167
R5000
R8071
D0
D4095
2
256
VZ
P0~P9
Ts
Td * *
L *
z In this instruction the source table and destination table are the same length. When this instruction was
executed all the data in the Ts table is completely copied to Td. No pointer is involved in this instruction.
z When move control "EN" = 1 or "EN" ( P instruction) have a transition from 0 to 1, all the data from source
table Ts (length L) is copied to the destination table Td, which is the same length.
z One table is completely copied every time this instruction is executed, so if the table length is long, it will be
very time consuming. In practice, P modifier should be used to avoid time waste caused by each scan
repeating the same movement action.
X0
EN
T
S : R 0
Td :
R 10
L :
10
103P.BT_M
z The diagram at left below is the status before execution. When
X0 from 0
1, the content of R0~R9 in Ts table will copy to
R10~R19.
Ts Td Td
R0 0000
──→ R10
0000
R10
0000
R1 1111
──→ R11
0000
R11
1111
R2 2222
──→ R12
0000
R12
2222
R3 3333
──→ R13
0000
R13
3333
R4 4444
──→ R14
0000
R14
4444
R5 5555
──→ R15
0000
R15
5555
R6 6666
──→ R16
0000
R16
6666
R7 7777
──→ R17
0000
X0
Ö
R17
7777
R8 8888
──→ R18
0000
R18
8888
R9 9999
──→ R19
0000
R19
9999
Before executed
Execute
result

Other manuals for FATEK FBs-CB2

Related product manuals