MotoTune CAN Definition

This MotoHawk™ block adds a MotoTune connection to the referenced CAN resource.

Block ID

MotoTune CAN Definition

Library

MotoHawk_lib/MotoTune Blocks

Description

This MotoHawk™ block adds a MotoTune connection to a referenced CAN resource.

The unique ID for this connection on this CAN resource is the City ID. It can be specified as a constant or by a data store value.

Note that the city ID setting is only applied on power on so the data store "Storage" setting is very important.

In addition to defining a City ID, it is possible to define the upper word of the CAN transmit and receive ID by checking the Defined MotoTune Transmit and Receive ID check box. This should be used when another protocol is using CAN ID's that would conflict with the MotoTune connection defined only by a City ID. This will give the option to define the upper word portion of the the transmit and receive ID's that the MotoTune protocol will communicate over. These upper words will be combined with the city ID and the source address of an incoming MotoTune connection to make transmit and receive IDs for the MotoTune protocol.

Please note that the MotoTune protocol requires the use of the least significant nibble of the upper word in the CAN ID for target programming. If target programming via MotoTune is required, set the least significant nibble of the receive ID upper word to 0. Defining the upper word of the receive ID to a non zero value in the will result in an inability to program a target using MotoTune. A transport packet error will occur in this situation.

Block Parameters

Parameter Field Values Comments/Description
Handler Name Alpha-numeric text, single-quote enclosed Name assigned to the resource. Should be unique and C-legal (no special characters such as spaces, dashes or commas (underscore allowed).
Reference Name Alpha-numeric text, single-quote enclosed Specify which CAN resource to reference.
City ID Source Dropdown Select either "Constant" or "Data Store Reference".
City ID (0- 255) Numeric Only visible if City ID Source is set to "Constant". Specifies the desired city ID. It must be from 0-255.
City ID Data Store Reference Alpha-numeric text Only visible if City ID Source is set to "Data Store Reference". Specifies an existing uint8 scalar data store name.
Define MotoTune Transmit and Receive ID Checkbox Enables the user to specify the upper word of the transmit ID and the receive ID to be combined with the city ID and the source address of an incoming MotoTune connection to make transmit and receive IDs for the MotoTune protocol.
Transmit ID Numeric Only visible if Define MotoTune Transmit and Receive ID box is checked. Specifies the upper word of the transmit ID for the MotoTune protocol.
Receive ID Numeric Only visible if Define MotoTune Transmit and Receive ID box is checked. Specifies the upper word of the receive ID for the MotoTune protocol.