Omron CS1G/H-CPUxxH Instructions Manual page 517

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Special Math Instructions
1,2,3...
496
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.
The values after the decimal
point should be rounded.
@BSET
@MOV
@ROOT
@MOV
@MOV
@MOVD
@MOVD
@INC
D00101
D00100
0
0
0
0
0
0
0
0
0000
0000
010
6
0
1
7
D00101
D00100
6
0
1
7
0
0
0
0
Section 3-14
1
2
3
4
5

Advertisement

Table of Contents
loading

Table of Contents