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 />

Defining a Device: <strong>CANopen</strong> Objects and Object Dictionaries<br />

Objects and Dictionaries<br />

The primary means of controlling a <strong>de</strong>vice on a <strong>CANopen</strong> network is by writing to <strong>de</strong>vice<br />

parameters, and reading <strong>de</strong>vice status information. For this purpose, each <strong>de</strong>vice <strong>de</strong>fines a group<br />

of parameters that can be written, and status values that can be read. These parameters and<br />

status values are collectively referred to as the <strong>de</strong>vice's objects.<br />

These objects <strong>de</strong>fine and control every aspect of a <strong>de</strong>vice’s i<strong>de</strong>ntity and operation. For instance,<br />

some objects <strong>de</strong>fine basic information such as <strong>de</strong>vice type, mo<strong>de</strong>l, and serial number. Others are<br />

used to check <strong>de</strong>vice status and <strong>de</strong>liver motion commands.<br />

The entire set of objects <strong>de</strong>fined by a <strong>de</strong>vice is called the <strong>de</strong>vice’s object dictionary. Every <strong>de</strong>vice<br />

on a <strong>CANopen</strong> network must <strong>de</strong>fine an object dictionary, and nearly every <strong>CANopen</strong> network<br />

message involves reading values from or writing values to the object dictionaries of <strong>de</strong>vices on the<br />

network.<br />

Object Dictionary as Interface<br />

The object dictionary is an interface between a <strong>de</strong>vice and other entities on the network.<br />

CAN Network<br />

Object<br />

Dictionary<br />

AccelNet<br />

Amplifier<br />

Sensor<br />

Motor<br />

18 Copley Controls<br />

I/O<br />

Feedback<br />

Local Control<br />

<strong>CANopen</strong> Profiles and the Object Dictionary<br />

The <strong>CANopen</strong> profiles specify the mandatory and optional objects that comprise most of an object<br />

dictionary. The Communication Profile specifies how all <strong>de</strong>vices must communicate with the CAN<br />

network. For instance, the Communication Profile specifies dictionary objects that set up a<br />

<strong>de</strong>vice’s ability to send and receive messages. The <strong>de</strong>vice profiles specify how to access<br />

particular functions of a <strong>de</strong>vice. For instance, the <strong>CANopen</strong> Profile for Drives and Motion Control<br />

(DSP 402) specifies objects used to control <strong>de</strong>vice homing and position control.<br />

In addition to the objects specified in the Application Layer and Communication Profile and <strong>de</strong>vice<br />

profiles, <strong>CANopen</strong> allows manufacturers to add <strong>de</strong>vice-specific objects to a dictionary.

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

Saved successfully!

Ooh no, something went wrong!