EasyManuals Logo
Home>NAiS>Controller>FP1

NAiS FP1 User Manual

Default Icon
280 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 #189 background imageLoading...
Page #189 background image
181
Outline Compares one 16-bit data with another.
Program example
Operands
Explanation of example
• Compares decimal constant K100 with the contents of data register DT0 when trigger X0 turns ON.
The compared result is stored in special internal relays R900A, R900B, and R900C.
When DT0 > K100, R900A turns ON and internal relay R0 turns ON.
When DT0 = K100, R900B turns ON and internal relay R1 turns ON.
When DT0 < K100, R900C turns ON and internal relay R2 turns ON.
In this program example, the comparison will be performed only when X0 turns ON.
Timer/Counter
EV
Relay
SVWRWYWX
Operand
S1
AAA A
A:
N/A: Not Available
Register
DT
A
IYIX
AA
HK
AA
Constant
Index
modifier
A
Index
register
Available
A
S2
AAA A A A A A A AA
6-3. Description of High-level Instructions
S1
S2
16-bit equivalent constant or 16-bit area to be compared
16-bit equivalent constant or 16-bit area to be compared
Ladder Diagram
Boolean Non-ladder
Address Instruction
20
X0
F60 CMP , DT 0 , K100
S1 S2
Be sure to use the same trigger
as the trigger used to execute F60 (CMP).
X0 R0
R900A
26
X0 R1
R900B
30
X0 R2
R900C
34
Trigger
20
21
26
27
29
30
31
33
34
35
37
ST X 0
F 60 (CMP)
DT 0
K 100
ST X 0
AN R 900A
OT R 0
ST X 0
AN R 900B
OT R 1
ST X 0
AN R 900C
OT R 2
F60
(CMP)
16-bit data compare
Availability
Step
5
All series

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NAiS FP1 and is the answer not in the manual?

NAiS FP1 Specifications

General IconGeneral
BrandNAiS
ModelFP1
CategoryController
LanguageEnglish

Related product manuals