Rockwell Automation 2755 Enhanced Decoder Series B User Manual
Page 239
Advertising
![background image](/manuals/580788/239/background.png)
15–51
ASCII Host Commands
Publication 2755-833
SR - Set Search and Replace Rule for Host Message Fields
(continued)
Example:
Command:
SR02013010009004807^S(.*)$02\1
Parameters:
02 01 3 01 00 09 0 048 07 ^S(.*)$ 02 \1
Command
Parameters
Parameter Function
Values
nn
The number of the Search and
Replace Rule
02
mm
The host message field number
01
s
Source
3=A|B
cc
Symbology
01=Code 39
bb
Symbol number
00=All
ff
Minimum field length
09
a
Alignment
0=Right
ppp
Fill character
048=0
ll
Length of search pattern string
07
String
Search pattern string
^S(.*)$
ll
Length of replace pattern string
02
String
Replace pattern string
\1
Response:
= 00CR
00 =
command complete
response code
CR =
end of message control code
for Carriage Return.
Advertising