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 #515 background imageLoading...
Page #515 background image
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 26-13
26: S
CRIPT
â– Halt and exit
Operator
Device, constant, and temporary device are described as , here, and expressions are described as , , .
â– Relational operator
â– Logical operator
â– Arithmetic operator
Format Description
break
while ( )
{
if ( )
{
;
break;
}
;
}
;
Process will be as follows while the conditional expression 1 is satisfied.
Execution line 2 is continuously executed while the conditional expression 2 is not
satisfied.
Once the conditional expression 2 is satisfied, the execution goes out of the loop by
break (not executing execution line 2), and execution line 3 is executed.
break
switch ( )
{
case constant 1:
;
break;
case constant 2:
;
break;
}
;
When the conditional expression matches the constant 1, execution line 1 is executed
and the switch execution is terminated by break. Evaluation for constant 2 is not
executed, and the execution moves to execution line 3.
return return; Script will exit and the next instruction in the user program is executed.
Operator Format Description
==
==
Compares if is equal to .
!=
!=
Compares if is not equal to .
<
<
Compares if is less than .
<=
<=
Compares if is less than or equal to .
>
>
Compares if is greater than .
>=
>=
Compares if is greater than or equal to .
Operator Format Description
&&
( ) && ( )
Calculates the logical product (AND) of and .
||
( ) || ( )
Calculates the logical sum (OR) of and .
!
!( )
Inverse the logic of .
Operator Format Description
+
+
Adds and .
-
-
Subtracts from .
*
*
Multiplies and .
/
/
Divides by .
%
%
Calculates remainder after dividing by .
=
=
Assigns to .

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