VA Motion Controller Programming Manual
262
Note : IL, ST language programming needs to insert variables CNT , SRC, etc. in the
current POU variable worksheet or use constants
IMEMCPY data processing instruction type
The number of bytes to be copied
The first byte of the source data area , written
as SRC[0] when the data type is ARRAY
The starting byte number of the source data area,
the sequence number of the first byte is 0.
The first byte of the target data area , written
as
DST[0]
when the data type is
ARRAY
The starting byte serial number of the target data
area, the sequence number of the first byte is
0.
Error code :
0 copied data, no error occurred
14 buffers exceed the data segment
15 target area is an input group
10.6.15 INTEGRAL ( integration )
LD, FBD
programming language
Function:
IN T EG RAL
instruction is used to calculate the integral time of data. When using
integral instruction, it is necessary to set the task type of
POU
to cycle scan (
CYCLIC
) , and set the
scan cycle according to your own needs. And the scan cycle can be found in this manual
programming model
Hardware
Tasks.
INTEGRAL_1
(
ENABLE:=ENABLE, RUN:=RUN,
R1:=R1, XIN:=XIN, XO:= X0, CYCLE:=CYCLE
)
;
Q:=INTEGRAL_1.0;XOUT:=INTEGRAL_1.XOUT;
Note : IL, ST language programming need to insert variable E, RUN, etc. or use constants in the
current POU variable worksheet