Herunterladen Inhalt Inhalt Diese Seite drucken

Structure Components - IFM Electronic Ecomat 100 Handbuch

Vorschau ausblenden Andere Handbücher für Ecomat 100:
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

■ Data structure:
CR2102 ConfigStruct
■ Purpose:
Parameter and configuration data
can be written or read.
The data structure is assigned to the
function input "CFG_DATA" via the
ADR operator.

■ Structure components

Name
Data type
GUARDTIME
TIME
LIFETIME
BYTE
Resolution
WORD
Resolution
BOOL
Write
Enable
Longitudinal axis (X)
SlopeLong
BOOL
Sign
SlopeLong
BOOL
ScaleEnable
SlopeLong
INT
Preset
Description
Guarding time of the inclination sensor [ms]
Guarding time of the inclination sensor
Measured value resolution for the two axes
100 = 0,1° (signed int)
500 = 0,5° (signed int)
1000 = 1,0° (signed int)
A modification of the resolution is not valid until the sensor has
been reset (voltage ON/OFF).
TRUE:
Sets the value from Resolution as new resolution
Representation of the sign of the inclination of the longitudinal axis.
FALSE (0) = as indicated by the manufacturer on the housing label
TRUE (1) = inverted sign
If the variable TRUE is set, the inclination of the longitudinal axis
is scaled depending on the entered values
"SlopeLongPreset" and "SlopeLongDifferential".
FALSE (0) = scaling deactivated
TRUE (1) = scaling activated
Corrects the measured sensor value.
The inclination of the longitudinal axis is set to the entered value.
The offset can be retrieved via "SlopeLongOffset".
To adopt the value the input "CFG_WRITE" must be set to TRUE
until the output "CFG_RESULT" has again the value "1".
(See parameter setting and alignment of the sensor, page 37)
INCLINATION SENSOR
TYPE CR2102 ConfigStruct
STRUCT
GUARDTIME: TIME;
LIFETIME: BYTE;
Resolution: WORD;
ResolutionWriteEnable: BOOL;
SlopeLongSign: BOOL;
SlopeLongScaleEnable: BOOL;
SlopeLongPreset: INT;
SlopeLongOffset:: INT;
SlopeLongDifferential: INT;
SlopeLateralSign: BOOL;
SlopeLateralScaleEnable: BOOL;
SlopeLateralPreset: INT;
SlopeLateralOffset:: INT;
SlopeLateralDifferential: INT;
END_STRUCT
END_TYPE
CR2102
41
PAGE

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Cr2102

Inhaltsverzeichnis