CAN Relay Output Card parametrization
Description of the set of parameters for the CAN Relay Output Card in the HIL Connect Interface component.
Parameters
Table 1 lists parameters which appear when you select CAN Relay Output Card on HIL Connect Interface component. The first letter of the property "Name" differs depending on the Slot where the card is located. It can be derived by replacing s with: A, B, C, D, E, F, G, H.
Parameter | Name | Description |
---|---|---|
X1 | sX01 | Check if the X1 connector is used on Slot s on the HIL Connect. |
X2 | sX02 | Check if the X2 connector is used on Slot s on the HIL Connect. |
X3 | sX03 | Check if the X3 connector is used on Slot s on the HIL Connect. |
X4 | sX04 | Check if the X4 connector is used on Slot s on the HIL Connect. |
CAN TX Event | scan_tx_event | Specifies the condition under which the CAN message is transmitted. If Event is chosen, the message will be transmitted when the signal applied to the specified input port of the component changes. If Timer is chosen, the message will be transmitted periodically. In this case, the transmission period is 5 ms. |
Include CAN Setup | sinclude_CAN_setup | Includes a CAN Setup component.
Only one card in one HIL Connect Interface
component can have this checked. Also, only one HIL Connect Interface on same HIL
device can have this component included. Note: If a CAN Setup
component is used outside of the HIL Connect Interface component, baud rate
should be set to 1e6 bits/s and execution rate should be 1 ms. |
Card option | soption | Card option, which defines some specific characteristics of the card. Information about the option is represented by a number following the card configuration letters in the configuration code. |
Ports
Desired output signals can be sent to the HIL Connect through the following input ports of the HIL Connect Interface component (again, the first letter depends on the Slot where this card is located):
- sX1
- sX2
- sX3
- sX4
- sevent
A vector of length 8 should be sent to each input port, where each element of that vector corresponds to one pin of the connector. For example if you want to send a signal to pin 2, you should make sure that that signal is the second element of your vector. If there is a need for inverting signals, inverting them should be done before feeding them to the input terminal. When the CAN TX Event property is set to Event, the port sevent appears. The signal that will trigger the transmission of CAN messages should be applied to this sevent port.