Herunterladen Inhalt Inhalt Diese Seite drucken

Programming; Programming Function - IFM Electronic Ecomat 100 Handbuch

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

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

CR2102
INCLINATION SENSOR

Programming

General
The inclination sensor must be initialised as CANopen slave with the CANopen
start functions "COP_MSTR_BOOTUP" and "COP_MSTR_MAIN" by the R360
master and set to the state "OPERATIONAL" (LED flashes green, 2 Hz).

Programming function

If the function "CR2102" is integrated into the program, this automatically ensu-
res a continuous updating of the X/Y measured data in the controller. The func-
tion "CR2102" is in the library "CR2102.lib" of the programming software
CODESYS.
If no configuration data are transferred to the inclination sensor, the device ope-
rates with the default values set at the factory.
Before commissioning change the node ID of the inclination sensor set at the fac-
tory, if necessary. Check whether the baud rate of the master and that of the
sensor are identical or set accordingly.
Default values: node ID = 0x20 (= 32)
baud rate = 0x04 (= 125 Kbits/s)
Screenshot detail of the CODESYS programming platform
Data structures
The CR2102 configuration and measured data are transferred via data structures.
The structure as well as other variable types must be declared in the declaration
part. For configuration data the declaration part can already contain an assign-
ment of values.
38
PAGE

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Cr2102

Inhaltsverzeichnis