EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

IDEC MICROSmart FC6A Series
604 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 #526 background imageLoading...
Page #526 background image
26: S
CRIPT
26-24 FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
2. Relational Operators
Example 2.1 Equal to
Script
Operation Description
If the value of D0100 is equal to the value of D0102, then 0x100 is stored in D0103.
Example 2.2 Not equal to
Script
Operation Description
If the value of D0100 is not equal to the value of D0102, then 0x100 is stored in D0103.
Example 2.3 Less than
Script
Operation Description
If the value of D0100 is less than the value of D0102, then 0x100 is stored in D0103.
Example 2.4 Less than or equal to
Script
Operation Description
If the value of D0100 is less than or equal to the value of D0102, then 0x100 is stored in D0103.
Example 2.5 Greater than
Script
Operation Description
If the value of D0100 is greater than the value of D0102, then 0x100 is stored in D0103.
Example 2.6 Greater than or equal to
Script
Operation Description
If the value of D0100 is greater than or equal to the value of D0102, then 0x100 is stored in D0103.
if ([D0100] == [D0102])
{
[D0103] = 0x100;
}
if ([D0100] != [D0102])
{
[D0103] = 0x100;
}
if ([D0100] < [D0102])
{
[D0103] = 0xl00;
}
if ([D0100] <= [D0102])
{
[D0103] = 0xl00;
}
if ([D0100] > [D0102])
{
[D0103] = 0xl00;
}
if ([D0100] >= [D0102])
{
[D0103] = 0xl00;
}

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals