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:
Below program is an example to show the syntax on how to store the UDINT or UINT value in Machine Expert.
Released for: Schneider Electric India
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.