CAL T2T_Instance (NOINC:=FreezesPointerValue, R:=Reset, SRC:=SourceData, SIZE:=NumberOfWordsToCopy, OFF:=Offset, END=>PointerValue, DEST=>DestinationTable)
T2T_Instance (NOINC:=FreezesPointerValue, R:=Reset, SRC:=SourceData, SIZE:=NumberOfWordsToCopy, OFF:=Offset, END=>PointerValue, DEST=>DestinationTable) ;
Parameter
|
Data type
|
Description
|
---|---|---|
NOINC
|
1: Freezes the pointer value. The value of OFF remains unchanged.
|
|
R
|
BOOL
|
1: Sets the offset variable (OFF) to the first element and resets the END output before starting the copy operations.
|
SRC
|
Source data to be copied in the current cycle
|
|
SIZE
|
UINT
|
The variable tells the function block how many words have to copied every cycle.
|
Parameter
|
Data type
|
Description
|
---|---|---|
OFF
|
UINT
|
Offset in both the source and destination table.
|
Parameter
|
Data type
|
Description
|
---|---|---|
END
|
BOOL
|
1: Pointer value = table length (function block cannot increment any further)
1: If OFF=0 or if the sum of OFF and SIZE is outside the destination table DEST. Copy operation is disabled.
|
DEST
|
ANY should be an array of the BOOL, BYTE, WORD, DWORD, INT, DINT, UINT, UDINT,REAL, TIME types e.g.ARRAY [0..X] OF INT
|
Destination table where source table will be copied in the cycle.
|
Base
|
Lower limit
|
Upper limit
|
---|---|---|
Hexadecimal
|
16#0
|
16#FFFF
|
Octal
|
8#0
|
8#177777
|
Binary
|
2#0
|
2#1111111111111111
|
Data
|
Representation in one of the bases
|
---|---|
0000000011010011
|
16#D3
|
1010101010101010
|
8#125252
|
0000000011010011
|
2#11010011
|
Base
|
Lower limit
|
Upper limit
|
---|---|---|
Hexadecimal
|
16#0
|
16#FFFFFFFF
|
Octal
|
8#0
|
8#37777777777
|
Binary
|
2#0
|
2#11111111111111111111111111111111
|
Data
|
Representation in one of the bases
|
---|---|
00000000000010101101110011011110
|
16#ADCDE
|
00000000000000010000000000000000
|
8#200000
|
00000000000010101011110011011110
|
2#10101011110011011110
|