Herunterladen Inhalt Inhalt Diese Seite drucken
Inhaltsverzeichnis

Werbung

11.11 VARIABLENDEKLARATION

Funktion
Lese digitalen Eingang einzeln (Kanal x)
Lese digitale Eingänge als Byte
Bit 0 ... DIN 1
Bit 7 ... DIN 8
Digitaler Ausgang einzeln (Kanal x)
Digitale Ausgänge als Byte
Bit 0 ... DOUT 1
Bit 7 ... DOUT 8
Analoger Eingang einzeln (Kanal x)
Analoger Ausgang einzeln (Kanal x)
Lese Status-Register
Meßbereichsumschaltung durch Beschreiben
des Konfigurations-Registers
Status-Register
REGISTER
7
0
AIx
Die Zusatzinformation gibt die Einstellung der vier Analog-
eingänge wider.
0 ..... hochohmiger Eingang (Spannungsmessung)
1 ..... 50 Ω - Eingang (Strommessung)
OVL2
Überlast in digitaler Gruppe 2 (DOUT 5 - 8).
0 ..... ok
1 ..... Überlast
OVL1
Überlast in digitaler Gruppe 1 (DOUT 1 - 4).
0 ..... ok
1 ..... Überlast
228
Gültigkeitsb.
LESEN
Bit
Beschreibung
7
AI4
- Zusatzinformation
6
AI3
5
AI2
4
AI1
3
OVL2
- Überlast in digitaler Gruppe 2 (DOUT 5 - 8)
2
OVL1
- Überlast in digitaler Gruppe 1 (DOUT 1 - 4)
1
RUN
- Analogteil
0
FKL
- Feldklemmenstatus
RUN
FKL
UM900
Variablendeklaration
Datentyp
Länge
tk_global
BIT
1
tk_global
BYTE
1
tk_global
BIT
1
tk_global
BYTE
1
tk_global
INT16
1
tk_global
INT16
1
tk_global
BYTE
1
tk_global
BYTE
1
Status des Analogteils.
0 ..... nicht aktiv
1 ..... aktiv
0 ..... Feldklemme steckt am Modul.
1 ..... Es steckt keine Feldklemme.
Modultyp
Kanal
Digit. In
129 ... 136
Transp. In
16
Digit. Out
129 ... 136
Transp. Out
16
Analog In
1 ... 4
Analog Out
1 ... 2
Status In
0
Status Out
1
Kapitel 3

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis