
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
7-5
7: B
INARY
A
RITHMETIC
I
NSTRUCTIONS
Examples: DIV
• Data Type: Word
Note:
Since the destination uses two word devices in the division operation of word data, data register such as D7999 cannot be used as
destination device D1. When using a bit device, such as internal relay for destination, 32 internal relays are required; so internal relay such as
M7961 cannot be used as destination device D1.
• Data Type: Integer
Note:
Since the destination uses two word devices in the division operation of integer data, data register such as D7999 cannot be used as
destination device D1. When using a bit device, such as internal relay for destination, 32 internal relays are required; so internal relay such as
M7961 cannot be used as destination device D1.
• Data Type: Double Word
Note:
Since the destination uses four word devices in the division operation of double-word data, data registers such as D7997 cannot be used as
destination device D1. When using a bit device such as internal relay for destination, 64 internal relays are required; so internal relay such as M7921
cannot be used as destination device D1.
• Data Type: Long
Note:
Since the destination uses four word devices in the division operation of long data, data registers such as D7997 cannot be used as
destination device D1. When using a bit device, such as internal relay for destination, 64 internal relays are required; so internal relay such as
M7921 cannot be used as destination device D1.
• Data Type: Float
Note:
Since the destination uses two word devices in the division operation of float data, data register such as D7999 cannot be used as destination
device D1.
When input I2 is on, D10 data is divided by D20 data. The quotient is set to D30,
and the remainder is set to D31.
I2
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(W)
Quotient
Remainder
50
D10
÷
7
D30
7
D20
1
D31
I2
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(I)
Quotient
Remainder
50
D10
÷
–7
D30
–7
D20
1
D31
÷
100000
D10·D11
70000
D20·D21
1
D30·D31
30000
D32·D33
r
e
d
n
i
a
m
e
R
t
n
e
i
t
o
u
Q
I1
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(D)
÷
100000
D10·D11
–70000
D20·D21
–1
D30·D31
30000
D32·D33
r
e
d
n
i
a
m
e
R
t
n
e
i
t
o
u
Q
I1
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(L)
÷
4.43996
D10·D11
3.14
D20·D21
1.414
D30·D31
Quotient
I1
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(F)
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...