EasyManuals Logo
Home>IDEC>Controller>FT1A Series

IDEC FT1A Series User Manual

IDEC FT1A Series
393 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 #315 background imageLoading...
Page #315 background image
S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378 13-11
13: S
CRIPTS
â– 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/FB 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 .

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

IDEC FT1A Series Specifications

General IconGeneral
BrandIDEC
ModelFT1A Series
CategoryController
LanguageEnglish

Related product manuals