Numeric Values Which Can Be Used In Sequence Program - Mitsubishi Electric MELSEC-Q Series User Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

4 SEQUENCE PROGRAM CONFIGURATION & EXECUTION
CONDITIONS
4.8 Numeric Values which Can Be Used in Sequence Programs
Table 4.1 BIN, HEX, BCD, and Decimal Numeric Expressions
DEC (Decimal)
0
1
2
3
9
10
11
12
13
14
15
16
17
47
32766
32767
-32768
-32767
-2
-1
4 - 20
Numeric and alphabetic data are expressed by "0" (OFF) and "1" (ON) numerals in the
Basic model QCPU.
This method of expression is called "binary code" (BIN).
The hexadecimal (HEX) expression method in which BIN data are expressed in 4-bit
units, and the BCD (binary coded decimal) expression method are also possible for the
Basic model QCPU.
Real numbers may also be used. (See Section 4.8.4)
The numeric expressions for the BIN, HEX, BCD, and Decimal (DEC) notations are
shown in Table 4.1 below.
HEX (Hexadecimal)
0
1
2
3
9
A
B
C
D
E
F
10
11
2F
7FFE
7FFF
8000
8001
FFFE
FFFF
BIN (Binary)
0
1
10
11
1001
1010
1011
1100
1101
1110
1111
1 0000
1 0001
10 1111
0111 1111 1111 1110
0111 1111 1111 1111
1000 0000 0000 0000 1000 0000 0000 0000
1000 0000 0000 0001 1000 0000 0000 0001
1111 1111 1111 1110
1111 1111 1111 1111
MELSEC-Q
BCD
(Binary Coded Decimal)
0
1
10
11
1001
1 0000
1 0001
1 0010
1 0011
1 0100
1 0101
1 0110
1 0111
100 0111
——
——
——
——
4 - 20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qcpuMelsec q00jcpuMelsec q00cpuMelsec q01cpu

Table of Contents