How can we help you today?

Which objects can take unsigned integer values in Machine Expert Basic?

Word objects addressed in the form of 16-bit words are stored in data memory and can contain an integer value from -32768 to 32767 (except for the Fast Counter function block which is from 0 to 65535).

Examples of word objects:

  • Immediate values
  • Memory words (%MWi)
  • Constant words (%KWi)
  • I/O exchange words (%IWi, %QWi, %IWSi, %QWSi)
  • System words (%SWi)
  • Function blocks (configuration and/or runtime data)

But there is an exception list which can be used for unsigned integer values in the program. Check the list below:

UDINT_function block parameters.PNG

Below program is an example to show the syntax on how to store the UDINT or UINT value in Machine Expert.

UDINT_value.PNG

Schneider Electric India

Explore more
Product:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Product:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Where to buy
  • Get a Quote
  • Find our Offices
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Contact support - +1800-103-0011
  • Price List
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings