Send Variable via CAN message

adawson
Posts: 8
Joined: Wed May 18, 2011 10:30 am

Send Variable via CAN message

Post by adawson » Thu Mar 01, 2012 5:34 pm

PV750
Config Studio 2.3
Attached is an example file

I'm trying to send a variable out via a CAN message when the lower left button is pressed on the PV750 display. The button fires a script event - "Script Example" (see the "User Variables" section in Programming). The script updates the variable (iDummy) and then triggers a transition event in a state machine. The state machine sends out a free form CAN message (ID 800).

When the variable is zero, I get a good CAN ID 800 message. If the variable is nonzero, I get two CAN messages, ID 800 and ID 801, each with the same format. This example only has ID 800 defined. Is the 801 message a bug or am I doing something wrong? Note, if a CAN message ID 801 is defined, the above bug sends an ID 801 in the ID 800 format, not the actual ID 801 definition.

I am getting this issue in my project configuration and need a resolution.

Thanks,
adawson
Attachments
Bug_SendCan_Variable.zip
(1.85 MiB) Downloaded 18 times
Harish
Posts: 4
Joined: Thu Feb 02, 2012 1:32 pm

Re: Send Variable via CAN message

Post by Harish » Fri Mar 02, 2012 1:59 pm

Adawson,

I am not able to reproduce the bug. Even when the variable is non-zero, I am seeing only one CAN message corresponding to ID 800 or 801 based on the variable I am sending in my config. I tried with PV Configuration Studio Version 2.3.11157. This is the latest version of the Config, not sure which version of Config Studio 2.3 are you using. Try to download the latest version from viewtopic.php?f=3&t=523 and try it again and let me know if the problem still exists.

Thanks,
Harish Gadigota
Test Engineer
FW Murphy
5311 S 122nd E Ave
Tulsa, OK 74146
Office (918) 317-4278
Cell (312) 480-5052
Email
adawson
Posts: 8
Joined: Wed May 18, 2011 10:30 am

Re: Send Variable via CAN message

Post by adawson » Mon Mar 05, 2012 11:39 am

ok, I've been able to resolve the issue and it is not related to the PV750. The PV750 button command is now sending the correct message format.