SiplaceX4_en - 第82页
1 - 6 S tudent Guide SIPLACE X 3 Communication and Control Edition 09/2005 6 tems (and their sensors) to exchange informa tio n. This was usually don e by discrete interconne c- tion of the different systems (i.e. point …

1 - 5
Student Guide SIPLACE X
Edition 09/2005 3 Communication and Control
5
3.3 CAN Bus
3.3.1 History of CAN
The development of CAN began when more and more electronic devices were implemented into
modern motor vehicles. Examples of such devices include engine management systems, active
suspension, ABS, gear control, lighting control, air conditioning, airbags and central locking. All
this means more safety and more comfort for the driver.
Fig. 3.3 - 1 communication via cable connection
Fig. 3.3 - 2 communication e.g. on Siplace S15 machine
To improve the behavior of the vehicle even further, it was necessary for the different control sys-

1 - 6
Student Guide SIPLACE X
3 Communication and Control Edition 09/2005
6
tems (and their sensors) to exchange information. This was usually done by discrete interconnec-
tion of the different systems (i.e. point to point wiring). The requirement for information exchange
has then grown to such an extent that a cable network with a length of up to several miles and
many connectors was required. This produced growing problems concerning material cost, pro-
duction time and reliability.
The solution to this problem was the connection of the control systems via a serial bus system.
This bus had to fulfill some special requirements due to its usage in a vehicle. With the use of CAN,
point-to-point wiring is replaced by one serial bus connecting all control systems. This is accom-
plished by adding some CAN-specific hardware to each control unit that provides the ’rules’ or pro-
tocol for transmitting- and receiving information via the bus.
Fig. 3.3 - 3 Communication via CAN bus on example car controlling
Fig. 3.3 - 4 CAN communication on SIPLACE X machine
I/O Slio Board (SUB)
Transport
control
camera Illumination
control Board
Head Board gantry 3
Axis controller Board
Axis controller Board
Axis controller Board
I/O Slio Board (Main)
Line
computer
Station
computer
Machine
controller
LAN
Vision
system
MVS 100
H S
3
L Bus
Axis controller Board
Comp. table
controller
CAN Bus
Comp. table
controller
Comp.
Barcode
Transport
control
communi
cation
board
LAN
Comp. table
controller
Comp. table
controller
TSP 1 actors
PCB-Barcode
Keyboard
camera Illumination
control Board
Head Board gantry 1
TSP 2 actors

1 - 7
Student Guide SIPLACE X
Edition 09/2005 3 Communication and Control
7
3.3.2 CAN Bus in General
– CAN is a serial bus system especially suited for networking devices as well as sensors and
actuators within a system or subsystem.
– It is a bus system with multi-master capabilities, therefore all CAN nodes can request the
bus simultaneously.
– In CAN networks, there is no addressing of subscribers or stations in the conventional
sense, but instead, prioritized messages are transmitted. A transmitter sends a message to
all CAN nodes (broadcasting). Each node decide on the basis of the identifier received
whether it should process the message or not. The identifier determines the priority that the
message enjoys in competition for bus access. The relatively simplicity of the CAN chips
intergration make applications programming relatively simply.
– Each CAN message can transmit from 0 to 8 bytes of user information. Of course, you can
transmit longer data information by using segmentation. The maximum transmission rate is
specified as 1 Mbit/s. This value applies to networks about 40 m. For longer distances the
data rate must be reduced:
For distances up to 500 m a speed of 125 kbit is possible and for transmissions up to 1 km
a data rate of 50 kbit/s is permitted.
3
I
Fig. 3.3 - 5 CAN -bus length
The maximum CAN bus speed is 1 MBaud, which can be achieved with a bus length of up to 40
meters when using a twisted wire pair. For bus lengths longer than 40 meters the bus speed must
be reduced. A 1000 meter bus can still be released with a 50 KBaud bus speed. For a bus length
above 1000 meters special drivers should be used.