background image

Mailbox Interface   4-10

Get ID Code for Slave (MB_GET_ID)

Description

This function returns the ID Code of a specified slave on the network.

Command and response layout:

Parameter

Description

Command initiator

Application

Command Name

MB_GET_ID

Message type

02h

Command number

0016h

Fragmented

No

Extended Header data

-

Command data

Slave Address

Response data

The response indicates if the command was accepted. The response data 
contains the ID code the specified slave.

Command

Expected response

Message ID

(ID)

(ID)

Message information

4002h

0002h

Command

0016h

0016h

MB_GET_ID

Data size

0001h

0002h

Frame count

0001h

0001h

Frame number

0001h

0001h

Offset high

0000h

0000h

Offset low

0000h

0000h

Extended word 1

-

-

Extended word 2

-

-

Extended word 3

-

-

Extended word 4

-

-

Extended word 5

-

-

Extended word 6

-

-

Extended word 7

-

-

Extended word 8

-

Fault information

Message data byte 1

Slave Address

Slave Address

Message data byte 2

ID Code

Summary of Contents for AnyBus-M

Page 1: ...es ge hms networks com sales jp hms networks com sales hms networks com sales us hms networks com 49 721 96472 0 81 45 478 5340 46 35 17 29 20 1 773 404 2271 HMS Industrial Networks Fieldbus Appendix...

Page 2: ......

Page 3: ...e RS232 Menu Tree Overview 3 1 Enable Terminal Interface Menu 3 2 Main Menu 3 2 View scan lists 3 3 View all nodes 3 4 View all detected nodes 3 4 View single node 3 5 Toggle mode 3 5 Online Offline M...

Page 4: ...e MB_GET_NV_CONFIG 4 21 Save Current Slave Parameters in Non Volatile Memory MB_SAVE_PARAM 4 22 Save Current Slave Configuration in Non Volatile Memory MB_SAVE_CONFIG 4 23 Analog Data 4 24 Get Analog...

Page 5: ...e A 1 Relative Humidity A 1 EMC compliance A 1 Appendix B Connectors Configuration Interface B 1 Fieldbus Interface B 2 Appendix C Electrical Characteristics Supply Voltage C 1 Power Consumption C 1 P...

Page 6: ...for any errors that may appear in this document There are many applications of this product Those responsible for the use of this device must ensure that all the necessary steps have been taken to ver...

Page 7: ...pplication Connector Hexadecimal values are written in the format NNNNh where NNNN is the hexadecimal value Support HMS Sweden Email support hms networks se Tel 46 0 35 17 29 22 Fax 46 0 35 17 29 09 O...

Page 8: ...res dedicated mailbox commands for accessing 7 4 slaves As for all AnyBus M modules it is also possible to configure the network via the application interface Features Manage up to 62 slaves Up to 248...

Page 9: ...to board connectors For more information about connectors and pin assignments see Appendix B 1 Connectors Configuration Interface This Configuration Interface provides a simple text based user interfa...

Page 10: ...s Led State Description 1 Running Idle Green Module is in running mode Red Module is in idle mode 2 Network Status Off No power or not initialised Flashing Green On line according to configuration Gre...

Page 11: ...e RS232 This interface generally provides the same settings as the Mailbox Interface Initialisation Sequence Send Start Init Wait for response Send AnyBus Init In total length 64 Out total length 64 W...

Page 12: ...sing I O data directly in the input output areas The application has to access each slave according to the special sequence defined in the specification for analog slaves profiles 7 1 and 7 2 Slave pr...

Page 13: ...NV Parameter Change NV I O NV I O Change NV ID NV ID Change NV Ext ID1 NV Ext ID1 Change NV Ext ID2 NV Ext ID2 Change Node address Node address View all detected nodes Select Node Change Param Parame...

Page 14: ...n False Slave 0 exist False Configuration match False Periphery fault False Mode Protected Autoprogramming Not possible Bus status Online EEPROM status Ok Auto addressing Enabled The status section re...

Page 15: ...X 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 Activated Nodes 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15...

Page 16: ...I O ID Param Node 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 I O ID Param Node 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 I O ID Param To alter a setting for a specific node type the desire...

Page 17: ...ode is used to alter the current operating mode of the module AnyBus M AS I Toggle mode 1 Configuration 2 Protected Press ESC to cancel Online Offline Mode This command is used to toggle Online Offlin...

Page 18: ...t value to change 1 Change Parameter 2 Change NV Parameter 3 Change NV I O 4 Change NV ID 5 Change NV Ext ID1 6 Change NV Ext ID2 7 Change Node address Values for node number 45 I O f NV I O f ID f NV...

Page 19: ...er of the response will indicate that an error occurred Consult the AnyBus S Design Guide for more information If the error code is Invalid Other Fh extended error information is available in the Faul...

Page 20: ...ation Command Name MB_SET_ON_LINE Message type 02h Command number 0001h Fragmented No Extended Header data Command data On Off line value 00h On line 01h Off line Response data The response indicates...

Page 21: ...ing Idle mode value 00h Running 01h Idle Byte Nibble mode value 00h Byte 01h Nibble Response data The response indicates if the command was accepted The response data is a copy of the command data Com...

Page 22: ...ic Address Programming 01h Enable Automatic Address Programming Response data The response indicates if the command was accepted The response data is a copy of the command data Command Expected respon...

Page 23: ...Configuration Mode Response data The response indicates if the command was accepted The response data is a copy of the command data Command Expected response Message ID ID ID Message information 4002h...

Page 24: ...data The response indicates if the command was accepted The response data is a copy of the command data Command Expected response Message ID ID ID Message information 4002h 0002h Command 0009h 0009h...

Page 25: ...nse indicates if the command was accepted The response data is a copy of the command data Command Expected response Message ID ID ID Message information 4002h 0002h Command 000Bh 000Bh MB_SET_ADDRESS...

Page 26: ...Address Response data Slave Address Parameter The response indicates if the command was accepted Command Expected response Message ID ID ID Message information 4002h 0002h Command 000Fh 000Fh MB_GET_P...

Page 27: ...d The response data contains the configuration data for the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 0011h 0011h MB_GET_CONFIG Data size 0001h...

Page 28: ...The response indicates if the command was accepted The response data contains the ID code the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 0016h 0...

Page 29: ...e response indicates if the command was accepted The response data contains the I O configuration for the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Com...

Page 30: ...ata The response indicates if the command was accepted The response data contains the Extended ID1 Code for the specified slave Command Expected response Message ID ID ID Message information 4002h 000...

Page 31: ...ata The response indicates if the command was accepted The response data contains the Extended ID2 Code for the specified slave Command Expected response Message ID ID ID Message information 4002h 000...

Page 32: ...ID1 code for slave 0 Response data The response indicates if the command was accepted The response data is a copy of the command data Command Expected response Message ID ID ID Message information 400...

Page 33: ...accepted The response data contains the parameter string of the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 001Fh 001Fh MB_GET_PARAMETER_STRING...

Page 34: ...ponse data The response indicates if the command was accepted Command Expected response Message ID ID ID Message information 4002h 0002h Command 0023h 0023h MB_SET_PARAMETER_STRING Data size Depends o...

Page 35: ...epted The response data contains the ID string of the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 0020h 0020h MB_GET_ID_STRING Data size 0001h De...

Page 36: ...ress and Slave Parameter Response data The response indicates if the command was accepted The response data is a copy of the command data Command Expected response Message ID ID ID Message information...

Page 37: ...se indicates if the command was accepted The response data is a copy of the command data Command Expected response Message ID ID ID Message information 4002h 0002h Command 000Ah 000Ah MB_SET_NV_CONFIG...

Page 38: ...a Slave Address Response data Slave Address NV Parameter The response indicates if the command was accepted Command Expected response Message ID ID ID Message information 4002h 0002h Command 000Eh 000...

Page 39: ...accepted The response data contains the configuration data for the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 0010h 0010h MB_GET_NV_CONFIG Data...

Page 40: ...Command number 0002h Fragmented No Extended Header data Command data Response data The response indicates if the command was accepted Command Expected response Message ID ID ID Message information 400...

Page 41: ...E_CONFIG Message type 02h Command number 0003h Fragmented No Extended Header data Command data Response data The response indicates if the command was accepted Command Expected response Message ID ID...

Page 42: ...or the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 0018h 0018h MB_GET_ANA_INPUT Data size 0001h 0009h Frame count 0001h 0001h Frame number 0001h...

Page 43: ...mmand Expected response Message ID ID ID Message information 4002h 0002h Command 0019h 0019h MB_SET_ANA_OUTPUT Data size 0009h 0000h Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h...

Page 44: ...s of 64 bits where each bit represents the sta tus of a slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 0024h 0024h MB_GET_LISTS Data size 0000h 0020h Frame co...

Page 45: ...was accepted The response data contains the diagnostic string of the specified slave Command Expected response Message ID ID ID Message information 4002h 0002h Command 0021h 0021h MB_GET_DIAG_STRING D...

Page 46: ...tes only bytes 0 7 used Delta List Difference between LPS and LDS 688h 697h LPF 16 bytes only bytes 0 7 used List of Peripheral Faults 698h 699h AS Interface Flags 2 bytes These flags indicates the cu...

Page 47: ...63 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Byte 0 Slave 0 Slave 1 Slave 2 Slave 3 Slave 4 Slave 5 Slave 6 Slave 7 Byte 1 Slave 8 Slave 9 Slave 10 Slave 11 Slave 12 Slave 13 Slave 14 Slave 15...

Page 48: ...Slave 34 Slave 35 Slave 36 Slave 37 Slave 38 Slave 39 Byte 5 Slave 40 Slave 41 Slave 42 Slave 43 Slave 44 Slave 45 Slave 46 Slave 47 Byte 6 Slave 48 Slave 49 Slave 50 Slave 51 Slave 52 Slave 53 Slave...

Page 49: ...not contain any configuration code Flag Byte 1 Define Meaning Bit 0 FLAG1_OFFLINE_READY Offline phase active Bit 1 FLAG1_POWER_FAIL Voltage on AS Interface too low Bit 2 FLAG1_NORMAL_OPERATION Normal...

Page 50: ...for more information about node parameters Due to the nature of the extended addressing scheme used in AS Interface v2 1 node number 32 con tains no parameters Config Mode address 79Ah This byte indic...

Page 51: ...Data Representation mailbox command See 4 3 Set Running Idle Mode Data Representation MB_SET_RUNNING_IDLE To read more about Byte and Nibble mode see 2 2 I O Data Unable to use slave address 32 Due t...

Page 52: ...ing to IEC 68 2 1 and IEC 68 2 2 Relative Humidity The product is designed for a relative humidity of 5 to 95 non condensing Test performed according to IEC 68 2 30 EMC compliance Emission According t...

Page 53: ...Signal Housing PE 1 2 Received Data 3 Transmitted Data 4 5 Signal Ground 6 Data Set Ready Input only 7 8 9 Pin Signal 1 PE 2 3 Received Data 4 Data Set Read Input only 5 6 Transmitted Data 7 8 9 10 Si...

Page 54: ...Connectors B 2 Fieldbus Interface 5 08 Pluggable Screw 2mm Board to Board Pin Signal 1 AS Interface 2 AS Interface Pin Signal 1 PE 2 3 AS Interface 4 5 AS Interface 6 7 8 9 10 10 1 1 1 2 2...

Page 55: ...upply For more information regarding power requirements consult the AnyBus S Design Guide Power Consumption The maximum power consumption is 200mA on the bus interface The maximum power consumption fr...

Page 56: ...echanical Specification Measurements PCB The PCB is designed to fulfil the AnyBus S requirements 0 7 55 5 82 4 1 6 A A 0 2 40 71 8 1 5 8 0 75 37 2 14 2 6 2 12 8 39 8 0 2 2 0 8 A 2 2 0 8 0 8 3x 3 2 A 2...

Page 57: ...anical Specification D 2 Measurements Connectors Switches Standard Configuration 16 1 21 5 22 1 23 6 8 4 12 6 30 8 9 2 5 1 9 7 2 9 4 6 25 0 6 3 16 2 12 0 0 5 2 16 9 50 0 75 6 15 1 8 1 13 8 15 9 6 5 12...

Page 58: ......

Reviews: