IDEC SmartAXIS FT9Z-1A01 User Manual page 322

Table of Contents

Advertisement

13: S
CR I P TS
Function
Data copy
MEMCPY(
Bit device
(1 word length)
to
BITS2BITS(
Bit device
(1 word length)
Bit device
(1 word length)
BITS2WORD(
to
Word device
Word device
to
WORD2BITS(
Bit device
(1 word length)
Offset
Function
Indirect
OFFSET(
specification
13-14
Format
: Starting device of copy source
: Starting device of copy target
: Range of copy (in words)
,
,
)
Values from
Specified range is compared in word unit, and result is returned.
Up to 64 words can be copied.
: Starting device of copy target (bit device)
: Starting device of copy source (bit device)
,
);
Copies one word worth of data from
16 bits are processed from the starting bit device as one word.
: Starting device of copy target (word device)
: Starting device of copy source (bit device)
,
);
Copies one word worth of data from
16 bits are processed from the starting bit device as one word.
: Starting device of copy target (bit device)
: Starting device of copy source (word device)
,
);
Copies one word worth of data from
16 bits are processed from the starting bit device as one word.
Format
: Reference device
: Device to store the offset value (0 to 32767)
Specifies the device at
Indirect read
Specify OFFSET function to the right of the assignment statement.
Format example:
Operation:
,
)
Indirect write
Specify OFFSET function to the left of the assignment statement.
Format example:
Operation:
Store the value appropriate for the data type as the offset value.
For example, when the data type is I (integer), store the offset value of I (integer)
into the device.
S
A XI S P
/ L
M AR T
R O
I TE
Description
for
words are copied to
Description
words from
C = OFFSET(
Stores the value of device at
.
OFFSET(
,
Stores the value of
.
U
'
M
FT9Y-B 1378
SER
S
ANUAL
for
words respectively.
to
.
to
.
to
.
.
,
)=
words from
) =
into the device at
into
words from

Advertisement

Table of Contents
loading

Table of Contents