Download PCANopen Magic Pro

Transcript
CANopen Magic User Manual
4.7 Transmit CAN Messages
The CAN messages window allows plain CAN messages to be created and transmitted, with
optional transmission triggers. This is typically used for protocols running alongside
CANopen or for transmitting PDOs or test messages. To view the window choose CAN
Messages... from the View menu.
To create a new message click on the add icon on the toolbar in the CAN messages window.
Enter the details of the message and click on the OK button to create it.
By entering a name for the message this name will appear where appropriate throughout
the application, including in the trace window. Even if the message will not be manually
transmitted using this window, it can be very useful to give names to messages when
analyzing and debugging a network.
If the timestamp option is selected then the message data will contain a six-byte Time of
Day value each time it is transmitted. Typically this is used in conjunction with the
Timestamp message identifier 0x100.
Enabling trigger options allows the message to be transmitted under certain conditions, for
example at a predictable rate, when a function key is pressed or when a particular message
is seen on the CAN bus.
Once a message has been created it can be transmitted manually by clicking on the button
next to the message entry in the window. There is also a toolbar icon to transmit the
currently selected message.
The message can be edited by right-clicking on the message and choosing Edit... from the
menu, or by clicking on the toolbar icon with the message selected.
There are toolbar icons to delete messages and transmit all defined messages.
4.8 Preferences
View the preferences window by choosing Preferences... from the View menu or by clicking
on the preferences toolbar icon.
The options shown in the preferences window vary according to the version of the
application. Most of the options are self-explanatory however a few will be described here.
When transferring more than four bytes to or from a node's object dictionary SDO
segmented mode will be used as nodes must support it. For more than 28 bytes it is more
efficient to use SDO block mode, which some nodes will support. To enable block mode
check the Use SDO block transfers option. The parameters for the block mode can be
configured.
When project files are saved they may contain references to other files, for example
EDS/DCFs or images. The default is for these paths to remain relative to the project file.
Page 21