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 #915 background imageLoading...
Page #915 background image
SmartAXIS Touch User’s Manual 20-45
5 Script Coding Examples
20
Script
Script
Operation description
Finds the length (character count) of the string starting from LDR200 and stores that in LDR100.
â– 
Example 5.7.30 Count a string
[LDR 100] = STRLEN([LDR 200]);
• The only devices that can be specified as function arguments in string operations are internal devices.
• The NULL terminating character (0x00) is the end of the string. (The terminating character is not included
in the string length.)
Device
Stored value
Device
Stored value
LDR200
Upper byte
'A' = 0x41
LDR100 7
Lower byte
'B' = 0x42
LDR201
Upper byte
'C' = 0x43
Lower byte
'D' = 0x44
LDR202
Upper byte
'E' = 0x45
Lower byte
'F' = 0x46
LDR203
Upper byte
'G' = 0x47
Lower byte
0x00
Device
Stored value
Device
Stored value
LDR200
Upper byte
'A' = 0x41
LDR100 3
Lower byte
'B' = 0x42
LDR201
Upper byte
'C' = 0x43
Lower byte
0x00
LDR202
Upper byte
'E' = 0x45
Lower byte
'F' = 0x46
LDR203
Upper byte
'G' = 0x47
Lower byte
0x00
Character
count
Terminating character
Character
count
Terminating character

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