Difference between revisions of "Template:EtherCAT-Function"

From SoftMC-Wiki
Jump to: navigation, search
m
 
(12 intermediate revisions by 3 users not shown)
Line 97: Line 97:
 
== Limitations ==
 
== Limitations ==
 
{{{LIMITATIONS}}}
 
{{{LIMITATIONS}}}
 +
}}<!--
 +
 +
### EXCEPTIONS
 +
 +
-->{{#if:{{{EXCEPTIONS|}}}|:
 +
== Exceptions ==
 +
{{{EXCEPTIONS}}}
 
}}<!--  
 
}}<!--  
  
Line 117: Line 124:
 
{{#ifeq:{{NAMESPACE}}|Axystems
 
{{#ifeq:{{NAMESPACE}}|Axystems
 
|<!-- Public basic command -->
 
|<!-- Public basic command -->
[[Category:Axystems:EtherCAT:Functions|{{#explode:{{PAGENAME}}|:|-1}}]]
+
[[Category:EtherCAT:Functions|{{#explode:{{PAGENAME}}|:|-1}}]]
 
|<!-- Not ready basic command -->
 
|<!-- Not ready basic command -->
[[Category:AXY:EtherCAT:Functions|{{#explode:{{PAGENAME}}|:|-1}}]]
+
[[Category:EtherCAT:Functions|{{#explode:{{PAGENAME}}|:|-1}}]]
 
}}
 
}}
 
</includeonly><!--  
 
</includeonly><!--  
Line 130: Line 137:
 
{{Template
 
{{Template
 
|description=
 
|description=
Template for [[:Category:Axystems:MC-Basic:Commands|MC-Reference]] command pages.
+
Template for [[:Category:MC-Basic:Commands|MC-Basic:Commands]] reference pages related to EtherCAT functions.
 
 
  
 
|template=
 
|template=
 
<nowiki>
 
<nowiki>
{{AXY:Template:EtherCAT Function
+
{{Template:EtherCAT Function
 
|DESCRIPTION
 
|DESCRIPTION
 
|Input
 
|Input
Line 150: Line 156:
 
|SCOPE=
 
|SCOPE=
 
|LIMITATIONS=
 
|LIMITATIONS=
 +
|Exceptions
 
|EXAMPLE=
 
|EXAMPLE=
 
|SEE ALSO=
 
|SEE ALSO=
Line 175: Line 182:
 
:
 
:
 
;LIMITATIONS
 
;LIMITATIONS
 +
:
 +
;Exceptions
 
:
 
:
 
;EXAMPLE
 
;EXAMPLE
Line 181: Line 190:
  
 
|operation=
 
|operation=
* Pages with this template are automatically added to the [[:Category:Axystems:MC-Basic:Commands]].
+
* Pages with this template are automatically added to the [[:Category:EtherCAT:Functions]].
  
 
|examples=
 
|examples=
 
<pre>
 
<pre>
{{AXY:Template:EtherCAT Function
+
{{Template:EtherCAT Function
 
|SHORT FORM=
 
|SHORT FORM=
 
|SYNTAX=
 
|SYNTAX=
Line 191: Line 200:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Versions 4.0.0 and higher
+
Since Version 5.0.0
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Line 220: Line 229:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:HEX$|HEX$]]
+
* [[MC-Basic:HEX$|HEX$]]
 
}}
 
}}
 
</pre>
 
</pre>
Line 226: Line 235:
 
}}
 
}}
  
[[Category:Template:MC-Basic]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:02, 28 May 2014

Template for MC-Basic:Commands reference pages related to EtherCAT functions.

Template

{{Template:EtherCAT Function
|DESCRIPTION
|Input
|Output
|Return Value
|DECLARATION
|SYNTAX=
|AVAILABILITY=
|DESCRIPTION=
|TYPE=
|RANGE=
|UNITS=
|DEFAULT=
|SCOPE=
|LIMITATIONS=
|Exceptions
|EXAMPLE=
|SEE ALSO=
}}

Parameters

SHORT FORM
SYNTAX
AVAILABILITY
DESCRIPTION
TYPE
RANGE
UNITS
DEFAULT
SCOPE
LIMITATIONS
Exceptions
EXAMPLE
SEE ALSO

Operation

Examples

{{Template:EtherCAT Function
|SHORT FORM=
|SYNTAX=
BIN$(<''number''>)

|AVAILABILITY=
Since Version 5.0.0

|DESCRIPTION=
BIN$ returns the string representation of a number in a binary format.

|TYPE=
<''return'' ''value''>: String<br>

<''number''>: Long

|RANGE=
<''return'' ''value''>: N/A

<''number''>: MinLong to MaxLong

|UNITS=
|DEFAULT=
|SCOPE=
Configuration, Task or Terminal

|LIMITATIONS=
|EXAMPLE=
<pre>
-->myStr = Bin$(58699)
-->?myStr
1110010101001011
</pre>

|SEE ALSO=
* [[MC-Basic:HEX$|HEX$]]
}}

For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.