TestIT:Programming Display
Contents
5.3.3 Display
OpAddSymbol
Description:
It will add a symbol or symbols to the operator display.
Code example:
Display.OpAddSymbol(_ST01;_B01)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Symbol Array | Symbol array | Symbol or symbol array to add to the operator display |
OpRemoveSymbol
Description:
It will remove symbol or symbols to operator display.
Code example:
Display.OpRemoveSymbol(_ST01;_B01)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Symbol Array | Symbol array | Symbol or symbol array to remove from the operator display |
OpClear
Description:
It will clear operator display.
Code example:
Display.OpClear()
No parameters
UpAddButton
Description:
It will add a button to the user prompt.
Code example:
Display.UpAddButton(_B01;_B02)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Bool Symbols | Symbol array | Bool symbols to add to the user prompt |
UpShow
Description:
It will display the user prompt.
Code example:
Display.UpShow(_B01,"Header","Text for info",1)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Result | Bool symbol | True when command is done |
Header | String or String symbol | Header to display |
Text | String or String symbol | Text to display |
Icon | Int | Select Icon (Icon: 1 = Message; 2= Alert; 3 = Question) |
UpScanShow
Description:
It will display the user scan prompt.
Code example:
Display.UpScanShow(_B01,_ScannedValue,"Header","Text for info",1)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Result | Bool symbol | True when command is done |
ScannedValue | String symbol | Symbol to hold the scanned value |
Header | String or String symbol | Header to display |
Text | String or String symbol | Text to display |
Icon | Int | Select Icon (Icon: 1 = Message; 2= Alert; 3 = Question) |
Message
Description:
It will set a text message in the production window.
Code example:
Display.Message(1010,"Pressure OK",3)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Message number | Int or Int symbol | Message number |
Message | String or String symbol | Symbol or string message to display |
Icon | Int | Select Icon (0 = None, 1 = Info, 2 = Error, 3 = Success, 4 = Warning) |
UpShowYesNo
Description:
It will display the user prompt with Yes/No buttons.
Code example:
Display.UpShowYesNo(_B01,_ScannedValue,"Header","Text for info",1)
Parameters | ||
---|---|---|
Parameter | Type | Description |
UP Result | Bool symbol | True when command is done |
Question Result | Bool symbol | Symbol receive result of the question |
Header | String or String symbol | Header to display |
Text | String or String symbol | Text to display |
Icon | Int | Select Icon (Icon: 1 = Message; 2= Alert; 3 = Question) |
TestCountShow
Description:
It will show test count.
Code example:
Display.TestCountShow()
No parameters
TestCountReset
Description:
It will reset test counter.
Code example:
Display.TestCountReset()
No parameters
TestCountAddOK
Description:
It will add one to OK test counter.
Code example:
Display.TestCountAddOK()
No parameters
TestCountAddNOK
Description:
It will add one to NOK test counter.
Code example:
Display.TestCountAddNOK()
No parameters
TestCountSetOK
Description:
Set the OK test counter to a value
Code example:
Display. TestCountSetOK (_IN01)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Value | Int or Int symbol | New value for OK test counter |
TestCountSetNOK
Description:
Set the NOK test counter to a value.
Code example:
Display. TestCountSetNOK (_IN01)
Parameters | ||
---|---|---|
Parameter | Type | Description |
Value | Int or Int symbol | New value for NOK test counter |