EasyManuals Logo

Automationdirect.com DirectLOGIC DL205 Series User Manual

Automationdirect.com DirectLOGIC DL205 Series
587 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 #438 background imageLoading...
Page #438 background image
DL205 User Manual, 4th Edition, Rev. B
5–221
Chapter 5: Standard RLL Instructions - ASCII
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
ASCII Compare (CMPV)
The ASCII Compare instruction compares two groups of V–memory registers. The CMPV
will compare any data type (ASCII to ASCII, BCD to BCD, etc.) of one series (group) of
V–memory registers to another series of V–memory registers for a specified byte length.
“Compare from” Starting Address:
specifies the begining V–memory register
of the first group of V–memory registers
to be compared from.
“Compare to” Starting Address:
specifies the begining V–memory register
of the second group of V–memory
registers to be compared to.
Number of Bytes: specifies the length of
each V–memory group to be compared
SP61 = 1 (ON), the result is equal
SP61 = 0 (OFF), the result is not equal
CMPV Example
The CMPV instruction executes when the AIN instruction is complete. If the compared
V–memory tables are equal, SP61 will turn ON.
ý
ý
ý
þ
230
240
250-1
260
Parameter DL260 Range
Compare from Starting Address All V-memory (See page 3 - 56)
Compare to Starting Address All V-memory (See page 3 - 56)
Number of Bytes
All V-memory (See page 3 - 56)
or K0-127
Discrete Bit Flags Description
SP53 On if the CPU cannot execute the instruction.
SP61 On when result is equal.
SP71 On when a value used by the instruction is invalid.
Strings are equal
C1
OUT
AIN Complete
CMPV
"Compare from" Starting Address: V3400
"Compare to" Starting Address: V3500
Number of Bytes: K12
C11
SP61
DS Used
HPP N/A

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Automationdirect.com DirectLOGIC DL205 Series and is the answer not in the manual?

Automationdirect.com DirectLOGIC DL205 Series Specifications

General IconGeneral
BrandAutomationdirect.com
ModelDirectLOGIC DL205 Series
CategoryController
LanguageEnglish

Related product manuals