Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The following indicates how to display the C3 error history. Both the error number and a readable description of the error are displayed. 

How it works:

The basis of this display is the Message tool set in Xpress. Each C3 error is represented by a unique number. For example a following error is represented by number 29472 (Hex 7320). Within Xpress, a message table is created with the description of each error at the line number of the error. For example, at line number 29472 within the message table the text for a following error is entered.

image-20240205-201309.png

image-20240205-201319.png

Then tags are created in Xpress which retrieve the list of previous errors from the C3, one tag per entry. These tags contain the specific C3 error number. This error number is then used with a message window inside of Xpress to lookup the error text from the message table.  Notice that "Following Error" is at entry 29472 in the Message Table.

image-20240205-201328.png

Setup Steps:

  1. Configure communications with C3

  2. Create tags for the error history in the C3

  3. Setup/Import a message table

  4. Create Message objects on a panel and link them to the C3 error tags and message table.

  5. Create numeric displays and link them to the C3 error tags

  1. Configure communications with C3

The first step is to setup the communication driver for the C3. In this case the channel is named "C3" and the Device is named "D1". If you already have the communications set up and plan to import the screen with tag names, the tag addresses will need to be adjusted to match your communication naming settings. See additional posts in the knowledge base for setting up Xpress communication to the C3.

image-20240205-201410.png

  1. Creating tags for the error history in the C3

The C3 uses object numbers to access data inside the drive. As shown below in the C3 help file, the error numbers are stored in objects 550.1 thru 550.32. Object 550.1 represents the most current error object in the history. Note that these are a log of errors and do not necessarily indicate whether an error is active or not. Also, this example covers adding errors 1-10 for display. Errors 11-32 would need to be added if desired.

image-20240205-201420.png

image-20240205-201430.png

Using these object numbers tags will be added for errors 1 thru 10. Navigate to the tag editor and create a new tag named "C3_Error_1". Set the address to "C3.d1.550.1" Remember that if your communication settings differ from those shown above the first portion of the tag address "C3.d1" will need to be adapted. The second portion "550.1" represents the object number in the C3 and would remain the same. Note the data type of "UInt".

image-20240205-201440.png

Repeat this process for tags 2-10.

image-20240205-201450.png

  1. Setup/Import the message list.

For your convenience, a message list has already been created containing all of the C3 errors. This list is ready for import into your project. If you wish to edit this list to create specific text for errors or add error codes the list can be edited in excel. Download this file to your computer. Navigate to the home screen within Xpress and click on "Import/Export". The Message list is attached at the bottom of this post.

image-20240205-201528.png

Then click on "Message Table"

image-20240205-201537.png

Click on "Browse" then navigate to the text file on your local PC. Then click on "Import"

image-20240205-201546.png

A Message table will be added to the Project screen

image-20240205-201601.png

Return to the design screen and add a Numeric Display. Change the Value Output to "C3_Error_1". Note, it is possible to import this screen into your project from the sample project attached below.

image-20240205-201854.png

Next, add a Message to the screen. Set the Type to "Display Only"

image-20240205-201903.png

Set the Message Output to the tag "C3_Error_1"

image-20240205-201932.png

Set the Message Source to "C3_Error_Message_Table"

image-20240205-201944.png

Repeat this process for the remaining 9 error messages. Index each tag to the next tag number: "C3_Error_2", "C3_Error_3"........"C3_Error_10"

image-20240205-201953.png

image-20240205-202001.png

You will end up with something as shown below:

image-20240205-202012.png

Download your project to the screen, connect the screen to the drive and start the runtime. The error history from the C3 will be displayed.

image-20240205-202021.png

Attached below are the Message Table and complete project file.

C3 Error Display.zip

  • No labels