03.03.2013 Views

CANopen Programmer's Manual - Maccon.de

CANopen Programmer's Manual - Maccon.de

CANopen Programmer's Manual - Maccon.de

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1: Introduction <strong>CANopen</strong> Programmer’s <strong>Manual</strong><br />

Example of a <strong>CANopen</strong> Move Sequence<br />

<strong>CANopen</strong> master transmits a control word to initialize all <strong>de</strong>vices.<br />

Devices transmit messages indicating their status (in this example, all are operational).<br />

<strong>CANopen</strong> master transmits a message instructing <strong>de</strong>vices to perform homing operations.<br />

Devices indicate that homing is complete.<br />

<strong>CANopen</strong> master transmits messages instructing <strong>de</strong>vices to enter position profile mo<strong>de</strong> (pointto-point<br />

motion mo<strong>de</strong>) and issues first set of point-to-point move coordinates.<br />

Devices execute their moves, using local position, velocity, and current loops, and then<br />

transmit actual position information back to the network.<br />

<strong>CANopen</strong> master issues next set of position coordinates.<br />

Overview of the CAN Protocol<br />

A Network for Distributed Control<br />

The backbone of <strong>CANopen</strong> is CAN, a serial bus network originally <strong>de</strong>signed by Robert Bosch<br />

GmbH to coordinate multiple control systems in automobiles.<br />

The CAN mo<strong>de</strong>l lends itself to distributed control. Any <strong>de</strong>vice can broadcast messages on the<br />

network. Each <strong>de</strong>vice receives all messages and uses filters to accept only the appropriate<br />

messages. Thus, a single message can reach multiple no<strong>de</strong>s, reducing the number of messages<br />

that need to be sent. This also greatly reduces bandwidth required for addressing, allowing<br />

distributed control at real-time speeds across the entire system.<br />

CAN Benefits<br />

Other benefits of CAN inclu<strong>de</strong>:<br />

Wi<strong>de</strong> use of CAN in automobiles and many other industries assures availability of inexpensive<br />

hardware and continued support. Ready availability of standard components also reduces<br />

system <strong>de</strong>sign effort.<br />

CAN’s relative simplicity reduces training requirements.<br />

By distributing control to <strong>de</strong>vices, CAN eliminates the need for multiple wire connections<br />

between <strong>de</strong>vices and a central controller. Fewer connections enable increased reliability in<br />

harsh operating conditions.<br />

Device-based error checking and handling methods make CAN networks even more reliable.<br />

Physical Layer<br />

The physical layer of CAN is a differentially driven, two-wire bus, terminated by 124-Ohm resistors<br />

at each end. The maximum bit rate supported by CAN is 1,000,000 bits/second for up to 25<br />

meters. Lower bit rates may be used for longer network lengths.<br />

14 Copley Controls

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!