EasyManua.ls Logo

FATEK FBs-CB2 - Page 156

FATEK FBs-CB2
348 pages
Print Icon
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...
Basic Function Instruction
6-31
FUN 14 D P
(/)
DIVISION
(Performs division of the data specified at Sa and Sb and stores the result in D)
FUN 14 D P
(/)
Example 2 32-bit division
Ladder Diagram Key Operations Mnemonic Codes
U/S
X0
EN
14P.(/)
0
2
4
R
Sa:
Sb:
R
ERR
D=0
D :
R
ORG
ORG X 0
FUN 14D
Sa R 0
Sb R 2
D R 4
R1 R0
Sa
2147483647
Dividend
R3 R2
÷ Sb
1234567
Divisor
R7 R6 R5 R4
D
571634 1739
Remainder Quotient

Other manuals for FATEK FBs-CB2

Related product manuals