Every care has been taken in the preparation of this document. Please inform HMS Industrial Networks of any
inaccuracies or omissions. The data and illustrations found in this document are not binding. We, HMS Industrial
Networks, 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. HMS Industrial Networks 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 applications meet all performance and safety requirements
including any applicable laws, regulations, codes, and standards.
HMS Industrial Networks will under no circumstances assume liability or responsibility for any problems that may
arise as a result from the use of undocumented features, timing, or functional side effects found outside the
documented scope of this product. The effects caused by any direct or indirect use of such aspects of the product
are undefined, and may include e.g. compatibility issues and stability issues.
The examples and illustrations in this document are included solely for illustrative purposes. Because of the many
variables and requirements associated with any particular implementation, HMS Industrial Networks cannot assume
responsibility for actual use based on these examples and illustrations.
Intellectual Property Rights
HMS Industrial Networks has intellectual property rights relating to technology embodied in the product described in
this document. These intellectual property rights may include patents and pending patent applications in the USA
and other countries.
This document is intended to provide a good understanding of how to use the Anybus
CompactCom B40-1.
The reader of this document is expected to be familiar with hardware design and communication
systems in general. For additional information, documentation, support etc., please visit the
support website at www.anybus.com/support.
Added information for Anybus CompactCom B40 CC-Link IE Field
Minor corrections and updates
Added content to make the design guide independent of the M40 HWDG
Added new example schematics
Added BACnet/IP
Updated section on DIP1 and DIP2 usage
Added section on EMC
Misc corrections
Corrected pinnings for 8-bit parallel
Misc corrections
Updated for CANopen release
Rebranded
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 6
Preface4 (78)
1.4Document Conventions
Ordered lists are used for instructions that must be carried out in sequence:
1.First do this
2.Then do this
Unordered (bulleted) lists are used for:
•Itemized information
•Instructions that can be carried out in any order
...and for action-result type instructions:
►This action...
→leads to this result
Bold typeface indicates interactive parts such as connectors and switches on the hardware, or
menus and buttons in a graphical user interface.
Monospaced text is used to indicate program code and other
kinds of data input/output such as configuration scripts.
This is a cross-reference within this document: Document Conventions, p. 4
This is an external link (URL): www.hms-networks.com
This is additional information which may facilitate installation and/or operation.
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.
1.5Document Specific Conventions
•The terms “Anybus” or “module” refers to the Anybus CompactCom module.
•The terms “host” or “host application” refer to the device that hosts the Anybus.
•Hexadecimal values are written in the format NNNNh or 0xNNNN, where NNNN is the
hexadecimal value.
•A byte always consists of 8 bits.
•All dimensions in this document have a tolerance of ±0.10 mm unless otherwise stated.
•Outputs are TTL compliant unless otherwise stated.
•Signals which are “pulled to GND” are connected to GND via a resistor.
•Signals which are “pulled to 3V3” are connected to 3V3 via a resistor.
•Signals which are “tied to GND” are directly connected to GND,
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 7
Preface5 (78)
•Signals which are “tied to 3V3” are directly connected to 3V3.
1.5.1PIN Types
The pin types of the connectors are defined in the table below. The pin type may be different
depending on which mode is used.
Pin type
IInput
OOutput
I/OInput/Output (bidirectional)
ODOpen Drain
Power
Definition
Pin connected directly to module power supply, GND or 3V3
1.6Trademark Information
Anybus®is a registered trademark of HMS Industrial Networks.
EtherCAT®is a registered trademark and patented technology, licensed by Beckhoff Automation
GmbH, Germany.
All other trademarks are the property of their respective holders.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 8
About the Anybus CompactCom B40-16 (78)
2About the Anybus CompactCom B40-1
2.1General Information
The Anybus CompactCom B40-1 concept is developed for applications where the standard
Anybus CompactCom M40 cannot be used. The brick consists of a board with network
connectivity functionality, where the customer provides the physical network interface, including
network connectors. There are also available interface boards for several networks, providing
network connectors and physical interface.
All Anybus CompactCom B40-1 share footprint and electrical interface. The brick has two
connectors that provides communication with the host application board. The host application
connector provides an interface between the host application and the brick, while the network
connector provides network access. This enables full Anybus CompactCom functionality for all
applications without loss of network compatibility or environmental characteristics.
All dimensions expressed in this document are stated in millimeters and have a tolerance of
±0.10 mm unless stated otherwise.
For general information about the Anybus CompactCom 40 platform, consult the Anybus
CompactCom 40 Software Design Guide.
This a class A product. In a domestic environment, this product may cause radio
interference in which case the user may be required to take adequate measures.
This product contains ESD (Electrostatic Discharge) sensitive parts that may be damaged if
ESD control procedures are not followed. Static control precautions are required when
handling the product. Failure to observe this may cause damage to the product.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 9
About the Anybus CompactCom B40-17 (78)
2.2Features
•Hardware support for triple buffered process data, which increases performance
•Supports synchronization for selected industrial networks
•Black channel interface, offering a transparent channel for safety communication for
selected networks
•Control pins for status indications according to each network standard (where applicable)
•Separate network connector boards available
•Firmware upgradable (FLASH technology)
•3.3 V design
•8-bit and 16-bit parallel modes
•SPI mode
•Shift register mode
•UART/Serial mode
•Transparent Ethernet functionality
•Precompliance tested for network conformance (where applicable).
•Precompliance tested for CE & UL. Contact HMS Industrial Networks for further information.
All Anybus CompactCom B40-1 will be precertified for network conformance. This is done
to ensure that the final product can be certified, but it does not necessarily mean that the
final product does not require recertification. Contact HMS Industrial Networks for
further information.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 10
Host Interface8 (78)
Host
CPU
Flash
Parallel Interface,
8-bit or 16-bit
Serial Interface
LED I/F
or RMII
RAM
A0 ... A13
Tx
Rx
LED[1A, 1B, 2A, 2B]
LED[3A, 3B, 4A, 4B]
RESET
OM[0...3]
MI[0...1]
MD
D0 ... D7
CS
OE
WE
IRQ
Physical Interface
Anybus
CPU
Network
Communications Controller
SPI
Shift Registers
SS
SCLK
MISO
MOSI
LD
SCLK
DO
DI
CT
PA
DIP1[0...7]
DIP2[0...7]
IRQ
D8 ... D15
3Host Interface
This chapter describes the low level properties of the Anybus CompactCom interface.
3.1Overview
The Anybus CompactCom has five different host communication interfaces, corresponding to
different operating modes. The figure below illustrates the basic properties of these interfaces as
well as various I/O and control signals, and how they relate to the host application.
Fig. 1
Please note that only one communication interface at a time is available. Which one is decided
at startup.
3.1.1Parallel Interface, 8-bit or 16-bit
From an external point of view, the parallel interface is a common 8-bit or 16-bit parallel slave
port interface, which can easily be incorporated into any microprocessor based system that has
3.1.2SPI
Anybus®CompactCom B40-1 Design Guide
implementing an 8-bit or 16-bit wide SRAM. Additionally, the parallel interface features an
interrupt request line, allowing the host application to service the module only when actually
needed.
The Serial Peripheral Interface (SPI) is a synchronous serial link. It operates in full duplex mode
and devices communicate in master/slave mode where the Anybus CompactCom modules
always act as slaves. The interface can provide much higher performance than the serial
interface, but not as high as the parallel interface.
an external address/data bus. Generally, implementing this type of interface is comparable to
HMSI-27-230 3.4 en-US
Page 11
Host Interface9 (78)
3.1.3Stand-Alone Shift Register Interface
In this mode the Anybus CompactCom B40-1 operates stand-alone, with no host processor.
Process data is communicated to the shift registers on the host.
3.1.4Serial Interface (UART)
The serial interface is provided for backward compatibility with the Anybus CompactCom 30. The
interface is event based, and has lower performance than the SPI and parallel modes. For more
information about the serial interface, see the Anybus CompactCom Hardware Design Guide for
the 30 series.
Please note that the Anybus CompactCom B40-1 is not backward compatible to the Anybus
CompactCom B30 hardware wise.
3.1.5LED Interface
The status of the network LEDs is available as follows:
•As LED output signals on the network interface connector. These signals are able to drive a
LED directly and are available for all networks and operating modes. (Recommended)
•As LED output signals on the host interface connector for all operating modes except 16-bit
parallel mode. These signals are not able to drive a LED directly.
•In the LED status register for all modes, see Anybus CompactCom 40 Software Design guide
for more information.
3.1.6Reduced Media-Independent Interface (RMII)
This interface is used for Transparent Ethernet, where Industrial Ethernet communication is
handled by the Anybus CompactCom and other Ethernet communication is routed to the host
application. 16–bit parallel mode and the LED Interface signals are not available in the host
application connector when Transparent Ethernet is enabled. The LED signals are still available
on the network connector of the Anybus CompactCom B40-1.
See RMII — Reduced Media-Independent Interface, p. 17 for mor information.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 12
Host Interface10 (78)
Pin 1
Application
interface
Pin 1
Network
interface
Outline of brick
Top view
1
2
56
55
Top view
3.2Host Application Connector
The host application connector provides an interface between the host application and the
Anybus CompactCom B40-1.
Fig. 2
The connector is implemented by a standard 1.27 mm 56 pin header surface mounted to the
bottom side of the PCB.
Fig. 3
The pictures shows the pinning of the mating connector on the host application seen from the
top.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 13
Host Interface11 (78)
GND 2 1 3V3
A0/WEH/DIP1_0 4
3 RESET
A2/DIP1_2 6
5 A1/DIP1_1
GND 8
7 A3/DIP1_3
A5/DIP1_5 10
9 A4/DIP1_4
A7/DIP1_7 12
11 A6/DIP1_6
GND 14
13 A8/LD/SS
A10/DO/MISO 16
15 A9/SCLK
GND 18
17 A11/DI/MOSI
A13/ASI_TX 20
19 A12/ASI_RX
D6/DIP2_6 22
21 D7/DIP2_7
GND 24
23 D5/DIP2_5
D3/DIP2_3 26
25 D4/DIP2_4
GND 28
27 D2/DIP2_2
MD0 30
29 D1/DIP2_1
OM0 32
31 D0/DIP2_0
GND 34
33 OM1
CS 36
35 OM2
IRQ/PA 38
37 WE/WEL/CT
GND 40
39 OE
LED4B/D14 42
41 LED4A/D15
GND 44
43 LED3A/D13
LED2A/D11 46
45 LED3B/D12
LED1A/D9 48
47 LED2B/D10
GND 50
49 LED1B/D8
TX/ASI_TX/OM3 52
51 RX/ASI_RX
MI0/SYNC 54
53 MI1
GND 56
55 3V3
Anybus®CompactCom B40-1 Design Guide
Fig. 4
See Pin Overview, p. 12 for information on how each pin is used in the different modes.
HMSI-27-230 3.4 en-US
Page 14
Host Interface12 (78)
3.2.1Pin Overview
Depending on operating mode, the pins have different names and different functionality.
Presented below is an overview of all pins except GND and 3V3.
The pin types of the connector are defined in PIN Types, p. 5. The pin type may be different
depending on which mode is used.
The ASI (Anybus Safety Interface) signals are used to connect a safety module to the safety interface of
an Anybus CompactCom 40-series module.
Note: The pin numbers of the Anybus CompactCom B40 (brick) host application
connector are different from those of the Anybus CompactCom M40 (module) host
application connector.
PinSignal Name
Serial
Mode
4DIP1_0DIP1_0A0WEHDIP1_0I
5DIP1_1DIP1_1A1A1DIP1_1I
6DIP1_2DIP1_2A2A2DIP1_2I
7DIP1_3DIP1_3A3A3DIP1_3I
9DIP1_4DIP1_4A4A4DIP1_4I
10DIP1_5DIP1_5A5A5DIP1_5I
11DIP1_6DIP1_6A6A6DIP1_6I
12DIP1_7DIP1_7A7A7DIP1_7I
13SSA8A8LD
15SCLKA9A9SCLKO, I
16MISOA10A10DOO, I
17MOSIA11A11DII
19ASI RXA12A12I
20ASI TXA13A13O, I
31DIP2_0DIP2_0D0D0DIP2_0
29DIP2_1DIP2_1D1D1DIP2_1
27DIP2_2DIP2_2D2D2DIP2_2
26DIP2_3DIP2_3D3D3DIP2_3
25DIP2_4DIP2_4D4D4DIP2_4
23DIP2_5DIP2_5D5D5DIP2_5
22DIP2_6DIP2_6D6D6DIP2_6
21DIP2_7DIP2_7D7D7DIP2_7
49LED1BLED1BLED1BD8LED1B
48LED1ALED1ALED1AD9LED1A
47LED2BLED2BLED2BD10LED2B
46LED2ALED2ALED2AD11LED2A
45LED3BLED3BLED3BD12LED3B
43LED3ALED3ALED3AD13LED3A
42LED4BLED4BLED4BD14LED4B
41LED4ALED4ALED4AD15LED4A
37WEWELCTI
39OEOEI
36CSCSI
38IRQIRQIRQPAO
SPI Mode8-bit
Mode
16-bit
Mode
Shift
Register
Mode
TypeNotes
I/O
I, I/O
I, I/O
I, I/O
I, I/O
I, I/O
I, I/O
I, I/O
I, I/O
O, I/O
O, I/O
O, I/O
O, I/O
OD, I/O
OD, I/O
O, I/O
O, I/O
In modules supporting RMII,
these pins are used for the RMII
interface when this has been
activated, see RMII — Reduced
Media-Independent Interface, p.
17.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 15
Host Interface13 (78)
PinSignal Name
Serial
Mode
51RXASI RXASI RXASI RXASI RXI
52
TX / OM3ASI TX /
32OM0OM0OM0OM0OM0I
33OM1OM1OM1OM1OM1I
35OM2OM2OM2OM2OM2I
54MI0
53MI1MI1MI1MI1MI1O
30MD0MD0MD0MD0MD0O
3RESETRESETRESETRESETRESETI
SPI Mode8-bit
OM3
MI0/SYNC MI0/SYNCMI0/SYNC MI0/SYNC
3.2.2Power Supply Pins
Signal
GNDPower2, 8, 14, 18, 24,
3V3Power1, 55
Type
Mode
ASI TX /
OM3
16-bit
Mode
ASI TX /
OM3
PinDescription
28, 34, 40, 44,
50, 56
Ground
Power and signal ground reference.
3.3 V power supply.
Shift
Register
Mode
ASI TX /
OM3
TypeNotes
I/O
O
Strapping input with internal
weak pull-up during powerup.
To configure OM3, use an
external pull-up/pull-down of
1.0 to 2.2 kΩ. The pin changes to
output after powerup
Low at power-up and before
reset release.
Tied to 3V
Tied to GND
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 16
Host Interface14 (78)
3.2.3LED Interface / D8–D15 (Data Bus)
Signal Name
LED1A / D9O / I/O
LED1B / D8O / I/O
LED2A / D11O / I/O
LED2B / D10O / I/O
LED3A / D13OD / I/O
LED3B / D12OD / I/O
LED4A / D15O / I/O
LED4B / D14O / I/O
Pin TypePin
48
49
46
47
43
45
41
42
Description, LED Interface
LED 1 Indication A
•Green
LED 1 Indication B
•Red
LED 2 Indication A
•Green
LED 2 Indication B
•Red
LED 3 Indication A
•Green
•Mainly used for link/
activity on network port 1
on the Ethernet modules.
Pin is open-drain to maintain
backward compatibility with
existing applications, where this
pin may be tied to GND.
LED 3 Indication B
•Yellow or red, depending
on network
•Mainly used for link/
activity on network port 1
on the Ethernet modules
(yellow).
Pin is open-drain to maintain
backward compatibility with
existing applications, where this
pin may be tied to GND.
LED 4 Indication A
•Green
•Mainly used for link/
activity on network port 2
on the Ethernet modules.
LED 4 Indication B
•Yellow or red, depending
on network
•Mainly used for link/
activity on network port 2
on the Ethernet modules
(yellow)
Description, Data Bus
D9 Data Bus
•"D9" in 16-bit parallel
mode.
D8 Data Bus
•"D8" in 16-bit parallel
mode.
D11 Data Bus
•"D11" in 16-bit parallel
mode.
D10 Data Bus
•"D10" in 16-bit parallel
mode.
D13 Data Bus
•"D13" in 16-bit parallel
mode.
D12 Data Bus
•"D12" in 16-bit parallel
mode.
D15 Data Bus
•"D15" in 16-bit parallel
mode.
D14 Data Bus
•"D14" in 16-bit parallel
mode.
The LED signals are also available on the network connector as active high push/pull signals. Those
signals are easier to use for LEDs.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 17
Host Interface15 (78)
3.2.4Settings / Sync
Signal Name
OM0
OM1
OM2
OM3 (ASI TX) (TX)
MI0 / SYNC
MI1
MD0O30
ASI RX
ASI TX
RX
TX
Type
I
I
I
I (Used as OM3
during power up)
O
O
I
O
I
O
PinDescription
32
33
35
52
54
53
51
52
UART
operation:
19
20
51
52
Operating Mode
Used to select interface and baud rate, see below.
Module Identification
MI0 and MI1 can be used by the host application to determine
what type of Anybus CompactCom that is connected.
SYNC
On networks that support synchronous communication, a
periodic synchronization pulse is provided on the SYNC output.
The SYNC pulse is also available as a maskable interrupt using the
IRQ signal.
Module Detection
This signal can be used by the host application to determine that
an Anybus CompactCom is inserted into the slot, see Module
Detection, p. 16.
The signal is connected directly to GND on the Anybus
CompactCom.
Black Channel Communication
These signals can be connected to a safety module, e.g. to IXXAT
Safe T100 to provide a safe channel for black channel
communication
If not used, pin 51 (for UART operation pin 19) should be pulled
to 3V3.
Serial Communications Signals
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 18
Host Interface16 (78)
Operating Modes
These inputs select the interface that should be used to exchange data (SPI, stand-alone shift
register, parallel or serial) and, if the serial interface option is used, the operating baud rate. The
state of these signals is sampled once during startup, i.e. any changes require a reset in order to
have effect.
OM3OM2OM1OM0
LOWLOWLOWLOW
LOWLOWLOWHIGHSPI
LOWLOWHIGHLOW
LOWLOWHIGHHIGH
LOWHIGHLOWLOW
LOWHIGHLOWHIGH
LOWHIGHHIGHLOW
LOWHIGHHIGHHIGH
HIGHLOWLOWLOW
HIGHLOWLOWHIGH
HIGHLOWHIGHLOW
HIGHLOWHIGHHIGH
HIGHHIGHLOWLOW
HIGHHIGHLOWHIGH
HIGHHIGHHIGHLOW
HIGHHIGHHIGHHIGH
LOW = V
HIGH = V
IL
IH
These signals must be stable prior to releasing the RESET signal. Failure to observe this may result in
faulty behavior.
Operating Mode
Reserved
Stand-alone shift register
Reserved
Reserved
Reserved
Reserved
16-bit parallel
8-bit parallel
Serial 19.2 kbps
Serial 57.6 kbps
Serial 115.2 kbps
Serial 625 kbps
Reserved
Reserved
Service Mode
Module Detection
This signal is internally connected to GND, and can be used by the host application to detect
whether a module is present or not. When connecting an external pull-up resistor, a low signal
indicates that a module is present.
If not used, leave this signal unconnected.
Module Identification
These signals indicate which type of module that is connected. It is recommended to check the
state of these signals before accessing the module.
MI1MI0
LOWLOW
LOWHIGH
HIGHLOW
HIGHHIGH
LOW = V
HIGH = V
OL
OH
On modules supporting “SYNC”, MI0 is used as a SYNC signal during operation. MI0 should only be
sampled by the application during the time period from power up to the end of SETUP state.
Module Type
Active Anybus CompactCom 30
Passive Anybus CompactCom
Active Anybus CompactCom 40
Customer specific
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 19
Host Interface17 (78)
3.2.5RMII — Reduced Media-Independent Interface
In RMII enabled modules, the pins described in the table below are used for the RMII
communication. They are set to tristate during startup, making it impossilbe to indicate e.g.
exception during setup. When setup is complete, they are set to inputs/outputs according to the
selected mode. See Anybus CompactCom 40 Software Design Guide for more information on
mode selection.
The 16-bit parallel mode can not be used when RMII is enabled
LED status will not be available when RMII is enabled.
PinSignal Name
49RXD0O
48RXD1O
47RXDVO
46I
45TXD0I
43TXD1I
42TXENI
41CLKI
TypeNotes
3.2.6IRQ (Interrupt Request)
Signal NamePin TypePinDescription
IRQO38Interrupt Request
The use of this signal is optional but highly recommended. Even if the host application lacks
interrupt capabilities, it is recommended to connect this signal to an input port to simplify
software design.
This signal must be pulled to 3V3 on the host application side to prevent spurious interrupts
during startup.
-
-
-
Not used (connect to external pull-down)
-
-
-
-
Active low interrupt signal.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 20
Host Interface18 (78)
Power
/RESET
0V
3.3V
Power
On
Power
Stable
t
B
t
A
V
IL
V
IH
t
t
3.2.7RESET (Reset Input)
Signal Name
Pin TypePinDescription
RESETI3Reset
Used to reset the module.
The master reset input is active low. It must be connected to a host application controllable
output pin in order to handle the power up sequence, voltage deviations and to be able to
support network reset requests. If the brick is used in stand-alone mode, with no host processor,
a separate reset circuit can be used, see Reset Circuit Example, p. 36.
The brick does not feature any internal reset regulation. To establish a reliable interface, the host
application is solely responsible for resetting the module when the supply voltage is outside the
specified range.
Power Up
Fig. 5
Powerup time limits are given in the table below:
SymbolMin.
t
A
t
B
--
1 ms
Max.
-
Definition
Time until the power supply is stable after power-on; the duration depends
on the power supply design of the host application and is thus beyond the
scope of this document.
Safety margin.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 21
Host Interface19 (78)
RESET
t
C
V
IL
V
IH
t
Restart
The reset pulse duration must be at least 10 µs in order for the NP40 to properly recognize a
reset.
Fig. 6
SymbolMin.
t
C
10 µs
Max.
-
Definition
Reset pulse width.
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 22
Host Interface20 (78)
3.3Parallel Interface Operation
3.3.1General Description
The parallel interface is based on an internal memory architecture, that allows the Anybus
CompactCom module to be interfaced directly as a memory mapped peripheral. The M40
modules can be configured for 8-bit or 16-bit parallel operation. The access time is 30 ns.
Polled operation is possible, but at the cost of an overhead. For increased efficiency, an optional
interrupt request signal (IRQ) can relieve the host application from polling for new information,
thus increasing the performance.
The parallel interface must be enabled using OM[0...3].
3.3.2Pin Usage in 8-bit Parallel Mode
The parallel 8-bit interface uses the following signals:
PinSignal NamePin Type
4
5
6
7
9
10
11
12
13
15
16
17
19
20
31
29
27
26
25
23
22
21
49
48
47
46
45
43
42
41
37WEI
39OEI
36CSI
38IRQO
32
33
35
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
D0
D1
D2
D3
D4
D5
D6
D7
LED1B
LED1A
LED2B
LED2A
LED3B
LED3A
LED4B
LED4A
OM0
OM1
OM2
I
I/O
O
O
O
O
OD
OD
O
O
I
Description/Comments
A[0...3]: Mandatory address input signals.
Standard bidirectional data bus.
8-bit mode: LED functionality, see LED Interface, p. 9.
Active low write signal or combined read/write signal.
Bus output enable; enables output on the data bus when low.
Bus chip select enable; enables parallel access to the module when
low.
Active low Interrupt Request signal. Asserted by the Anybus
CompactCom module.
The use of this signal is optional but highly recommended. Even if the
host application lacks interrupt capabilities, it is recommended to
connect this signal to an input port to simplify software design.
This signal must be pulled to 3V3 on the host application side to
prevent spurious interrupts during startup.
Operating mode. Connect all three to GND for 8-bit parallel operating
mode.
For more information see Operating Modes, p. 16.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 23
Host Interface21 (78)
PinSignal NamePin Type
52
51ASI RXI
54
53
30MD0O
3RESETI
OM3 / ASI TX
MI0/SYNC
MI1
O, I
O
Description/Comments
Black channel output.
See Black Channel/Safety Interface, p. 51.
During startup the pin (with OM[0..2]) is used to define the operating
mode of the module. Connect to external pull-up for 8-bit parallel
operating mode, see Pin Overview, p. 12.
Black channel input. Tie to 3V3 if not used.
See Black Channel/Safety Interface, p. 51
See Module Identification, p. 16
See Module Detection, p. 16
See RESET (Reset Input), p. 18.
There are no internal pull-up resistors on any of the signals above, except for OM3, which has an internal
weak pull-up.
Function Table (CS, WE, OE, D[0...7])
CSWEOE
HIGHXX
LOWLOWXData Input
LOWHIGHLOWData Output
LOWHIGHHIGH
D[0...7] State
High
impedance
(Write)
(Read)
High
impedance
Comment
Module not selected.
Data on D[0...7] is written to location selected by
address bus.
Data from location selected by address bus is
available on D[0...7].
Module is selected, but D[0...7] is in a high
impedance state.
X = don’t care
LOW = V
HIGH = V
IL
IH
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 24
Host Interface22 (78)
3.3.3Pin Usage in 16-bit Parallel Mode
The parallel 16-bit interface uses the following signals:
Bus output enable; enables output on the data bus when low.
Bus chip select enable; enables parallel access to the module when
low.
Active low Interrupt Request signal. Asserted by the Anybus
CompactCom module.
The use of this signal is optional but highly recommended. Even if the
host application lacks interrupt capabilities, it is recommended to
connect this signal to an input port to simplify software design.
This signal must be pulled to 3V3 on the host application side to
prevent spurious interrupts during startup.
Operating mode. Connect all three to 3V3 for 16-bit parallel operating
mode.
For more information see Operating Modes, p. 16
See Module Identification, p. 16
Black channel output.
See Black Channel/Safety Interface, p. 51
During startup the pin (with OM[0..2]) is used to define the operating
mode of the module. Connect to pull-down for 16-bit parallel
operating mode, see Pin Overview, p. 12.
Black channel input. Connect to 3V3 if not used.
See Black Channel/Safety Interface, p. 51
See Module Detection, p. 16.
See RESET (Reset Input), p. 18
The A0 signal is not needed in 16-bit parallel operating mode, as 16 bits are addressed instead of
8 bits. If there is need for writing one byte at the time signals WEH and WEL can be used to
enable writing to the high or low byte respectively. If both are enabled both bytes are written.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 25
Host Interface23 (78)
Function Table (CS, WEL, WEH, OE, D[0...15])
CSWELWEHOE
HIGHXXX
LOWLOWHIGHX
LOWHIGHLOWX
LOWLOWLOWX
LOWHIGHHIGHLOW
LOWHIGHHIGHHIGH
D[0...15] State
High impedanceModule not selected.
Data Input (Write)Data on D[0...7] is written to low byte of
Data Input (Write)Data on D[8...15] is written to high byte
Data Input (Write)Data on D[0 ...15] is written to location
Data Output (Read)Data from location selected by address
High impedanceModule is selected, but D[0...15] is in a
Comment
location selected by address bus.
of location selected by address bus.
selected by address bus.
bus is available on D[0...15].
high impedance state.
X = don’t care
LOW = V
HIGH = V
IL
IH
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 26
Host Interface24 (78)
Address
CS
OE
Data
Data valid
Data valid
tAAtAA
tACS
tAR
tHZ
tHZ
Address valid
Address valid
tDH
tRC
3.3.4Memory Access Read Timing
The WE input signal must remain high during a read access. The timing diagram shows a burst
read, but the timing applies for a single read as well. The Anybus CompactCom B40-1 has no
setup or hold timing requirements on the address bus relative to CS during read operations. The
only limitation on read setup and hold times is that the pingpong and powerup interrupt will be
acknowledged if all address lines are high for 10-15 ns or more while CS is low.
Fig. 7
Symbol
tRC
tAA
tACS
tAR
tHZ
tDH
Parameter
Read cycle time
Address valid to Data valid
CS low to Data valid
OE low to Data valid
CS or OE high to output reached tristate
Data hold time
Min (ns)Max (ns)
30
-
-
-
-
0
-
30
30
15
15
-
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 27
Host Interface25 (78)
Address
CS
WE
Data
Datavalid
Datavalid
tAStAH
tWP
Addressvalid
Addressvalid
tDHtDS
tWR
tAStAH
tWP
tDHtDS
tWC
tWR
Addressvalid
Address
CS
WE
Data
Datavalid
Datavalid
tAStAH
tWP
Addressvalid
Addressvalid
tDHtDS
tWR
tAStAH
tWP
tDHtDS
tWC
tWR
Addressvalid
3.3.5Memory Access Write Timing
It doesn’t matter if the OE signal is low or high as long as WE is active (low). In 16 bit mode, the
timing requirements of WE applies to both WEL and WEH. The timing diagrams show a burst
write but the timing applies for a single write as well. The first diagram shows write enable
controlled write timing and the second shows chip select controlled write timing.
Fig. 8
Fig. 9
Symbol
tWC
tAS
tAH
tWP
tDS
tDH
Parameter
Write cycle time
Address valid before End-of-Write
Address valid after End-of-Write
CS and WE low pulse width
Data valid before End-of-Write
Data valid after End-of-Write
tWRWrite recovery time10
Min (ns)Max (ns)
30
15
0
15
15
0
-
-
-
-
-
-
-
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 28
Host Interface26 (78)
3.4SPI Operation
3.4.1General Description
The SPI (Serial Peripheral Interface) bus is a synchronous serial data link standard which operates
in full duplex mode.
The SPI interface is activated using the OM[0...3] inputs. See Operating Modes, p. 16.
3.4.2Pin Usage in SPI Mode
Presented below is an overview of all pins except GND and 3V3.
DIP switch. Usage defined by application.
Readable through attribute #14 (Switch status) in Anybus Object,
instance #1.
Tie to GND if not used.
Slave select. Active low.
Serial Clock Input
Master input, slave output. Input to the master’s shift register, and
output from the slave’s shift register.
Master output, slave input. Output from the master’s shift register,
and input to the slave’s shift register.
Tie to 3V3.
DIP switch. Usage defined by application.
Readable through attribute #14 (Switch status) in Anybus Object,
instance #1.
Tie to GND if not used.
LED interface. Gives access to LED indications. For more information,
see LED Interface / D8–D15 (Data Bus), p. 14".
Active low Interrupt Request signal. Asserted by the Anybus
CompactCom module.
The use of this signal is optional but highly recommended. Even if the
host application lacks interrupt capabilities, it is recommended to
connect this signal to an input port to improve the startup time.
This signal must be pulled to 3V3 on the host application side to
prevent spurious interrupts during startup.
Operating mode [OM2, OM1, OM0]: 0,0,1 for SPI operating mode.
For more information see Operating Modes, p. 16
Black channel output. See Black Channel/Safety Interface, p. 51
During startup the pin (with OM[0..2]) is used to define the operating
mode of the module. Connect to external pull-down for SPI operating
mode,see Pin Overview, p. 12.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 29
Host Interface27 (78)
PinSignal Name
51ASI RXI
54
53
30MDO
3RESETI
MI0/SYNC
MI1
3.4.3SPI Interface Signals
The SPI interface option uses three (optionally four) signals:
Signal
SCLK
MOSI
MISO
SS
For increased efficiency, the interrupt request signal (IRQ) is also available, allowing the host
application to service the Anybus CompactCom module only when necessary.
Description
Serial Clock Input
Master output, slave input. Output from the master’s shift register, and input to the slave’s shift
register.
Master input, slave output. Input to the master’s shift register, and output from the slave’s shift
register.
Slave Select (optional)
Type
O
Description/Comments
Black channel input. Connect to 3V3 if not used.
See Black Channel/Safety Interface, p. 51
See Module Identification, p. 16
See Module Detection, p. 16
See RESET (Reset Input), p. 18
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 30
Host Interface28 (78)
D0D1D2
D0D1D2
D0D1D2D3D4D5D7 D6
D0D1D2D3D4D5D7 D6
D0D1D2D3D4D5D7 D6D5D7 D6
D0D1D2D3D4D5D7 D6D5
SS
SCLK
MOSI
MISO
Byte 0Byte NByte 1Byte N-1
D7 D6
SCLK
MISO
MOSI
D7D6D5
D7D6D5
t
SU
t
HD
t
DO
t
CL
t
CH
SS
D0
D0
t
CSLZ
t
CSHZ
t
CSS
t
CSH
4–Wire Mode
In 4-wire mode the SS signal is used to indicate the start and stop of an SPI transfer. In this mode
the SCLK signal is allowed to be either idle high or idle low. This mode also allows multiple SPI
slaves on the same SPI bus, since Anybus CompactCom MISO is tri-stated when SS is high.
A 4-wire diagram example:
Fig. 10
Fig. 11
Item
tSU
tHD
tDO
tCL
tCH
tCL+tCH
Description
MOSI setup before SCK rising edge
MOSI hold after SCK rising edge
MISO change after SCK falling edge
SCK low period
SCK high period
SCLK period.
Min ValueMax Value
10 ns
10 ns
-
-
0 ns20 ns
20 ns
20 ns
50 ns
-
-
-
Max. frequency supported is 20 MHz.
tCSS
tCSH
tCSLZ
tCSHZ
SS setup before first SCLK rising edge.
SS hold after last SCLK rising edge.
MISO valid after falling edge of SS.
MISO high-Z after rising edge of SS.
20ns
20ns
-
-
-
-
20ns
20ns
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 31
Host Interface29 (78)
D0D1D2
D0D1D2
D0D1D2D3D4D5D7 D6
D0D1D2D3D4D5D7 D6
D0D1D2D3D4D5D7 D6D5D7 D6
D0D1D2D3D4D5D7 D6D5
SCLK
MOSI
MISO
Byte 0Byte NByte 1Byte N-1
D7 D6
MISO
SPI
CTRL
5 Words
Reserv
ed
MSGLEN
APP
STAT
INT
MASK
LEDSTAT
ANB
STAT
SPI
STAT
RdMsgFieldRdPdField
CRC
MOSI
MSG LEN Words
PD LEN Words
4 Words
2 Words
WrPdFieldCRC
1 WordMSG LEN Words
PD LEN Words2 Words
PDLEN
Reserv
ed
Reserv
ed
NETTIME
WrMsgFieldPADDING
3–Wire Mode
In 3-wire mode the SS signal must be tied low permanently, and the SCLK signal must be idle high.
Multiple SPI slaves on the same bus are not possible in this mode. The module detects start and
stop of a transfer by monitoring SCLK activity.
There must be an idle period of at least 10 µs between two transfers in this mode, and the SCLK
signal must never remain high for more than 5 µs during a transfer.
A 3-wire diagram example.
Fig. 12
SPI diagram and bit timing for 3-wire mode.
Fig. 13
Item
tSU
tHD
tDO
tCL
tCH
tCL+tCH
DescriptionMin ValueMax Value
MOSI setup before SCK rising edge
MOSI hold after SCK rising edge
MISO change after SCK falling edge
SCK low period
SCK high period
SCK period
10 ns
10 ns
0 ns20 ns
20 ns
20 ns
50 ns
-
-
-
-
-
Max. frequency supported is 20 MHz.
SPI Frame Format
Fig. 14
The bytes are transmitted with the most significant bit first. The byte order for non-byte frame
elements is typically little endian. This means that the least significant byte is transmitted first.
The CRC32 checksum is an exception as it is transmitted in big endian byte order (most
significant byte first).
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 32
Host Interface30 (78)
INPUT SHIFT
REGISTER 32
Input Byte 31Input Byte n-1
Output Byte 31Output Byte n-1
OUTPUT SHIFT
REGISTER 32
INPUT SHIFT
REGISTER 1
INPUT SHIFT
REGISTER 2
INPUT SHIFT
REGISTER 3
OUTPUT SHIFT
REGISTER 1
OUTPUT SHIFT
REGISTER 2
OUTPUT SHIFT
REGISTER 3
INPUT SHIFT
REGISTER n
Input Byte 0
Input Byte 1Input Byte 2
Output Byte 0Output Byte 1Output Byte 2
OUTPUT SHIFT
REGISTER n
ADI #1ADI #2
ADI #3
ADI #32
ADI #64ADI #63
ADI #62
ADI #33
LD
SCLK
Input byte 0
DO
DI
Output byte 31Output byte 30
Input byte 1
Output byte 0
Input byte 31
3.5Stand-alone Shift Register
3.5.1General Information
In this mode the Anybus CompactCom B40-1 operates stand-alone, with no host processor.
Process data is communicated to shift registers on the host. The Anybus CompactCom B40-1
supports up to 32 registers in each direction, for a total of 256 bits of data.
Fig. 15
Even though the Anybus CompactCom B40-1 operates stand-alone, it is still possible to set host
application attributes, via the use of the virtual attributes list. Some attributes are mandatory to
implement in order to pass conformance test. See the Virtual Attributes section in the Anybus
CompactCom 40 Software Design Guide for more information.
The Anybus CompactCom B40-1 will automatically detect the number of connected input and
output shift registers. Every shift register will be represented by one UINT8 ADI. The input ADIs
will be named “Input 0”, “Input 1”, etc. The output ADIs will be named “Output 0”, “Output 1”,
etc.
The ADI access descriptor values cannot be changed:
Input ADIs: 09h (Get access + Write process data mapping possible).
Output ADIs: 11h (Get access + Read process data mapping possible)
Bits are clocked out/in MSB first, on the positive side of CLK. An active low load signal (LD) loads
all shift registers before and after a transfer.
Fig. 16
A fifth signal, PA, is high when the module is in active state, and low when the module is not.
This signal can be used by the application to clear/set the output shift registers to default values
when the module is not in active state.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 33
Host Interface31 (78)
3.5.2Pin Usage in Stand-Alone Shift Register Mode
Presented below is an overview of all pins except GND and VDD.
DIP switch node address / IP address.
See DIP1 and DIP2 Pins Usage, p. 32.
Shift register load.
Clock output.
Serial data output to shift registers.
Serial data input from shift registers.
Leave unconnected
Leave unconnected
DIP switch baud rate / Device ID / station name.
See DIP1 and DIP2 Pins Usage, p. 32.
LED interface. Gives access to LED indications. For more information,
see LED Interface / D8–D15 (Data Bus), p. 14.
Center tap signal for shift register mode.
The number of connected input and output shift registers will be
detected using this signal.
Process active signal for shift register mode.
In a PROFINET shift register stand-alone application, the PA signal
must be used to clear outputs, when the Anybus CompactCom B40-1
is not in state PROCESS ACTIVE. Otherwise it will not be possible to
certify the final product. See the Anybus CompactCom 40 PROFINET
IRT Network Guide for more information.
Leave unconnected.
Leave unconnected.
Black channel input. Connect to 3V3 if not used.
See Black Channel/Safety Interface, p. 51
Black channel output.
See Black Channel/Safety Interface, p. 51
During startup the pin (with OM[0..2]) is used to define the operating
mode of the module. Connect to external pull-down for shift register
operating mode, see Pin Overview, p. 12.
The use of the DIP1 and DIP2 pins is network specific. If used, they will be read during SETUP
state. Thereafter, DIP switch changes will be sampled and written to the Network Configuration
Object every 0.5 seconds.
DIP1 is linked to the Network Configuration Object, instance 1 (node address) or instance 3 (IP
address). DIP2 is linked to the Network Configuration Object, instance 2 (baud rate) or instance 1
(Device ID, EtherCAT), or, in the case of PROFINET, linked to the PROFINET IO Object , instance 1,
attribute 24.
See Network Configuration Object (04h) in the Anybus CompactCom 40 Software Design Guide
for more information.
If DIP1 is set to 0, saved values from
instances 3 - 6 are used. If DIP1 is set
to 255, DHCP is used for all settings.
The DIP switches set the last byte of
the IP address. Virtual attributes are
used to configure the remaining part
the IP address, as well as the
subnetmask (Network Configuration
Object, instance 4) and the gateway
(instance 5).
startup the module will enter the
NMT_CS_BASIC_ETHERNET state
after 5 seconds. In this state DIP1 is
used for the IP address.
As soon as the module detects
POWERLINK traffic it will enter the
NMT_CS_EPL_MODE super state. In
this state DIP1 is used as the
POWERLINK node address. In the
NMT_CS_EPL_MODE state the IP
address of the module is fixed to
192.168.100.yyy where yyy is the
node address.
Note that IT functionality can be
disabled in the POWERLINK host
application object. If that is done
DIP1 is never used for the IP address.
If DIP1 is set to 0, saved values from
instances 3 - 6 are used. If DIP1 is set
to 255, DHCP is used for all settings.
The DIP1 to switches set the last
byte of the IP address. Virtual
attributes are used to configure the
remaining part the IP address, as
well as the subnetmask (Network
Configuration Object, instance 4) and
the gateway (instance 5).
If DIP2 is set to 0, the value saved in
the non volatile memory will be used.
The DIP2 switches set the last three
digits of the station name. see the
Anybus CompactCom 40 PROFINET
IRT Network Guide.
DIP1: Depending on number of
stations used. An invalid value will
generate a NACK on Setup Complete.
The schematic below illustrates a basic shift register circuit.
®
Anybus
CompactCom B40-1 Design Guide
Fig. 18
HMSI-27-230 3.4 en-US
Page 38
Host Interface36 (78)
H_RESET_N
3V3
3V3
C2
1nF/50V
U?
TPS3828-33
RESET
1
GND
2
MR
3
WDI
4
VCC
5
R1
2k2
C1
100nF/16V
C3
1nF/50V
B1
SW PUSHBUTTON RIGHT ANGLE
12
34
DIP[1_0 .. 1_7]
DIP1_0
DIP1_1
DIP1_2
DIP1_3
DIP1_4
DIP1_5
DIP1_6
DIP1_7
DIP1_1
DIP1_2
DIP1_3
DIP1_4
DIP1_5
DIP1_6
DIP1_7
DIP1_0
3V3
10k10k10k10k10k10k10k10k
DIP switches
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
3.5.5Reset Circuit Example
The reset circuit example in the figure, is a common 3.3 V supervisor. The main usage is to obtain
a defined reset release delay after the voltage is switched on. The power supply has to provide a
stable voltage within the interval 3.15–3.45 V
Fig. 19
3.5.6DIP Switches Example
Pull-down resistors are necessary if DIP switches are connected to the DIP inputs.
Fig. 20
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 39
Host Interface37 (78)
3.6UART Operation
3.6.1General Description
The serial interface is a common asynchronous serial interface, which can easily be interfaced
directly to a microcontroller or UART. It is provided for backward compatibility with the Anybus
CompactCom 30 series.
The serial interface is activated using the OM[0...3] inputs, which also are used to select the
operating baud rate, see Operating Modes, p. 16.
Other communication settings are fixed to the following values:
Data bits: 8
Parity: None
Stop bits: 1
Communication settings are fixed to asynchronous, 8-N-1, with bit order LSB first and without
hardware flow control signals.
It is not possible to build a synchronous application in this mode.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 40
Host Interface38 (78)
3.6.2Pin Usage in Serial Mode
Presented below is an overview of all pins except GND and 3V3
DIP switch. Usage defined by application.
Readable through attribute #14 (Switch status) in Anybus Object,
instance #1.
Connect directly to GND if not used.
Connect directly to GND
Connect directly to 3V3.
See Black Channel/Safety Interface, p. 51
If not used, connect directly to 3V3.
See Black Channel/Safety Interface, p. 51
If not used, leave unconnected.
DIP switch. Usage defined by application.
Readable through attribute #14 (Switch status) in Anybus Object,
instance #1.
Connect directly to GND if not used.
LED interface. Gives access to LED indications. For more information,
LED Interface / D8–D15 (Data Bus), p. 14.
When not used, LED1A, LED1B, LED2A, LED2B, LED4A and LED4B can
be left unconnected.
LED3A and LED3B are open-drain outputs and should, if not used, be
pulled either to GND or to 3V3, depending on application.
Connect directly to 3V3.
Leave unconnected
•Direction: Host application -> CompactCom
•Idle state = High
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 41
Host Interface39 (78)
PinSignal NamePin Type
52
32
33
35
54
53
30MD0O
3RESETI
TX / OM3
OM0
OM1
OM2
MI0/SYNC
MI1
It is important to connect all signals correctly for proper functioning of the serial interface.
3.6.3Baud Rate Accuracy
Description/Comments
O, ITransmit Output
•Direction: CompactCom -> Host application
•Idle state = High
This pin doubles as OM3 strapping input on Anybus CompactCom
M40 modules. Connect a pull-up resistor on the application for this
pin in serial mode.
I
O
Operating mode [OM2, OM1, OM0]:
001
010
011
100
For more information see Operating Modes, p. 16.
See Module Identification, p. 16
See Module Detection, p. 16
See RESET (Reset Input), p. 18
Serial 19.2 kbps
Serial 57.6 kbps
Serial 115.2 kbps
Serial 625 kbps
As with most asynchronous communication devices, the actual baud rate used on the Anybus
CompactCom may differ slightly from the ideal baud rate.
The baud rate error of the module is less than ±1.5%. For proper operation, it is recommended
that the baud rate accuracy in the host application lies within ±1.5% from the ideal value.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 42
Network Connector40 (78)
Pin 1
Application
interface
Pin 1
Network
interface
Outline of brick
Top view
1
2
52
51
Top view
4Network Connector
The network connector provides network access to the brick.
Fig. 21
The signals from the brick network connector can be directly routed to the (optional) connector
board, which carries a network connector(s) identical or similar to the ones on the corresponding
Anybus CompactCom M40 module.
Examples on how to design the network access circuitry, when not using the connector board,
are shown in Design Examples, Network Interface, p. 74.
The brick has a standard 1.27 mm 52 pin header surface mounted to the bottom side of the
board as network interface.
Anybus®CompactCom B40-1 Design Guide
Fig. 22
The pictures shows the pinning of the corresponding network connector on the host application
board, seen from the top.
HMSI-27-230 3.4 en-US
Page 43
Network Connector41 (78)
GND2 1 3V3
B_1CEN/SDA4
3 B_1P/RXP
GND6
5 B_1N/RXN
B_2CEN/SCL8
7 B_2P/SDP
GND 10
9 B_2N/SDN
B_3CEN 12
11 B_3P/TXEN
GND 14
13 B_3N/TXDIS
B_4CEN/BUSP 16
15 B_4P/TXP
GND 18
17 B_4N/TXN
NW_LED4A 20
19 NW_LED4B
NW_LED3A 22
21 NW_LED3B
NW_LED2A 24
23 NW_LED2B
NW_LED1A 26
25 NW_LED1B
GND 28
27 3V3
A_1CEN/SDA 30
29 A_1P/RXP
GND 32
31 A_1N/RXN
A_2CEN/SCL 34
33 A_2P/SDP
GND 36
35 A_2N/SDN
A_3CEN 38
37 A_3P/TXEN
GND 40
39 A_3N/TXDIS
A_4CEN/BUSP 42
41 A_4P/TXP
GND 44
43 A_4N/TXN
C_RX 46
45 C_TX
C_BUSP 48
47 C_TXEN
GATE2 50
49 GATE1
GND 52
51 3V3
Fig. 23
4.1Overview
Depending on network, the pins have different names and different functionality. Presented
below is an overview of all pins except GND and 3V3. More detailed descriptions of the signals
are described for each network/fieldbus version later in this section (4).
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 44
Network Connector42 (78)
PinSignal Name
Ethernet based
networks, Copper
3B_1PB_RXP
4B_1CENB_SDA
5B_1NB_RXN
7B_2PB_SDP
8B_2CENB_SCL
9B_2NB_SDN
11B_3PB_TXEN
12B_3CEN
13B_3NB_XDIS
15B_4PB_TXP
16B_4CEN
17B_4NB_TXN
19NW_LED4BNW_LED4BNW_LED4BNW_LED4BNW_LED4B
20NW_LED4ANW_LED4ANW_LED4ANW_LED4ANW_LED4A
21NW_LED3BNW_LED3BNW_LED3BNW_LED3BNW_LED3B
22NW_LED3ANW_LED3ANW_LED3ANW_LED3ANW_LED3A
23NW_LED2BNW_LED2BNW_LED2BNW_LED2BNW_LED2B
24NW_LED2ANW_LED2ANW_LED2ANW_LED2ANW_LED2A
25NW_LED1BNW_LED1BNW_LED1BNW_LED1BNW_LED1B
26NW_LED1ANW_LED1ANW_LED1ANW_LED1ANW_LED1A
29A_1PA_RXP
30A_1CENA_SDA
31A_1NA_RXN
33A_2PA_SDP
34A_2CENA_SCL
35A_2NA_SDN
37A_3PA_TXEN
38A_3CEN
39A_3NA_TXDIS
41A_4PA_TXP
42A_4CEN
43A_4NA_TXN
45C_TXC_TXC_TX
46C_RXC_RXC_RX
47C_TXENC_TXEN
48C_BUSP_N
49GATE1GATE1GATE1
50GATE2GATE2GATE2
Ethernet based
networks, fiber optic
DeviceNet
PROFIBUS
CC-Link
At the moment the following copper wired Ethernet protocols are available: EtherNet/IP,
PROFINET IRT, Ethernet POWERLINK, EtherCAT, Modbus-TCP, CC-Link IE Field and BACnet/IP. At
the moment the following fiber optical Ethernet protocol is available: PROFINET IRT. The speed
of all of these protocols are 100 Mb/s (using signal pairs 1-2 of each port), except CC-Link IE Field
which is 1 Gb/s (using signal pairs 1–4 of each port).
The LED signals are active high and should be connected to respective LED via a resistor.
The pin types of the connector are defined in PIN Types, p. 5. The pin types are specified for each
network type on the following pages.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 45
Network Connector43 (78)
4.2Power Supply Pins
Signal Name
GNDPower2, 6, 10,
3V3Power1, 27, 51
Type
Pin No.Description
14, 18, 28,
32, 36, 40,
44, 52
Ground
Power and signal ground reference.
3.3 V power supply.
4.3How to Connect Unused Network Connector Pins
For Ethernet versions of the Anybus CompactCom B40-1 it is recommended to terminate
Ethernet signals in the network interface if one of the Ethernet ports is unused. For the 10/100
Mb/s hardware version it is sufficient to terminate pair no. 1 and 2, for the port of concern,
while for the 1 Gb/s hardware version this has to be done for pair no. 1, 2, 3, and 4.
Fig. 24
Unused fibre optic connector pins should be connected as follows:
•100R between TXP and TXN
•820R between SDN and 3V3, resulting in 2 V on SDN
•1k5 between SDP and 3V3, resulting in 1.5 V on SDP- Indicates that no signal is received. A
signal amplitude of 0.5 V is appropriate.
•4k7 between SCL and 3V3
•4k7 between SDA and 3V3
Other network signals may be left floating when not used.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 46
Network Connector44 (78)
4.4Ethernet Based Networks (Copper)
The industrial networks, that use Ethernet for communication, share the same hardware design.
However, the firmware downloaded to the brick is different depending on network. Physically
they use the same set of pins in a similar way. Bricks are available for the following Ethernet
based networks: EtherNet/IP, EtherCAT. PROFINET, Ethernet POWERLINK, CC-Link IE Field and
Modbus TCP.
The brick supports dual network ports, signal group A should be connected to the left port (port
1) and signal group B to the right port (port 2) on the connector board, looking at the front, see
Connector Board for Copper Based Ethernet, p. 55
For EtherCAT, signal group A is used for the IN port and signal group B is used for the OUT port.
Signal GroupSignal NameType
BB_1P
B_1CENPower4
B_1N
B_2P
B_2CENPower8
B_2N
B_3P
B_3CENPower12
B_3N
B_4P
B_4CENPower16
B_4N
AA_1P
A_1CENPower30
A_1N
A_2P
A_2CENPower34
A_2N
A_3P
A_3CENPower38
A_3N
A_4P
A_4CENPower42
A_4N
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Pin
3
5
7
9
11
13
15
17
29
31
33
35
37
39
41
43
Description
First pair, positive signal
Center tap voltage for first pair
First pair, negative signal
Second pair, positive signal
Center tap voltage for second pair
Second pair, negative signal
Third pair, positive signal. Used for Gigabit Ethernet.
Center tap voltage for third pair. Used for Gigabit
Ethernet.
Third pair, negative signal. Used for Gigabit Ethernet.
Fourth pair, positive signal. Used for Gigabit Ethernet.
Center tap voltage for fourth pair. Used for Gigabit
Ethernet.
Forth pair, negative signal. Used for Gigabit Ethernet.
First pair, positive signal
Center tap voltage for first pair
First pair, negative signal
Second pair, positive signal
Center tap voltage for second pair
Second pair, negative signal
Third pair, positive signal. Used for Gigabit Ethernet.
Center tap voltage for third pair. Used for Gigabit
Ethernet.
Third pair, negative signal. Used for Gigabit Ethernet.
Fourth pair, positive signal. Used for Gigabit Ethernet.
Center tap voltage for fourth pair. Used for Gigabit
Ethernet.
Forth pair, negative signal. Used for Gigabit Ethernet.
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 47
Network Connector45 (78)
4.5Ethernet Fiber Optic Networks
Ethernet fiber optic networks use more or less the same pins as copper based Ethernet networks.
The brick supports PROFINET fiber optic network (PROFINET IRT).
The brick supports dual network ports, signal group A is be connected to the left port (port 1)
and signal group B to the right port (port 2)on the connector board, looking at the front, see
Connector Board for Fiber Optic Ethernet, p. 56.
If the Anybus CompactCom B40 connector board is not to be used, please study the design
requirements for the Rx and SD channels, see Rx Channel Design Requirements, p. 45 and SD
Channel Design Requirements, p. 46. Furthermore, fiber optic connectors without metal are
preferred in order to minimize EMC disturbance.
Signal GroupSignal Name
BB_RXPI3
B_SDA
B_RXNI5
B_SDPI7
B_SCL
B_SDNI9
B_TXENO11
B_TXDISO13
B_TXPO15
B_TXNO17
AA_RXPI29
A_SDA
A_RXNI31
A_SDPI33
A_SCL
A_SDNI35
A_TXENO37
A_TXDISO39
A_TXPO41
A_TXNO43
Type
I/O
I/O
I/O
I/O
PinDescription
4
8
30
34
Rx, LVPECL positive signal
SDA, I2C data
Rx, LVPECL negative signal
Signal Detect, LVPECL positive signal
SCL, I2C clock
Signal Detect, LVPECL negative signal
Tx enable
TXEN is implemented as the inverse to TXDIS
Tx disable
Tx, LVPECL positive signal
Tx, LVPECL negative signal
Rx, LVPECL positive signal
SDA, I2C data
Rx, LVPECL negative signal
Signal Detect, LVPECL positive signal
SCL, I2C clock
Signal Detect, LVPECL negative signal
Tx enable
TXEN is implemented as the inverse to TXDIS
Tx disable
Tx, LVPECL positive signal
Tx, LVPECL negative signal
The differential signals Rx and Tx should be routed as differential pairs with a characteristic
impedance of 100 Ω differentially.
4.5.1Rx Channel Design Requirements
The Rx channel is designed for an optical transceiver output that has an AC coupled 100 Ω
differential signal with 100-1000 mV amplitude, e.g. LVPECL (low voltage positive emitter
coupled logic). Each line is terminated with 50 Ω to a common point with a potential of 1.2 V on
the brick.
If a transceiver with a DC coupled output is used, series capacitors are needed to obtain desired
signal levels for the brick. Below is a figure describing three different options to connect a
transceiver output to an Rx channel on the brick:
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 48
Network Connector46 (78)
Brick
Trans-ceiver
Trans-ceiver
Trans-ceiver
BrickBrick
AC coupled transceiverDC coupled transceiver DC coupled transceiver with bias current
Brick
Trans-ceiver
Trans-ceiver
Trans-ceiver
BrickBrick
a: DifferentialLVPECL output
b: Single ended LVPECL outputIf the output is active low: Connect the output to SDN and
the 820 Ω resistor to SDP.
c: LVCMOS output. If the output is active low, connect the 1.8 kΩ resistor to SDN instead.
Fig. 25
The AC coupling capacitors typically have a value of 100 nF. Resistors draining bias current
typically have a value of 150 Ω.
4.5.2SD Channel Design Requirements
The SD (signal detect) channel is designed for a transceiver output that has a DC coupled
differential output with 100-1000 mV amplitude. If a transceiver with LVTTL/LVCMOS output is
used, the signal needs to be conditioned using a few resistors, to obtain desired signal levels for
the brick.
Each line is pulled to GND by a 1.27 kΩ resistor on the brick.
Even if the transceiver has a single ended output and the other line is at a fixed reference
potential, it is recommended to route SDN and SDP side by side all the way to the signal
conditioning resistors. This will give the interference, collected by the transmission line, common
mode characteristics, and it can thus be ignored by the differential input, instead of becoming a
differential mode interference that would corrupt the signal.
Below is a figure describing three different ways to connect a transceiver output to an SD
channel of the brick:
Fig. 26
In case a and case b, additional pull-down resistors will be required if the LVPECL outputs require
a certain bias current (> 1 mA) to function.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 49
Network Connector47 (78)
4.6DeviceNet
The Anybus CompactCom B40-1 DeviceNet communication interface uses the following pins:
Signal Name
C_TXO45Tx
C_RXI46Rx
C_BUSP_NI48
GATE1O49
GATE2O50
For mechanical drawing of the applicable connector board see: Connector Board for CC-Link and
DeviceNet, p. 57
4.7PROFIBUS
The Anybus CompactCom B40-1 PROFIBUS DP-V1 communication interface uses the following
pins:
Signal NameType
C_TXO45Tx
C_RXI46Rx
C_TXENO47
GATE1O49
GATE2O50
Type
PinDescription
Bus power detection. Active low
Low voltage MOS gate driver. For fieldbus isolated DC supply circuitry.
The signals should preferably be routed to the connector board for
future compatitibility, but for DeviceNet, the isolated circuitry is
generally supplied by the bus power.
Pin
Description
TxEnable
Low voltage MOS gate driver. For fieldbus isolated DC supply circuitry.
Low voltage MOS gate driver. For fieldbus isolated DC supply circuitry.
For mechanical drawing of the applicable connector board see: Connector Board for PROFIBUS, p.
54 for information about the optional connector board.
4.8CC-Link
The Anybus CompactCom B40-1 CC-Link communication interface uses the following pins:
Signal NameType
C_TXO45Tx
C_RXI46Rx
C_TXENO47
GATE1O49
GATE2O50
For mechanical drawing of the applicable connector board see: Connector Board for CC-Link and
DeviceNet, p. 57 for information about the optional connector board.
Pin
Description
TxEnable
Low voltage MOS gate driver. For fieldbus isolated DC supply circuitry.
Low voltage MOS gate driver. For fieldbus isolated DC supply circuitry.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 50
Network Connector48 (78)
Brick
network
interface
G
Y
220 Ω
220 Ω
NW_LED4A
NW_LED4B
4.9LED Indicators
The Anybus CompactCom 40 series supports four bicolored LED indicators.
LED namePin no.
LED126NW_LED1AGreen
25NW_LED1B
LED224NW_LED2AGreen
23NW_LED2B
LED322NW_LED3AGreen
21NW_LED3B
LED420NW_LED4AGreen
19NW_LED4B
Signal Name
Default color
Red
Red
Yellow
Yellow
Default Functionality
Network status
Module status
All Industrial
Ethernet Networks:
Other:Not used
EtherNet/IP,
Modbus-TCP
OtherNot used
All Industrial
Ethernet Networks:
Other:Not used
EtherNet/IP,
Modbus-TCP
OtherNot used
Link/Act for the
network port (port A)
10 Mbit Link/Act for
Link/Act for the
network port (port A)
Link/Act for the
network port (port B)
10 Mbit Link/Act for
Link/Act for the
network port (port B)
All LED outputs are active high and should be connected as shown in the picture below. The
resistor values should be chosen to get even light between different LEDs.
Fig. 27
4.9.1Ethernet, 1000 Mbit
For Gigabit Ethernet applications, another solution for connecting the LEDs is needed to obtain
indications equal to the Anybus CompactCom M40. The solution, presented here, can be used
for 10 and 100 Mbit applications as well. The table below shows how to interpret the LED
indications in this case.
Please note that the only Anybus CompactCom 40 that at this time supports 1 Gbit communication over
Ethernet, is the Anybus CompactCom 40 CC-Link IE Field.
LEDxALEDxB
LowLow
Low
High
HighHighTwo green LEDs on for link detected, flickers to indicate 1 Gbit activity
All LED outputs are active high and should be connected as shown in the picture below.
Anybus®CompactCom B40-1 Design Guide
HighYellow LED on for link detected, flickers to indicate 10 Mbit activity
Low
Indication
Off
One green LED on for link detected, flickers to indicate 100 Mbit activity
HMSI-27-230 3.4 en-US
Page 51
Network Connector49 (78)
Fig. 28
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 52
EMC
5EMC
This section offers information, necessary when designing in an Anybus CompactCom B40-1, to
ensure sufficient performance related to EMC. However, an engineering assessment is always
needed to ensure the quality. HMS Industrial Networks does not leave any guarantees, but
provides relevant information to the customers.
5.1General
When working with a design in relation to EMC, it is recommended to always aim for good signal
integrity, since this is highly related to the EMC. For power, this means solid planes for both
power and GND together with good decoupling between the planes. As the quality of the power
is of great importance, it is important to perform sufficient verifications during the design
process to ensure this. This is also true for signals, where good signal integrity most likely results
in good EMC performance. There should always exist good connection to a reference plan
without any obstacles for the return current. Traces should also be kept short, with as few board
and cable transitions as possible, since every transition will have a negative impact on the signal
integrity.
For GND planes, the following basic design rules are important:
•A continuous and stable GND plane is needed underneath the B40 connectors in order to
ensure good signal integrity.
50 (78)
•The plane must follow the signal path through the connector
Considering the host application connector, different protocols are more sensitive to interference
than others. E.g. try to avoid using parallel and RMII interface in the design, if the
recommendations in this section cannot be followed or if the risk of interference is high. To
ensure stability, there has to be a sufficient separation on the host board between a parallel
interface and an RMII interface.
5.2Bulk and Decoupling
Recommendations regarding bulk and decoupling capacitors is presented in Bypass Capacitance,
p. 73.
The capacitors have impact on the power quality at the Anybus CompactCom board, but are also
of importance in relation to EMC immunity. These general recommendations should be
evaluated for every design. The values may also need to be adjusted in relation to power
consumption, power quality on the main board, and the layout of the main board.
5.3Reset Signal
There are several aspects to consider when routing the reset signal for the Anybus CompactCom.
Requirements for rise and fall time, but also the relation between the power up and the reset
signal are described in RESET (Reset Input), p. 18. These requirements must be met in all designs
to ensure stability. If the reset signal has a long trace or if there is any other aspect that has a
negative impact on the signal integrity, an RC filter may be required. To minimize the risk of EMC
problems, it is possible to add footprints for a RC-filter in advance and evaluate the need before
it becomes a problem during any certification. When designing the filter, all timing aspects must
be considered, so that the timing requirements in RESET (Reset Input), p. 18 are fulfilled.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 53
Black Channel/Safety Interface
M
PLC
SafetyController
SafetyModule
Anybus
CompactCom
MotorControl
Black Channel
Safety Protocol Transportaon
IndustrialNetwork
Anybus CompactCom Network Interface
Safe T100
Scanner
6Black Channel/Safety Interface
The black channel is a transportation mechanism for safety related protocol extensions over a
nonsafe communication media. The safety layer performs safety related transmission functions
and checks on the communication to ensure that the integrity of the link meets the requirement
for SIL 3, cat4/PL e. The black channel can be seen as a virtual link between the safety layers of
the devices.
51 (78)
Anybus®CompactCom B40-1 Design Guide
Fig. 29
The IXXAT Safe T100 is a precertified embedded safety option module which provides device
manufacturers with an easy and cost efficient way to integrate conformant safe I/O signals into
standard automation devices. It connects via its serial black channel interface to the Anybus
CompactCom module. The safety module provides digital safe I/O signals that can be controlled
via the network and that can be directly connected to the safety functions of an automation
device. Other standard safety modules can also be used to provide a safety communication
interface for the Anybus CompactCom 40 series.
The same serial interface is used both for serial download and for safety communication. Please
take this in account when implementing the use of a safety module or Black Channel.
HMSI-27-230 3.4 en-US
Page 54
This page intentionally left blank
Page 55
Appendix A: Mechanical Specification53 (78)
36
36
33
13
2x
3,2
1,5 ± 0,25
2,3 ± 0,25
27 ± 0,20 4,5 ± 0,20
1,27 ± 0,05
1,27
2x26p
2x28p
8=max module height
Pin 1
Application
interface
Pin 1
Network
interface
Bottom view
AMechanical Specification
This a class A product. In a domestic environment, this product may cause radio
interference in which case the user may be required to take adequate measures.
This product contains ESD (Electrostatic Discharge) sensitive parts that may be damaged if
ESD control procedures are not followed. Static control precautions are required when
handling the product. Failure to observe this may cause damage to the product.
All dimensions are in millimeters, tolerance ±0.10 mm, unless otherwise stated.
A.1Anybus CompactCom B40-1
The dimensions for the Anybus CompactCom B40-1 are given in the picture below.
Fig. 30
Anybus
®
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 56
Appendix A: Mechanical Specification54 (78)
1,5 ± 0,25
2,3 ± 0,25
3,5 ± 0,20
2,9
12,6
30,8
32
38,8
40
18
20
3,2
0,5
A.2Connector Board for PROFIBUS
The connector board for the PROFIBUS network interface carries a D-sub connector
If the connector board is mounted in an environment that is subject to vibration, please
make sure to secure the network cable in such a manner, that the vibrations will not
harm the D-sub connector.
Anybus
Fig. 31
®
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 57
Appendix A: Mechanical Specification55 (78)
1,5 ± 0,25
2,3 ± 0,25
3,5 ± 0,20
2,9 12,7
37,8
15,6
40
20
18
32
35
3,2
A.3Connector Board for Copper Based Ethernet
The connector board for the copper based Ethernet network interfaces carries two RJ45
connectors.
Anybus
Fig. 32
®
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 58
Appendix A: Mechanical Specification56 (78)
1,5 ± 0,25
2,3 ± 0,25
3,5 ± 0,20
2,9 13,2
40,3
16,8
20
40
18
32
44,5
3,2
A.4Connector Board for Fiber Optic Ethernet
The connector board for the Fiber Optic Ethernet network interface carries two fibre optic
transceivers.
Fig. 33
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 59
Appendix A: Mechanical Specification57 (78)
1,5 ± 0,25
2,3 ± 0,25
3,5 ± 0,20
2,9 8,9
27,4
20
40
32
18
35
3,2
A.5Connector Board for CC-Link and DeviceNet
The connector board for the CC-Link and the DeviceNet network interfaces carry a pluggable
screw terminal (5.08mm)
Fig. 34
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 60
Appendix A: Mechanical Specification58 (78)
33
2xM3
27
8,5
Pin 1
Application
interface
Pin 1
Network
interface
Outline of brick
Top view
A.6Footprints
A.6.1Anybus CompactCom B40-1
The Anybus CompactCom B40-1 is connected to the host application board through the host
application interface connector and a network interface connector. The footprint for the Anybus
CompactCom B40-1 is shown in the picture below.
Fig. 35
See Assembly, p. 60 for suggested components.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 61
Appendix A: Mechanical Specification59 (78)
M3
14,5
Pin 1
Network
interface
FE
Outline of
connector board
Top view
1.5
2.3
27 4.5
8 = max module height
A.6.2Network Connector Board
The network connectors are mounted on a separate connector board. The footprint for a
connector board is shown in the figure below. This footprint is the same for all connector boards
Fig. 36
The fastening screw must be connected to the functional earth (FE) of the host application.
See Assembly, p. 60 for suggested components.
A.7Height Restrictions
All dimensions are in millimeters
Anybus®CompactCom B40-1 Design Guide
Fig. 37
The maximum height occupied by onboard components of the Anybus module is 8 mm. To ensure
isolation, it is recommended to add an additional 2.5 mm on top of these dimensions.
HMSI-27-230 3.4 en-US
Page 62
Appendix A: Mechanical Specification60 (78)
20
40
32
18
0,5
3,2
2,0
Front plate placement area
A.8Front Plate Restrictions
Customer applications that have a front plate with hole(s) for accessing the connector(s) of a
connector board, must have the front plate placed at least 0.5 mm away from the connector
board edge and must not reach further than 2.5 mm away from the connector board edge.
Fig. 38
A.9Assembly
The Anybus CompactCom B40-1 and the connector board are mounted separately on to the host
application board. The connector board has to be secured using a screw, joining FE (functional
earth) on the connector board to FE on the host application board. The screw holes of the
Anybus CompactCom B40-1 are not connected to FE, but to GND. If suggested components are
used, the Anybus CompactCom B40-1 can be mounted without screws in a low vibration
environment, see Shock and Vibration, p. 63 for more information.
The Anybus CompactCom B40-1 can either be connected to the application board using headers,
or soldered directly to the host application PCB.
The screw standoffs are typically 4 mm tall. If the Anybus CompactCom B40-1 and connector
board are to be soldered directly to the host application board, standoffs should be 2 mm tall.
Outer diameter may be 6 mm max. The standoffs should not extend outside the screw mount
pads.
Recommended torque is 0.2 Nm. Locking paint kan be used to secure the screws against
loosening.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 64
Appendix A: Mechanical Specification62 (78)
33
2xM3
M3
27
8,5 14,5
Pin 1
Application
interface
Pin 1
Network
interface
Pin 1
Network
interface
PCB layout
Standoffs, typ. 4 mm
FE
Outline of brick
Outline of
connector board
M3: Standoff with internal thread, size M3
Top view
Top view
Fig. 40
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 65
Appendix B: Technical Specification63 (78)
BTechnical Specification
B.1Environmental
B.1.1Operating
-40 to 85° C (-40 to 185° F)
B.1.2Storage
-40 to 85°C (-40 to 185° F)
B.1.3Humidity
5 to 95% non-condensing
B.2Shock and Vibration
B.2.1Shock
The Anybus CompactCom B40-1 is tested according to IEC 68–2–27
•half-sine 30 g, 11 ms, 3 positive and 3 negative shocks in each of three mutually
perpendicular directions
•half-sine 50 g, 11 ms, 3 positive and 3 negative shocks in each of three mutually
perpendicular directions
Connector boards/interface cards are tested for 30 g.
B.2.2Sinusoidal Vibration
The Anybus CompactCom B40-1 is tested according to IEC 68–2–6
Frequency range:10–500 Hz
Amplitude 10–49 Hz:
Acceleration 50–500 Hz
Sweep rate:
0.35 mm
5 g
1 oct/min
10 double sweep in each of the three mutually perpendicular directions
B.3Electrical Characteristics
Failure to follow the requirements may lead to permanent hardware damage
It is recommended for Anybus CompactCom B40-1 users to make sure that each signal
controlling the Anybus CompactCom B40-1 has a drive strength enough to fulfill level and timing
constraints even if the signal is loaded with 20 pF in parallel with 2.2 kΩ to GND or 3V3.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 66
Appendix B: Technical Specification64 (78)
B.3.1Operating Conditions
Symbol
3V3
GNDGround reference0.000.000.00V
I
IN
V
IH
V
IL
I
OH
I
OL
V
OH
V
OL
I
OH
(NW_
LEDx)
Parameter
Supply Voltage (DC)
Ripple (AC)
Current consumption
(also including network
interfaces and network
status LEDs)
Input High Voltage
Input Low Voltage
Current, Output High
Current, Output Low
Output High Voltage
Output Low Voltage
Output Current ,
network LEDs
Pin
Types
PWR
I, BI
O, BI
O20mA
ConditionsMin.
3.153.303.45V
--± 100mV
-
Class A--250mA
Class B--500mA
Class C--1000mA
-
-
= -4mA2.4
I
OH
= 4mA
I
OL
2.0
-0.3
-8.0
--
Typ.
-
-
-
--
Max.Unit
3.45V
0.8V
8.0mA
0.4V
I= Input, CMOS (3.3V)
O= Output, CMOS (3.3V)
BI= Bidirectional, Tristate
PWR= Power supply inputs
V
B.4Regulatory Compliance
EMC Compliance (CE)
Since the Anybus CompactCom is considered a component for embedded applications it cannot
be CE-marked as an end product.
However the Anybus CompactCom 40 family is pre-compliance tested in a typical installation
providing that all modules are conforming to the EMC directive in this installation.
The EMC pre-testing has been conducted according to the following standards:
Since all Anybus CompactCom B40-1 modules have been evaluated according to the EMC
directive through above standards, this serves as a base for our customers when certifying
Anybus CompactCom B40-1 based products.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 67
Appendix C: How to Disable Ethernet Port 2 (EtherNet/IP)
CHow to Disable Ethernet Port 2 (EtherNet/IP)
It is possible to disable Ethernet Port 2 on the Anybus CompactCom B40-1 EtherNet/IP.
•Do not connect signal group B
•Do not connect signals LED4A/B
It is not possible to disable Ethernet Port 2 on any other Anybus CompactCom B40-1 than
EtherNet/IP.
For descriptions of signals see:
•Overview, p. 41
•Ethernet Based Networks (Copper), p. 44
•LED Indicators, p. 48
65 (78)
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 68
Appendix D: Implementation Examples66 (78)
DImplementation Examples
D.1General
In this appendix HMS Industrial Networks provides examples of possible implementations for the
Anybus CompactCom B40-1 series.
There are many different processors with different functionality available on the market today.
The implementations in this appendix are to be regarded as examples that are designed for one
single type of processor. Other hardware interfaces may require adjustments for timing, different
functionality etc. It is important to fully understand the interface to take correct design decisions
in order to obtain a stable and reliable design.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 69
Appendix D: Implementation Examples67 (78)
Host Application
CPU (3.3V)
3V3
3V3
SS
SCLK
MISO
MOSI
LED1B
LED1A
LED2B
LED2A
LED3B
LED3A
LED4B
LED4A
OM0
OM1
OM2
IRQ
RESET
MI0/SYNC
MI1
MD
SS
SCLK
MISO
MOSI
GPIO5
GPIO6
GPIO7
GPIO9
GPIO10
M40 pinning
OM3
3V3
D.2SPI
This design is intended for an SPI implementation.
Fig. 41
If LEDs are to be used in the host application, please refer to Network Status LED Outputs (LED
[1A...4B]), p. 70, for guidelines on how to connect the LED outputs.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 70
Appendix D: Implementation Examples68 (78)
Host Application
CPU (3.3V)
3V3
3V3
WEH
A8
A9
A10
A11
A12
A13
D8
D9
D10
D11
D12
D13
D14
D15
CS
OE
WEL
IRQ
RESET
MI0/SYNC
MI1
MD
A8
A9
A10
A11
A12
A13
D8
D9
D10
D11
D12
D13
D14
D15
CS
RD
WR/WR0
WR1
GPIO5
GPIO6
GPIO7
GPIO8
GPIO10
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
A1
A2
A3
A4
A5
A6
A7
A1
A2
A3
A4
A5
A6
A7
OM0
OM1
OM2
OM3
3V3
D.316-bit Parallel
This example shows a design for 16-bit parallel mode.
Fig. 42
If LEDs are to be used in the host application, please refer to Network Status LED Outputs (LED
[1A...4B]), p. 70, for guidelines on how to connect the LED outputs. In 16-bit parallel mode it is
not possible to use these outputs for LEDs. The network status LED signals are always present on
the network interface connector, see Network Connector, p. 40.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 71
Appendix D: Implementation Examples69 (78)
Host Application
CPU (3.3V)
3V33V3
A8
A9
A10
A11
A12
A13
CS
RD
WR/WR0
GPIO5
GPIO6
GPIO7
GPIO9
GPIO10
A8
A9
A10
A11
A12
A13
LED1B
LED1A
LED2B
LED2A
LED3B
LED3A
LED4B
LED4A
CS
OE
WE
OM0
OM1
OM2
IRQ
RESET
MI0/SYNC
MI1
MD
A0
A1
A2
A3
A4
A5
A6
A7
A0
A1
A2
A3
A4
A5
A6
A7
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
M40 pinning
OM3
3V3
D.48-bit Parallel
This design is intended for 8-bit parallel mode.
Anybus®CompactCom B40-1 Design Guide
Fig. 43
If LEDs are to be used in the host application, please refer to Network Status LED Outputs (LED
[1A...4B]), p. 70, for guidelines on how to connect the LED outputs.
HMSI-27-230 3.4 en-US
Page 72
Appendix D: Implementation Examples70 (78)
Host Application
CPU (3.3V)
3V3
3V3
3V3
OM0
OM1
OM2
Tx/OM3
Rx
IRQ
RESET
MI0/SYNC
MI1
MD
CS
RD
WR/WR0
WR1
Rx
Tx
GPIO5
GPIO6
GPIO7
GPIO8
GPIO10
GPIO1
GPIO2
GPIO3
LED1B
LED1A
LED2B
LED2A
LED3B
LED3A
LED4B
LED4A
3V3
D.5Serial
The example in the figure below shows an implementation with serial communication.
Fig. 44
D.6Network Status LED Outputs (LED[1A...4B])
All network status LED signals are easily available on the network interface connector. It is
recommended to use these signals when the network status is to be displayed. However they are
also available on the host interface connector (LED[1A...4B]).
The LED[1A....4B] outputs can be used to relay the network status LEDs to elsewhere on the host
application. This is possible in all modes except 16-bit parallel mode, where these pins are used
for data (D8...D15).
Note that it is the responsibility of the host application to ensure that each LED output is
connected to a LED of the correct color (it is possible to retrieve this information from the LED
status register or from the Anybus Object (01h); consult the Anybus CompactCom Software
Anybus®CompactCom B40-1 Design Guide
Design Guide for more information). For more information, see LED Interface / D8–D15 (Data
Bus), p. 14.
The outputs are unbuffered, and are not recommended for driving LEDs directly. Please consult
the image below for guidelines on how to connect the LED outputs.
HMSI-27-230 3.4 en-US
Page 73
Appendix D: Implementation Examples71 (78)
3V33V3
3V3
3V3
3V3
LED1A
LED1B
LED2A
LED2B
LED3A
LED3B
LED4A
LED4B
CA
RTS
ACTIVE/PASSIVE*
*By connecting this signal to Ground, this design can be used to support Anybus CompactCom passive modules.
Fig. 45
These pins can not be used for LEDs in 16-bit parallel mode, as the pins in that case are used for data. All
network status LED signals are present on the network interface connector, and can be connected from
there.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 74
Appendix D: Implementation Examples72 (78)
D.7Power Supply Considerations
D.7.1General
The Anybus CompactCom 40 platform in itself is designed to be extremely power efficient. The
exact power requirements for a particular networking system will however vary a lot depending
on the components used in the actual bus circuitry.
While some systems usually require less than 250 mA of supply current at 3.3 V, some high
performance networks, or networks which require the use of legacy ASIC technology, will
consume up to 500 mA, or in rare cases even as much as 1000 mA.
As an aid when designing the power supply electronics, the networks have been divided into
classes based on their power consumption as follows.
•Class A: less than 250 mA
•Class B: up to 500 mA
•Class C: up to 1000 mA
Please note that the power supply classifications take into account that the power budget is
shared with a full fieldbus circuitry, e.g. the appropriate connector board and NW_LEDs with
maximized consumption (20 mA each).
The following table lists the currently supported networking systems and their corresponding
class.
NetworkClass AClass BClass C
DeviceNetX
PROFIBUSX
CANopenX
EtherCAT
PROFINET 2-PortX
PROFINET FO 2-PortX
Ethernet/IP 2-Port
EtherNet POWERLINK
Common Ethernet
CC-Link
Modbus-TCP 2-Port
CC-Link IE Field
BACnet/IP
X
X
X
X
X
X
X
X
A power supply designed to fulfill Class A requirements (250 mA), will be able to support all
networks belonging to class A, but none of the networks in Class B and C.
A power supply designed to fulfill Class C requirements, will be able to support all networks.
Anybus®CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 75
Appendix D: Implementation Examples73 (78)
3V3
GND
C1
3.3 V
GND
5V
SS14
BAV70
22uF
(6.3V)
4k7
LT1767
10uH
100nF
(16V)
100nF
(16V)
1,5nF
(50V)
10uF
(6.3V)
Vin
FB
Vsw
GND
Vc
SHDN
SYNC
BOOST
VDD (3.3V)
GND
C1
C2
D.7.2Bypass Capacitance
The power supply inputs must have adequate bypass capacitance for high-frequency noise
suppression. It is therefore recommended to add extra bulk capacitors near preferably all the
power supply inputs (or at least two):
Reference
C1
Fig. 46
D.7.33.3 V Regulation
The following example uses the LT1767 from Linear Technology to provide a stable 3.3 V power
source for the module. Note that all capacitors in this example are of ceramic type.
Value (Ceramic)
10 µF / 6.3 V
Fig. 47
For detailed information regarding this example, consult the data sheet for the LT1767 (Linear
Technology).
Trace to trace length difference within each segment < 0.25 mm
Brick
Magnetics
RJ45
Connector
EDesign Examples, Network Interface
If the optional connector board is used, the signals from the network interface connector of the
brick can be routed directly to the corresponding pins of the connector on the connector board.
Section E.2 shows an example PCB layout for this case.
This appendix also contains typical examples, of how to design the network interface, if the
optional connector board is not to be used. See Network Interface Examples, p. 77.
E.1Recommendations
•The longer the distance between the Brick and the Connector board, the more important it
is that single-ended signals as well as signal pairs are separated from other signals and signal
pairs to maintain good signal integrity.
•All conductors should have a tighter coupling to a continuous ground plane than to any
adjacent conductor (even to the partner signal of a signal pair). All signal pairs should have a
differential impedance of 100 Ω ±10%.
It is not recommended to separate network circuitry, e.g. Connector board, and Brick more
than 400 mm. The distance should be kept shorter if the signals are adjacent to other
interfering circuitry. Radiated interference from the signals between the Connector board
and Brick may need to be taken care of by e.g. a metallic housing or encapsulating PCB
copper planes if the routing distance is long.
•If a design will be used for Gigabit Ethernet applications, the following has to be fulfilled:
–The maximum difference in length, between signal pairs (1 - 4) in the design must not
exceed 6.7 mm.
–The maximum difference in length, between the two signals in a signal pair must not
exceed 0.25 mm from Phy to Gigabit Magnetics and 0.25 mm from Gigabit Magnetics
to the Ethernet connector.
Fig. 48
•To avoid B40-1 connector pins penetrating the solder mask under the headers on the carrier
board, thus creating short circuits, the following is recommended:
–either use headers that are higher than 2.5 mm,
–or do not design any vias or traces on top side of the PCB, where there is any risk for
short circuits, see figure in section E.2.
•Minimum recommended power rating for termination/grounding resistors is 1/16 W.
The pin headers of the Anybus CompactCom B40-1 have pins which are 2.3 mm tall nominally,
but to avoid risk of short circuit when the pin length is in the upper tolerance region, it is
suggested to have via/route keepouts on the PCB top layer, in between the pad rows, as the
figure shows, unless a receptacle taller than 2.6 mm is used.
This section contains typical examples, of how to design the network interface, if the optional
connector board is not to be used. Examples are given for the usual network connectors as well
as for M12 connectors making a higher IP rating possible.
Example SchematicsBrick
10 and 100 Mbit Ethernet
Network Interface(Copper)
100 Mbit Ethernet Network
Interface (Fiber Optic)
10 and 100 Mbit Ethernet
Network Interface (M12)
10, 100 and 1000 Mbit Ethernet
Network Interface
PROFIBUSPROFIBUS
PROFIBUS (M12)
DeviceNetDeviceNet
DeviceNet (M12)
CC-LinkCC-Link
CANopenCANopen
EtherNet/IP
EtherCAT
Modbus TCP
Common Ethernet
POWERLINK
PROFINET IRT
BACnet/IP
PROFINET IRT
EtherNet/IP
EtherCAT
Modbus TCP
Common Ethernet
POWERLINK
PROFINET IRT
BACnet/IP
All bricks for 100 Mb/s Ethernet based protocols, running
on copper wire, use the same hardware.
Ethernet trafo example: 7490100111A (Würth Elektronik
Gmbh)
RJ45 connector example: SS-60300-032 (Bel stewart)
-
All bricks for 100 Mb/s Ethernet based protocols, running
on copper wire, use the same hardware.
Ethernet trafo example: 7490100111A (Würth Elektronik
Gmbh)
-
-
-
-
-
-
®
Anybus
CompactCom B40-1 Design Guide
HMSI-27-230 3.4 en-US
Page 80
5
4
3
2
1
Design Example
10 and 100 Mbit Ethernet
Network Interface
with RJ-45 connectors