EasyManuals Logo

IAI X-SEL User Manual

IAI X-SEL
535 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 #182 background imageLoading...
Page #182 background image
152
INTELLIGENT ACTUATOR
Part 4 Commands
MOD (Remainder of division)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1 Operand 2
Output
(Output, flag)
Optional Optional MOD
Variable
number
Data ZR
[Function] Assign, to the variable specified in 1, the remainder obtained by dividing the content of
the variable specified in operand 1 by the value specified in operand 2.
The output will turn ON when the operation result becomes 0.
(Note) A MOD command is used with integer variables.
[Example 1] LET 1 7 Assign 7 to variable 1.
MOD 1 3 Obtain the remainder of dividing the content of
variable 1 (7) by 3.
1 (73=2 with a remainder of 1) will be assigned to
variable 1.
[Example 2] LET 1 2 Assign 2 to variable 1.
LET 2 7 Assign 7 to variable 2.
LET 3 3 Assign 3 to variable 3.
MOD *1 *3 Obtain the remainder of dividing the content of
variable 1 (variable 2) by the content of variable 3
(3).
1 (73=2 with a remainder of 1) will be assigned to
variable 2.

Table of Contents

Other manuals for IAI X-SEL

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IAI X-SEL and is the answer not in the manual?

IAI X-SEL Specifications

General IconGeneral
BrandIAI
ModelX-SEL
CategoryController
LanguageEnglish

Related product manuals