EasyManua.ls Logo

IDEC SmartAXIS Touch FT1A Series

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
Loading...
SmartAXIS Touch User’s Manual 20-29
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

Related product manuals