EasyManuals Logo
Home>IDEC>Controller>SmartAXIS Touch FT1A Series

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 #901 background imageLoading...
Page #901 background image
SmartAXIS Touch User’s Manual 20-31
5 Script Coding Examples
20
Script
5.4 Arithmetic Operators
Script
Operation description
The values of LDR100 and LDR200 are added together and the result is stored in LDR300.
Script
Operation description
The value of LDR200 is subtracted from the value of LDR100 and the result is stored in LDR300.
Script
Operation description
The values of LDR100 and LDR200 are multiplied together and the result is stored in LDR300.
Script
Operation description
The value of LDR100 is divided into the value of LDR200 and the result is stored in LDR300.
Script
Operation description
The value of LDR100 is divided into the value of LDR200 and the remainder is stored in LDR300.
â– 
Example 5.4.1 Addition
[LDR 300] = [LDR 100] + [LDR 200];
â– 
Example 5.4.2 Subtraction
[LDR 300] = [LDR 100] - [LDR 200];
â– 
Example 5.4.3 Multiplication
[LDR 300] = [LDR 100] * [LDR 200];
â– 
Example 5.4.4 Division
[LDR 300] = [LDR 100] / [LDR 200];
â– 
Example 5.4.5 Modulo
[LDR 300] = [LDR 100] % [LDR 200];

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