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

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

5.2.1 Alter Node Address ( SET_NODE_ADDRESS )

The node address can be altered from the default DIP switch setting to an new ID value 1- 64. This message can only be set during initialisation phase.

Table 14: SET_NODE_ADDRESS

Parameter

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

Command initiator

 

Application

 

 

INIT MODE

 

 

 

 

 

 

 

 

Message Name

 

SET_NODE_ADDRESS

 

 

 

 

 

 

 

 

 

 

 

Message type

 

0x02

 

 

 

 

 

 

 

 

 

 

 

 

 

Command number

 

0x0002

 

 

 

 

 

 

 

 

 

 

 

 

 

Fragmented

 

No

 

 

 

 

 

 

 

 

 

 

 

 

Extended header data

 

No extended header data is associated with this command

 

 

 

 

 

 

 

Message data

 

1 Byte : the node address value. Valid data: 1 - 64.

 

 

 

 

 

 

 

Response message

 

The message data contains the requested node address valueIf the

 

 

 

node address is valid the chosen ID will be displayed in the Fieldbus

 

 

 

Specific area 0x640.If the SET_NODE_ADDRESS mailbox message

 

 

 

is wrong, see error code. If error code 0x0F is displayed see Extended

 

 

 

word 8 for details: 0x0001. Node address is out of range.

 

 

 

 

 

 

 

Register Name

 

Command

 

Expected response

 

 

 

 

 

 

 

Message ID

 

 

0x000A

 

0x000A

Any integer value

Message information

 

 

 

 

 

 

 

 

0x4002

 

0x0002

 

 

 

 

 

 

 

 

Command

 

 

0x0002

 

0x0002

 

 

 

 

 

 

 

 

Data size

 

 

0x0001

 

0x0001

1 byte of data

Frame number

 

 

 

 

 

One frame

 

 

0x0001

 

0x0001

 

 

 

 

 

 

 

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

 

 

 

 

 

 

Node Address ID = 0x94

 

0x04

-

 

0x04

-

 

 

 

 

 

 

 

 

 

HMS INDUSTRIAL NETWORKS AB

23