![background image](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
Содержание NJ501-1300
Страница 12: ...Sections in this Manual 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 18: ...16 NJ series CPU Unit Motion Control User s Manual W507 CONTENTS...
Страница 22: ...Read and Understand this Manual 20 NJ series CPU Unit Motion Control User s Manual W507...
Страница 34: ...Revision History 32 NJ series CPU Unit Motion Control User s Manual W507...
Страница 44: ...1 Introduction to the Motion Control Function Module 1 10 NJ series CPU Unit Motion Control User s Manual W507...
Страница 58: ...2 Motion Control Configuration and Principles 2 14 NJ series CPU Unit Motion Control User s Manual W507...
Страница 86: ...3 Configuring Axes and Axes Groups 3 28 NJ series CPU Unit Motion Control User s Manual W507...
Страница 98: ...4 Checking Wiring from the Sysmac Studio 4 12 NJ series CPU Unit Motion Control User s Manual W507...
Страница 122: ...5 Motion Control Parameters 5 24 NJ series CPU Unit Motion Control User s Manual W507...
Страница 158: ...6 Motion Control Programming 6 36 NJ series CPU Unit Motion Control User s Manual W507...
Страница 166: ...7 Manual Operation 7 8 NJ series CPU Unit Motion Control User s Manual W507...
Страница 182: ...8 Homing 8 16 NJ series CPU Unit Motion Control User s Manual W507...
Страница 346: ...10 Sample Programming 10 92 NJ series CPU Unit Motion Control User s Manual W507...
Страница 422: ...Appendices A 18 NJ series CPU Unit Motion Control User s Manual W507...
Страница 423: ...Index 1 NJ series CPU Unit Motion Control User s Manual W507 I Index...
Страница 430: ...Index 8 NJ series CPU Unit Motion Control User s Manual W507 Index...