Hardware Manual For Device
SERCOS-PC-Extended 16MBaud
part. no.: 70031820
AUTOMATA GmbH & Co. KG
Industrial & Robotic Controls
Gewerbering 5
D-86510 Ried
Tel.: +49-(0)8233-7916-0
Fax: +49-(0)8233-7916-88
http://www.automataweb.com
Hardware description SERCOS-PC-Extended 16MBaud 70031820
Document: Hardware description for SERCOS-PC-Ext. 16MBaud ISA-Bus-Plug-In-Card
Author: M. Gutmann
File: E3182K13-SERCOS-PC-Ext16.doc
Last print: 23.05.2003
History
Version Date Author Description
1.0 03.06.2002 M. Gutmann creation (master copy for this document: E3181K03.doc)
1.1 30.07.2002 M. Gutmann - added data flow to Overview
- added driving strength for low/high transmitting power to technical specification
- documentation valid for Board Version 1.1 and higher
1.2 24.09.2002 M. Gutmann slight modifications
1.3 22.05.2003 M. Gutmann changed brightness table in chapter 4
This documentation has been prepared with almost care. However, errors may not be completely
excluded. No responsibility is assumed by the manufacturer for any damage caused from the use of this
document and the software belonging to it. Furthermore, no warranty is given for the functioning of the
software.
All rights reserved. No part of this document and of the software belonging to it may be reproduced,
distributed in any form or by any means, electronic, photocopying or otherwise, without prior written
permission of the manufacturer.
We reserve the right to apply technical changes.
COPYRIGHT © 2003, AUTOMATA GmbH & Co. KG
AUTOMATA Industrial & Robotic Controls 2
Hardware description SERCOS-PC-Extended 16MBaud 70031820
Content:
1 Overview ______________________________________________________________ 4
2 Software interface _______________________________________________________ 5
2.1 Address and register description _________________________________________ 5
2.2 Watchdog___________________________________________________________ 6
3 Hardware description ____________________________________________________ 6
3.1 board configuration ___________________________________________________ 7
3.1.1 switches S1/S2 ______________________________________________________________ 7
3.1.2 Jumper-settings _____________________________________________________________ 8
3.1.3 Configuration examples _______________________________________________________ 8
3.2 Programming plug (X3) ________________________________________________ 9
3.3 Sync-connection (X8) __________________________________________________ 9
3.4 Light-emitting diodes __________________________________________________ 9
3.5 Sender / receiver (I1/I2) ________________________________________________ 9
4 Technical Specification _________________________________________________ 10
AUTOMATA Industrial & Robotic Controls 3
Hardware description SERCOS-PC-Extended 16MBaud 70031820
1 Overview
This document describes the hardware-configuration of the SERCOS-PC-Ext. 16Mbaud plug-in card
for the ISA-bus (70031820). The card is based on the SERCON816-ASIC. The register description
and its dual-ported-RAM interface are not part of this description. These information is to be taken
from the data sheet of the SERCON-ASIC’s.
The plug-in card (160 mm x 98 mm) can be plugged in any 16bit ISA-Slot.
The card is the successor of the SERCOS-PC D-3180-001-1 which provides the following
improvements:
• the entire 2k words of SERCON816-DPR
• several cards can be synchronized to the SERCON-signals CON_CLK and CYC_CLK
• optimized quantification of the SERCON-TX-Outputs
• possibility of ‘interrupt-sharing’ for IRQ2 and IRQ4
• capable to work in a SERCOS ring with a speed up to 16MBaud
• compatibility-switch for 410B-mode ⇒ memory map of the predecessor card ⇒ no or only
slight change of software, but new features available
S1/S2
SADR[23:13]
prog.
logic
X11 X8
CTRL 1
ISA
ADR[23:13]
DAT[7:0]
SERCON
IRQ[3..5,7,10..12,15]
DAT[15:0] SERCON-INT1
ADR[11:0] 816 SERCON-INT0
10
X9
CON_CLK
CYC_CLK CYC_CLK
RX
TX
DRIVER-
NETWORK
L_ERRN
board logic IRQ5
ISA-IRQ5
board logic IRQ4
/OUTZ
ISA-IRQ4
ISA-IRQ2 X4 X5
X6
R R
board logic IRQ[3..5,7,10..12,15]
Drawing 1: Simplified data flow
AUTOMATA Industrial & Robotic Controls 4
Hardware description SERCOS-PC-Extended 16MBaud 70031820
2 Software interface
2.1 Address and register description
The switch SBAUD16 (see following chapter) is selecting between the memory map of the SERCON410B and
the SERCON816.
Address- Address- Accesses Description
offset offset (only 16bit)
SBAUD16=0 SBAUD16=1
0x0000 0x000 RD/WR DP-RAM of the SERCON-Chip
0x1000 0x800 RD/WR register-sector of the SERCON-Chip
0x1C00 0xC00 RD/WR Watchdog-Port:
Bit 0: 1 = watchdog ON and watchdog-retrigger
0 = watchdog OFF and reset
Bit 1: 1 = watchdog has triggered => OUTZ = high
(read only, bit is reset on write to Bit 0 = 0)
0x1C02 0xC02 RD Bit 0: Setting jumper X7 1-2 (MEMCS16)
Bit 1: Setting jumper X7 2-3 (Card-Select)
(bit level = 0: ADR[19..14] selected)
Bit[7..4]: card version
0x1C04 0xC04 RD/WR Dongle-Port:
This port is used for checking the presence of the SERCOS-card.
The card changes the value due to the following rule (LSB):
DR0 = DW5, DR1 = DW4, DR2 = DW7, DR3 = /DW6,
DR4 = DW1, DR5 = /DW0, DR6 = DW3, DR7 = DW2
(DW = written data, DR = changed data)
e.g. writing DW=0xFF leads to a read of DR=0xD7
0x1C06 0xC06 RD/WR Interrupt-Port:
This port defines the routing of the of the two interrupt-signals
(INT0/INT1) of the SERCON816 to the IRQ's of the ISA-Bus.
‘Interrupt-sharing’ is not possible at this port. For using the IRQ 4
and IRQ 5 as ‘totem-pole’-interrupt the jumper X5/4-3 and the
jumper X5/6-5 have to be plugged.
D7 D6 D5 D4 D3 D2 D1 D0
- - - - 0 - - - INT0 gets not connected
- - - - 1 0 0 0 INT0 is laid on IRQ3
- - - - 1 0 0 1 INT0 is laid on IRQ4
- - - - 1 0 1 0 INT0 is laid on IRQ5
- - - - 1 0 1 1 INT0 is laid on IRQ7
- - - - 1 1 0 0 INT0 is laid on IRQ10
- - - - 1 1 0 1 INT0 is laid on IRQ11
- - - - 1 1 1 0 INT0 is laid on IRQ12
- - - - 1 1 1 1 INT0 is laid on IRQ15
0 - - - - - - - INT1 gets not connected
1 0 0 0 - - - - INT1 is laid on IRQ3
1 0 0 1 - - - - INT1 is laid on IRQ4
1 0 1 0 - - - - INT1 is laid on IRQ5
1 0 1 1 - - - - INT1 is laid on IRQ7
1 1 0 0 - - - - INT1 is laid on IRQ10
1 1 0 1 - - - - INT1 is laid on IRQ11
1 1 1 0 - - - - INT1 is laid on IRQ12
1 1 1 1 - - - - INT1 is laid on IRQ15
0x2000 0x1000 RD/WR OUTZ-Port:
Writing the port with the value BIT0=0 (value after power-up)
switches the SERCON-chip inactive. BIT0=1 => regular operating
mode. Reading at this address returns a high level for the bit-
positions 15..1 and for Bit0 the prior written value.
AUTOMATA Industrial & Robotic Controls 5
Hardware description SERCOS-PC-Extended 16MBaud 70031820
2.2 Watchdog
A watchdog is implemented on the card. The programming can be done via the watchdog-port (offset
0xC00). The watchdog is activated by writing the value Bit0=1 on this port, by setting Bit0=0 the
watchdog can be deactivated or reset. If the watchdog is activated, the software has to assure, that
the re-write of Bit0=1 is done after every interrupt, otherwise the watchdog gets released.
Releasing the watchdog effects switching the OUTZ-pin to high level (reset of SERCON-ASIC, the
green LED is switched off). The access to the ASIC is locked until the watchdog is reset by writing the
value Bit0=0. The state of the watchdog can be retrieved by reading Bit1 (1 = watchdog is released).
3 Hardware description
The following drawing shows the component side of the PC-plug-in-card:
Drawing 2: Layout diagram of the card SERCOS-PC-Ext. 16MBaud
AUTOMATA Industrial & Robotic Controls 6
Hardware description SERCOS-PC-Extended 16MBaud 70031820
3.1 board configuration
3.1.1 switches S1/S2
The address, baud rate and the test generator can be adjusted with the DIP-Switches S1 and S2.
The level depends on the switches as follows:
switch setting ON: signal level = 0
switch setting OFF: signal level = 1
3.1.1.1 Card address setting
Switch 8 7 6 5 4 3 2 1
S2 Meaning SBAUD16 SBAUD TM1 TM0 ADR23 ADR22 ADR21 ADR20
Switch 8 7 6 5 4 3 2 1
S1 Meaning ADR19 ADR18 ADR17 ADR16 ADR15 ADR14 ADR13 ---
Are there any other cards or memory modules in the address range A[16..0], pay attention that those
have although a data width of 16 bit (MEMCS16-problematic of ISA-bus).
ADR13 is not analysed by the card, if the hole DPR-memory (4kbyte) of the SERCON816-ASIC is
used (SBAUD16 = 0).
3.1.1.2 Test generator
The switches TM1 and TM2 can be used for testing the transmitting channel. They determine the level
at the pins TM1/2 of the SERCON-chip. For the specific function refer to the its specification (TM1 =
TM0 = 1 => normal operation)
Switch 8 7 6 5 4 3 2 1
S2 Meaning SBAUD16 SBAUD TM1 TM0 ADR23 ADR22 ADR21 ADR20
3.1.1.3 SERCON-baud rate / compatibility switch
The switches SBAUD16 and SBAUD are selecting the baud rate and the mode for the SERCON816.
For the specific function refer to the SERCON-specification.
SBAUD16 = 1:
The SERCON-chip is in SERCON410B compatible mode. With the switch SBAUD, baud rates up to
4Mbaud can be selected.
SBAUD16 = 0:
The SERCON-chip is in SERCON816 mode baud rates up to 16MBaud are possible.
Switch 8 7 6 5 4 3 2 1
S2 Meaning SBAUD16 SBAUD TM1 TM0 ADR23 ADR22 ADR21 ADR20
baud rate selection with S2:
SBAUD16 SBAUD Baudrate/MBaud Mode
1 1 2 410B compatible
1 0 4 410B compatible
0 1 8 SERCON816
0 0 16 SERCON816
AUTOMATA Industrial & Robotic Controls 7
Hardware description SERCOS-PC-Extended 16MBaud 70031820
The baud rate selection is also possible via software (register 01H of SERCON816)
3.1.2 Jumper-settings
Jumper Position Meaning
X1 1-2 The card is using the ISA-signal SMEMWR of DOS-sector
2-3 The card is using the ISA-signal LMEMWR of “large”-sector
X2 1-2 Using of pin SCLK02 of SERCON-chip as MCLK
2-3 Using of pin SCLK04 of SERCON-chip as MCLK
X4, X5 X4/1-X5/2 plugged Pin INT1 of SERCON-chip is connected with IRQ2 of the ISA-bus through a
tri-state buffer
INT1 = high => IRQ2 = high
INT1 = low => IRQ2 = PullDown (if X6/1-2 plugged)
X5/1-X5/2 plugged no function
X4/2-X5/4 plugged Pin INT0 of SERCON-chip is connected with IRQ4 of the ISA-bus through a
tri-state buffer
INT0 = high => IRQ4 = high
INT0 = low => IRQ4 = PullDown (if X6/3-4 plugged)
X5/3-X5/4 plugged IRQ4 can be selected as a “totem-pole”-interrupt via CPLD
X4/3-X5/6 plugged IRQ5 disabled (static high)
X5/5-X5/6 plugged IRQ5 can be selected as a “totem-pole”-interrupt via CPLD
X6 1-2 Connects PullDown (390Ohm) and IRQ2. Attention: Are there more than
one card plugged on the ISA-bus, you have to pay attention that only on one
card the PullDown for IRQ2 is plugged.
3-4 Connects PullDown (390Ohm) and IRQ4. Attention: Are there more than
one card plugged on the ISA-bus, you have to pay attention that only on one
card the PullDown for IRQ4 is plugged.
X7 1-2 plugged The MEMCS16-signal is created from the addresses ADR14 to ADR19.
1-2 open The MEMCS16-signal is created from the addresses ADR14 to ADR23.
3-4 plugged The internal CS-signal is created from the adresses ADR14 to ADR19.
3-4 open The internal CS-signal is created from the adresses ADR14 to ADR23.
X9 Selects, if the card is acting as sync-master (X8) or as sync-slave
(plugged: sync-master).
X10 1-2 The card uses the ISA-signal SMEMRD of DOS-sector
2-3 The card uses the ISA-signal LMEMRD of “large”-sector
X11 At the connected state pin 1 of connector X8 is supplied with 5V. For
optional equipment of the RS485-driver the jumper X9 is substituted.
3.1.3 Configuration examples
Example1: card address 0xD8000, SBAUD16=1, SBAUD=1 (=>2MBaud):
S2 8 7 6 5 4 3 2 1 S1 8 7 6 5 4 3 2 1
OFF OFF OFF OFF OFF OFF OFF OFF
ON ON ON ON ON ON ON -
adr 23 22 21 20 adr 19 18 17 16 15 14 13 12
Example2: card address 0xC0000, SBAUD16=1, SBAUD=0 (=> 4MBaud):
S2 8 7 6 5 4 3 2 1 S1 8 7 6 5 4 3 2 1
OFF OFF OFF OFF OFF
ON ON ON ON ON ON ON ON ON - -
adr 23 22 21 20 adr 19 18 17 16 15 14 13 12
AUTOMATA Industrial & Robotic Controls 8
Hardware description SERCOS-PC-Extended 16MBaud 70031820
Example3: all interrupts controlled by CPLD (totem pole)
(grey = jumper closed, p = pin one, content of pin symbol is interrupt number))
X4 (SERCON816-INT1/0) 1 0 - X6:
X5 (ISA-IRQ's) 2 4 5
X5 (board logic IRQ's) - 4 5
Example4:
- SERCON816-INT0 is routed to ISA-IRQ4
- SERCON816-INT1 is routed to ISA-IRQ2
- rest of interrupts = totem pole
- IRQ2/4 pulled down
X4 (SERCON816-INT1/0) 1 0 - X6:
X5 (ISA-IRQ's) 2 4 5
X5 (board logic IRQ's) - 4 5
3.2 Programming plug (X3)
The programming plug (X3) is used for firmware setup of IC5.
3.3 Sync-connection (X8)
The sync-connection (X8) can be used for synchronising several SERCOS-PC-Ext. 16MBaud cards.
As connecting cable preferably a commercial ribbon cable with crimped 10-poles female connectors
(2.54mm grid) has to be used. Only one card is permitted to be configured as sync-master (jumper X9
plugged). The synchronisation takes place over the SERCON-signals CON_CLK and CYC_CLK. If the
card is configured as master, the signal CON_CLK arrives to the slave-cards over the sync-
connection.
pin assignment:
9 7 5 3 1 1 = 5V if X11 closed
2 = CYC_CLK, CON_CLK depends on X9
10 8 6 4 2 3..9 = reserved
10 = ground
3.4 Light-emitting diodes
LED colour meaning
L_ERRN red Line Error: The LED is gleaming, if the fibre optic cable signal is disturbed
or absent
WDOG green The LED is switched off, if the watchdog has been released
3.5 Sender / receiver (I1/I2)
The chip I1 functions as fibre optic cable transmitter (660nm) and I2 as receiver (660nm).
Be careful with brightness adjust. To much and to less brightness leads to distortions at the receiver.
AUTOMATA Industrial & Robotic Controls 9
Hardware description SERCOS-PC-Extended 16MBaud 70031820
4 Technical Specification
supply voltage: 5V
current consumption: <250mA
operating temperature (forced conv.): 0°C...55°C
dimensions (l x w) with slot plate: 172mm x 127mm
max. SERCOS-Baudrate 16 MBaud
The brightness of the transmitter has to be adjusted in dependence on the optical fibre length. The dependency is
shown in the following table:
length of POF stage Outputs TxDn active
(SERCON register 02H Bit 5..0)
(2..16MBaud)
0..15m 1 1
15..30m 2 1+5
30..45m 3 1+3+4
>45m (or GOF) 4 1+3+4+5
Stage 1 and 2 fulfil the SERCOS specification for low transmitting power.
Stage 3 and 4 fulfil the SERCOS specification for high transmitting power.
With output TxD6 the signal edges can be sharpened.
AUTOMATA Industrial & Robotic Controls 10