Appendix - 73
MELSEC-Q
APPENDICES
BCD (Binary Coded Decimal)
1) This is the abbreviation for "binary coded
decimal", more accurately called a BCD
code. Computers, PLCs, etc., use binary
numbers made up of 1 (ON) and 0 (OFF).
Because this is difficult for humans to
understand, decimal digits are expressed
by a pattern of binary digits. Many of the
digital switches and digital displays used by
humans use a BCD code. The significance
of the bits is shown in the drawing below.
Numbers from 0 to 9,999 can be handled
by 16 bits, and numbers from 0 to
99,999,999 can be handled by 32 bits.
0
B15 B14 B13 B12 B11 B10 B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
4000+1000+800+40+20+10+2 = 5.872
5.872
1
0
1
1
0
0
0
0
1
1
1
0
0
1
0
8
000
4
000
2
000
1
000
80
0
400
200
100
80
40
20
10
8
4
2
1
2) BCD commands are commands in which a
binary number (BIN) is converted to a
binary coded decimal (BCD).
They are used to output data from the PLC
and display it on the digital display.
The following drawing shows a 16-bit
example.
0
BIN code
167
0
0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
BCD code
167
0
0
0
0
0
0
1
0
1
1
0
0
1
1
1
P
o
sitiv
e
/
ne
ga
ti
v
e
163
84
8
192
409
6
2
048
1
024
5
1
2
2
5
6
1
2
8
6
4
3
2
1
6
8
4
2
1
800
0
400
0
200
0
100
0
80
0
40
0
20
0
10
0
8
0
4
0
2
0
1
0
8
4
2
1
BIAS SPEED AT START
A large amount of torque is required when the
machine starts moving, but the torque may be
unstable at speed 0 with stepping motors.
Therefore, movement can be smoothly carried
out by starting the movement at a given speed
from the beginning. The bias speed at start is
the speed set at that start.
Full speed
Speed 0
Bias speed
BIN (Binary)
1) A binary number, more accurately called a
binary code.
All values are expressed as a binary
number in which 1 turns the PLC, etc.,
electricity ON, and 0 turns it OFF. The
significance of the bits is shown in the
drawing below. In the MELSEC PLC, the
highest order bit (B15) is used to indicate
handling as a positive No. (0), or negative
No. (1), so the 15 bits from B0 to B14 are
valid.
0
B15 B14 B13 B12 B11 B10 B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
128+32+4+2+1=167
167
0
0
0
0
0
0
0
1
0
1
0
0
1
1
1
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
Posi
ti
ve/
negati
v
e
16
38
4
=
81
92=
40
96=
20
48=
10
24=
512
=
256
=
128
=
64
=
32
=
16
=
8
=
4
=
2
=
1
=
2) BIN commands are commands in which a
binary coded decimal (BCD) is converted to
a binary number (BIN).
They are used to input the data shown on
the digital switch to the PLC.
The following drawing shows a 16-bit
example.
0
BCD code
167
0
0
0
0
0
0
1
0
1
1
0
0
1
1
1
0
BIN code
167
0
0
0
0
0
0
0
1
0
1
0
0
1
1
1
Posi
tive/
nega
tive
80
00
40
00
20
00
10
00
80
0
40
0
20
0
10
0
80
40
20
10
8
4
2
1
1
638
4
819
2
409
6
204
8
102
4
5
1
2
2
5
6
1
2
8
6
4
3
2
1
6
8
4
2
1
Содержание QD75M1
Страница 17: ...MEMO...
Страница 71: ...3 20 MELSEC Q 3 SPECIFICATIONS AND FUNCTIONS MEMO...
Страница 87: ...4 16 MELSEC Q 4 INSTALLATION WIRING AND MAINTENANCE OF THE PRODUCT MEMO...
Страница 98: ...5 11 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 104: ...5 17 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 108: ...5 21 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 112: ...5 25 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 122: ...5 35 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 134: ...5 47 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 178: ...5 91 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 184: ...5 97 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 190: ...5 103 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 249: ...5 162 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 270: ...6 21 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 271: ...6 22 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 272: ...6 23 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 273: ...6 24 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 274: ...6 25 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 275: ...6 26 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 276: ...6 27 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 277: ...6 28 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 278: ...6 29 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 279: ...6 30 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 280: ...6 31 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 281: ...6 32 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 282: ...6 33 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 283: ...6 34 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 284: ...6 35 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 285: ...6 36 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 286: ...6 37 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 287: ...6 38 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 288: ...6 39 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 289: ...6 40 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 290: ...6 41 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 291: ...6 42 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 292: ...6 43 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 293: ...6 44 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 294: ...6 45 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 295: ...6 46 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 296: ...6 47 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 297: ...6 48 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 298: ...6 49 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 299: ...6 50 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 300: ...6 51 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 301: ...6 52 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 328: ...7 7 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Страница 332: ...7 11 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Страница 339: ...MEMO...
Страница 529: ...11 36 MELSEC Q 11 MANUAL CONTROL MEMO...
Страница 621: ...12 92 MELSEC Q 12 CONTROL SUB FUNCTIONS MEMO...
Страница 647: ...14 18 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO...
Страница 755: ...Appendix 2 MELSEC Q APPENDICES MEMO...
Страница 758: ...Appendix 5 MELSEC Q APPENDICES Axis address mm inch degree PLS Axis address mm inch degree PLS...
Страница 764: ...Appendix 11 MELSEC Q APPENDICES Initial value Axis 1 Axis 2 Axis 3 Axis 4 Remarks 0 0 0 1 1 0 0 0 0 0 0 300 0 0...
Страница 766: ...Appendix 13 MELSEC Q APPENDICES Initial value Axis 1 Axis 2 Axis 3 Axis 4 Remarks 3 0 0H 0H 80H 0000H 1 255 0 1 5H...
Страница 879: ...Index 14 MEMO...