EasyManuals Logo

IDEC FT1A Series User Manual

IDEC FT1A Series
393 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #337 background imageLoading...
Page #337 background image
S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378 13-33
13: S
CRIPTS
Example 7.25 Bit-unit data copy
Script
Operation Description
Copies the third bit of 10 words from D0100 (up to D0109) to the bit state for 10 bits of devices from D0200 (up to D0209).
Note: Even if the data type is set to D (double word), L (long), or F (float), the bits are copied from the starting device in bit units.
Example 7.26 Copy 1 word from bit devices to bit devices
Script
Operation Description
A value of 1 word length from I004 (I004 to I023) is copied to the bit states of a 1 word region from M0000 (M0000 to M0017).
Example 7.27 Copy 1 word from bit devices to a word device
Script
Operation Description
A value of 1 word length from I004 (to I023) is copied to the value of device D0000.
This is the same as BITS2BITS (I004, D0000.0);.
Example 7.28 Copy 1 word from a word device to bit devices
Script
Operation Description
The value of device D0100 is copied to the bit states of a value of 1 word length from M0000 (M0000 to M0017).
This is the same as BITS2BITS (D1000.0, M0000);.
MEMCPY([D0200.00], [D0100.02], 10);
Copy each
3rd bit of D0100
3rd bit of D0101
3rd bit of D0102
3rd bit of D0108
3rd bit of D0109
3rd bit of D0107
・・・
・・・
1st bit of D0200
1st bit of D0201
1st bit of D0202
1st bit of D0208
1st bit of D0209
1st bit of D0207
・・・
BITS2BITS(I004, M0000);
Copy each
I004
I005
・・・
M0000
M0001
・・・
・・・
I023
M0017
BITS2WORD(I004, D0000);
WORD2BITS(D0100, M0000);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC FT1A Series and is the answer not in the manual?

IDEC FT1A Series Specifications

General IconGeneral
Programming SoftwareWindLDR
TypeProgrammable Logic Controller (PLC)
DisplayLCD (varies by model)
Communication PortsRS232C/RS485 (built-in), USB (programming), Ethernet (optional)
DimensionsVaries by model
WeightVaries by model
ModelFT1A Series

Related product manuals