Архитектура Аудит Военная наука Иностранные языки Медицина Металлургия Метрология
Образование Политология Производство Психология Стандартизация Технологии


Page 0 - Communications Status Information



Notes:

1. These are read only registers.

2. Registers 0 and 1 must both be read with a single message for them to be meaningful since they are set after each message.

3. Registers 2 and 3 contain copies of the telemetry alarm flags of all satellites so that the satellite that caused a dial out can be ascertained without reading the telemetry alarm flags from all the satellites individually. This register is not latched, clearing the telemetry alarm flag of a satellite will clear the corresponding bit in these registers when the hub updates them. The hub will not assume that sending a system control message to a satellite to clear its telemetry alarm flag will necessarily succeed, instead it builds registers 2 and 3 by reading the state of all the satellites telemetry alarm flags periodically.

4. Registers 4 and 5 contain communication error flags for all the satellites. A flag is set if, and only if, the corresponding satellite socket is fitted, it is enabled by the corresponding ‘satellite socket enable flag’ in page 1 - Communications Configuration, and the hub is not able to communicate successfully with the satellite for any reason.

5. If any communication error flag changes from 0 to 1 the hub’s telemetry alarm flag will be set and so cause a dial out if a modem is connected with dial out enabled, the satellites telemetry alarm flag in register 2 or 3 will not be set since this would contradict its non-latching operation as described in note 3 above. A system control function must be used to clear the hub’s telemetry alarm flag before the connection is broken or the dial out will be repeated.

6. The meaning of the password status is shown in the table below.

7. If the password status is 0 (no valid password) then it is not possible to read the extended exception information..

8. If the number of satellite sockets is 1-32 the unit is a hub, otherwise it is not. A hub with 8 sockets, for example, returns a value of 8 regardless of what is actually plugged into the sockets or what the satellites state is, and will always respond to 8 consecutive slave addresses starting with its own slave address +1.

9. The GenComm version number allows a master to recognise the version of GenComm supported by a slave device and act accordingly. 72xx/73xx modules are identified by the GenComm version of 2, 53xx/55xx etc modules have a GenComm version of 1.

10. Registers 10 and 11 contain flags that indicate the available baud rates, bit 1 corresponds to baud rate code 0 etc. If a bit is set the corresponding Baud rate is available.

11. The list of language codes that are available on a particular slave device can be obtained by first reading the number of languages available and then reading that number of registers from the beginning of the list of language codes available. Reading any further registers from the list will return the unimplemented register value 0xFFFF. The order of the language codes in the list has no significance and no assumptions should be made.

 

Registers

Register offset Name Minimum value Maximum value Scaling factor Units Bits/ sign
0 Extended exception code 0 65535     16
1 Extended exception address 0 65535     16
2 Telemetry alarm flag for satellite 1 0 1     16/16
  Telemetry alarm flag for satellite 2 0 1     15/16
  Telemetry alarm flag for satellite 3 0 1     14/16
  Telemetry alarm flag for satellite 4 0 1     13/16
  Telemetry alarm flag for satellite 5 0 1     12/16
  Telemetry alarm flag for satellite 6 0 1     11/16
  Telemetry alarm flag for satellite 7 0 1     10/16
  Telemetry alarm flag for satellite 8 0 1     9/16
  Telemetry alarm flag for satellite 9 0 1     8/16
  Telemetry alarm flag for satellite 10 0 1     7/16
  Telemetry alarm flag for satellite 11 0 1     6/16
  Telemetry alarm flag for satellite 12 0 1     5/16
  Telemetry alarm flag for satellite 13 0 1     4/16
  Telemetry alarm flag for satellite 14 0 1     3/16
  Telemetry alarm flag for satellite 15 0 1     2/16
  Telemetry alarm flag for satellite 16 0 1     1/16
3 Telemetry alarm flag2 for satellites 17-32 0 65535     16
4 Communication error flag for satellite 1 0 1     16/16
  Communication error flag for satellite 2 0 1     15/16
  Communication error flag for satellite 3 0 1     14/16
  Communication error flag for satellite 4 0 1     13/16
  Communication error flag for satellite 5 0 1     12/16
  Communication error flag for satellite 6 0 1     11/16
  Communication error flag for satellite 7 0 1     10/16
  Communication error flag for satellite 8 0 1     9/16
  Communication error flag for satellite 9 0 1     8/16
  Communication error flag for satellite 10 0 1     7/16
  Communication error flag for satellite 11 0 1     6/16
  Communication error flag for satellite 12 0 1     5/16
  Communication error flag for satellite 13 0 1     4/16
  Communication error flag for satellite 14 0 1     3/16
  Communication error flag for satellite 15 0 1     2/16
  Communication error flag for satellite 16 0 1     1/16
5 Communication error flags for satellites 17-32 0 65535     16
6 Password status 0 3     16
7 Number of satellite sockets available 0 32     16
8 Number of languages available for telemetry 0 128     16
9 GenComm version number 1 2     16
10-11 Baud rates available 0       32
12-127 Reserved          
128-255 List of language codes available 0 65534     16

 

Password status

Status Meaning
0 No valid password has been entered, no operations can be performed on the slave device except writing a password using function 16 (write multiple registers). In the case of a hub no queries will be passed to its satellites at all.
1 A valid read password has been entered, all readable registers (including manufacturer specific ones above page 127) can be read on the slave device using function 3 (read multiple registers). All write operations using function 16 (write multiple registers) and all non-GenComm functions (those other than 3 and 16) are blocked. In the case of a hub only queries using function 3 (read multiple registers) will be passed to its satellites.
2 A valid control password has been entered, as level 1 except that all registers in page 16 (control registers) can be written to in the slave device using function 16 (write multiple registers). In the case of a hub only queries using function 3 (read multiple registers), and function 16 (write multiple registers) to registers in page 16, will be passed to its satellites.
3 A valid configure password has been entered, as level 1 except that all writeable registers (including manufacturer specific ones above page 127) can be written to in the slave device, and all non-GenComm functions (those other than 3 and 16) can be used for configuration of the slave device. In the case of a hub all queries will be passed to a satellite. The configuration of units using non-GenComm functions is not defined in this standard.

 


Поделиться:



Последнее изменение этой страницы: 2019-04-01; Просмотров: 295; Нарушение авторского права страницы


lektsia.com 2007 - 2024 год. Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав! (0.01 с.)
Главная | Случайная страница | Обратная связь