IDEC FT1A Series User Manual page 318

Hide thumbs Also See for FT1A Series:
Table of Contents

Advertisement

13: S
CRIPTS
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
AXIS P
/L
MART
RO
ITE
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-B1378
SER
S
ANUAL
for
words respectively.
to
.
to
.
to
.
.
,
)=
words from
) =
into the device at
into
words from

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents