![Omron NJ501-1300 User Manual Download Page 138](http://html1.mh-extra.com/html/omron/nj501-1300/nj501-1300_user-manual_742205138.webp)
6 Motion Control Programming
6-16
NJ-series CPU Unit Motion Control User’s Manual (W507)
System-defined variables for motion control use both basic data types and derivative data types.
z
Basic Data Types
* BOOL data is only 1 bit in size but it takes up 2 bytes of memory.
Data Types Used for System-defined Variables for Motion Control
Category
Data type
Size
Range of values
Notation
Boolean
BOOL
2
*
TRUE or FALSE
TRUE or FALSE
Integer
UINT
2
0 to +65,535
Binary expression: "2#" is added to the
front of the number
Octal expression: "8#" is added to the
front of the number
Decimal expression: "10#" is added to the
front of the number
Hexadecimal expression: "16#" is added
to the front of the number
If you do not add any notation to the
beginning of a number, that number is
treated as a decimal number.
Example:
Binary Notation
2#1111_1111
2#1110_0000
Octal Notation
8#377
8#340
Decimal Notation
−
12 0 123_456 +986
10#1234
Hexadecimal Notation
16#FF 16#ff
16#E0 16#e0
UDINT
4
0 to +4,294,967,295
Floating-
point
numbers
LREAL
8
−
1.79769313308 to
−
2.22507385850720e
−
308,
0,
2.22507385850720e
−
308 to
1.79769313308,
positive infinity, or negative
infinity
Written as
(sign) + intege
(decimal_point) + (decimal_part) + (expo-
nent)
. You can omit items in parentheses.
Example:
2
−
12.0
0.0
0.4560
3.14159_26
−
1.34E-12
−
1.34e-12
1.0E+6
1.0e+6
1.234E6
1.234e6
Summary of Contents for NJ501-1300
Page 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Page 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Page 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Page 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Page 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Page 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Page 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Page 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Page 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Page 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Page 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Page 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Page 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...