TestIT:Programming S10

From Nolek Wiki
Revision as of 15:20, 11 September 2019 by NolekAdmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

5.3.17 S10

MeasureGet

Description:
It will activate a S10 device and return the results.

Code example:

S10.MeasureGet(S10device,Recipe01,_timeOut,S,ObjectStatus,LeakValue,Unit,ResultText,_TO01,ControlLeakActive)
Parameters
Parameter Type Description
Instrument name String or String symbol The instrument name
Recipe name String or String symbol The recipe name
Timeout Int or Int symbol The time before the communication times out
Time unit String Select the time unit, from the list
Object status Bool symbol True if object tested good, False if object tested bad
Leak value Double symbol The leak value from instrument
Unit String symbol True if time out active
Result Text String symbol Symbol to receive result text from S10
Timeout Active Bool symbol True if command times out
Activate control leak Bool symbol True if the control leak should be activated

MeasureStart

Description:
It will start a S10 device and continue the code.

Code example:

S10.MeasureStart(_B01,S10device,Recipe01,TimeOut,S,ObjectStatus,LeakValue,Unit,ResultText,_TO01,StopMeasurement,ControlLeakActive)
Parameters
Parameter Type Description
Done Bool symbol Will be set when command is done
Instrument name String or String symbol The instrument name
Recipe name String or String symbol The recipe name
Timeout Int or Int symbol The time before the communication times out
Time unit String Select the time unit, from the list
Object status Bool symbol True if object tested good, False if object tested bad
Leak value Double symbol The leak value from instrument
Unit String symbol True if time out active
Result Text String symbol Symbol to receive result text from S10
Timeout Active Bool symbol True if command times out
Stop Measurement Bool symbol Set to true to stop the measurement
Activate control leak Bool symbol True if the control leak should be activated

RecipeValue

Description:
It will return the selected parameter from a specific S10 recipe.

Code example:

S10.RecipeValue(S10device,Recipe01,Fill pressure bar,_D01)
Parameters
Parameter Type Description
Instrument name String or String symbol The instrument name
Recipe name String or String symbol Parameter name
Result Double symbol Symbol to receive the result

AllRecipeValuesAsText

Description:
It will return all recipe parameters from a specific S10.

Code example:

S10.AllRecipeValuesAsText(S10device,Recipe01,_ST01)
Parameters
Parameter Type Description
Instrument name String or String symbol The instrument name
Recipe name String or String symbol Parameter name
Result String symbol Symbol to receive the result


Back to Programming - Commands