Difference between revisions of "Template:HANcoder/Block"

From OpenMBD
Jump to: navigation, search
Line 15: Line 15:
  
 
==Block Parameters==
 
==Block Parameters==
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 22: Line 21:
 
| {{#ifeq: {{{SampleTime}}} | Default | sampletime is default| {{{SampleTime}}} }}
 
| {{#ifeq: {{{SampleTime}}} | Default | sampletime is default| {{{SampleTime}}} }}
  
|- {{#if: {{{SampleTime2|}}} | | style="display: none;" }}
+
|- {{#if: {{{CANChannel|}}} | | style="display: none;" }}
! Sample Time2
+
! CAN Channel
| {{{SampleTime2Description|default}}}
+
| {{#ifeq: {{{CANChannel}}} | Default | sampletime is default| {{{CANChannel}}} }}
  
|- {{#if: {{{SampleTime3|}}} | | style="display: none;" }}
+
|- {{#if: {{{InputPorts|}}} | | style="display: none;" }}
! Sample Time3
+
! Input Ports
| {{{SampleTime3Description|default}}}
+
| {{#ifeq: {{{InputPorts}}} | Default | sampletime is default| {{{InputPorts}}} }}
 
|}
 
|}
  
 +
|- {{#if: {{{InputDataType|}}} | | style="display: none;" }}
 +
! Input Data Type
 +
| {{#ifeq: {{{InputDataType}}} | Default | sampletime is default| {{{InputDataType}}} }}
 +
|}
  
<table>
+
|- {{#if: {{{OutputPorts|}}} | | style="display: none;" }}
{| class="wikitable"
+
! Output Ports
 +
| {{#ifeq: {{{OutputPorts}}} | Default | sampletime is default| {{{OutputPorts}}} }}
 +
|}
  
{{#if:{{{SampleTime|}}}
+
|- {{#if: {{{OutputDataType|}}} | | style="display: none;" }}
|<tr><th>Sample Time</th><td>{{{SampleTime|Default}}}</td></tr>}}
+
! Output Data Type
 +
| {{#ifeq: {{{OutputDataType}}} | Default | sampletime is default| {{{OutputDataType}}} }}
 +
|}
  
{{#if:{{{CANChannel|}}}
+
|- {{#if: {{{ByteOrder|}}} | | style="display: none;" }}
|<tr><th>CAN Channel</th><td>{{{CANChannel|Default}}}</td></tr>}}
+
! Byte Order
 +
| {{#ifeq: {{{ByteOrder}}} | Default | sampletime is default| {{{ByteOrder}}} }}
 +
|}
  
{{#if:{{{InputPorts|}}}
+
|- {{#if: {{{IdentifierType|}}} | | style="display: none;" }}
|<tr><th>Input Ports</th><td>{{{InputPorts|Default}}}</td></tr>}}
+
! Identifier Type
 +
| {{#ifeq: {{{IdentifierType}}} | Default | sampletime is default| {{{IdentifierType}}} }}
 +
|}
  
{{#if:{{{InputDataType|}}}
+
|- {{#if: {{{CANTransmitID|}}} | | style="display: none;" }}
|<tr><th>Input Data Type</th><td>{{{InputDataType|Default}}}</td></tr>}}
+
! CAN Transmit ID
 +
| {{#ifeq: {{{CANTransmitID}}} | Default | sampletime is default| {{{CANTransmitID}}} }}
 +
|}
  
{{#if:{{{OutputPorts|}}}
+
|- {{#if: {{{CANReceiveID|}}} | | style="display: none;" }}
|<tr><th>Output Ports</th><td>{{{OutputPorts|Default}}}</td></tr>}}
+
! CAN Receive ID
 +
| {{#ifeq: {{{CANReceiveID}}} | Default | sampletime is default| {{{CANReceiveID}}} }}
 +
|}
  
{{#if:{{{OutputData Type|}}}
+
|- {{#if: {{{TPBlocksize|}}} | | style="display: none;" }}
|<tr><th>OutputDataType</th><td>{{{OutputDataType|Default}}}</td></tr>}}
+
! TP Blocksize
 +
| {{#ifeq: {{{TPBlocksize}}} | Default | sampletime is default| {{{TPBlocksize}}} }}
 +
|}
  
{{#if:{{{ByteOrder|}}}
+
|- {{#if: {{{TPSTmin|}}} | | style="display: none;" }}
|<tr><th>Byte Order</th><td>{{{ByteOrder|Default}}}</td></tr>}}
+
! TP STmin
 +
| {{#ifeq: {{{TPSTmin}}} | Default | sampletime is default| {{{TPSTmin}}} }}
 +
|}
  
{{#if:{{{IdentifierType|}}}
+
|- {{#if: {{{TPReceptionBufferSize|}}} | | style="display: none;" }}
|<tr><th>Identifier Type</th><td>{{{IdentifierType|Default}}}</td></tr>}}
+
! TP Reception Buffer Size
 +
| {{#ifeq: {{{TPReceptionBufferSize}}} | Default | sampletime is default| {{{TPReceptionBufferSize}}} }}
 +
|}
  
{{#if:{{{CANTransmitID|}}}
+
|- {{#if: {{{UDSTransmitBufferSize|}}} | | style="display: none;" }}
|<tr><th>CAN Transmit ID</th><td>{{{CANTransmitID|Default}}}</td></tr>}}
+
! UDS Transmit Buffer Size
 +
| {{#ifeq: {{{UDSTransmitBufferSize}}} | Default | sampletime is default| {{{UDSTransmitBufferSize}}} }}
 +
|}
  
{{#if:{{{CANReceiveID|}}}
+
|- {{#if: {{{UDSSeedKeyRequired|}}} | | style="display: none;" }}
|<tr><th>CAN Receive ID</th><td>{{{CANReceiveID|Default}}}</td></tr>}}
+
! UDS Seed/Key Required
 +
| {{#ifeq: {{{UDSSeedKeyRequired}}} | Default | sampletime is default| {{{UDSSeedKeyRequired}}} }}
 +
|}
  
{{#if:{{{TPBlocksize|}}}
+
|- {{#if: {{{Baudrate|}}} | | style="display: none;" }}
|<tr><th>TP Blocksize</th><td>{{{TPBlocksize|Default}}}</td></tr>}}
+
! Baudrate
 +
| {{#ifeq: {{{Baudrate}}} | Default | sampletime is default| {{{Baudrate}}} }}
 +
|}
  
{{#if:{{{TPSTmin|}}}
+
|- {{#if: {{{Parity|}}} | | style="display: none;" }}
|<tr><th>TP STmin</th><td>{{{TPSTmin|Default}}}</td></tr>}}
+
! Input Ports
 
+
| {{#ifeq: {{{Parity}}} | Default | sampletime is default| {{{Parity}}} }}
{{#if:{{{TPReceptionBufferSize|}}}
+
|}
|<tr><th>TP Reception Buffer Size</th><td>{{{TPReceptionBufferSize|Default}}}</td></tr>}}
 
 
 
{{#if:{{{UDSTransmitBufferSize|}}}
 
|<tr><th>UDS Transmit BufferSize</th><td>{{{UDSTransmitBufferSize|Default}}}</td></tr>}}
 
 
 
{{#if:{{{UDSSeedKeyRequired|}}}
 
|<tr><th>UDS Seed/Key Required</th><td>{{{UDSSeedKeyRequired|Default}}}</td></tr>}}
 
 
 
{{#if:{{{Baudrate|}}}
 
|<tr><th>Baudrate</th><td>{{{Baudrate|Default}}}</td></tr>}}
 
 
 
{{#if:{{{Parity|}}}
 
|<tr><th>Parity</th><td>{{{Parity|Default}}}</td></tr>}}
 
 
 
{{#if:{{{DataBits|}}}
 
|<tr><th>Data Bits</th><td>{{{DataBits|Default}}}</td></tr>}}
 
 
 
{{#if:{{{StopBits|}}}
 
|<tr><th>Stop Bits</th><td>{{{StopBits|Default}}}</td></tr>}}
 
 
 
{{#if:{{{StatusOutput|}}}
 
|<tr><th>Status Output</th><td>{{{StatusOutput|Default}}}</td></tr>}}
 
 
 
</table>
 

Revision as of 08:02, 22 March 2017


General information about HANcoder/Block

{{{info}}}

Block Screenshot

[[File:{{{blockImage}}}]]

Mask Screenshot

[[File:{{{maskImage}}}]]

Block Parameters

Sample Time {{{SampleTime}}}
CAN Channel {{{CANChannel}}}
Input Ports {{{InputPorts}}}

|- style="display: none;" ! Input Data Type | {{{InputDataType}}} |}

|- style="display: none;" ! Output Ports | {{{OutputPorts}}} |}

|- style="display: none;" ! Output Data Type | {{{OutputDataType}}} |}

|- style="display: none;" ! Byte Order | {{{ByteOrder}}} |}

|- style="display: none;" ! Identifier Type | {{{IdentifierType}}} |}

|- style="display: none;" ! CAN Transmit ID | {{{CANTransmitID}}} |}

|- style="display: none;" ! CAN Receive ID | {{{CANReceiveID}}} |}

|- style="display: none;" ! TP Blocksize | {{{TPBlocksize}}} |}

|- style="display: none;" ! TP STmin | {{{TPSTmin}}} |}

|- style="display: none;" ! TP Reception Buffer Size | {{{TPReceptionBufferSize}}} |}

|- style="display: none;" ! UDS Transmit Buffer Size | {{{UDSTransmitBufferSize}}} |}

|- style="display: none;" ! UDS Seed/Key Required | {{{UDSSeedKeyRequired}}} |}

|- style="display: none;" ! Baudrate | {{{Baudrate}}} |}

|- style="display: none;" ! Input Ports | {{{Parity}}} |}