Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
AnyBus-S Modbus Plus.rev1.31.pdf
Скачиваний:
19
Добавлен:
23.08.2013
Размер:
1.13 Mб
Скачать

FIELDBUS APPENDIX - ANYBUS-S MODBUS PLUS DOC. NO ABS-MBP-1.31 2002-08-09

5.2.3 Clear Communications Counter ( CLEAR_COMM_COUNTERS )

This mailbox command issues a clear communication error counters, word 13 to word 22 in the 53 words long network statistics map. This command can takes some time to perform, occupying the peer interface.

Table 16: CLEAR_COMM_COUNTERS

Parameter

Description

 

 

 

 

Command initiator

Application

RUNTIME MODE

 

 

 

Message Name

CLEAR_COMM_COUNTERS

 

 

 

 

Message type

0x02

 

 

 

 

Command number

0x0004

 

 

 

 

Fragmented

No

 

 

 

Extended header data

No extended header data is associated with this command

 

 

Message data

No data is associated with this command.

 

 

Response message

No data is associated with this command.

 

If the CLEAR_COMM_COUNTERS mailbox message is wrong, see

 

error code.

 

 

 

 

Register Name

Command

 

Expected response

 

Message ID

0x000A

 

0x000A

Any integer value

 

 

 

 

 

Message information

0x4002

 

0x0002

 

 

 

 

 

 

Command

0x0004

 

0x0004

 

Data size

 

 

 

0 byte of data

0x0000

 

0x0000

 

 

 

 

 

Frame number

0x0001

 

0x0001

One frame

 

 

 

 

 

Frame count

0x0001

 

0x0001

This is frame 1

Offset high

 

 

 

 

0x0000

 

0x0000

 

 

 

 

 

 

Offset low

0x0000

 

0x0000

 

 

 

 

 

 

Extended word 1

-

 

-

No message header data used

Extended word 2

 

 

 

-

 

-

 

 

 

 

 

Extended word 3

-

 

-

 

 

 

 

 

Extended word 4

-

 

-

Extended word 5

 

 

 

-

 

-

 

 

 

 

 

Extended word 6

-

 

-

 

 

 

 

 

Extended word 7

-

 

-

Extended word 8

 

 

 

-

 

-

 

 

 

 

 

Message data word 1

-

 

-

 

 

 

 

 

 

 

 

 

 

HMS INDUSTRIAL NETWORKS AB

25