Difference between revisions of "AXY:MC-Basic:group.ATTACHEDTO"

From SoftMC-Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{MC-Basic
+
<!-- {{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
  
  
 
|SYNTAX=
 
|SYNTAX=
<nowiki>PrintUsing #1, "<format_string>"; [<expression>];{[<expression>]}* {Send = True | False}</nowiki>
+
?<''group''>.AttachedTo
  
 
|AVAILABILITY=
 
|AVAILABILITY=
All versions
+
Since Version 3.6.20
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Prints formatted numeric variables to the serial port using the specified format <string> to buffer. The format string contains literal text to be printed and characters for formatting numeric expressions. Only a single formatting string (containing text and formatting characters) followed by the expressions to print is allowed. The value assigned to Send parameter determines whether the buffer content will be send to serial port at the end of the command (Send = True) or stored in the buffer (Send = False). If send assignment is abolished, send defaults to False.
+
Returns name of an attached task to the given element. If a group is not attached but the axes belonging to it are, the list of active axes and their tasks is returned. If the element is not attached to any program, an empty string is returned.
  
 
|TYPE=
 
|TYPE=
<format_string>: String
+
String
<expression>: Long or Double
 
  
 
|RANGE=
 
|RANGE=
Line 29: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Only 15 digits after the decimal point can be displayed. The statement, printu <nowiki>“#.################”;My_Var,</nowiki>
+
Read Only
  
 
|EXAMPLE=
 
|EXAMPLE=
<nowiki>PrintUToBuff #1 “B is ##.##”;B</nowiki>
+
?G1.AttachedTo
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:CLOSE|CLOSE]]
+
* [[MC-Basic:axis.ATTACHEDTO|axis.ATTACHEDTO]]
* [[Axystems:MC-Basic:OPEN|OPEN]]
 
* [[Axystems:MC-Basic:PRINTUSING|PRINTUSING]]
 
 
 
  
  
 
}}
 
}}
 +
-->

Latest revision as of 06:17, 14 August 2017