Prosoft-technology MVI69-HART Instrukcja Użytkownika Strona 50

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 49
Ladder Logic MVI69-HART ♦ CompactLogix Platform
User Manual HART Multi-drop Master Communication Module
Page 50 of 169 ProSoft Technology, Inc.
March 29, 2012
Channel Status Object (HARTCHStat)
The HARTCHStat object holds the status data related to a single HART master
port. The following table describes the structure of the object.
Name Data Type Description
State INT State machine value
Comm_State INT Comm port state machine value
Dev_stat INT Device bits (OK/Err)
Dev_in_poll INT Device bits for poll list
Dev_long INT Device bits for long address
Cur_cmd INT Current command list index
Cmd_req INT Number of command requests issued
Cmd_resp INT Number of command responses received
Cfg_Err INT Configuration Error Word for channel
CurErr INT Current error code for channel
LastErr INT Last error for channel
This information is passed to the controller from the module with each normal
read block image.
Configuration/Error Status Flags (Cfg_Err)
The Cfg_Err word member of the HARTCHStat reports configuration errors for
the respective port. If the module is not functioning as expected, inspect the
value presented in this object. If a configuration error exists, the associated bit is
set. A value of zero for the bit indicates the configuration value is valid. This does
not guarantee that the module is configured correctly for your application. The
bits used by this member are shown in the following table.
Bit Code Description
0 0x0001 Enabled not set to Y or N
1 0x0002 Enable Handheld not set to Y or N
2 0x0004 Primary Master not set to Y or N
3 0x0008 Invalid Preambles (1 to 50)
4 0x0010 Invalid Short Address Retries (0 to 50)
5 0x0020 Invalid Long Address Retries (0 to 50)
6 0x0040 Invalid Retries After Error (0 to 50)
7 0x0080 Invalid Poll Time After Error (0 to 10000)
8 0x0100 Invalid DB Address Status
9 0x0200 Invalid Command Count
10 0x0400 Memory Error in allocating commands
11 0x0800 Memory Error in allocating command fixed data
12 0x1000 Memory Error in allocating TX/RX buffers
13 0x2000 HART Board not found
14 0x4000 Cannot initialize HART channel
15 0x8000
Przeglądanie stron 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 168 169

Komentarze do niniejszej Instrukcji

Brak uwag