EasyManuals Logo

IDEC MICRO/I HG1P-ST32 Series User Manual

IDEC MICRO/I HG1P-ST32 Series
1665 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 #1149 background imageLoading...
Page #1149 background image
WindO/I-NV4 User’s Manual 20-39
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 MICRO/I HG1P-ST32 Series and is the answer not in the manual?

IDEC MICRO/I HG1P-ST32 Series Specifications

General IconGeneral
BrandIDEC
ModelMICRO/I HG1P-ST32 Series
CategoryControl Panel
LanguageEnglish

Related product manuals