Browse FAQs

In Vijeo Designer, can I call a bit of a word in the expression editor of a lamp or push button object?

Published date: 18 June 2020

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 function is only for display purpose only. If you need to write to a bit in a word, define a Bit Field Integer variable and set its data length to 1. Pick the bit by setting the Offset bit no. field to the bit # of your choice.

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.