CANopen application

Discuss issues and ideas you have to configuring displays with PowerVision
liulanger521
Posts: 10
Joined: Fri Oct 08, 2010 7:31 pm

CANopen application

Post by liulanger521 » Fri Dec 03, 2010 2:11 am

In tool 2.0, we can add or delete a events of the CANopen application in the Application and actions, e,g I edit the following system event "CANopen->Tx Std Free Form(FFCAN.Send SDO Write Command)", then we can make use of it by EventID("CANopen->Tx Std Free Form(FFCAN.Send SDO Write Command)") in the Scripts;
But in the tool 2.1, I can’t edit a events of the CANopen application, so I can’t do the Canopen action in the scripts directly. How I can make a CANopen application events?
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: CANopen application

Post by jpurdum » Sun Dec 05, 2010 10:27 am

This is a little confusing. I don't believe that in any released config tool we've allowed the edit of events in the Applications and Actions area. Applications are hard coded to look for certain actions and events, so even if you could add one you could break that application's functionality.

What version of 2.0 were you using? Pull up the About box and give me the numbers next to "Build:".

So, what you should be doing for 2.1 is to call the action to send the FF CAN packet from a state in a state machine. You can make a very simple state machine with one state if you like and create a transition that you can name something meaningful. On the outgoing side of the state, have it fire the action. You can then call your event with the meaningful name from scripts, or button presses or from any other event call method.
liulanger521
Posts: 10
Joined: Fri Oct 08, 2010 7:31 pm

Re: CANopen application

Post by liulanger521 » Sun Dec 05, 2010 6:42 pm

Tkanks :D