VA Motion Controller Programming Manual
264
The first byte of the target data area , written
as
SRC[0]
when the data type is
ARRAY
10.6.17 MEMSET ( DatADistribution )
LD, FBD programming language
Function: The
MEMSE T
instruction is used to distribute source data to the target data area.
OUT:=MEMSET
(
ERR, VAL, CNT,
DST[0]
)
Note
: IL, ST
language programming needs to insert variables
ERR, VAL, CNT,
etc. in the
current
POU
variable worksheet or use constants
MEMSET data processing instruction type
Error code
: 0 to 1
correctly copied
;
The 14-
one buffer exceeds the data segment
; 15
-
the target area is an input array. Note
:
This is the output
parameter placed on the left
!
The number of copies to be distributed, one source
data can be distributed to N bytes in the target data area ,
one byte per copy
The first byte of the target data area , written
as SRC[0] when the data type is ARRAY
Output, the duty is not defined, the characters
actually being copied to the target data areAD
ST
the
10.6.18 PLC_STOP ( PLC stop )
LD, FBD programming language
Function: PLC_STOP instruction for stopping the PLC , cold restart process, initializes all