Numerical Values Usable in Sequence Program

3.8 Numerical Values Usable in Sequence Program

The built-in PLC function represents numerical values, alphabets and other data in two statuses: 0 (OFF) and 1 (ON).

The data represented by these 0s and 1s are called BIN (binary code).

The built-in PLC function can also use HEX (hexadecimal code) that represents BIN data in blocks of four bits.

Table 2.1 indicates the numerical representations of BIN, HEX and decimal code.

Table 3.1 Numerical Representations of BIN,

HEX and Decimal Code

DEC

HEX

BIN

(Decimal Code)

(Hexadecimal Code)

(Binary Code)

0

0

0

1

1

1

2

2

10

3

3

11

9

9

1001

10

A

1010

11

B

1011

12

C

1100

13

D

1101

14

E

1110

15

F

1111

16

10

10000

17

11

10001

47

2F

101111

72

Page 77
Image 77
Mitsubishi Electronics 700 Series Numerical Values Usable in Sequence Program, Decimal Code Hexadecimal Code Binary Code