Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens simatic S7-300 Handbuch Seite 88

Vorschau ausblenden Andere Handbücher für simatic S7-300:
Inhaltsverzeichnis

Werbung

Anhang
A.1 Quellcode des Anwenderprogramms
OB40_OB_NUMBR : BYTE ;
OB40_RESERVED_1 : BYTE ;
OB40_IO_FLAG : BYTE ;
OB40_MDL_ADDR : WORD ;
OB40_POINT_ADDR : DWORD ;
OB40_DATE_TIME : DATE_AND_TIME ;
END_VAR
BEGIN
NETWORK
TITLE =
L
T
L
T
L
T
NO
P
NO
P
END_ORGANIZATION_BLOCK
ORGANIZATION_BLOCK OB 82
TITLE = "I/O Point Fault"
VERSION : 0.1
VAR_TEMP
OB82_EV_CLASS : BYTE ;
OB82_FLT_ID : BYTE ;
OB82_PRIORITY : BYTE ;
OB82_OB_NUMBR : BYTE ;
OB82_RESERVED_1 : BYTE ;
OB82_IO_FLAG : BYTE ;
OB82_MDL_ADDR : WORD ;
OB82_MDL_DEFECT : BOOL ;
OB82_INT_FAULT : BOOL ;
OB82_EXT_FAULT : BOOL ;
OB82_PNT_INFO : BOOL ;
OB82_EXT_VOLTAGE : BOOL ;
OB82_FLD_CONNCTR : BOOL ;
OB82_NO_CONFIG : BOOL ;
OB82_CONFIG_ERR : BOOL ;
OB82_MDL_TYPE : BYTE ;
OB82_SUB_MDL_ERR : BOOL ;
OB82_COMM_FAULT : BOOL ;
OB82_MDL_STOP : BOOL ;
OB82_WTCH_DOG_FLT : BOOL ;
A-8
#OB40_IO_FLAG;
MB
104;
#OB40_MDL_ADDR;
MW
106;
#OB40_POINT_ADDR;
MD
100;
0;
0;
//40 (Organization block 40, OB40)
//Reserved for system
//16#54 (input module), 16#55 (output module)
//Base address of module initiating interrupt
//Interrupt status of the module
//Date and time OB40 started
//OB40_IO_FLAG
//
//OB40_MDL_ADDR
//
//OB40_POINT_ADDR
//
//OB40_POINT_ADDR
//
//16#39, Event class 3, Entering event state,
Internal fault event
//16#XX, Fault identifcation code
//Priority of OB Execution
//82 (Organization block 82, OB82)
//Reserved for system
//Input (01010100), Output (01010101)
//Base address of module with fault
//Module defective
//Internal fault
//External fault
//Point information
//External voltage low
//Field wiring connector missing
//Module has no configuration data
//Module has configuration error
//Type of module
//Sub-Module is missing or has error
//Communication fault
//Module is stopped
//Watch dog timer stopped module
SM331; AI 8 x 12 Bit Getting Started Teil 3: Thermoelemente
: 16#54=Eingangsbaugruppe
: 16#55=Ausgangsbaugruppe
: Anfangsadresse von dem
auslösenden Baugruppe
: LB8 = Überschreiten
des oberen Grenzwertes
: LB9 = Unterschreiten
des unteren Grenzwertes
Getting Started, 11/2006, A5E00264192-02

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis