background image

Mailbox Interface   4-23

Save Current Slave Configuration in Non-Volatile Memory 
(MB_SAVE_CONFIG)

Description

This function stores the configuration for all slaves in non-volatile memory.

Note: 

This command is not allowed in Protected Mode.

Command and response layout:

Parameter

Description

Command initiator

Application

Command Name

MB_SAVE_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)

(ID)

Message information

4002h

0002h

Command

0003h

0003h

MB_SAVE_CONFIG

Data size

0000h

0000h

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

Содержание AnyBus-M

Страница 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...

Страница 2: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 58: ......

Отзывы:

Похожие инструкции для AnyBus-M