VA Motion Controller Programming Manual
263
the INTEGRAL
data processing instruction type
Execution function block when TRUE
When TRUE , the integratioNStarts, when FALSE , the
integration is paused, and the output keeps the last integral
value.
Reset when
TRUE
, reset value is
XO
Time constant, iNSeconds, this instruction
actually integrates XIN CYCLE
10.6.16 MEMCPY ( Data Copy Instruction)
LD, FBD programming language
Function: The
MEMCPY
instruction is used to copy data from the source data area to the
target data area.
MEMCPY CNT, SRC[0], DST[0]
OUT:= MEMCPY
(
ERR, CNT, SRC[0], DST[0]
)
Note
: IL, ST
language programming need to insert variables
ERR, CNT
,
SRC[0],
etc. or use
constants in the current
POU
variable worksheet
the MEMCPY
data processing instruction type
Error code : 0- one correctly copied ; 14- one
buffer exceeds data segment ; 15 - target
The area is an input array. Note
:
This is the
output parameter placed on the left
!
The number of bytes to copy
The first byte of the source data area , written
as SRC[0] when the data type is ARRAY