EasyManuals Logo
Home>Mitsubishi>Controller>QCPU (Q Mode)

Mitsubishi QCPU (Q Mode) User Manual

Mitsubishi QCPU (Q Mode)
456 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 #86 background imageLoading...
Page #86 background image
4 - 46 4 - 46
MELSEC-Q
4 SEQUENCE PROGRAM CONFIGURATION AND EXECUTION
CONDITIONS
4.8.1 BIN (Binary Code)
(1) Binary code
Binary date is represented by 0 (OFF) and 1 (ON).
Decimal notation uses the numerals 0 through 9. When counting beyond 9, a 1 is
placed in the 10s column and a 0 is placed in the 1s column to make the number
10.
In binary notation, the numerals 0 and 1 are used. A carry occurs after 1 and the
number becomes 10 (decimal 2).
Table 4.2 gives a comparison between binary and decimal notations.
Table 4.2 Comparison between Binary and Decimal Notations
DEC (Decimal) BIN (Binary)
0 0000
1 0001
2 0010
Carry
3 0011
4 0100
Carry
5 0101
6 0110
7 0111
8 1000
Carry
9 1001
10 1010
11 1011
(2) Binary numeric expression
(a) High Performance model QCPU registers (data registers, link registers, etc.)
consist of 16 bits, and a "2
n
" value is allocated to each of the register bits.
The most significant bit (initial bit) is used to discriminate between "positive"
and "negative".
1) When most significant bit is "0"...Positive
2) When most significant bit is "1"...Negative
The numeric expressions for the High Performance model QCPU registers
are shown in Fig.4.13 below.
b15
8192
Bit name
Decimal value
Most significant bit (for positive/negative discrimination)
"Negative value" when most significant bit is "1".
16384 4096 2048 1024 512 256 128 64 32 16 8 4 2 1-32768
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Fig.4.13 Numeric Expressions for High Performance model QCPU Registers
(b) Usable numeric data for High Performance model QCPU
As shown in Fig.4.13, the numeric expression range is -32768 to 32767.
Therefore, numeric data within this range can be stored in the High
Performance model QCPU registers.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi QCPU (Q Mode) and is the answer not in the manual?

Mitsubishi QCPU (Q Mode) Specifications

General IconGeneral
BrandMitsubishi
ModelQCPU (Q Mode)
CategoryController
LanguageEnglish

Related product manuals