Special Math Instructions
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.
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
571
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?
Questions and answers