IDEC MICROSmart FC6A Series Ladder Programming Manual page 162

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

7: B
A
INARY
RITHMETIC
Examples: MUL
• Data Type: Word
MUL(W)
S1 –
D10
I1
When input I1 is on, data of D10 is multiplied by data of D20, and the result is set to D30 and D31.
• Data Type: Integer
MUL(I)
S1 –
D10
I1
• Data Type: Double Word
MUL(D)
S1 –
D10
I1
D10·D11
Note: In multiplication of double word data, the lower 32-bit data of the result is set to destination device D1·D1+1.
• Data Type: Long
MUL(L)
S1 –
D10
I1
D10·D11
Note: In multiplication of long data, the lower 32-bit data of the result is set to destination device D1·D1+1.
• Data Type: Float
MUL(F)
S1 –
D10
I1
D10·D11
Note: Since the destination uses two word devices in the multiplication operation, 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.
7-4
I
NSTRUCTIONS
S2 –
D1 –
REP
D20
D30
S2 –
D1 –
REP
D20
D30
S2 –
D1 –
REP
D20
D30
×
100000
D20·D21
S2 –
D1 –
REP
D20
D30
×
–100000
D20·D21
S2 –
D1 –
REP
D20
D30
×
4.554
D20·D21
FC6A S
MICROS
ERIES
MART
500
×
D10
D
2
0
(01F4h)
–500
×
D10
D
2
0
(FE0Ch)
5000
–5000
1.414
L
P
M
ADDER
ROGRAMMING
ANUAL
600
D
3
0
D ·
3
1
(0258h)
D30
(0004h)
37856
D31
(93E0h)
600
D
3
0
D ·
3
1
(0258h)
65531
D30
(FFFBh)
27680
D31
(6C20h)
500000000
D30·D31
D30·D31
500000000
D30·D31
6.439356
FC9Y-B1726
300000
(000493E0h)
4
–300000
(FFFB6C20h)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents