13: S
CRIPTS
13-14
S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
Offset
Data copy
MEMCPY(
,
,
)
: Starting device of copy source
: Starting device of copy target
: Range of copy (in words)
Values from
for
words are copied to
for
words respectively.
•
Specified range is compared in word unit, and result is returned.
•
Up to 64 words can be copied.
Bit device
(1 word length)
to
Bit device
(1 word length)
BITS2BITS(
,
);
: Starting device of copy target (bit device)
: Starting device of copy source (bit device)
Copies one word worth of data from
to
.
•
16 bits are processed from the starting bit device as one word.
Bit device
(1 word length)
to
Word device
BITS2WORD(
,
);
: Starting device of copy target (word device)
: Starting device of copy source (bit device)
Copies one word worth of data from
to
.
•
16 bits are processed from the starting bit device as one word.
Word device
to
Bit device
(1 word length)
WORD2BITS(
,
);
: Starting device of copy target (bit device)
: Starting device of copy source (word device)
Copies one word worth of data from
to
.
•
16 bits are processed from the starting bit device as one word.
Function
Format
Description
Indirect
specification
OFFSET(
,
)
: Reference device
: Device to store the offset value (0 to 32767)
Specifies the device at
words from
.
Indirect read
Specify OFFSET function to the right of the assignment statement.
Format example:
C = OFFSET(
,
)=
Operation:
Stores the value of device at
words from
into
.
Indirect write
Specify OFFSET function to the left of the assignment statement.
Format example:
OFFSET(
,
) =
Operation:
Stores the value of
into the device at
words from
.
•
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.
Function
Format
Description
Содержание FT1A-B12RA
Страница 1: ...FT9Y B1378 5 ...
Страница 2: ......
Страница 208: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 226: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 340: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 384: ...APPENDIX A 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 European Font ISO 8859 1 Cyrillic Font ANSI 1251 ...
Страница 385: ...SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 A 19 APPENDIX Japanese Font JIS X0201 ...
Страница 386: ...APPENDIX A 20 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...