Broadcast CAN Message to 3rd Party Valve Controller

Discuss issues and ideas you have to configuring displays with PowerVision
normanbutchgrant
Posts: 25
Joined: Fri Oct 28, 2016 9:07 am

Broadcast CAN Message to 3rd Party Valve Controller

Post by normanbutchgrant » Fri Nov 10, 2017 6:25 am

We have a problem that we cannot broadcast a CAN message out of a PV450 to a third party controller.

We have set up the transmit device under "Connections" -> CANPort1. The variable is being written to, and the library is set up with the PGN, resolution, and bits etc as per the third party controller's specifications.

We can see it is not transmitting because we have a sniffer running and not receiving any commands/data other than standard processes (so we do confirm the CAN bus is correctly configured).

What can we do to fix this? We searched the forums for broadcasting and transmitting, which returned zero results. Is there an example of how to broadcast CAN/FreeForm/J1939 signals?
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: Broadcast CAN Message to 3rd Party Valve Controller

Post by boyce » Fri Nov 10, 2017 9:25 am

Here are examples of transmitting a Free Form message and also setting up a PGN and broadcasting it. The Free Form message is not required to broadcast a PGN. (I'm using broadcast here to mean sending it repeatedly and not necessarily sending it to all destinations.)

Transmit Free Form Message
To send a Free Form message make sure the Message Type and the Frame ID are correct. If it's an extended frame message the Frame ID includes the CAN source address.
freeform1.JPG
freeform1.JPG (112.95 KiB) Viewed 92 times
Fire an event that has an Action to transmit the correct type of Free Form message.
freeform2.JPG
freeform2.JPG (73.53 KiB) Viewed 92 times
Broadcasting a PGN
Define your PGN in the Library. Set a non zero transmit Rate.
freeform6.JPG
freeform6.JPG (122.73 KiB) Viewed 91 times
Select the variables to broadcast in the Transmit Device.
freeform7.JPG
freeform7.JPG (95.59 KiB) Viewed 91 times
These examples work the same on a PV450.
Boyce Schrack
Enovation Controls
normanbutchgrant
Posts: 25
Joined: Fri Oct 28, 2016 9:07 am

Re: Broadcast CAN Message to 3rd Party Valve Controller

Post by normanbutchgrant » Fri Nov 10, 2017 11:42 am

Thank you, we got it working.. we were missing the "action"

Regards
NormanButchGrant