EasyManua.ls Logo

Automationdirect.com DL06 - Page 372

Automationdirect.com DL06
533 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-211
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Managing the ASCII Strings
The following instructions can be helpful in managing the ASCII strings within the CPUs
V–memory:
• ASCII Find (AFIND) – Finds where a specific portion of the ASCII string is located in
continuous V–memory addresses. Forward and reverse searches are supported.
• ASCII Extract (AEX) – Extracts a specific portion (usually some data value) from the ASCII
find location or other known ASCII data location.
• Compare V–memory (CMPV) – This instruction is used to compare two blocks of V–
memory addresses and is usually used to detect a change in an ASCII string. Compared data
types must be of the same format (i.e., BCD, ASCII, etc.).
• Swap Bytes (SWAPB) – usually used to swap V–memory bytes on ASCII data that was written
directly to V–memory from an external HMI or similar master device via a communications
protocol. The AIN and AEX instructions have a built–in byte swap feature.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
a
b
c
D