EasyManua.ls Logo

IDEC WindO/I-NV4 - Page 1195

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
Loading...
WindO/I-NV4 User’s Manual 20-39
5 Script Coding Examples
20
Script
Script
Operation description
If the value of LDR100 is less than or equal to the value of LDR200, then 0x100 is stored in LDR300.
Script
Operation description
If the value of LDR100 is greater than the value of LDR200, then 0x100 is stored in LDR300.
Script
Operation description
If the value of LDR100 is greater than or equal to the value of LDR200, then 0x100 is stored in LDR300.
Example 5.2.4 Less than or equal to
if ([LDR 100] <= [LDR 200])
{
[LDR 300] = 0xl00;
}
Example 5.2.5 Greater than
if ([LDR 100] > [LDR 200])
{
[LDR 300] = 0xl00;
}
Example 5.2.6 Greater than or equal to
if ([LDR 100] > [LDR 200])
{
[LDR 300] = 0xl00;
}

Table of Contents