Configuring CAN Receive & Modem Control in Cosworth Toolset

Edited

To set up CAN Receive from Modem:

For this operation you will have been supplied with a DBC file from Control Support.

Open your Toolset, click on the tab Setups on your task bar. Open the setup of the vehicle and navigate to Streams.  Hover over the import button indicated by the arrow, it will open another menu where you can click on the DBC button. Open the Control DBC file and choose in the dropdown.

Locate the TLM_Control message (0x610) and deselect it and all channels within. Click two times Next and then Finish. Add _RX to the end of the name of the stream. Select the appropriate CAN port and set the Baud rate to match the bus speed. (Note: TLM Modem default is 1 Mb)

You can now log modem channels and add them to the telemetry table for transmission.

To set up Modem Control:

Open your Toolset, click on the tab Setups on your task bar. Open the setup of the vehicle and navigate to Streams.  Hover over the import button indicated by the arrow, it will open another menu where you can click on the DBC button. Open the Control DBC file and choose in the dropdown menu Direction Encode. Click Next.

Delete all messages and channels apart from the TLM_Control message (0x610) and the channels within.

Click two times Next and then Finish. Add _TX to the end of the name of the stream. Select the appropriate CAN port and set the Baud rate to match the bus speed. (Note: TLM Modem default is 1 Mb)

Create Channels to Transmit (optional):

Open your Toolset, click on the tab Setups on your task bar. Open the setup of the vehicle and go to match channels. Click the + Button to create a new math channel. Give the channel the name TLM_Suppress_Transmit and ensure the Quantity/Unit is user type. Set the channel rate at 10Hz on the bottom of the window. 

Use PI Maths to create a channel that is 0 when you would like telemetry transmission, and 1 when you wish for transmission to be suppressed. It is recommended that the logger allows transmission regularly for a short burst so that engineers can validate telemetry is working when the main transmission condition is not met. An example is given below.

Set the channel rate to 10Hz or better to ensure good response, the below example is designed to run at 10Hz and will give a 2 second burst of telemetry every 20 seconds when the ignition is off and transmit all the time when ignition is on.

Repeat for channels TLM_TargetIP and TLM_Transmit_Mode, if you do not plan to use them then a maths channel outputting 0 is acceptable, or you may edit the TX stream to remove the channels you do not wish to transmit.

Details of control message channel behaviour can be found in the document that accompanies the DBC file.