Constants; Decimal Constant (K); Hexadecimal Constant (H) - Mitsubishi MELSEC QS Series User Manual

Hide thumbs Also See for MELSEC QS Series:
Table of Contents

Advertisement

9
DEVICE EXPLANATION

9.5 Constants

9.5.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.5.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:
(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.7.2)
• For word data (16 bits)••••••••••••••••••••••••••H0 to FFFF
• For 2-word data (32 bits) •••••••••••••••••••••••H0 to FFFFFFFF
Section 3.7.1)
" settings (e.g. H1234).
(H0 to 9999 for BCD)
(H0 to 99999999 for BCD)
9.5 Constants
9.5.1 Decimal constant (K)
9
10
11
9
- 35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qs001cpu

Table of Contents