EasyManuals Logo
Home>IDEC>Organizer>WindO/I-NV4

IDEC WindO/I-NV4 User Manual

IDEC WindO/I-NV4
1738 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 #1197 background imageLoading...
Page #1197 background image
WindO/I-NV4 User’s Manual 20-41
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 WindO/I-NV4 and is the answer not in the manual?

IDEC WindO/I-NV4 Specifications

General IconGeneral
BrandIDEC
ModelWindO/I-NV4
CategoryOrganizer
LanguageEnglish