Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
How can we read and write bit value of a variable created in Vijeo Designer.
You can use Variable Methods to read extracted bit and write to extracted bit of an Integer variable. The method to read Extracted bit is X and to write to any particular bit XW.

To use this if you have created an integer variable as var_1 then to read bits you can use the following syntax:

var_1.X(0)

This will return bit 0 status of integer variable var_1.

To write to you can use :

VariableName.XW(int position, boolean value);

For example

var_1.XW(0, True);

This will write value true to bit 0 of var_1.

Please take note that write operation can only be performed in Script as its return is INT type.

Schneider Electric India

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:

Need help?

  • Product Selector

    Quickly and easily find the right products and accessories for your applications.

  • Get a Quote

    Start your sales enquiry online and an expert will connect with you.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Help Centre

    Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Where to buy
  • Get a Quote
  • Find our Offices
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Contact support - +1800-103-0011
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings