GetTargetNameValue: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
FabienT (talk | contribs)
No edit summary
FabienT (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Description|description=Returns the value# in the map slot ‘N’ for the target name ‘T’.  
{{Description|description=Returns the value# in the map slot ‘N’ for the target name ‘T’.  


Target names can be one of the following 4 string.
Target names can be one of the following 4 strings:


* ‘THIS‘ The current destination op's target name (will throw if [[IsGoToTargetDestinationOp]]? is false)
* ‘THIS’ for the current destination op's target name (will throw if [[IsGoToTargetDestinationOp]]? is false)
* ‘UNDERSIZE’ will lookup the undercut target name when you are in a probing op where the undersize response is set to GoTo
* ‘UNDERSIZE’ will look up the undercut target name when you are in a probing op where the undersize response is set to GoTo
* ‘OVERSIZE will lookup the oversize target name when you are in a probing op where the oversize response is set to GoTo
* ‘OVERSIZE’ will look up the oversize target name when you are in a probing op where the oversize response is set to GoTo
* ‘SUCSESS’ will lookup the success target name when you are in a probing op where the success response is set to GoTo
* ‘SUCCESS’ will look up the success target name when you are in a probing op where the success response is set to GoTo


}}
}}
{{Stats|id=216|type=Command|class=All Machines|scope=|version=13.8.27}}
{{Stats|id=216|type=Command|class=All Machines|scope=|version=13.8.27}}
==GetTargetNameValue$(‘T’)==
{{Description|description=Returns the current probing operation's 'GOTO' target utility operation's name as a string value (if applicable). The argument 'T' is the probing operation event's type.
A probing operation event can be set to trigger a response such as a jump to a utility 'GOTO' operation. These events can be one of the 3 following strings:
* ‘UNDERSIZE’, leading to a response when probing out of tolerance (undercut)
* ‘OVERSIZE’, leading to a response when probing out of tolerance (overcut)
* ‘SUCCESS’, leading to a response when probing within tolerance
The function returns an empty string if:
* no response is set for the queried event,
* the queried event string does not exist,
* the current operation is not a probing operation
}}
{{Stats|id=64|type=Command|class=All Machines|scope=|version=26.0.7}}

Latest revision as of 10:44, 15 July 2024

GetTargetNameValue#(‘T’, ‘N’)

Description

Returns the value# in the map slot ‘N’ for the target name ‘T’.

Target names can be one of the following 4 strings:

  • ‘THIS’ for the current destination op's target name (will throw if IsGoToTargetDestinationOp? is false)
  • ‘UNDERSIZE’ will look up the undercut target name when you are in a probing op where the undersize response is set to GoTo
  • ‘OVERSIZE’ will look up the oversize target name when you are in a probing op where the oversize response is set to GoTo
  • ‘SUCCESS’ will look up the success target name when you are in a probing op where the success response is set to GoTo


Stats

ID 216
Type Command
Class All Machines
Min Version 13.8.27


GetTargetNameValue$(‘T’)

Description

Returns the current probing operation's 'GOTO' target utility operation's name as a string value (if applicable). The argument 'T' is the probing operation event's type.

A probing operation event can be set to trigger a response such as a jump to a utility 'GOTO' operation. These events can be one of the 3 following strings:

  • ‘UNDERSIZE’, leading to a response when probing out of tolerance (undercut)
  • ‘OVERSIZE’, leading to a response when probing out of tolerance (overcut)
  • ‘SUCCESS’, leading to a response when probing within tolerance

The function returns an empty string if:

  • no response is set for the queried event,
  • the queried event string does not exist,
  • the current operation is not a probing operation


Stats

ID 64
Type Command
Class All Machines
Min Version 26.0.7