ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
More functions in the ecomatmobile controller
Processing analogue input values
249
10.8.1
Function INPUT_ANALOG
Contained in the library:
ifm_CRnnnn_Vxxyyzz.LIB
Available for the following devices:
•
CabinetController: CR0301, CR0302, CR0303
•
ClassicController: CR0020, CR0505
•
ExtendedController:
CR0200
•
SafetyController: CR7020, CR7200, CR7505
(For safety signals use function SAFE_ANALOG_OK in addition!)
•
SmartController:
CR2500
Function symbol:
INPUT_ANALOG
ENABLE
MODE
CHANNEL
OUT
Description
INPUT_ANALOG enables current and voltage measurements at the analogue channels.
The function provides the current analogue value at the selected analogue channel. The measurement
and the output value result from the operating mode specified via MODE (digital input, 0...20 mA,
0...10 V, 0...30 V). For parameter setting of the operating mode, the indicated global system variables
should be used. The analogue values are provided as standardised values.
Parameters of the function inputs
Name
Data type Description
ENABLE
BOOL
TRUE: function is executed
FALSE: function is not executed
MODE BYTE
IN_DIGITAL_H
IN_CURRENT
IN_VOLTAGE10
IN_VOLTAGE30
IN_VOLTAGE32
IN_RATIO
digital input
current input
0...20 000
μ
A
voltage input
0...10 000 mV
voltage input
0...30 000 mV
voltage input
0...32 000 mV
ratiometric analogue input
INPUT_CHANNEL BYTE Input
channel