User manual
35
© 2007, Elektro-Automatik GmbH & Co. KG
EN
4.3.1 ConguringtheIF-C1
The interface card is configured in the setup menu.
It is absolutely necessary to choose and set a unique device
address, also called „device node“, for every connected or
linked unit. Only then a unit can be identified and controlled
correctly. This address is used to access a unit.
Activate the menu with
M
+Communication+
device node Default: 1
= {1..30} Choose one of up to 30 device nodes
Slot A : { IF-… } depending on the equipped card
Slot B : { IF-… } depending on the equipped card
Here you set the desired device node and you also get an
overview which cards are currently installed. By selecting
a card with
Slot {A|B}: IF-C1 +
you enter the configuration menu for that particular card.
Each card has to be configured individually. You can now
setup the parameters:
Setting the baud rate
All common baud rates are supported. For each baud rate
setting the so-called „Sample point“ can be chosen, which
is used to optimise the data transmission for various cable
lengths and qualities. It adjusts the point of time when a
transmitted bit is sampled.
baudrate Default: 100 kBd
sample point: 75%
= { 10 kBd { 60, 65, 70, 75, 80, 85}%,
20 kBd { 60, 65, 70, 75, 80, 85} %,
50 kBd { 60, 65, 70, 75, 80, 85} %,
100 kBd { 60, 65, 70, 75, 80, 85} %,
125 kBd { 58, 68, 70, 75, 81, 87} %,
250 kBd { 58, 68, 70, 75, 81, 87} %,
500 kBd { 58, 66, 75, 83} %,
1 MBd { 58, 66, 75, 83} % }
Relocating address segments
In case that a device is retrofitted with a CAN card and
implemented into an existing CAN bus system, the „reloca-
table identifier segment“ (short: RID) is used to relocate the
address segment in order to adapt the address of the new
unit to the address range of the already exisiting units or to
set it away from that range to not collide.
The CAN bus after the standard V2.0a defines an 11 bits
long address (=identifier). This results in a total of 2032
identifiers from which can be chosen. Those 2048 identifiers
are seperated into 32 address segments of 64 addresses.
The starting address is determined by the RID.
relocatable ID Default: 0
segment = { 0..31} Select (relocate) the address range
Inside of every address segment are 62 freely assignable
addresses, whereas the up to 30 units are using the lower
range and with 2 physical adresses (identifiers, one each
for sending and requesting data) per unit they are taking
the addresses from 2...61. The addresses 0 and 1 of every
address reange are reserved for broadcast messages. This
also results in 32 boradcast addresses.
For broadcast messages the addresses are static:
[RID*64 + 0] and [RID*64 + 1].
Example: the RID is set to 5 (also see setup menu of
your device). A broadcast shall be sent to all units of this
address range. The identifier hence calculates as 5*64 =
320 (0x140).
For singlecast messages every „device node“ is occupy-
ing another two addresses:
[RID*64 + device node * 2] and
[RID*64 + device node * 2 + 1]
Example: the RID was set to 13, the device address (node) to
12. In order to send a message to that device, the identifier has
to be: 13*64 + 12*2 = 856 (0x358). The identifier 857 (0x359)
is used for answers and requests.
Bus termination
The CAN bus requires a termination resistor of 120 Ohms
on both ends of the line. If a unit is located at the end of the
chain/line and it is not connected to a next unit, it has to be
terminated. The parameter „bus terminate“ is used to easily
set the termination without any circumstancial hardware
termination by jumpers.
bus terminate Default: NO
=YES The bus is terminated with a 120Ω resistor.
=NO No termination is done.
Gateway function (only PSI9000)
CAN Default: Client
=Client The device is monitored and controlled by an
external unit, like a PC or a SPS
=Gateway The interface card serves as a gateway bet-
ween CAN and RS232/USB card
The RS232 or USB card inside the device with the gateway
allows the user to control and monitor all further units, which
are linked to that particular device by CAN. All that is needed
is a device with IF-R1 or IF-U1 interface card to set up a CAN
bus system. Both cards, RS232 and USB, can only utilise
the high performance of the CAN bus very poorly. In order
to use the CAN bus with full performance (high data rate)
and many devices, it is recommended to directly control the
bus with a CAN control hardware.
About the interface cards