EasyManua.ls Logo

IFM O3M150 - Text Replacement - DI Specific Codes

IFM O3M150
188 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...
ifm Vision Assistant O3M
180
Placeholder Replacement Data type Comment Examples Application
%2e<n>
Logic Output
number n
displayed as
"on" / "off".
boolean
(on, off)
n=000..099
%2e001% ==> displays
the value of the calculated
digital output #1, e.g. "off"
general text replacement
(used in standard text
primitives, cannot be used
for text bound to dynamic
overlays)
%2f<n>
Logic Output
number n
displayed as "1"
/ "0".
uint8 (0,1) n=000..099
%2f001% ==> displays
the value of the calculated
digital output #1, e.g. "0"
general text replacement
(used in standard text
primitives, cannot be used
for text bound to dynamic
overlays)
%2g<n>
%2h<n>
%2i<n>
Analog Output
number n
float(1,1)
float(1,2)
float(1,3)
n=00..19
%2g10% ==> displays the
value of the virtual analog
output12, e.g.0,52
general text replacement
(used in standard text
primitives, cannot be used
for text bound to dynamic
overlays)
%2j<n>
Logic Input
number n
displayed as
"on" / "off".
boolean
(on, off)
n=00..13
%2j12 ==> displays the
value of the CAN signal
for the digital input12, e.g.
"on"
general text replacement
(used in standard text
primitives, cannot be used
for text bound to dynamic
overlays)
%2k<n>
Logic Input
number n
displayed as "1"
/ "0".
uint8 (0,1) n=00..13
%2k12 ==> displays the
value of the CAN signal
for the digital input#12,
e.g. "1"
general text replacement
(used in standard text
primitives, cannot be used
for text bound to dynamic
overlays)
%2l<n>
%2m<n>
%2n<n>
Analog Input
number n
float(1,1)
float(1,2)
float(1,3)
n=0..5
%2m5 ==> displays the
value of the CAN signal
for the analog input #5,
e.g. 0,5
general text replacement
(used in standard text
primitives, cannot be used
for text bound to dynamic
overlays)
16.2.4 Text replacement – DI specic codes
The codes in this paragraph represent process values of the ROI calculation, available only in the DI/BF
version.
Some of the replacement codes are valid only if the text is placed in relation to an ROI. In this case, the
text "knows" which ROI event is referred to. It is not necessary to set the ROI number in the code. This
is currently not available in Vision Assistant. There is a text replacement code always available with the
same functionality but with explicit addressing.
Placeholder Replacement Data type Comments Examples Application
%01<n>
%02<n>
%03<n>
the x value of
the calculated
pixel in the ROI
group number n,
unit [m]
float (3.0)
float (3.1)
float (3.2)
n=01..64
%0204 ==> output will be
the function result for axis
x of ROI group 4, with one
fraction
general text replacement
(used in standard text
primitives, cannot be used
for text bound to ROI
overlay)
4%
5%
6%
the x value of the
calculated pixel
in the associated
ROI group, unit
[m]
float (3,0)
float (3,1)
float (3,2)
only valid for text, that
is related to ROIs
%06 ==> e.g. results in
"5.15", if the result for the x
axis of the ROI group was
5.15234m
associated text
replacement (used only
for text bound to ROI
overlay, cannot be used in
standard text primitives)
- therefore no ROI group
number necessary
%37<n>
%38<n>
%39<n>
the y value of
the calculated
pixel in the ROI
group number n,
unit [m]
float (3.0)
float (3.1)
float (3.2)
n=00..63
%3700 ==> output will be
the function result for axis
y of ROI group 0, with no
fraction
general text replacement
(used in standard text
primitives, cannot be used
for text bound to ROI
overlay)
9%
%0a
%0b
the y value of the
calculated pixel
in the associated
ROI group, unit
[m]
float (3.0)
float (3.1)
float (3.2)
only valid for text, that
is related to ROIs
%0b ==> e.g. results in
"5.15", if the result for the y
axis of the ROI group was
5.15234m
associated text
replacement (used only
for text bound to ROI
overlay, cannot be used in
standard text primitives)
- therefore no ROI group
number necessary

Table of Contents