Set Up and Maintenance
9836 3521 01
143
This string is then tested against the
Significant strings
one by one, starting from the top, until a match is
found.
If a match is found, and a
Code
is specified for the matching string, its value is returned. If there is no
match, or the
Code
column is empty, the result is set to NOT_DEFINED (-32768).
The resulting Code is available in the PLC as input IDCODE if the table is a part of the Work piece
identifier configuration, or as the input IDTYPE_1_CODE if it is a part of the Multiple identifiers setup. See
PLC chapters: Station variables and Multiple identifier variables for a description of the respective input.
The
Significant strings
may consist of all characters having an ASCII code between 31 and 126. The
exact number of entries (N) that can be entered depends on the length (L) of the
Significant strings
according the following formula: N = MIN(200, 4500 / (L + 3)). Example: If all strings are 27 characters
long then 150 rows can be entered.
Significant string syntax
<Significant string> ::= <RegularExpr> <OptRangeCheck>
<RegularExpr> ::= <Expression> <OptExpression>
<OptExpression> ::= <Expression> <OptExpression> | NOTHING
<Expression> ::= See table below.
<OptRangeCheck> ::= ';' <TagRef> <RelOp> <IntegerValue> <OptRangeCheck> | NOTHING
<TagRef> ::= '\'N where N is a number from 1 to 9. Represents the value of
the Nth "tagged expression" found in <RegularExpr> from the left.
See the below table for a definition of a "tagged expression".
<RelOp> ::= '<' | '>' | '=' | '<=' | '>='
<IntegerValue> ::= A sequence of decimal digits representing an integer number in
the range [0..999 999 999]
Expression
Syntax
Description
Any one character
?
Matches any one character.
Zero or more characters
*
Matches zero or more occurrences of any alphanumerical character.
One alphabetic character
:c
Matches one alphabetic character [a-zA-Z].
One decimal digit
:d
Matches one decimal digit [0-9].
One hexadecimal digit
:h
Matches one hexadecimal digit [0-9A-F].
Tagged expression
{}
Tags the text matched by the enclosed expression. The enclosed
expression must either be a sequence of decimal digits or a sequence
of hexadecimal digits. The value of the enclosed expression can be
referred to in a subsequent range check (see
<OptRangeCheck>
).
Example: {ddd} or {hhhh}
Escape
\
Matches the character following the backslash (\). This allows you to
find characters used in the regular expression notation, such as { and :.
Summary of Contents for PowerMACS 4000
Page 2: ......
Page 46: ...System Architecture 46 9836 3521 01...
Page 267: ...Tightening 9836 3521 01 267...
Page 400: ...Tightening 400 9836 3521 01...
Page 486: ...Peripheral Devices 486 9836 3521 01...
Page 622: ...Peripheral Devices 622 9836 3521 01...
Page 664: ...References 664 9836 3521 01...
Page 668: ...9836 3521 01 2010 11 Edition 10 3 0 www atlascopco com...