EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

IDEC MICROSmart FC6A Series
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #161 background imageLoading...
Page #161 background image
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 7-3
7: B
INARY
A
RITHMETIC
I
NSTRUCTIONS
Examples: ADD
•Data Type: Word
This example demonstrates the use of a carry signal from special internal relay M8003 to set an alarm signal.
• Data Type: Integer
•Data Type: Double Word
• Data Type: Long
•Data Type: Float
Example: SUB
•Data Type: Word
The following example demonstrates the use of special internal relay M8003 to process a borrow.
I0
REPS2 –
500
D1 –
D2
SOTU
M8003
I1
Acknowledge
Pushbutton
S1 –
D2
ADD(W)
Q0
S
Q0
R
D2 + 500 → D2
When a carry occurs, output Q0 is assigned as a warning indicator.
When the acknowledge pushbutton (input I1) is pressed, the warning
indicator is reset.
I0
REPS2 –
D20
D1 –
D30
S1 –
D10
ADD(I)
–4
D10 +
–15
D30
–11
D20
+1957400
D10·D11
4112600
D20·D21
6070000
D30·D31
I0
REPS2 –
D20
D1 –
D30
S1 –
D10
ADD(D)
+216283
D10·D11
–964355
D20·D21
–748072
D30·D31
I0
REPS2 –
D20
D1 –
D30
S1 –
D10
ADD(L)
+1.414
D10·D11
3.14
D20·D21
4.554
D30·D31
I0
REPS2 –
D20
D1 –
D30
S1 –
D10
ADD(F)
D12 – 7000 → D12
Borrow is processed so that the number of times a borrow
occurs is subtracted from D13.
When a borrow occurs, D13 is decremented by one.
I0
SOTU
M8003
REPS2 –
7000
D1 –
D12
S1 –
D12
SUB(W)
REPS2 –
1
D1 –
D13
S1 –
D13
SUB(W)

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals