Publication 1762-RM001C-EN-P
ASCII Instructions 20-27
Entering Parameters
Enter the following parameters when programming this instruction:
•
Source A is the location of the first string used for comparison.
•
Source B is the location of the second string used for comparison.
Addressing Modes and File Types can be used as shown below:
Instruction Operation
If the string length of Source A or Source B exceeds 82 characters, the
ASCII String Manipulation Error bit (S:5/15) is set and the rung goes false.
Table 20.30 ASR Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page4-2.
Parameter
Data Files
(1)
(1) The Control data file is the only valid file type for the Control Element.
Function Files
CS - Comms
IOS - I/O
Address
Mode
Address
Level
O
I
S
B
T, C, R
N
ST
L
MG, PD
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
DAT
TPI
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Source A • • •
Source B •
• •