EasyManuals Logo

IDEC SmartAXIS Touch FT1A Series User Manual

IDEC SmartAXIS Touch FT1A Series
1232 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 #912 background imageLoading...
Page #912 background image
5 Script Coding Examples
20-42 SmartAXIS Touch User’s Manual
Script
Operation description
Copies the value of 10 word devices from LDR200 (up to LDR209) to 10 word devices from LDR100 (up to LDR109).
Script
Operation description
Copies the third bit of 10 words from LDR100 (up to LDR109) to the bit state for 10 bits of devices from LM0 (up to LM9).
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).
*1 Control function only
â– 
Example 5.7.24 Word-unit data copy
MEMCPY([LDR 100], [LDR 200], 10);
LDR100
LDR101
LDR102
LDR108
LDR109
LDR200
LDR201
LDR202
LDR208
LDR209
Copy each
LDR107
LDR207
Even if the data type is set to BIN32+, BIN32+/-, BCD8, or float32, the data is copied from the starting
device in word units.
â– 
Example 5.7.25 Bit-unit data copy
MEMCPY([LM 0], [LDR 100-2], 10);
3rd bit of LDR100
3rd bit of LDR101
3rd bit of LDR102
3rd bit of LDR108
3rd bit of LDR109
LM0
LM1
LM2
LM8
LM9
3rd bit of LDR107
LM7
Copy each
Even if the data type is set to BIN32+, BIN32+/-, BCD8, or float32, the bits are copied from the starting
device in bit units.
â– 
Example 5.7.26
Copy 1 word from bit devices to bit devices
*1
BITS2BITS(I004, M0000);
M0000
M0001
I004
I005
Copy each
M0017
I023

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

IDEC SmartAXIS Touch FT1A Series Specifications

General IconGeneral
BrandIDEC
ModelSmartAXIS Touch FT1A Series
CategoryController
LanguageEnglish

Related product manuals