MotoHawk XCPSlave Instance Enable Set

The Instance Enable Set block enables an instance of the protocol handler to process protocol messages.

Block ID

XCPSlave Instance Enable Set

Library

MotoHawk_Protocols_lib

Description

The Instance Enable Set block can be used to enable or disable message handling for a named instance of the protocol handler. Use of this block is optional and if it is not included in the model for a named instance of the XCP Slave protocol handler, the instance will always be enabled.

There are two enable categories. The first is denoted as 'Entire Protocol' and in this category the block enables all protocol communications. With the 'Entire Protocol' category, when the enable input is set to TRUE, the XCP Slave handler will process incoming protocol messages for the instance associated with the names in this block.
When the enable input transitions to FALSE, if an instance of the protocol is in active communication with an XCP Master device, the connection will be disconnected and no further message handling will be allowed until the enable port transitions back to true. If using XCP parameter security, the access level is set to zero.

The second category is 'Programming.' This category allows the application to enable or disable the ability to enter programming only. When the enable input is set to TRUE, the XCP Slave handler will honor the protocol command to enter programming mode. If the enable input is set to FALSE, the command to enter programming mode will receive a failure response.


Block Parameters

Parameter Field Values Comments/Description
Instance Name
(more than 1 allowed)
string or
cell array of string
The name of one or more XCP instances which this block will enable/disable. An XCP Instance Name may be configured in at most one Enable block.
Enable Category Dropdown Either 'Entire Protocol' if this block is enabling all protocol commands or 'Programming' if this block is used to limit the ability to enter programming mode.