Anybus CompactCom Starter Kit Reference Guide
Document ID: HMSI-27-224 2.2
Preface
About this Document
This document provides a comprehensive understanding of how to install the Anybus CompactCom Starter Kit. It does not cover network-specific features of Anybus CompactCom products, which are detailed in the respective Network Guides. Familiarity with hardware design and communication systems is expected. For further information, documentation, and support, visit the support website at www.anybus.com/support.
Related Documents
Document | Author | Document ID |
---|---|---|
Anybus CompactCom 40 Software Design Guide | HMS | HMSI-216-125 |
Anybus CompactCom 30 Software Design Guide | HMS | HMSI-168-97 |
Anybus CompactCom 40 Hardware Design Guide | HMS | HMSI-216-126 |
Anybus CompactCom 30 Hardware Design Guide | HMS | HMSI-168-31 |
Anybus CompactCom B40-1 Design Guide | HMS | HMSI-27-230 |
Anybus CompactCom B30 Design Guide | HMS | HMSI-227-242 |
Anybus CompactCom Host Application Implementation Guide | HMS | HMSI-27-334 |
Anybus CompactCom Network Guides | HMS | (separate document for each supported fieldbus or network system) |
Document History
Version | Date | Description |
---|---|---|
1.00 | 2014-05-26 | First revision |
1.10 | 2014-12-12 | Misc. corrections |
2.0 | 2018-01-09 | Moved to DOX, General update |
2.1 | 2018-11-08 | Updates to figures of USB card and to description of control switches |
2.2 | 2019-02-25 | Rebranded |
Document Conventions
Ordered lists are used for sequential instructions:
- First do this
- Then do this
Unordered lists are used for itemized information and instructions that can be carried out in any order:
- Itemized information
- Instructions that can be carried out in any order
- Action-result type instructions: This action... leads to this result
Bold typeface indicates interactive parts like connectors, switches, menus, and buttons.
Monospaced text
indicates program code and data input/output.
This is a cross-reference within this document: Document Conventions.
This is an external link: www.hms-networks.com.
Note: This symbol indicates additional information that may facilitate installation and/or operation.
Warning: This instruction must be followed to avoid a risk of reduced functionality and/or damage to the equipment, or to avoid a network security risk.
Caution: This instruction must be followed to avoid a risk of personal injury.
WARNING: This instruction must be followed to avoid a risk of death or serious injury.
Document Specific Conventions
- The terms "Anybus" or "module" refer to the Anybus CompactCom module.
- The terms "host" or "host application" refer to the device hosting the Anybus.
- Hexadecimal values are written in the format NNNNh or 0xNNNN.
- A byte consists of 8 bits.
- All dimensions have a tolerance of ±0.20mm unless otherwise stated.
- Outputs are TTL compliant unless otherwise stated.
- Signals "pulled to GND" are connected to GND via a resistor.
- Signals "pulled to 3V3" are connected to 3V3 via a resistor.
- Signals "tied to GND" are directly connected to GND.
- Signals "tied to 3V3" are directly connected to 3V3.
Trademark Information
Anybus is a registered trademark of HMS Industrial Networks. All other trademarks are the property of their respective holders.
General Information
The Anybus CompactCom Starter Kit is a development kit for the Anybus CompactCom platform (chip, brick, and module), providing designers with instant access to the capabilities of the Anybus CompactCom range. The kit facilitates quick demonstration and in-depth evaluation, enabling the design and debugging of potential applications.
Package Contents
The starter kit package includes the following items, depending on configuration:
Configuration 1 (Anybus CompactCom M40/M30)
- HMS USB development board
- Power adapter with cable (24 V)
- USB cable
- Option board module
- Front cover
- Torx key T8
- CompactCom host connector
- Expansion board
Configuration 2 (Anybus CompactCom M40/M30 without housing)
- HMS USB development board
- Power adapter with cable (24 V)
- USB cable
- Option board module without housing
- Mounting kit
- Torx key T9
- 3M connector
- Samtec connector
- Expansion board
Configuration 3 (Anybus CompactCom B40)
- HMS USB development board
- Power adapter with cable (24 V)
- USB cable
- Option board brick
- Mounting screws (3 pcs) for brick and connector board
Description
General Information
The starter kit package includes a development board for creating networking applications via the Anybus CompactCom module's host interface channels. The kit includes an option board for either Anybus CompactCom M40/M30 (module) or Anybus CompactCom B40 (brick). The development board connects to a standard USB2 port and operates at 24 V ±20%. The Anybus CompactCom B40 option board and the expansion board provide in-circuit access to all Anybus CompactCom host interface signals for debugging and evaluation. These boards operate at 3.3 VDC.
Option Board Overview (Module)
The starter kit features two PCBs joined together. An optional module (with or without housing) or an expansion board can be connected to the top board (1). All three contacts must be joined for correct functionality; otherwise, the starter kit will not work.
Diagram showing the starter kit board with numbered components:
- 1: Module adapter card
- 2: USB base board
- 3: See Connectors, p. 8.
- 4: See Control Switches, p. 9.
Connectors
Diagram showing connector locations:
- 1: Power switch
- 2: Power connector (24 V) - 1: 24V, 2: GND
- 3: RS-232 connector
- 4: USB2 connector
Control Switches
Diagram showing control switch locations:
- 1: Reset button (hardware reset)
- 2: Control Switch. Note: Switches 1 and 2 should be OFF for control via Transport Provider path.
- OFF: Power controlled by Transport Provider path from PC.
- ON: Power always on.
- 2: Control Switch (continued). Note: Switches 1 and 2 should be OFF for control via Transport Provider path.
- OFF: Operation mode and reset signals controlled via Transport Provider path from PC.
- ON: Operating mode set to [0,0,0,0] (OM[0..3]), reset signal deactivated.
- 3-6: Reserved (shall always be ON).
- 4: Controls linking of serial RX/TX signals between interfaces (USB Transport Provider, Anybus CompactCom serial application, RS-232). Note: Set to position 2 when controlled via Transport Provider path.
- 0: No interfaces linked.
- 1: USB Transport Provider and Anybus CompactCom linked; RS-232 unconnected.
- 2: RS-232 and Anybus CompactCom linked; USB Transport Provider unconnected.
- 3: USB Transport Provider and RS-232 linked; Anybus CompactCom serial application unconnected.
- 5: Board ID switch. Unique ID required if multiple USB boards are connected to the same PC. Reconfiguration needed if ID changes.
- 6: Not used.
- 7: Dual color LEDs. Only the left LED is used.
- Off: No power to the Anybus CompactCom module.
- Green: Power on or Control Switch 1 is on.
- Red: Power off, path closed correctly.
Expansion Board Overview
The Anybus CompactCom Expansion Board connects to the development board's host application connector, providing in-circuit access to all Anybus CompactCom host interface signals for debugging and evaluation. Any Anybus CompactCom, with or without housing, can be connected. The expansion board operates at 3.3 VDC, powered by the development board connector.
Diagram showing the expansion board:
- 1: Connector to development board (host application interface)
- 2: See Host Interface Signals, p. 11.
Host Interface Signals
The Anybus CompactCom host interface signals are available through six 16-pin headers (2.54 mm). The upper row of each header is connected to signal ground, and the lower row contains the host interface signals. Pin names and functionality vary depending on the operating mode.
JP4 Header Overview:
Header | Signal Name Printed on Board | Signal Name Serial Mode | Shift Register | SPI Mode | 8-bit Mode | 16-bit Mode |
---|---|---|---|---|---|---|
JP4 | A0 | DIP1_0 | DIP1_0 | DIP1_0 | A0 | WEH |
A1 | DIP1_1 | DIP1_1 | DIP1_1 | A1 | A1 | |
A2 | DIP1_2 | DIP1_2 | DIP1_2 | A2 | A2 | |
A3 | DIP1_3 | DIP1_3 | DIP1_3 | A3 | A3 | |
A4 | DIP1_4 | DIP1_4 | DIP1_4 | A4 | A4 | |
A5 | DIP1_5 | DIP1_5 | DIP1_5 | A5 | A5 | |
A6 | DIP1_6 | DIP1_6 | DIP1_6 | A6 | A6 | |
JP5 | A7 | DIP1_7 | DIP1_7 | DIP1_7 | A7 | A7 |
A8 | LD | SS | A8 | A8 | ||
A9 | SCLK | SCLK | A9 | A9 | ||
A10 | D0 | MISO | A10 | A10 | ||
A11 | DI | MOSI | A11 | A11 | ||
A12 | ASM RX | A12 | A12 | |||
A13 (NC) | ASM TX | A13 | A13 |
JP3 Header Overview:
Header | Signal Name Printed on Board | Signal Name Serial Mode | Shift Register | SPI Mode | 8-bit Mode | 16-bit Mode |
---|---|---|---|---|---|---|
JP3 | D7 | DIP2_7 | DIP2_7 | DIP2_7 | D7 | D7 |
D6 | DIP2_6 | DIP2_6 | DIP2_6 | D6 | D6 | |
D5 | DIP2_5 | DIP2_5 | DIP2_5 | D5 | D5 | |
D4 | DIP2_4 | DIP2_4 | DIP2_4 | D4 | D4 | |
D3 | DIP2_3 | DIP2_3 | DIP2_3 | D3 | D3 | |
D2 | DIP2_2 | DIP2_2 | DIP2_2 | D2 | D2 | |
D1 | DIP2_1 | DIP2_1 | DIP2_1 | D1 | D1 | |
D0 | DIP2_0 | DIP2_0 | DIP2_0 | D0 | D0 |
JP6 Header Overview:
Header | Signal Name Printed on Board | Signal Name Serial Mode | Shift Register | SPI Mode | 8-bit Mode | 16-bit Mode |
---|---|---|---|---|---|---|
JP6 | OM0 | OM0 | OM0 | OM0 | OM0 | OM0 |
OM1 | OM1 | OM1 | OM1 | OM1 | OM1 | |
OM2 | OM2 | OM2 | OM2 | OM2 | OM2 | |
CS | CS | CS | /CS | /CS | /CS | |
WE | CT | WE | WEL | WEL | WEL | |
IRQ | PA | IRQ | IRQ | IRQ | IRQ | |
RESET | RESET | RESET | RESET | RESET | RESET |
JP7 Header Overview:
Header | Signal Name Printed on Board | Signal Name Serial Mode | Shift Register | SPI Mode | 8-bit Mode | 16-bit Mode | |
---|---|---|---|---|---|---|---|
JP7 | GOP1 | LED4A | LED4A | LED4A | LED4A | D15 | |
GOPO | LED4B | LED4B | LED4B | LED4B | D14 | ||
/GOP1 | GIP1 | LED3A | LED3A | LED3A | LED3A | D13 | |
/GOP2 | GIP1 | LED3B | LED3B | LED3B | LED3B | D12 | |
GIP2 | LED2A | LED2A | LED2A | LED2A | D11 | ||
LED2A | LED2B | LED2B | LED2B | LED2B | D10 | ||
LED1A | LED1A | LED1A | LED1A | D9 | |||
LED1B | LED1B | LED1B | LED1B | D8 |
JP8 Header Overview:
Header | Signal Name Printed on Board | Signal Name Serial Mode | Shift Register | SPI Mode | 8-bit Mode | 16-bit Mode |
---|---|---|---|---|---|---|
JP8 | RX | RX | ASM RX | ASM RX | ASM RX | ASM RX |
TX | TX / OM3 | ASM TX / OM3 | ASM TX / OM3 | ASM TX / OM3 | ASM TX / OM3 | |
Rx | MIO | MIO | MIO | MIO/SYNC | MIO/SYNC | |
Tx | M10/SYNC | MIO/SYNC | MIO/SYNC | MIO | MI1/SYNC | |
MI1 | MI1 | MI1 | MI1 | MI1 | MI1 | |
MDO | MDO | MDO | MDO | MDO | MDO | |
(NC) | (NC) | (NC) | (NC) | (NC) | (NC) |
For more information, refer to the Anybus CompactCom M40/M30 Hardware Design Guide.
Option Board Overview (Brick)
The option board for brick provides in-circuit access to all signals of the Anybus CompactCom host interface, allowing in-circuit debugging and evaluation. The option board operates at 3.3 VDC.
Diagram showing the brick option board:
- 1: Brick adapter card
- 2: USB base board
- 3: See Connectors, p. 8.
- 4: See Control Switches, p. 9.
Header/Connector Details:
- JP5: Reserved, do not use.
- JP3: Host application interface of brick.
- JP1: Network interface of brick.
- JP2: Network interface of connector board.
- JP17 - JP22: Headers providing access to Anybus CompactCom host interface signals. See Host Interface Signals, p. 16.
- JP24: See Power Source Selection (JP24), p. 15.
- JP25: See External Power Connector (JP25), p. 14.
External Power Connector (JP25)
The connector can be used to power the Anybus CompactCom module from an external power source. The board has no on-board power regulation; a regulated 3.3 VDC power source is required, as specified by the Anybus CompactCom M40/M30 Hardware Design Guide.
Diagram showing the external power connector with '+' and '-' terminals.
Warning: Exceeding the specified voltage WILL cause irreparable damage to the Anybus CompactCom and/or the host application.
Power Source Selection (JP24)
The expansion board can be powered either from the development board connector (1) or from an external power source (4).
Power Source | Jumper Location |
---|---|
Internal (via development board connector) | 1-2 |
External (via external power connector) | 2-3 |
Host Interface Signals
The Anybus CompactCom host interface signals are available through six 16-pin headers (2.54 mm). The lower row of each header is connected to signal ground, and the upper row holds the host interface signals. Pin names and functionality vary depending on the operating mode.
Diagram showing pin assignments for headers JP20, JP21, JP22, JP18, JP19, JP17.
JP18 Header Overview:
Header | Signal Name Printed on Board | Signal Name Serial Mode | Shift Register | SPI Mode | 8-bit Mode | 16-bit Mode |
---|---|---|---|---|---|---|
JP18 | MD | MDO | MDO | MDO | MDO | MDO |
A0 | DIP1_0 | DIP1_0 | DIP1_0 | A0 | WEH | |
A1 | DIP1_1 | DIP1_1 | DIP1_1 | A1 | A1 | |
A2 | DIP1_2 | DIP1_2 | DIP1_2 | A2 | A2 | |
A3 | DIP1_3 | DIP1_3 | DIP1_3 | A3 | A3 | |
A4 | DIP1_4 | DIP1_4 | DIP1_4 | A4 | A4 | |
A5 | DIP1_5 | DIP1_5 | DIP1_5 | A5 | A5 | |
A6 | DIP1_6 | DIP1_6 | DIP1_6 | A6 | A6 | |
JP19 | A7 | DIP1_7 | DIP1_7 | DIP1_7 | A7 | A7 |
A8 | LD | SS | A8 | A8 | ||
A9 | SCLK | SCLK | A9 | A9 | ||
A10 | D0 | MISO | A10 | A10 | ||
A11 | DI | MOSI | A11 | A11 | ||
A12 | ASM RX | A12 | A12 | |||
A13 | ASM TX | A13 | A13 | |||
3V3 | 3V3 | 3V3 | 3V3 | 3V3 | 3V3 |
JP17 Header Overview:
Header | Signal Name Printed on Board | Signal Name Serial Mode | Shift Register | SPI Mode | 8-bit Mode | 16-bit Mode |
---|---|---|---|---|---|---|
JP17 | D7 | DIP2_7 | DIP2_7 | DIP2_7 | D7 | D7 |
D6 | DIP2_6 | DIP2_6 | DIP2_6 | D6 | D6 | |
D5 | DIP2_5 | DIP2_5 | DIP2_5 | D5 | D5 | |
D4 | DIP2_4 | DIP2_4 | DIP2_4 | D4 | D4 | |
D3 | DIP2_3 | DIP2_3 | DIP2_3 | D3 | D3 | |
D2 | DIP2_2 | DIP2_2 | DIP2_2 | D2 | D2 | |
D1 | DIP2_1 | DIP2_1 | DIP2_1 | D1 | D1 | |
D0 | DIP2_0 | DIP2_0 | DIP2_0 | D0 | D0 | |
JP20 | OM0 | OM0 | OM0 | OM0 | OM0 | OM0 |
OM1 | OM1 | OM1 | OM1 | OM1 | OM1 | |
OM2 | OM2 | OM2 | OM2 | OM2 | OM2 | |
nCS | CS | CS | /CS | /CS | /CS | |
nWE | CT | WE | WEL | WEL | WEL | |
nIRQ | PA | IRQ | IRQ | IRQ | IRQ | |
nOE | OE | OE | OE | OE | OE | |
nRESET | RESET | RESET | RESET | RESET | RESET | |
JP21 | D15 | LED4A | LED4A | LED4A | LED4A | D15 |
D14 | LED4B | LED4B | LED4B | LED4B | D14 | |
D13 | LED3A | LED3A | LED3A | LED3A | D13 | |
D12 | LED3B | LED3B | LED3B | LED3B | D12 | |
D11 | LED2A | LED2A | LED2A | LED2A | D11 | |
D10 | LED2B | LED2B | LED2B | LED2B | D10 | |
D9 | LED1A | LED1A | LED1A | LED1A | D9 | |
D8 | LED1B | LED1B | LED1B | LED1B | D8 | |
JP22 | Rx | RX | ASM RX | ASM RX | ASM RX | ASM RX |
Tx | TX / OM3 | ASM TX / OM3 | ASM TX / OM3 | ASM TX / OM3 | ASM TX / OM3 | |
Rx | MIO | MIO | MIO | MIO/SYNC | MIO/SYNC | |
Tx | MI1/SYNC | MIO/SYNC | MIO/SYNC | MIO | MI1/SYNC | |
MI1 | MI1 | MI1 | MI1 | MI1 | MI1 | |
(NC) | (NC) | (NC) | (NC) | (NC) | (NC) | |
(NC) | (NC) | (NC) | (NC) | (NC) | (NC) |
Note: Signals Tx and Rx (JP22) are printed on the board as seen from the brick. On the first version (0327 - 1.0.1) of the option board, these signals are printed as TxD and RxD and as seen from the application, not from the Anybus CompactCom.
The signal names for the different modes are given as seen from the brick.
For more information, refer to the Anybus CompactCom B40 Hardware Design Guide.
Software
General
The software described is part of the Anybus CompactCom Starter Kit and is available at www.anybus.com/starterkit40.
Transport Provider
The Transport Provider is a set of drivers enabling a PC with Microsoft Windows™ to communicate with HMS products via Transport Paths. A Transport Path is set up once and can be reused by all HMS PC applications requiring it.
Host Application Example Code
For implementations of the Anybus CompactCom 30 or 40, the example code and its guide help to expedite the development process. The host application example code includes a driver acting as a bridge between the Anybus CompactCom module and the host application. The driver features an API (Application Programming Interface) defining a common interface. The example code also includes an application demonstrating API usage, serving as a base for the final product.
The host application example code and the Host Application Implementation Guide are available at www.anybus.com/starterkit40. The guide details the code and provides instructions for simple implementations and development tips.
Technical Specification
Power Supply
USB Development Board
- Supply Voltage: 24 V DC (±20%)
- Power Consumption: Maximum 300 mA @ 24 V DC; Typical 150 mA @ 24 V DC
Environmental Specification
Consult the Anybus CompactCom Hardware Design Guide for further information.
EMC Compliance
Consult the Anybus CompactCom Hardware Design Guide for further information.