Input data | Encoder / Counter (0x6000, 0x6001, 0x6002)

For all counter and encoder modules:

Module (ModuleIdent)

Module Group

"CNT" (0x102199)

"CNT_2xDI" (0x102199, 0x82199, 0x82199)
"CNT_2xDO" (0x102199, 0x402199, 0x402199)
"CNT_DI_DO" (0x102199, 0x82199, 0x402199)

"CNT_OUT" (0x182199)

"CNT_OUT_DO" (0x182199, 0x402199)

"ENC" (0x582199)

"ENC_2xDI" (0x582199, 0x82199, 0x82199)
"ENC_2xDO" (0x582199, 0x402199, 0x402199)
"ENC_DI_DO" (0x582199, 0x82199, 0x402199)

"ENC_OUT" (0x502199)

"ENC_OUT_DO" (0x502199, 0x402199)

"ENC_L_G" (0x482199)

"ENC_L_G" (0x482199)

Index 6000 SlotGroup 1 (Slot 1, 2, 3, 4) ENC Inputs 1

Index (hex)

Name

Meaning

Data type

Flags

Default

6000:0

SlotGroup 1
(Slot 1, 2, 3, 4)
ENC Inputs 1

Maximum subindex

UINT8

RO

0x12 (18dec)

6000:02**

Latch extern valid

The counter value was stored via the Latch extern input.

BOOLEAN

RO

0x00 (0dec)

6000:03

Set counter done

The counter was set.

BOOLEAN

RO

0x00 (0dec)

6000:04

Counter underflow

The value has fallen below the lower counter limit. The bit is reset when the counter value has fallen below 2/3 of the counting range.

BOOLEAN

RO

0x00 (0dec)

6000:05

Counter overflow

The upper counter limit was exceeded. The bit is reset when the counter value has exceeded 1/3 of the counting range.

BOOLEAN

RO

0x00 (0dec)

6000:09

Status of input A

Status of input A

BOOLEAN

RO

0x00 (0dec)

6000:0A

Status of input B

Status of input B

BOOLEAN

RO

0x00 (0dec)

6000:0C**

Status of input gate

The state of the gate input

BOOLEAN

RO

0x00 (0dec)

6000:11

Counter value

Counter value

UINT32

RO

0x00000000 (0dec)

6000:12**

Latch value

Latch value

UINT32

RO

0x00000000 (0dec)

**) only for ModuleIdent 0x482199 ("ENC_L_G")

For counter and encoder modules with output function

Module (ModuleIdent)

Module Group

"CNT_OUT" (0x182199)

"CNT_OUT_DO" (0x182199, 0x402199)

"ENC_OUT" (0x502199)

"ENC_OUT_DO" (0x502199, 0x402199)

Index 6001 SlotGroup 1 (Slot 1, 2, 3, 4) ENC Inputs 2 1

Index (hex)

Name

Meaning

Data type

Flags

Default

6001:0

SlotGroup 1
(Slot 1, 2, 3, 4)
ENC Inputs 2 1

Maximum subindex

UINT8

RO

0x01 (1dec)

6001:01

Status of output

TRUE,
if the output was set via the PLC variable or via the Compare function.

FALSE,
if the output was reset via the PLC variable or via the Compare function.

BOOLEAN

RO

0x00 (0dec)

For all counter and encoder modules:

Module (ModuleIdent)

Module Group

"CNT" (0x102199)

"CNT_2xDI" (0x102199, 0x82199, 0x82199)
"CNT_2xDO" (0x102199, 0x402199, 0x402199)
"CNT_DI_DO" (0x102199, 0x82199, 0x402199)

"CNT_OUT" (0x182199)

"CNT_OUT_DO" (0x182199, 0x402199)

"ENC" (0x582199)

"ENC_2xDI" (0x582199, 0x82199, 0x82199)
"ENC_2xDO" (0x582199, 0x402199, 0x402199)
"ENC_DI_DO" (0x582199, 0x82199, 0x402199)

"ENC_OUT" (0x502199)

"ENC_OUT_DO" (0x502199, 0x402199)

"ENC_L_G" (0x482199)

"ENC_L_G" (0x482199)

Index 6002 SlotGroup 1 (Slot 1, 2, 3, 4) ENC Inputs status 1

Index (hex)

Name

Meaning

Data type

Flags

Default

6002:0

SlotGroup 1
(Slot 1, 2, 3, 4)
ENC Inputs status 1

Maximum subindex

UINT8

RO

0x14 (20dec)

6002:11

Software gate valid

0: Counter unlocked
(Index 0x7000:09 "Set software gate" = FALSE)

1: Counter locked
(Index 0x7000:09 "Set software gate" = TRUE)

BOOLEAN

RO

0x00 (0dec)

6002:14**

Status of extern latch

Status of the external latch input

BOOLEAN

RO

0x00 (0dec)

**) only for ModuleIdent 0x482199 ("ENC_L_G"),