Herunterladen Inhalt Inhalt Diese Seite drucken

Configuring The Can Card - Elektro-Automatik IF-U1 Benutzerhandbuch

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

About the interface cards
4.3.1 Configuring the CAN card
The interface card is configured in the setup menu.
It is absolutely necessary to choose and set a unique device
address, also called
„device
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
= {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
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
sample point: 75%
= { 10 kBd
{ 60, 65, 70, 75, 80, 85}%,
0 kBd
{ 60, 65, 70, 75, 80, 85} %,
50 kBd
{ 60, 65, 70, 75, 80, 85} %,
100 kBd
{ 60, 65, 70, 75, 80, 85} %,
15 kBd
{ 58, 68, 70, 75, 81, 87} %,
50 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 devices are retrofitted with a CAN card and
implemented into an existing CAN bus system, the
table identifier
segment" (short: RID) is used to relocate the
address segment in order to adapt the addresses of the new
unit(s) 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 V.0a defines an 11 bits long
address (=identifier). This results in a total of 048 identifiers,
while from 03 can be chosen. Those 048 identifiers are
seperated into 3 address segments of 64 addresses. The
starting address is determined by the RID.
© 009, Elektro-Automatik GmbH & Co. KG
node", for every connected or
Default:
1
point" can be chosen, which
Default:
100 kBd
„reloca-
relocatable ID
segment = { 0..31}
Select (relocate) the address range
Inside of every address segment are 6 freely assignable
addresses, whereas the up to 30 units are using the lower
range and with  physical adresses (identifiers, one each
for sending and querying data) per unit they are taking the
addresses from ...61. The addresses 0 and 1 of every
address range are reserved for broadcast messages. This
results in 3* broadcast 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 = 30 = 0x140,
or 0x141 for queries.
For singlecast messages every
ing another two addresses:
[RID*64 +
device node
*
] and
[RID*64 +
device node
*  + 1]
Example: the RID was set to 13, the device address (node) to
1. In order to send a message to that device, the identifier has
to be: 13*64 + 1* = 856 (0x358). The identifier 857 (0x359)
is used for queries.
Bus termination
The CAN bus requires a termination resistor of 10 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
set the termination without any circumstancial hardware
termination by jumpers.
bus terminate
=YES
The bus is terminated with a 10Ω resistor.
=NO
No termination is done.
Gateway function (only PSI9000)
CAN
=Client
The device is monitored and controlled by an
external unit, like a PC or a SPS
=Gateway
The interface card additionally serves as a
gateway between the CAN and RS3/USB
cards
The RS3 or USB card inside the device which is assi-
gned as the gateway (here: PSI 9000) 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
an extra IF-R1 or IF-U1 interface card to set up a CAN bus
system. Both cards, RS3 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 master hardware.
Default:
0
„device
node" is occupy-
„bus
terminate" is used to easily
Default:
NO
Default:
Client
EN
59

Quicklinks ausblenden:

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis