Omron C200H-ASC11 Manual page 286

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Formats for Storing Variables in Memory
VARPTR (Variable Name)
Function
Assigns the memory address where the variable value is stored.
Notation Example
B& = VARPTR (A)
Details
• Assigns the memory address to the area where variable data specified for the variable name is stored.
• Shows the address of the pointer to where character data is stored for character variables.
Relationship between Variable Type and VARPTR Address
Short integer variable
Leftmost 8 bits
Rightmost 8 bits
Long integer variable
Leftmost 8 bits
8 bits
8 bits
Rightmost 8 bits
Single-precision real number variable
Signal and exponent
Leftmost 7 bits of mantissa
Middle 8 bits of fixed point
Rightmost 8 bits of fixed point
Address
Leftmost position of stored address
Rightmost position of stored address
Address
Double-precision real number variable
Address
Rightmost 8 bits of fixed point
String array
Signal and exponent
Leftmost 7 bits of mantissa
Appendix D
Address
Address
277

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents