EasyManuals Logo

IDEC OpenNet series User Manual

IDEC OpenNet series
427 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 #131 background imageLoading...
Page #131 background image
7: BASIC INSTRUCTIONS
7-18 OPENNET CONTROLLER USERS MANUAL
DC= and DC (Data Register Comparison)
The DC= instruction is an equivalent comparison instruction for data register values. This instruction will constantly com-
pare data register values to the value that has been programmed in. When the data register value equals the given value, the
desired output will be initiated.
The DC instruction is an equal to or greater than comparison instruction for data register values. This instruction will
constantly compare data register values to the value that has been programmed in. When the data register value is equal to
or greater than the given value, the desired output will be initiated.
When a data register comparison instruction is programmed, two addresses are required. The circuit for a data register
comparison instruction must be programmed in the following order: the DC= or DC instruction, a data register number
D0 through D7999, followed by the preset value to compare from 0 to 65535.
The preset value can be designated using a decimal constant or a data register D0 through D7999. When a data register is
used, the data of the data register becomes the preset value.
The DC= and DC instructions can be used repeatedly for different preset values.
The comparison instructions also serve as an implicit LOD instruction, and must be programmed at the beginning of a
ladder line.
The comparison instructions can be used with internal relays, which are ANDed or ORed at a separate program
address.
Like the LOD instruction, the comparison instructions can be followed by the AND and OR instructions.
To compare three values, use the ICMP (interval compare greater than or equal to). See page 10-4.
Ladder Diagram (DC=)
Ladder Diagram (DC)
Data register # to compare with
Preset value to compare
DC=
50
D2
DC>=
D15
D3
Prgm Adrs Instruction Data
0
1
2
DC=
OUT
D2
50
Q0
Program List
Prgm Adrs Instruction Data
0
1
2
DC>=
OUT
D3
D15
Q1
Program List
Q0
Q1
Ladder Diagram
Prgm Adrs Instruction Data
0
1
2
3
4
5
DC=
OUT
LOD
AND
OUT
D5
10
M0
I0
M0
Q0
Program List
Ladder Diagram
Prgm Adrs Instruction Data
0
1
2
3
DC=
AND
OUT
D5
10
I0
Q0
Program List
Prgm Adrs Instruction Data
0
1
2
3
DC=
OR
OUT
D5
10
I0
Q0
Program List
Ladder Diagram
I0
I0
M0
DC=
10
D5 DC=
10
D5
I0
DC=
10
D5
Q0
M0
Q0
Q0
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC OpenNet series and is the answer not in the manual?

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals