You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
Issue:
Calling a bit of a word in the expression editor of a lamp or push button object
Product Line:
Vijeo Designer
Resolution:
Yes, you can extract a bit of a word in Vijeo Designer from the expression editor of the lamp or push button's lamp field. The syntax
in the expression editor are as follows: VariableName.X(n) where n = bit position
For example: If I want to display the bit 0 of an integer variable INT01 the syntax would be, INT01.X(0) in the expression editor.
Note:
-This method does not work with elements of array, structure, folder, recipe group, and block variables.
-If the variable is in a folder (for equipment scan groups for example), you cannot use the bit referencing... eg. MyFolder.MyVariable.X(0) does not work
-This method does not work with elements of array, structure, folder, recipe group, and block variables.
-If the variable is in a folder (for equipment scan groups for example), you cannot use the bit referencing... eg. MyFolder.MyVariable.X(0) does not work