KL1501 - Process data exchange

Control byte in process data exchange (REG=0)

During process data exchange, the control byte is used to trigger various actions in the KL1501 counter terminal:

Bit

7

6

5

4

3

2

1

0

Name

REG=0

0

CNT_SET

CNT_INH

SET_A1

SET_A0

EN_A1

EN_A0

Bit

Function

CNT_SET

The counter is set to the value that is specified via the process data.
Setting of the counter can be edge-controlled or level-controlled (see R32.3).

CNT_INH

The counter is stopped, as long as this bit is active. The old counter value is maintained.
If two counters are active, the second counter can be set with this bit.

SET_A1

Sets the second output

SET_A0

Sets the first output

EN_A1

This bit enables the internal function that was activated via R32.

EN_A0

This bit enables the internal function that was activated via R32.

  • Setting outputs A0, A1
    The control bits EN_A0 and EN_A1 can be used to activate the functions for setting the outputs. The control bits SET_A0 or SET_A1 are ignored if EN_A0, EN_A1 are set.

Status byte in process data exchange (REG=0)

The status byte is transferred from the terminal to the controller. The status byte contains various status bits of the KL1501 counter terminal

Bit

7

6

5

4

3

2

1

0

Name

REG=0

0

SET_ACC

INH_ACC

ST_A1

ST_A0

ST_V/R

ST_CLK

Bit

Function

SET_ACC

The data for setting the counter were accepted by the terminal.

INH_ACC

The counter is stopped as long as this bit is set.

ST_A1

This bit indicates the state of output A1.

ST_A0

This bit indicates the state of output A0.

ST_V/R

This bit indicates the state of the up/down input.

ST_CLK

This bit indicates the state of the CLOCK input.