125
3)Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD; DM
includes DM, DHM; DS includes DS, DHS. M includes M,HM,SM
;
S includes S,HS
;
T
includes T,HT
;
C includes C, HC.
<16 bits operation>
S1 appoints the dividend soft component,S2 appoints the divisor soft component, and D
specifies the software component and the next number of the software component to be
deposited and the remainder .
In the above example, if input X0 is ON, devision operation is executed every scan cycle.
<32 bits operation>
DDIV D0 D2 D4
X1
S1· S2· D·
The dividend is composed by the device appointed by S1 and the next one. The divisor is
composed by the device appointed by S2 and the next one. The result and the remainder are
stored in the four sequential devices, the first one is appointed by D.
Dividend Divisor Result Remainder
BIN BIN BIN BIN
(D0) ÷ (D2) → (D4) ┅ (D5)
16 bits 16 bits 16 bits 16 bits
Dividend Divisor Result Remainder
BIN BIN BIN BIN
(D1,D0) ÷ (D3,D2) → (D5,D4) ┅ (D7,D6)
32 bits 32 bits 32 bits 32 bits
tudonghoatoancau.com