173
ifm Vision Assistant O3M
UK
15.12.4 Example for the "Analogue output" module
In the example, a device is connected to a mobile controller via the CAN interface. The device scales the
signals to 0..1. The signals are then output via the mobile controller via a physical analogue switching
output.
Description of the modules used in the example:
Module
number
Module Description
1 Basic function The x values are filtered out (distance of ROI group 1).
2 Fixed value The fixed value "0" determines the start value for scaling.
3 Fixed value The fixed value "10" determines the end value for scaling.
4 Scale
The x-values are set to the control range 0...10 m. Example:
Distance x
[m]
12.32 10.76 8.34 5.19 4.32 1.84 -0.08 3.97 8.75 10.12
Scaled
distance
[12 bit]
1 1 0.834 0.519 0.432 0.184 0 0.397 0.875 1
Analogue
output [mA]
20 20 16.68 10 8.64 3.68 0 7.94 17.5 1
5 Analogue output The x-values are scaled to 0..1 and output via the CAN interface.
To be able to process the analogue output values as current or voltage values via a physical
output, a programmable controller is required.