EasyManuals Logo
Home>Mitsubishi>Controller>L02CPU

Mitsubishi L02CPU User Manual

Mitsubishi L02CPU
340 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #277 background imageLoading...
Page #277 background image
275
CHAPTER 6 CONSTANTS
6
6.1 Decimal Constant (K)
CHAPTER 6 CONSTANTS
The following constants can be used in the CPU module.
• Decimal constant (K)
• Hexadecimal constant (H)
• Real number (E)
• Character string (" ")
6.1 Decimal Constant (K)
The decimal constant (K) is a device used to specify decimal data in programs. Specify it as K (example: K1234) in
programs. In the CPU module, data are stored in binary (BIN). ( Page 312, Appendix 3)
The specification ranges for decimal constants are as follows:
The most significant bit represents a sign bit.
• When using word data (16-bit data): K-32768 to K32767
• When using 2-word data (32-bit data): K-2147483648 to K2147483647
6.2 Hexadecimal Constant (H)
The hexadecimal constant (H) is a device used to specify hexadecimal or BCD data in programs. (For BCD data, each
digit of a hexadecimal number is specified with 0 to 9.) In programs, specify it as H (example: H1234).
( Page 312, Appendix 3)
The specification ranges for hexadecimal constants are as follows:
• When using word data (16-bit data): 0000
H
to FFFF
H
(For BCD data, 0000
H
to 9999
H
)
• When using 2-word data (32-bit data): 00000000
H
to FFFFFFFF
H
(For BCD data, 00000000
H
to 99999999
H
)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi L02CPU and is the answer not in the manual?

Mitsubishi L02CPU Specifications

General IconGeneral
BrandMitsubishi
ModelL02CPU
CategoryController
LanguageEnglish

Related product manuals