Port FAILURESIM - GENERIC_VERISTAND_FAILURE¶
Generic Veristand failure port
Stimulation¶
此端口不具备激励能力。
Specifics¶
Note for usage of Generic-Veristand-FIU:
The Assignment of the pins is realized by a XML mapping file (see following example).
The dKey parameter in the tag PIN represents the model path which is used to set the failure. The structure of this model path is defined as follows. Note: the module name has to be put before the signal name divided by a “/”
<FIU-ROOT> <MODUL-NAME> <SIGNAL-NAME> BROKEN = [ 1 | 0 ] COM1 = [ 1 | 0 ] COM2 = [ 1 | 0 ] <MASTER-PINS> <PIN-NAME> COM1 = [ 1 | 0 ] COM2 = [ 1 | 0 ] <COM-BRIDGE<x>> COM<n> = [ 1 | 0 ]Example:
<FIU-ROOT> /2A13 <-- Modul-Name /IN0 <-- Signal-Name /BROKEN = [ 1 | 0 ] /COM1 = [ 1 | 0 ] /COM2 = [ 1 | 0 ] /IN1 /BROKEN = [ 1 | 0 ] /COM1 = [ 1 | 0 ] /COM2 = [ 1 | 0 ] /IN2 /BROKEN = [ 1 | 0 ] /COM1 = [ 1 | 0 ] /COM2 = [ 1 | 0 ] /UBATT9 <-- Master-Pin /COM1 = [ 1 | 0 ] /COM2 = [ 1 | 0 ]Example Generic Veristand FIU:
<?xml version="1.0" encoding="utf-8"?> <FIU xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PIN-INFO-SET> <PIN dkey="UBATT9"> <DVALUE xsi:type="FIU_COMPinInfo"> <DESCRIPTION xsi:type="unicode">UBATT +9V</DESCRIPTION> <TYPE xsi:type="string">COMINPUT</TYPE> <CONNECTION> <ALLOWED-CONNECTION xsi:type="string">NORMAL</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM1</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM2</ALLOWED-CONNECTION> </CONNECTION> <COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">UBATT12</ALLOWED-COM-GROUP> </COM-GROUP> <MODULE-ID xsi:type="integer">-1</MODULE-ID> <BIT-COM1 xsi:type="integer">-1</BIT-COM1> </DVALUE> </PIN> <PIN dkey="UBATT12"> <DVALUE xsi:type="FIU_COMPinInfo"> <DESCRIPTION xsi:type="unicode">UBATT +12V</DESCRIPTION> <TYPE xsi:type="string">COMINPUT</TYPE> <CONNECTION> <ALLOWED-CONNECTION xsi:type="string">NORMAL</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM1</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM2</ALLOWED-CONNECTION> </CONNECTION> <COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">UBATT12</ALLOWED-COM-GROUP> </COM-GROUP> <MODULE-ID xsi:type="integer">-1</MODULE-ID> <BIT-COM1 xsi:type="integer">-1</BIT-COM1> </DVALUE> </PIN> <PIN dkey="UBATT24"> <DVALUE xsi:type="FIU_COMPinInfo"> <DESCRIPTION xsi:type="unicode">UBATT +24V</DESCRIPTION> <TYPE xsi:type="string">COMINPUT</TYPE> <CONNECTION> <ALLOWED-CONNECTION xsi:type="string">NORMAL</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM1</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM2</ALLOWED-CONNECTION> </CONNECTION> <COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">UBATT12</ALLOWED-COM-GROUP> </COM-GROUP> <MODULE-ID xsi:type="integer">-1</MODULE-ID> <BIT-COM1 xsi:type="integer">-1</BIT-COM1> </DVALUE> </PIN> <PIN dkey="GND1"> <DVALUE xsi:type="FIU_COMPinInfo"> <DESCRIPTION xsi:type="unicode">Vehicle Ground 1</DESCRIPTION> <TYPE xsi:type="string">COMINPUT</TYPE> <CONNECTION> <ALLOWED-CONNECTION xsi:type="string">NORMAL</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM1</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM2</ALLOWED-CONNECTION> </CONNECTION> <COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">GROUND</ALLOWED-COM-GROUP> </COM-GROUP> <MODULE-ID xsi:type="integer">-1</MODULE-ID> <BIT-COM1 xsi:type="integer">-1</BIT-COM1> </DVALUE> </PIN> <PIN dkey="GND2"> <DVALUE xsi:type="FIU_COMPinInfo"> <DESCRIPTION xsi:type="unicode">Vehicle Ground 2</DESCRIPTION> <TYPE xsi:type="string">COMINPUT</TYPE> <CONNECTION> <ALLOWED-CONNECTION xsi:type="string">NORMAL</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM1</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM2</ALLOWED-CONNECTION> </CONNECTION> <COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">GROUND</ALLOWED-COM-GROUP> </COM-GROUP> <MODULE-ID xsi:type="integer">-1</MODULE-ID> <BIT-COM1 xsi:type="integer">-1</BIT-COM1> </DVALUE> </PIN> <PIN dkey="COM-BRIDGE1"> <DVALUE xsi:type="FIU_COMPinInfo"> <DESCRIPTION xsi:type="unicode">COM-BRIDGE1</DESCRIPTION> <TYPE xsi:type="string">COMINPUT</TYPE> <CONNECTION> <ALLOWED-CONNECTION xsi:type="string">NORMAL</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM1</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM2</ALLOWED-CONNECTION> </CONNECTION> <COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">RESERVED1</ALLOWED-COM-GROUP> </COM-GROUP> <MODULE-ID xsi:type="integer">-1</MODULE-ID> <BIT-COM1 xsi:type="integer">-1</BIT-COM1> </DVALUE> </PIN> <PIN dkey="2A13/IN0"> <DVALUE xsi:type="FIU_STDPinInfo"> <DESCRIPTION xsi:type="unicode">Modul 2A13 Pin IN0</DESCRIPTION> <TYPE xsi:type="string">STD</TYPE> <CONNECTION> <ALLOWED-CONNECTION xsi:type="string">NORMAL</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">BREAK</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM1</ALLOWED-CONNECTION> <ALLOWED-CONNECTION xsi:type="string">COM2</ALLOWED-CONNECTION> </CONNECTION> <COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">GROUND</ALLOWED-COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">UBATT12</ALLOWED-COM-GROUP> <ALLOWED-COM-GROUP xsi:type="string">RESERVED1</ALLOWED-COM-GROUP> </COM-GROUP> <MODULE-ID xsi:type="integer">-1</MODULE-ID> <CANAL-NUMBER xsi:type="integer">-1</CANAL-NUMBER> </DVALUE> </PIN> <!-- Weitere Pins --> </PIN-INFO-SET> </FIU>
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
FIU file |
string |
FIU file to be used by the port |
|||
Entry model path |
‘root’ |
string |
Root path to the FIU model paths. |
||
Reset pause |
200 |
int |
Delay in ms to await after each FIU reset. |
Jobs 🛈¶
ResetFIU¶
Reset all pins
SetPin¶
Switching special Pin. No reset is performed before!
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
broken |
☐ |
bool |
Open circuit |
||
com1 |
☐ |
bool |
Bus bar 1 |
||
com2 |
☐ |
bool |
Bus bar 2 |
||
pinKey |
string |
Unique name of the Pin |