I/O (Encoder)
Encoder Status Monitor
Description Monitor current state of encoder channels, A, B, and Marker, Z, and the encoder direction.
Availability
  • Available only in the dw2xx-v2 series products
  • Requires library: System & I/O
  • Requires: One Encoder input
  • Singleton function block
  • Firmware versions 0x2105 and later
savvy-SFD Graphic encStatus7
Graphic with Parameters encStatus7

Parameters

ENC1 A State Internal Parameter, Read-only, Boolean (signed 16-bit integer)

Indicates the current status of the input channel.

  • Low: A < -A by more than 2 Vdc.
  • High: A > -A by more than 2 Vdc.

0 = Low
1 = High
ENC1 B State Internal Parameter, Read-only, Boolean (signed 16-bit integer)

Indicates the current status of the input channel.

  • Low: B < -B by more than 2 Vdc.
  • High: B > -B by more than 2 Vdc.

0 = Low
1 = High
ENC1 Z State Internal Parameter, Read-only, Boolean (signed 16-bit integer)

Indicates the current status of the input channel.

  • Low: Z < -Z by more than 2 Vdc.
  • High: Z > -Z by more than 2 Vdc.

0 = Low
1 = High
ENC1 Direction Internal Parameter, Read-only, Boolean (signed 16-bit integer)

This parameter indicates the relationship of encoder channel A with respect to encoder channel B. To change the indication for a particular direction of rotation, swap A and -A on the input terminals.


0 = Forward
1 = Reverse
ENC2 A State Internal Parameter, Read-only, Boolean (signed 16-bit integer)

Indicates the current status of the input channel.

  • Low: A < -A by more than 2 Vdc.
  • High: A > -A by more than 2 Vdc

0 = Low
1 = High
ENC2 B State Internal Parameter, Read-only, Boolean (signed 16-bit integer)

Indicates the current status of the input channel.

  • Low: B < -B by more than 2 Vdc.
  • High: B > -B by more than 2 Vdc.

0 = Low
1 = High
ENC2 Z State Internal Parameter, Read-only, Boolean (signed 16-bit integer)

Indicates the current status of the input channel.

  • Low: Z < -Z by more than 2 Vdc.
  • High: Z > -Z by more than 2 Vdc.

0 = Low
1 = High
ENC2 Direction Internal Parameter, Read-only, Boolean (signed 16-bit integer)

This parameter indicates the relationship of encoder channel A with respect to encoder channel B. To change the indication for a particular direction of rotation, swap A and -A on the input terminals.


0 = Forward
1 = Reverse