Table of Contents

Advertisement

Quick Links

AnyBus-M AS-Interface
HMS Industrial Networks
Germany
+ 49 - 721 - 96472 - 0
Japan
+ 81 - 45 - 478 -5340
Sweden
+ 46 - 35 - 17 29 20
U.S.A
+ 1 - 773 - 404 - 2271
Fieldbus Appendix
sales-ge@hms-networks.com
sales-jp@hms-networks.com
sales@hms-networks.com
sales-us@hms-networks.com
Rev. 1.02

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AnyBus-M and is the answer not in the manual?

Questions and answers

Summary of Contents for HMS AnyBus-M

  • Page 1 Fieldbus Appendix AnyBus-M AS-Interface Rev. 1.02 HMS Industrial Networks Germany + 49 - 721 - 96472 - 0 sales-ge@hms-networks.com Japan + 81 - 45 - 478 -5340 sales-jp@hms-networks.com Sweden + 46 - 35 - 17 29 20 sales@hms-networks.com U.S.A + 1 - 773 - 404 - 2271...
  • Page 3: Table Of Contents

    How To Use This Manual........................P-1 Important user information ........................ P-1 Related Documentation........................P-1 Revision list ............................P-1 Conventions used in this manual ....................... P-2 Support..............................P-2 Chapter 1 About the AnyBus-M AS-Interface Features ..............................1-1 Compatible Products ..........................1-1 Overview..............................1-2 Connectors.............................1-2 Indicators ............................1-3 Chapter 2 Software Overview Initialisation Sequence ..........................2-1...
  • Page 4 Table of Contents II Configuration ............................4-6 Set Slave Parameter (MB_SET_PARAM)................4-6 Set Slave Address (MB_SET_ADDRESS) ................4-7 Get Slave Parameter (MB_GET_PARAMETER) ..............4-8 Get Configuration for Slave (MB_GET_CONFIG)..............4-9 Get ID Code for Slave (MB_GET_ID)..................4-10 Get I/O Configuration for Slave (MB_GET_IO)..............4-11 Get Extended ID Code 1 from Slave (MB_GET_EXT_ID1) ..........4-12 Get Extended ID Code 2 from Slave (MB_GET_EXT_ID2) ..........4-13 Set Extended ID1 Code for Slave 0 (MB_SET_EXT_ID1)...........4-14 Get Parameter String from Slave (MB_GET_PARAMETER_STRING) ......4-15...
  • Page 5 Table of Contents III Chapter 6 Troubleshooting General..............................6-1 Configuration Interface ........................6-1 Appendix A Environmental Specification Temperature ............................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 PE Grounding............................C-1 Appendix D Mechanical Specification Measurements, PCB..........................
  • Page 6: Preface

    About This Manual How To Use This Manual This manual provides an overview of the AnyBus-M AS-I Master and is in intended to be used in cun- junction with the AnyBus-M Design Guide. The reader of this document is expected to have basic knowledge in the AS-Interface network system, and communication systems in general.
  • Page 7: Conventions Used In This Manual

    The term ‘application’ is used when referring to the hardware that is connected to the AnyBus Application 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...
  • Page 8: About The Anybus-M As-Interface

    Specification for more information), and provides data exchange using the standard AnyBus-S applica- tion interface. Additionally, the module features 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 •...
  • Page 9: Overview

    AS-Interface Watchdog LED Connectors Application Connector The application connector features a standard AnyBus-M 2kbyte parallel DPRAM interface. For further information, please consult the general AnyBus-M Design Guide. AS-Interface Connectors The module supports both 5.08 pluggable screw connectors and board to board connectors.
  • Page 10: Indicators

    The AS-Interface is working properly. • Module not initialised or AS-Interface network not working properly. AnyBus Watchdog Consult the general AnyBus-M Design Guide for further information. Status Indicators These leds indicate run time status and errors to the user. State...
  • Page 11: Software Overview

    (Wait for response) The module is now ready to exchange data on the network. (For more information regarding module initialisation, consult the AnyBus-M Design Guide) Operating Modes The module offers two modes of operation; Configuration Mode and Protected Mode. For network se- curity reasons, some functions that are available in Configuration Mode are not available in Protected Mode and vice versa.
  • Page 12: I/O Data

    Software Overview 2-2 I/O Data The I/O data from the AS-Interface network can be devided into two categories: • Digital I/O • Analog I/O Digital I/O Digital I/O data is available in the Input and Output Data areas. The data can be presented in two ways; Nibble and Byte.
  • Page 13: Menu Tree Overview

    Chapter 3 Configuration Interface (RS232) This interface provides a simple text baseed user interface via the onboard RS232 interface. All network configuration parameters are available using a standard terminal emulator such as the Windows Hyper- terminal. Note that data exchange is halted and no mailbox activity is possible while using this interface. The interface uses the following communication settings: Terminal emulation: ASCII Baudrate:...
  • Page 14: Enable Terminal Interface Menu

    Configuration Interface (RS232) 3-2 Enable Terminal Interface Menu The module displays the following screen when connecting to the Configuration Interface: ------------------------------------- Enable terminal interface menu ------------------------------------- Yes - Enter ------------------------------------- If enabling the terminal interface the data transfer will be disabled. To activate the Configuration Interface, press <Enter>.
  • Page 15: View Scan-Lists

    Configuration Interface (RS232) 3-3 View scan-lists This command displays all network status lists in the format shown below: ------------------------------------- AnyBus M AS-I Scanlists ------------------------------------- ------------------------------------- Detected Nodes 9 10 11 12 13 14 15 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 Configured Nodes...
  • Page 16: View All Nodes

    Configuration Interface (RS232) 3-4 View all nodes This command displays I/O configuration, ID codes, and parameters for slave. ------------------------------------- AnyBus M AS-I All Nodes ------------------------------------- Select node to view Back - Esc ------------------------------------- Node 9 10 11 12 13 14 15 Param Node 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31...
  • Page 17: View Single Node

    Configuration Interface (RS232) 3-5 View single node This command displays information about a single node. ------------------------------------- AnyBus M AS-I View single node ------------------------------------- Select node ------------------------------------- To view or alter the settings for a specific node, type the desired node address and press <Enter>. Toggle mode This mode is used to alter the current operating mode of the module.
  • Page 18: Save Configuration

    Configuration Interface (RS232) 3-6 Save Configuration This command stores the current configuration into non-volatile memory. ------------------------------------- AnyBus M AS-I Save configuration ------------------------------------- Enter to save configuration ------------------------------------- Press <Enter> to store the current configuration, or press <ESC> to cancel. Note: This command is not allowed in Protected Mode. Alter Settings This menu is displayed when a specific node has been selected in main menu commands 1 to 4.
  • Page 19: Fault And Status Information

    Chapter 4 Mailbox Interface This chapter describes the fieldbus specific mailbox commands in the module. Consult the AnyBus-S Design Guide for more information regarding mailbox functionality. Note that this interface cannot be accessed when using the serial Configuration Interface. Fault and Status Information When a mailbox command cannot be processed the Message Information register in the header of the response will indicate that an error occurred.
  • Page 20: Bus Control

    Mailbox Interface 4-2 Bus Control Set off-line / on-line mode (MB_SET_ON_LINE) Description This function configures the physical connection to the network, i.e on line / off line mode. • On line The module is connected to the network and data exchange is possible. All network status lists are updated periodically.
  • Page 21: Set Running/Idle Mode & Data Representation (Mb_Set_Running_Idle)

    Mailbox Interface 4-3 Set Running/Idle Mode & Data Representation (MB_SET_RUNNING_IDLE) Description This function serves two purposes: • Configure Running / Idle mode This function is used to enable / disable the ability to exchange data on the bus. • Set data representation This parameter affects how I/O data is represented in memory.
  • Page 22: Enable/Disable Automatic Address Programming (Mb_Set_Auto_Address)

    Mailbox Interface 4-4 Enable/Disable Automatic Address Programming (MB_SET_AUTO_ADDRESS) Description This function enables / disables the automatic slave 0 address programming feature. Parameter Description Command initiator Application Command Name MB_SET_AUTO_ADDRESS Message type Command number 0005h Fragmented Extended Header data Mode value. (00h = Disable Automatic Address Programming, 01h = Enable Command data Automatic Address Programming) The response indicates if the command was accepted.
  • Page 23: Set Protected/Configuration Mode (Mb_Set_Operation_Mode)

    Mailbox Interface 4-5 Set Protected/Configuration Mode (MB_SET_OPERATION_MODE) Description This function sets the current operating mode. Parameter Description Command initiator Application Command Name MB_SET_OPERATION_MODE Message type Command number 0006h Fragmented Extended Header data Command data Operating Mode (00h = Protected Mode, 01h = Configuration Mode) The response indicates if the command was accepted.
  • Page 24: Configuration

    Mailbox Interface 4-6 Configuration Set Slave Parameter (MB_SET_PARAM) Description This function sets the parameter value for a specified slave. Parameter Description Command initiator Application Command Name MB_SET_PARAM Message type Command number 0009h Fragmented Extended Header data Command data Slave address and Slave Parameter The response indicates if the command was accepted.
  • Page 25 Mailbox Interface 4-7 Set Slave Address (MB_SET_ADDRESS) Description This function changes the address of a specified slave. Parameter Description Command initiator Application Command Name MB_SET_ADDRESS Message type Command number 000Bh Fragmented Extended Header data Command data Old Slave Address, New Slave Address The response indicates if the command was accepted.
  • Page 26 Mailbox Interface 4-8 Get Slave Parameter (MB_GET_PARAMETER) Description This function returns the parameter value of a specified slave on the network. Parameter Description Command initiator Application Command Name MB_GET_PARAMETER Message type Command number 000Fh Fragmented Extended Header data Command data Slave Address Slave Address &...
  • Page 27: Get Configuration For Slave (Mb_Get_Config)

    Mailbox Interface 4-9 Get Configuration for Slave (MB_GET_CONFIG) Description This function returns the configuration of a specified slave on the network. Parameter Description Command initiator Application Command Name MB_GET_CONFIG Message type Command number 0011h Fragmented Extended Header data Command data Slave Address The response indicates if the command was accepted.
  • Page 28: Get Id Code For Slave (Mb_Get_Id)

    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. Parameter Description Command initiator Application Command Name MB_GET_ID Message type Command number 0016h Fragmented Extended Header data Command data Slave Address The response indicates if the command was accepted.
  • Page 29: Get I/O Configuration For Slave (Mb_Get_Io)

    Mailbox Interface 4-11 Get I/O Configuration for Slave (MB_GET_IO) Description This function returns the I/O configuration of a specified slave on the network. Parameter Description Command initiator Application Command Name MB_GET_IO Message type Command number 0017h Fragmented Extended Header data Command data Slave Address The response indicates if the command was accepted.
  • Page 30 Mailbox Interface 4-12 Get Extended ID Code 1 from Slave (MB_GET_EXT_ID1) Description This function returns the Extended ID Code 1 of a specified slave on the network Parameter Description Command initiator Application Command Name MB_GET_EXT_ID1 Message type Command number 001Dh Fragmented Extended Header data Command data...
  • Page 31 Mailbox Interface 4-13 Get Extended ID Code 2 from Slave (MB_GET_EXT_ID2) Description This function returns the Extended ID Code 1 of a specified slave on the network Parameter Description Command initiator Application Command Name MB_GET_EXT_ID2 Message type Command number 001Eh Fragmented Extended Header data Command data...
  • Page 32: Set Extended Id1 Code For Slave 0 (Mb_Set_Ext_Id1)

    Mailbox Interface 4-14 Set Extended ID1 Code for Slave 0 (MB_SET_EXT_ID1) Description This function configures the Extended ID Code 1 of slave 0. Parameter Description Command initiator Application Command Name MB_SET_EXT_ID1 Message type Command number 0022h Fragmented Extended Header data Command data Extended ID1 code for slave 0 The response indicates if the command was accepted.
  • Page 33: Get Parameter String From Slave (Mb_Get_Parameter_String)

    Mailbox Interface 4-15 Get Parameter String from Slave (MB_GET_PARAMETER_STRING) Description This function returns the Parameter String of a specified slave on the network. Note: This function is only relevant for 7.4 type slaves Parameter Description Command initiator Application Command Name MB_GET_PARAMETER_STRING Message type Command number...
  • Page 34: Set Parameter String Of Slave (Mb_Set_Parameter_String)

    Mailbox Interface 4-16 Set Parameter String of Slave (MB_SET_PARAMETER_STRING) Description This function configures the Parameter String of a specified slave on the network. Note: This function is only relevant for 7.4 type slaves. Parameter Description Command initiator Application Command Name MB_SET_PARAMETER_STRING Message type Command number...
  • Page 35: Get Id String From Slave (Mb_Get_Id_String)

    Mailbox Interface 4-17 Get ID String from Slave (MB_GET_ID_STRING) Description This function returns the ID String of a specified slave on the network. Note: This function is only relevant for 7.4 type slaves Parameter Description Command initiator Application Command Name MB_GET_ID_STRING Message type Command number...
  • Page 36: Permanent Configuration

    Mailbox Interface 4-18 Permanent Configuration Set Permanent Slave Parameter (MB_SET_NV_PARAM) Description This function configures the parameter value for a specified slave and stores it in non-volatile memory. Parameter Description Command initiator Application Command Name MB_SET_NV_PARAM Message type Command number 0008h Fragmented Extended Header data Command data...
  • Page 37: Save Permanent Configuration For Slave In Non-Volatile Memory (Mb_Set_Nv_Config)4-19

    Mailbox Interface 4-19 Save Permanent Configuration for Slave in Non-Volatile Memory (MB_SET_NV_CONFIG) Description This function configures several settings for a specific slave and stores them in non-volatile memory. Parameter Description Command initiator Application Command Name MB_SET_NV_CONFIG Message type Command number 000Ah Fragmented Extended Header data...
  • Page 38 Mailbox Interface 4-20 Get Permanent Slave Parameter (MB_GET_NV_PARAM) Description This function retreives the parameter value of a specified slave from non-volatile memory. Parameter Description Command initiator Application Command Name MB_GET_NV_PARAM Message type Command number 000Eh Fragmented Extended Header data Command data Slave Address Slave Address &...
  • Page 39: Get Permanent Configuration For Slave (Mb_Get_Nv_Config)

    Mailbox Interface 4-21 Get Permanent Configuration for Slave (MB_GET_NV_CONFIG) Description This function retreives the configuration of a specified slave from non-volatile memory. Parameter Description Command initiator Application Command Name MB_GET_NV_CONFIG Message type Command number 0010h Fragmented Extended Header data Command data Slave Address The response indicates if the command was accepted.
  • Page 40: Save Current Slave Parameters In Non-Volatile Memory (Mb_Save_Param)

    Mailbox Interface 4-22 Save Current Slave Parameters in Non-Volatile Memory (MB_SAVE_PARAM) Description This function stores the parameter values for all slaves in non-volatile memory. Parameter Description Command initiator Application Command Name MB_SAVE_PARAM Message type Command number 0002h Fragmented Extended Header data Command data Response data The response indicates if the command was accepted.
  • Page 41: Save Current Slave Configuration In Non-Volatile Memory (Mb_Save_Config)

    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. Parameter Description Command initiator Application Command Name MB_SAVE_CONFIG Message type Command number 0003h...
  • Page 42: Analog Data

    Mailbox Interface 4-24 Analog Data Get Analog Input from Slave (MB_GET_ANA_INPUT) Description This function sets the analog values of all four channels of a type 7.3 or 7.4 type slave. Parameter Description Command initiator Application Command Name MB_GET_ANA_INPUT Message type Command number 0018h Fragmented...
  • Page 43: Set Analog Output For Slave (Mb_Set_Ana_Output)

    Mailbox Interface 4-25 Set Analog Output for Slave (MB_SET_ANA_OUTPUT) Description This function returns the analog values of all 4 channels of a 7.3 or 7.4 type slave. Parameter Description Command initiator Application Command Name MB_SET_ANA_OUTPUT Message type Command number 0019h Fragmented Extended Header data Slave Address...
  • Page 44: Network Status

    Mailbox Interface 4-26 Network Status Get Status Lists from Network (MB_GET_LISTS) Description This function returns the status of all slaves on the network. Note that this information can also be re- treived by reading directly out of the fieldbus specific area, see 5-1 “Fieldbus Specific Area”. Parameter Description Command initiator...
  • Page 45: Diagnostics

    Mailbox Interface 4-27 Diagnostics Get Diagnostic String from Slave (MB_GET_DIAG_STRING) Description This function returns the Diagnostic String from a specified slave on the network. Note: This function is only relevant for 7.4 type slaves Parameter Description Command initiator Application Command Name MB_GET_DIAG_STRING Message type Command number...
  • Page 46: Fieldbus Specific Area

    Chapter 5 Fieldbus Specific Area This area provides status information from the AS-Interface network. The information is presented in the form of flags and lists that represents the status of the slaves on the network. Memory Map Address Area Description 640h - 647h AnyBus Slave Area (Reserved for AnyBus-S compatibility)
  • Page 47: Lps - List Of Configured Slaves (Address 640H - 647H, Read Only)

    Fieldbus Specific Area 5-2 LPS - List of Configured Slaves (address 640h - 647h, Read Only) Structure: 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...
  • Page 48: Delta List (Address 678H - 687H, Read Only)

    Fieldbus Specific Area 5-3 DELTA List (address 678h - 687h, Read Only) This area holds the difference between the LDS and LPS lists, i.e LDS XOR LPS. Structure: Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Byte 0...
  • Page 49: As-Interface Status Flags (Address 698H - 699H)

    Fieldbus Specific Area 5-4 AS-Interface Status Flags (address 698h - 699h) For more information about the meaning of these flags, consult the AS-Interface Specification. 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 operation...
  • Page 50: Node Id Code (Address 71Ah - 759H)

    Fieldbus Specific Area 5-5 Node ID Code (address 71Ah - 759h) Each byte in this area holds the ID Code of a specific slave. Due to the nature of the extended addressing scheme used in AS-Interface v2.1, node number 32 has no ID code.
  • Page 51: Chapter 6 Troubleshooting

    Chapter 6 Troubleshooting General Module initialized, but still unable to exchange data • Data exchange will not take place until the module has responded to a “Set Running/Idle Mode & Data Representation” mailbox command. (See 4-3 “Set Running/Idle Mode & Data Repre- sentation (MB_SET_RUNNING_IDLE)”) •...
  • Page 52: Appendix A Environmental Specification

    Appendix A Environmental Specification Temperature Operating +0 to +70 degrees Celsius Test performed according to IEC-68-2-1 and IEC 68-2-2. Non Operating -15 to +85 degrees Celsius Test performed according 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.
  • Page 53: Appendix B Connectors

    Appendix B Connectors Configuration Interface 9-pin D-sub (Male) Signal Housing Received Data Male Transmitted Data Signal Ground Data Set Ready (Input only) 2mm Board to Board Signal Received Data Data Set Read (Input only) Transmitted Data Signal Ground Cable Schematic (9 pin Dsub, female) (9 pin Dsub, female)
  • Page 54: Fieldbus Interface

    Connectors B-2 Fieldbus Interface 5.08 Pluggable Screw Signal AS-Interface + AS-Interface - 2mm Board to Board Signal AS-Interface + AS-Interface -...
  • Page 55: Appendix C Electrical Characteristics

    Appendix C Electrical Characteristics Supply Voltage Both the module electronics and the fieldbus interface requires a regulated 5V DC power supply. 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 from the application side is 450mA PE Grounding A PE-connection is included on one of the mounting holes according to the AnyBus-S specification.
  • Page 56: Appendix D Mechanical Specification

    Appendix D Mechanical Specification Measurements, PCB The PCB is designed to fulfil the AnyBus-S requirements. 39.8 37.2 Ø 0.8 3x Ø 3.2 0.75 Ø 2.54 2.54 Ø 0.8 Ø 0.8 12.8 14.2...
  • Page 57: Measurements, Connectors & Switches

    Mechanical Specification D-2 Measurements, Connectors & Switches Standard Configuration 30.8 25.0 23.6 Ø 2.9 12.6 5.1 9.7 13.8 16.1 16.2 15.9 12.0 22.1 21.5 15.1...

Table of Contents