Sending match strings with backslashes – Rockwell Automation 5370-OCR2 PAK User Manual
Page 76
Chapter 8
Communications and Results Processing
8–5
Command Description
Token
Example
Subset #1
0 = All
1 = Left
2 = Right
s1 subset
tooladj ”Toolset 1.Tool 1” s1 2
Subset #2
0 = All
1 = Left
2 = Right
s2 subset
tooladj ”Toolset 1.Tool 1” s2 0
Subset #3
0 = All
1 = Left
2 = Right
s3 subset
tooladj ”Toolset 1.Tool 1” s3 1
Subset #4
0 = All
1 = Left
2 = Right
s4 subset
tooladj ”Toolset 1.Tool 1” s4 2
Length #1
l1 length
tooladj ”Toolset 1.Tool 1” l1 10
Length #2
l2 length
tooladj ”Toolset 1.Tool 1” l2 5
Length #3
l3 length
tooladj ”Toolset 1.Tool 1” l3 9
Length #4
l4 length
tooladj ”Toolset 1.Tool 1” l4 7
When sending match strings with the tooladj command, the backslash (\) is a
special command character. To send a match string containing a backslash,
the command must have 2 consecutive backslashes.
Examples:
To set the first match string to
ABC\?
, you would use the following tooladj
command:
tooladj ”Toolset1.Tool 2” ms1 ”ABC\\?”
To set the first match string to
ABC\\
, you would use the following tooladj
command:
tooladj ”Toolset1.Tool 2” ms1 ”ABC\\\\”
Font files can be transferred to and from remote devices via RS–232 or
Remote I/O. Refer to the CVIM2 Communications Reference Manual for a
complete description of file transfers.
Appendix E of the CVIM2 Communications Reference Manual lists the file
type codes used for standard file types of the CVIM2. OCR font files use the
file type code ’o’ (lowercase O).
Type Code
File Type
o
OCR Font file
When a new font file is transmitted to the CVIM2 while it is on–line, the font
file will not be used by any OCR Tools until the CVIM2 is taken off–line and
then back on–line again.
Sending Match Strings
with Backslashes
Transferring Font Files