beautypg.com

2 values, constants [k] / [h, 2 functions of devices in dvp-plc – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 34

background image

2 Functions of Devices in DVP-PLC

DVP-PLC Application Manual

2-6

Memory type

Power

Off→On

STOP→RUN

RUN→STOP

Clear all non-latched

area (M1031)

Clear all latched

area (M1032)

Default

setting

Clear when M1033 = Off

Non-latched Clear Unchanged

Remain unchanged when
M1033 = On

Clear Unchanged

0

Latched Unchanged Unchanged

Clear

0

Special M,
Special D,
index register

Initial Unchanged

Unchanged

Initial

setting

File Register

Unchanged

0

2.2 Values, Constants [K] / [H]

K Decimal

form

K-32,768 ~ K32,767 (16-bit operation)
K-2,147,483,648 ~ K2,147,483,647 (32-bit operation)

Constant

H Hexadecimal

form

H0 ~ HFFFF (16-bit operation)
H0 ~ HFFFFFFFF (32-bit operation)

For different control purposes, there are five types of values inside DVP-PLC for executing the operations. See

the explanations bellows for the functions and works of every type of value.

1. Binary value (BIN)

All the operations and storage of values in PLC are conducted in BIN. Belows are the terms for BIN values.

Bit:

The basic unit for a BIN value, either 1 or 0.

Nibble:

Composed of 4 continuous bits (e.g. b3 ~ b0). Presented as the decimal value 0 ~ 9 of a digit

or 0 ~ F in hex.

Byte:

Composed of 2 continuous nibble (i.e. 8 bits, b7 ~ b0). Presented as 00 ~ FF in hex.

Word:

Composed of 2 continuous bytes (i.e. 16 bits, b15 ~ b0). Presented as 4-digit 0000 ~ FFFF in

hex.

Double word:

Composed of 2 continuous words (i.e. 32 bits, b31 ~ b0). Presented as 8 digit 00000000 ~

FFFFFFFF.

Bit, nibble, byte, word, and double word in a binary system:

NB0

NB1

NB2

NB3

NB4

NB5

NB6

NB7

BY3

BY2

BY1

BY0

W1

DW

W0

Double Word

Word

Byte

Nibble

Bit

2. Octal value (OCT)

The No. of external input and output terminals in DVP-PLC is numbered in octal system.

For example:

External input: X0 ~ X7, X10 ~ X17…(device No.)