Delta AS Series Programming Manual page 29

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
The PLC uses four types of values to execute the operation according to different control purposes.
1.
Binary number (BIN)
The PLC uses the binary system to operate on the values.
2.
Decimal number (DEC)
The PLC uses decimal numbers for:
_2
 The setting value of a timer (T) or the setting value of a counter (C/HC); for example, TMR C0 50 (constant
K).
 The device number; for example, M10 and T30 (device number)
 The number before or after the decimal point; for example, X0.0, Y0.11, and D10.0 (device number).
 The constant K, used as the operand in an applied instruction. For example, MOV 123 D0 (constant K).
3.
Binary-coded decimal (BCD)
A decimal value that is represented by a nibble or four bits so that sixteen consecutive bits represent a four-digit
decimal value.
4.
Hexadecimal number (HEX)
The PLC uses hexadecimal numbers for:
 The constant 16#, used as the operand in an applied instruction; for example, MOV 16#1A2B D0
(hexadecimal constant).
The following table shows the corresponding values.
Binary Number
(BIN)
PLC internal execution
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
10000
10001
2 - 6
Decimal Number
Binary Code Decimal
(DEC)
Constant K,
BCD related instruction
Device number
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Hexadecimal Number
(BCD)
Device number
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
-
-
-
-
-
-
0001 0000
0001 0001
(HEX)
Constant 16#,
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents