FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
8-5
8: 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 type, data register D999 or D1999 cannot be used as
destination device D1. When using a bit device such as internal relay for destination, 32 internal relays are required; so M1241 or a larger number
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 type, data register D999 or D1999 cannot be used as
destination device D1. When using a bit device such as internal relay for destination, 32 internal relays are required; so M1241 or a larger number
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 type, data registers D997 through D999 or D1997
through D1999 cannot be used as destination device D1. When using a bit device such as internal relay for destination, 64 internal relays are
required; so M1201 or a larger number 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 type, data registers D997 through D999 or D1997 through
D1999 cannot be used as destination device D1. When using a bit device such as internal relay for destination, 64 internal relays are required; so
M1201 or a larger number 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 type, data register D999 or D1999 cannot be used as
destination device D1.
When input I2 is on, data of D10 is divided by data of D20. 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
I1
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(D)
÷
100000
D10·D11
70000
D20·D21
1
D30·D31
30000
D32·D33
Quotient
Remainder
I1
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(L)
÷
100000
D10·D11
–70000
D20·D21
–1
D30·D31
30000
D32·D33
Quotient
Remainder
I1
REP
S2 –
D20
D1 –
D30
S1 –
D10
DIV(F)
÷
4.43996
D10·D11
3.14
D20·D21
1.414
D30·D31
Quotient
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...