Constants; Decimal Constant (K); Hexadecimal Constant (H) - Mitsubishi Q00JCPU User Manual

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

9
DEVICE EXPLANATION

9.12 Constants

9.12.1 Decimal constant (K)

(1) Definition
Decimal constants are devices that designate decimal data in sequence programs.
Specify it as K
It is stored in binary (BIN) into the CPU module. (
(2) Designation range
The designation ranges for decimal constants are as follows:
POINT

9.12.2 Hexadecimal constant (H)

(1) Definition
Hexadecimal constants are devices which designate hexadecimal or BCD data in
sequence programs.
(For BCD data designations, 0 to 9 digit designations are used.)
Hexadecimal constants are designated as "H
(
(2) Designation range
The setting ranges for hexadecimal constants are as follows:
POINT
(example: K1234) in a sequence program.
• For word data (16 bits)••••••••••••••••••••••••••K-32768 to 32767
• For 2-word data (32 bits) •••••••••••••••••••••••K-2147483648 to 2147483647
The most significant bit is a sign bit.
Section 3.9.2)
• For word data (16 bits)••••••••••••••••••••••••••H0 to FFFF
• For 2-word data (32 bits) •••••••••••••••••••••••H0 to FFFFFFFF
The most significant bit is a sign bit.
Section 3.9.1)
" settings (e.g. H1234).
(H0 to 9999 for BCD)
(H0 to 99999999 for BCD)
9.12 Constants
9.12.1 Decimal constant (K)
9
10
11
9
- 96

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents