EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Loading...
570
Special Math Instructions Section 3-14
1,2,3... 1. The source words (D00101 and D00100) to be are cleared to 0000 0000.
2. The 4-digit number is moved to D00101.
3. ROOT(072) calculates the square root of D00101 and D00100 and writes
the result to D00102.
1
2
3
4
5
@BSET
@MOV
@ROOT
@MOV
@MOV
@MOVD
@MOVD
@INC
The values after the decimal point
should be rounded.
D00101 D00100
0 0 0 0 0 0 0 0
00000000
010
6 0 1 7
D00101 D00100
6 0 1 7 0 0 0 0

Table of Contents

Related product manuals