Industrial Automation Tech Note 42 - TNIA42
Abstract:
This document describes how to set up the CanOpen SDO Master driver in Crimson Software.
Products:
FlexEdge / CR3000 HMI / DA Series Data Station / Graphite® HMI / Graphite Controller / PTV / Data Station Plus / Modular Controller / G3 HMI
Use Case: Using the CanOpen SDO Master driver
Configuring the CanOpen SDO Master driver in Crimson.
Required Software:
Crimson 2.0 / Crimson 3.0 / Crimson 3.1 / Crimson 3.2
Installing/Configuring the CAN Option Card or CAN Module
1. Install the CAN Option Card or CAN Module, as appropriate, using the instructions provided with each device.
2. Start Crimson.
3. Click on File-New to create a new Crimson database and select the appropriate Red Lion platform.
4. If configuring a CAN Option Card: Refer to Figure 1 and go to the Navigation Pane and select Option Card; the Communications - Option Card popup appears. Select the Pick button; the Option Card popup appears. Select CAN Option Card from the Options list and click the OK button; Figure 3 appears and CAN Option Card is appended at the end of the tree shown in the Navigation Pane.
If configuring a CAN Module: Refer to Figure 2 and go to the Navigation Pane and select Slot 1; the Communications - Comms Modules - Slot 1 popup appears. Under Module Selection, click on the Pick button; the Module popup appears. Select CAN Module from the Options list and click the OK button; Figure 3 appears.
Figure 1.
Figure 2.
Configuring the Driver
Once the option card or module has been installed and set up, the appropriate driver needs to be selected and configured. The remainder of this document describes how to configure Crimson to support a G10 HMI equipped with a CAN Module. All other models are configured in the same manner.
1. Referring to Figure 3, go to the Navigation Pane and select CAN Interface.
2. Go to Driver Selection and click on the Pick button; the Driver Picker for CAN Port popup opens.
3. Select CANOpen - SDO Master and click on the OK button; Figure 3 appears.
Figure 3.
4. A new device called “DEV1” will be created (this can be renamed by right-clicking on it and selecting the “Rename” item if desired)
5. Click on the newly-created device and the form shown in Figure 4 will be displayed.
6. Ensure that the Drop Number and other settings correspond to those expected by the CAN Open End device. The default values are shown in Figure 4.
Figure 4.
Configure Data Tags
1. Navigate to the Data Tags section in Crimson.
2. Crimson has 4 basic Tag Types: Numeric (Float or Integer), Flag ( Binary/Discrete), String, and Basic.
3. The following data is accessible by CANOpen SDO Master driver.
Name |
Description |
Element Size |
Access |
Bxxxx |
CANOpen object accessed as byte |
Byte |
Read/Write |
Wxxxx |
CANOpen object accessed as word |
Word |
Read/Write |
Lxxxx |
CANOpen object accessed as long |
Long |
Read/Write |
4. The example below, Figure 5, shows a Word Register selected and also lists all of the available data types to which tags may be mapped.
Figure 5.
NOTE 1: Any combination of one or more CANOpen devices can be used.
NOTE 2: Driver supports only one Graphite HMI/Controller per network.
NOTE 3: No network manager is required or supported.
Disclaimer
It is the customer's responsibility to review the advice provided herein and its applicability to the system. Red Lion makes no representation about specific knowledge of the customer's system or the specific performance of the system. Red Lion is not responsible for any damage to equipment or connected systems. The use of this document is at your own risk. Red Lion standard product warranty applies.
Red Lion Technical Support
If you have any questions please contact Red Lion Technical Support by clicking here or calling 1-877-432-9908.
For more information: http://www.redlion.net/support/policies-statements/warranty-statement