
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
194/
316
TITLE
DRAW.NO.
4.7 IL Data Table Functions
Data Table Functions
Use these IL functions to copy a specified number of data elements from a source array to a destination array.
§ Array Move
§ Search for values in a Memory Block
4.7.1 Array Move
4.7.1.1 ARRAY_MOVE_INT( sr, snx, dnx, n, length, ds)
When the function receives power flow, the number of data elements in the count indicator 'n' is extracted from the
input array starting with the indexed location ('sr' + 'snx' – 1). The data elements are written to the output array starting
with the indexed location ('ds' + 'dnx' – 1).
sr: INT variable; the first element of the source array.
snx: UINT, variable or constant; the index into the source array.
dnx: UINT, variable or constant; the index into the destination array.
n: UINT, variable or constant; count indicator.
ds: INT variable; the first element of the destination array.
length: Constant; the number (1 - 32767) of elements (starting at 'sr' and 'ds') that make up each array.
4.7.1.2 ARRAY_MOVE_UINT( sr, snx, dnx, n, length, ds)
When the function receives power flow, the number of data elements in the count indicator 'n' is extracted from the
input array starting with the indexed location ('sr' + 'snx' – 1). The data elements are written to the output array starting
with the indexed location ('ds' + 'dnx' – 1).
sr: UINT variable; the first element of the source array.
snx: UINT, variable or constant; the index into the source array.
dnx: UINT, variable or constant; the index into the destination array.
n: UINT, variable or constant; count indicator.
ds: UINT variable; the first element of the destination array.
length: Constant; the number (1 - 32767) of elements (starting at 'sr' and 'ds') that make up each array.
4.7.1.3 ARRAY_MOVE_DINT( sr, snx, dnx, n, length, ds)
When the function receives power flow, the number of data elements in the count indicator 'n' is extracted from the
input array starting with the indexed location ('sr' + 'snx' – 1). The data elements are written to the output array starting
with the indexed location ('ds' + 'dnx' – 1).