EasyManuals Logo
Home>IDEC>Controller>OpenNet series

IDEC OpenNet series User Manual

IDEC OpenNet series
427 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 #175 background imageLoading...
Page #175 background image
11: BINARY ARITHMETIC INSTRUCTIONS
11-10 OPENNET CONTROLLER USERS MANUAL
ROOT (Root)
Valid Operands
For the valid operand number range, see page 6-2.
Since the ROOT instruction is executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction
should be used as required.
Valid Data Types
When a word operand such as D (data register) or L (link register) is designated as the source or destination, 1 point (word
data type) is used.
Examples: ROOT
Operand Function I Q M R T C D L Constant Repeat
S1 (Source 1) Binary data ——————XX X
D1 (Destination 1) Destination to store results —————— XX ——
W (word) I (integer) D (double word) L (long)
X ——
When input is on, the square root of operand designated by S1 is extracted and
is stored to the destination designated by D1.
Valid values are 0 to 65535. The square root is calculated to two decimals,
omitting the figures below the second place of decimals.
S1
D1
ROOT(W) S1
*****
D1
*****
D1
D20
D10 D20
I0
ROOT(W) S1
D10
3
D11
2
D10
4
D12
9997
D14
9998
D15
173
D21
141
D20
200
D22
9998
D24
9998
D25
Before Execution After Execution
D1
D21
D11 D21
I1
ROOT(W) S1
D11
D1
D22
D12 D22
I2
ROOT(W) S1
D12
D1
D24
D14 D24
I4
ROOT(W) S1
D14
D1
D25
D15 D25
I5
ROOT(W) S1
D15
2 1.41=
9998 99.98=
9997 99.98=
4 2.00=
3 1.73=
55
D13
741
D23
D1
D23
D13 D23
I3
ROOT(W) S1
D13
55 7.4161=
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC OpenNet series and is the answer not in the manual?

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals