adapnex::drivers::bnr_x2x::X20DC1196

B&R X20DC1196 Digital Counter Module (1x ABR, RS‐422, 5V, 600kHz, 2x DIN)

Synopsis

Declared in <adapnex/drivers/bnr_x2x/x20dc1196.h>

class X20DC1196 final
    : public X2XModule

Base Classes

Name Description

X2XModule

Enums

Name

Description

HomingEdge

Homing Edge Configuration Dictates whether the homing triggers at the start or end of the R pulse.

HomingMode

Homing Mode Configuration Incremental encoders only measure relative changes. Homing is the process of using the Reference ® pulse to establish a known absolute position.

ReferenceEnable

Reference Enable Gate Configuration In many machines, you only want to home the counter if the R pulse occurs WHILE a specific physical limit switch (connected to DI1 or DI2) is pressed. This acts as an enable gate.

Status

Member Functions

Name

Description

X20DC1196 [constructor]

Default constructor

FirmwareVersion

Module firmware version

HardwareID [virtual]

HardwareVariant

Module hardware variant

Name [virtual]

SerialNumber

Module serial number

Slot

Module location on X2X bus (slot number)

Status

Module status

Data Members

Name

Description

DI1

Digital Input 1

DI2

Digital Input 2

Encoder

Encoder Counter Value (‐32768 to 32767)

HomingComplete

Indicates if a successful homing procedure has occurred and the counter represents an absolute position.

Protected Member Functions

Name

PostUpdate [virtual]

PreUpdate [virtual]

Setup [virtual]

Created with MrDocs