31.10.7.1 Operand Settings (D1) - DEC/DECP

The following describes the specifiable content of Operand (D1) in the DEC and DECP instructions.

Name

Type

Condition

Instruction Step Count

Possible: O
Not Possible: X

Connection Device Address

Bit

×

Word

Specify by words only
(For example, [PLC1]D0000)

2

Internal Address

Bit

×

Word

Specify by words only
(For example, [#INTERNAL]LS0000)

2

Symbol

Bit

×

Word

2

Variable format

Bit

Specify a bit

×

Specify bit array ([constant])

×

Specify bit array ([variable])

×

Integer
(only
output)

Arrays and modifiers are not specified

2

Specify integer variable [constant]

3

Specify integer variable [variable]

4

Specify integer variable [constant/variable]
.B/W[constant/variable]

×

Float

×

Specify float variable [constant]

×

Specify float variable [variable]

×

Real

×

Specify real variable [constant]

×

Specify real variable [variable]

×

Timer

.PT/ .ET only

3

Counter

.PV/ .CV only

3

Date

.YR/ .MO/ .DAY only

3

Time

.HR/ .MIN/ .SEC only

3

PID

.KP/ .TR/ .TD/ .PA/ .BA/ .ST only

3

Address Format

X_

×

Y_

×

M_

×

I_

×

Q_

1

D_

Modifiers are not specified

1

D_****.B/W [constant]

×

D_****.B/W [address]

×

F_

×

R_

×

T_

.PT/ .ET only

3

C_

.PV/ .CV only

3

N_

.YR/ .MO/ .DAY only

3

J_

.HR/ .MIN/ .SEC only

3

U_

.KP/ .TR/ .TD/ .PA/ .BA/ .ST only

3

Constant

Integer

-2147483648 to 2147483647

×

Float

+/-1.175494351e-38 to
+/-3.402823466e+38

×

Real

+/-2.2250738585072014e-308 to
+/-1.7976931348623158e+308

×