Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens SIMATIC Handbuch Seite 28

Vorschau ausblenden Andere Handbücher für SIMATIC:
Inhaltsverzeichnis

Werbung

Header Dateien
// ++++++++++++++++++++++ error codes ++++++++++++++++++++++++
#define SFC_DRV_ERROR
#define SFC_OK
#define SFC_WRONG_PARAMETER
#define SFC_LIMIT_TO_LOW
#define SFC_INVALID_HANDLE
#define SFC_LEN_ERROR
#define SFC_CMD_NOT_ALLOWED
#define SFC_NOT_OPEN
#define SFC_TIME_TO_LOW
#define SFC_TIME_TO_HIGH
// temperatur value to be passed to temp_set_limit()
// if more than one temp can be st we can tell which temp
// will not be changed with the following value (not supported now)
// +++++++++++++++++++ usefull defines +++++++++++++++++++++++
#define WD_MIN_TIME
#define WD_MAX_TIME
#define WD_DEFAULT_TIME
#define SET_TEMP_FALSE -127
// the valid range for temperature is:
#define MAX_CPU_TEMP_LIMIT
#define MIN_CPU_TEMP_LIMIT
#define MAX_BOARD1_TEMP_LIMIT
#define MIN_BOARD1_TEMP_LIMIT
#define MAX_BOARD2_TEMP_LIMIT
#define MIN_BOARD2_TEMP_LIMIT
#define SFC_ENABLE
#define SFC_DISABLE
#define SFC_ENABLED
#define SFC_DISABLED
#define SFC_SET
#define SFC_CLEAR
#define SFC_HLIMIT_BOARD1
#define SFC_HLIMIT_BOARD2
// meaning of bits returned from temp_read_stat();
#define FAN_INT_ACTIVE
#define TEMP_INT_ACTIVE
#define WD_INT_ACTIVE
#define FAN0_RPM_ALARM
#define FAN1_RPM_ALARM
#define FAN2_RPM_ALARM
#define TEMP_UIO_CRIT_ALARM
#define TEMP_UIO_HLIMIT_ALARM
#define TEMP_UIO_LLIMIT_ALARM
#define TEMP_BOARD_HLIMIT_ALARM
#define TEMP_BOARD_LLIMIT_ALARM
#define TEMP_CPU_HLIMIT_ALARM
#define TEMP_CPU_LLIMIT_ALARM
#define TEMP_OPEN_CIRCUIT_ALARM
#define WD_TIMEOUT_OCCURED
#define WD_ACTIVE
8-2
-1 // unknown error within driver
0 // the world is OK
1 // parameter outside of valid range (time, temp)
2 // temperatur high limit ist <= low limit
3 // no connection to the driver (not opened ?)
4 // buffer too small
5 // Unknown command
6 // no connection to driver !
7 // minimum allowed
8 // maximum allowed 255 sec
3
255
16
127
0
127
0
127
0
1
0
1
0
1
0
0
1
0x8000 // FAN Interrupt is activated
0x4000 // TEMP Interrupt is activated
0x2000 // Watchdog Interrupt is activated
0x1000 // FAN0 (CPU) is too slow
0x0800 // FAN1 (Main1) is too slow
0x0400 // FAN2 (Main2) is too slow
0x0200 // UIO OverTemp Limit Alarm
0x0100 // UIO HighTemp Limit Alarm
0x0080 // UIO LowTemp Limit Alarm
0x0040 // which alarm ist set
0x0020 // Board HighTemp Limit Alarm => red
0x0010 // Board LowTemp Limit Alarm
0x0008 // Board HighTemp Limit Alarm => red
0x0004 // this will normally never occurs
0x0002 // if we want to poll watchdog (no interrupt
assigned)
0x0001 // tell if watchdog ist activated
3 sec
PC-Überwachung Safecard On Motherboard (SOM)
=> red
=> orange
=> red
=> red
A5E00113525-02

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis