HMS AnyBus-M User manual

Germany
Japan
Sweden
U.S.A
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
AnyBus-M AS-Interface
Rev. 1.02


Preface About This Manual
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
Operating Modes...................................................................................................................................2-1
I/O Data.................................................................................................................................................2-2
Chapter 3 Configuration Interface (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 Mode..................................................................................................................3-5
Auto Address ...............................................................................................................................3-5
Save Configuration........................................................................................................................3-6
Alter Settings ..........................................................................................................................................3-6
Chapter 4 Mailbox Interface
Fault and Status Information...............................................................................................................4-1
Bus Control ............................................................................................................................................4-2
Set off-line / on-line mode (MB_SET_ON_LINE)...................................................................4-2
Set Running/Idle Mode & Data Representation (MB_SET_RUNNING_IDLE) .................4-3
Enable/Disable Automatic Address Programming (MB_SET_AUTO_ADDRESS) .............4-4
Set Protected/Configuration Mode (MB_SET_OPERATION_MODE).................................4-5
Table of Contents
Table of Contents

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
Set Parameter String of Slave (MB_SET_PARAMETER_STRING) .................................4-16
Get ID String from Slave (MB_GET_ID_STRING) .............................................................4-17
Permanent Configuration...................................................................................................................4-18
Set Permanent Slave Parameter (MB_SET_NV_PARAM)...................................................4-18
Save Permanent Configuration for Slave in Non-Volatile Memory (MB_SET_NV_CONFIG)4-19
Get Permanent Slave Parameter (MB_GET_NV_PARAM).................................................4-20
Get Permanent Configuration for Slave (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 Input from Slave (MB_GET_ANA_INPUT) ....................................................4-24
Set Analog Output for Slave (MB_SET_ANA_OUTPUT) ..................................................4-25
Network Status ....................................................................................................................................4-26
Get Status Lists from Network (MB_GET_LISTS) ...............................................................4-26
Diagnostics ...........................................................................................................................................4-27
Get Diagnostic String from Slave (MB_GET_DIAG_STRING) ...........................................4-27
Chapter 5 Fieldbus Specific Area
Memory Map................................................................................................................................5-1
LPS - List of Configured Slaves (address 640h - 647h, Read Only) .............................................5-2
LAS - List of Activated Slaves (address 648h - 667h, Read Only)..............................................5-2
LDS - List of Detected Slaves (address 668h - 677h, Read Only)................................................5-2
DELTA List (address 678h - 687h, Read Only) .......................................................................5-3
LPF - List of Peripheral Faults (address 688h - 697h, Read Only) .............................................5-3
AS-Interface Status Flags (address 698h - 699h) .........................................................................5-4
Node Status (address 69Ah - 6D9h) ...........................................................................................5-4
Node I/O Configuration (address 6DAh - 719h) ........................................................................5-4
Node ID Code (address 71Ah - 759h).........................................................................................5-5
Node Parameter (address 75Ah - 799h).......................................................................................5-5
Config Mode (address 79Ah)........................................................................................................5-5
Running / Idle Mode (address 79Bh) ...........................................................................................5-5
Byte / Nibble Mode (address 79Ch).............................................................................................5-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............................................................................................................................ D-1
Measurements, Connectors & Switches........................................................................................... D-2
Standard Configuration............................................................................................................... D-2

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.
Important user information
The data and illustrations found in this document are not binding. We reserve the right to modify our
products in line with our policy of continuous product development. The information in this document
is subject to change without notice and should not be considered as a commitment by HMS Industrial
Networks AB. HMS Industrial Networks AB assumes no responsibility 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 verify that the application meets all performance and safe-
ty requirements including any applicable laws, regulations, codes, and standards.
AnyBus® is a registered trademark of HMS Industrial Networks AB. All other trademarks are the prop-
erty of their respective holders.
Related Documentation
Revision list
Document name Author
The Complete AS-Interface Specification AS-International Association Germany
Master Profiles (Anex B to the Complete AS-Interface Specification) v2.0 AS-International Association Germany
AnyBus-S Paralllel Design Guide HMS Industrial Networks AB
Revision Date Author Chapter Description
1.00 2002-09-24 PeP All Created
1.01 2002-11-04 TTh 1 Updated LED’s
1.02 2003-10-29 PeP All Minor corrections

About This Manual P-2
Conventions used in this manual
The following conventions are used throughout this manual:
• Numbered lists provide sequential steps
• Bulleted lists provide information, not procedural steps
• The term ‘module’ is used when referring to the AnyBus module
• 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: [email protected]
Tel: +46 (0)35-17 29 22
Fax: +46 (0)35-17 29 09
Online: www.hms-networks.com
HMS America
Email: [email protected]
Tel: +1.773.404.2271
Fax: +1.773.404.1797
Online: www.hms-networks.com
HMS Germany
Email: ge-support@hms-networks.se
Tel: +49 721 964 72157
Fax: +49 721 964 7210
Online: www.hms-networks.com
HMS Japan
Email: [email protected]
Tel: +81 45 478 5340
Fax: +81 45 476 0315
Online: www.hms-networks.com

Chapter 1
About the AnyBus-M AS-Interface
The AnyBus-M AS-I Master implements all functionality of the Reduced Extended Master (M2e) profile
as well as some functions of the Full Extended Master(M1e) profile.
The module can manage up to 62 AS-I slaves and it complies to the AS-Interface 2.1 specification. It
supports analog slaves according to slave profiles 7.3 and 7.4 (Consult the AS-Interface Slave Profiles
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
• Manage up to 62 slaves
• Up to 248 digital inputs and 186 digital outputs
• Up to 124 (16 bit) analog values
• Galvanically isolated bus electronics
• Easy to use, text based Configuration Interface via on board RS232 port
• Automatic Slave 0 Address Programming
• Complete access to network configuration via application interface
• Analog slave profile 7.1 and 7.2
• Analog slave profile 7.3 and 7.4
Compatible Products
This product is a member of the AnyBus concept of interchangeable fieldbus modules. This makes it
fully interchangeable with any fieldbus system supported by the AnyBus-M platform.

About the AnyBus-M AS-Interface 1-2
Overview
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.
For more information about connectors and pin assignments, see Appendix B-1 “Connectors”
Configuration Interface
This Configuration Interface provides a simple text based user interface for use with a PC. No special
software is required except for a standard terminal emulatior.
For connector pinout and cable schematic, see Appendix B-1 “Connectors”
# Description
1 Application Connector
2 Fieldbus Connectors
3 Configuration Interface
4 Status Indicators
5 AnyBus Watchdog LED
6 AS-Interface Watchdog LED
2
3
4
1
6
5

About the AnyBus-M AS-Interface 1-3
Indicators
AS-Interface Watchdog
•Flashing
The AS-Interface is working properly.
•Off
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.
Note: If the module receives the mailbox command SW_RESET (i.e a soft reset) all 4 leds will flash red
4 times.
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
Green On line, but no connections established
Red Offline
3 - Module Status Off No power or not initialised
Flashing Green Protected mode
Green Configuration mode
Red Power Fail bus
4 -Auto prog, slave 0 exist Off No error, no slave 0, autoprogramming not possible
8Hz Green Auto programming possible
1Hz Green Slave address 0 exist
Red Periphery error
8Hz Red Periphery error, auto-programming possible
1Hz Red Periphery error, slave with address 0 exist
12
43

Chapter 2
Software Overview
Accessing the application DPRAM follows the standard AnyBus access-method. More information is
found in AnyBus-S parallell design-guide.
The command interface that is used to control the module consists of the following items:
•I/ODataArea
This area holds the actual network input and output data. The data can be presented in both byte
and nibble mode.
• Fieldbus Specific Area
This area holds general status information and information about each slave on the network.
• Mailbox Interface
This interface is used for network configuration and analog slave profile 7.3/7.4 handling. Note
that this interface cannot be accessed when using the serial Configuration Interface.
• Configuration Interface (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)
(Wait for response)
• Send End Init
(Wait for response)
• Send Set Running / Idle Mode and Set Data Representation
(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.
• Configuration Mode
All slaves attached to the network are active instantly.
• Protected Mode
Slaves must be detected and configured in order to become active. The mailbox command
MB_SaveConfig is not allowed in this mode.

Software Overview 2-2
I/O Data
The I/O data from the AS-Interface network can be devided into two categories:
•DigitalI/O
•AnalogI/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. In Byte mode, each byte in the I/O area represents a slave on the nework, while in
Nibble mode each byte holds data for two slaves.
The way data is presented can be set either using mailbox commands or via the onboard Configuration
Interface.
• Data representation in byte mode:
In this mode, the data for each slave is located in the lower nibble of each byte.
• Data representation in nibble mode:
(Even slaves = high nibble, Odd slaves = low nibble)
Analog I/O
• Slave profiles 7.1 and 7.2
Values are read/written by the application software using 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 profiles 7.3 and 7.4
Analog values are be read/written by the application software using dedicated mailbox com-
mands; the number of slaves supported is 32 and starts with slave address 1 to 31.
The application is responsible for polling the detected analog 7.3 and 7.4 profile slaves when new
data is required.
Offset Slave no.
Byte 0 01234567
Byte 8 8910 11 12 13 14 15
Byte 16 16 17 18 19 20 21 22 23
Byte 24 24 25 26 27 28 29 30 31
Byte 32 -3334 35 36 37 38 39
Byte 40 40 41 42 43 44 45 46 47
Byte 48 48 49 50 51 52 53 54 55
Byte 56 56 57 58 59 60 61 62 63
Offset Slave no.
Byte 0 1 / 0 3 / 2 5 / 4 7 / 6 9 / 8 11 / 10 13 / 12 15 / 14
Byte 8 17 / 16 19 / 18 21 / 20 23 / 22 25 / 24 27 / 26 29 / 28 31 / 30
Byte 16 33 / - 35 / 34 37 / 36 39 / 38 41 / 40 43 / 42 45 / 44 47 / 46
Byte 24 49 / 48 51 / 50 53 / 52 55 / 54 57 / 56 59 / 58 61 / 60 63 / 62

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: 38400
Databits: 8
Stopbits: 1
Parity: None
Flowcontrol: None
Menu Tree Overview
Menu Level 1 Menu Level 2 Menu Level 3 Menu Level 4
(Main Menu)
View scan-lists
View all nodes Select Node Change Param Parameter
Change NV Param 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 Parameter
Change NV Param 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 single node Select Node Change Param Parameter
Change NV Param 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
Toggle Mode Select Configuration Configuration Mode
Select Protected Protected Mode
Toggle online/offline Select online Online
Select offline Offline
Toggle auto address
enabled / disabled Enable Auto Address Enabled
Disable Auto Address Disabled
Save Configuration Configuration Saved

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>. Note that data exchange and mailbox activity
will be halted until the RS232 cable is physically disconnected.
Main Menu
The following menu entries are available from the main menu. Detailed information of each menu entry
is presented in the following pages.
-------------------------------------
AnyBus M AS-I Main Menu
-------------------------------------
1 - View scan-lists
2 - View all nodes
3 - View all detected nodes
4 - View single node
5 - Toggle Protected/Configuration
6 - Toggle online/offline
7 - Toggle auto addr. ON/OFF
8 - Save configuration
-------------------------------------
Offline phase active: True
Power fail: True
Normal operation: 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 reflects the contents of the AS-Interface flag bytes.
For more information about the meaning of these flags, consult the AS-Interface Specification.
Menu Command Description
View scan-lists Display AS-Interface scan lists
View all nodes Display all slaves together with their actual configuration
(Note that only detected slaves contain configuration information)
View all detected nodes Display all detected nodes together with their actual configuration
View single node Display the actual and permanent configuration of a specified slave
Toggle Mode Toggle between Protected Mode and Configuration Mode
Toggle online/offline Toggle beween online / offline status
Toggle auto address enabled / disabled Enable / Disable automatic slave 0 addressing
Save Configuration Store actual configuration in EEPROM and use as permanent configuration
Status

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
0 1 2 3 4 5 6 7 8 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
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
- - X - - - X - - 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 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
- - - - - - - - - - - - - - - -
List of periphery faulted nodes
0 1 2 3 4 5 6 7 8 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
- - - - - - - - - - - - - - - -
>
Explanation:
- = No slave present
X = Slave present

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 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
I/O - - - - - - - - - - - - - - - -
ID - - - - - - - - - - - - - - - -
Param - - - - - - - - - - - - - - - -
Node 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
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 desired node address and press <Enter>.
View all detected nodes
This command will display all detected nodes.
-------------------------------------
AnyBus M AS-I Detected Nodes
-------------------------------------
Select node to view
Back - Esc
-------------------------------------
Node 5 9 13
I/O 7 1 1
ID 3 1 1
Param - D D
>
To alter a setting for a specific node, type the desired node address and press <Enter>.

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.
-------------------------------------
AnyBus M AS-I Toggle mode
-------------------------------------
1 - Configuration
2 - Protected
-------------------------------------
Press <ESC> to cancel.
Online / Offline Mode
This command is used to toggle Online / Offline mode.
-------------------------------------
AnyBus M AS-I Online/Offline mode
-------------------------------------
1 - Offline
2 - Online
-------------------------------------
Press <ESC> to cancel.
Auto Address
This command is used to enable / disable the automatic address programming feature.
-------------------------------------
AnyBus M AS-I Auto address mode
-------------------------------------
1 - Auto address on
2 - Auto address off
-------------------------------------
Press <ESC> to cancel.

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.
-------------------------------------
Select 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 ID f
ID1 f NV ID1 f
ID2 f NV ID2 f
Param f NV Param f
>
To alter the value of a parameter, select the desired parameter by typing the corresponding number and
press <Enter>.
A menu similar to the one below is displayed, allowing the selected parameter to be altered. Type the
new value and press <Enter>. The parameter value will change accordingly.
-------------------------------------
Change Parameter
-------------------------------------
Enter new value
Back - Esc
-------------------------------------
Value for node number: 45
Old value f
>

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. Consult the AnyBus-S Design Guide for more information.
If the error code is ‘Invalid Other’ (Fh), extended error information is available in the Fault Information
register (Extended word 8).
The fault codes in the Fault Information register are:
Register Value Name Description
0000h OK
0001h BUSY
0002h WRONG_SLAVE_ADDR
0003h NOT_IN_LAS
0004h SLAVE_0_EXIST
0005h BUS_ERROR
0006h EEPROM_ERROR
0007h UNKNOWN
0008h NOT_ALLOWED
00FEh MODULE_IN_IDLE_MODE
00FFh INTERNAL_ERROR
0100h ERROR_UNKNOWN_COMMAND
0200h ERROR_WRONG_SIZE
0400h ERROR_TERMAL_ENABLED

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.
•Offline
The module is disconnected from the network. No data exchange is possible, and no status lists
are updated except the configured slaves list (LPS).
Command and response layout:
Parameter Description
Com-mand initiator Application
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 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 0001h 0001h MB_SET_ON_LINE
Data size 0001h 0001h
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 On/Off line value On/Off line value 00h=On line, 01h=Off line
Table of contents
Other HMS Fencing & Gate manuals