Table of Contents

Enum StateDWordFlags

Namespace
TwinSharp.NC
Assembly
TwinSharp.dll

The StateDWord is a 32 bit data word in the axis interface NC->PLC.

[Flags]
public enum StateDWordFlags : uint

Fields

CamDataQueued = 4194304

CAM data (only MF) are queued for "Online Change" and waiting for activation

CamScalingPending = 8388608

CAM scaling are queued for "Online Change" and waiting for activation

CamTableQueued = 2097152

CAM table is queued for "Online Change" and waiting for activation

CmdBuffered = 16777216

Following command is queued in then command buffer (s. Buffer Mode)

Compensating = 8192

Section compensation passive[0]/active[1] (s. "MC_MoveSuperImposed")

ConstantVelocity = 4096

Axis has reached its constant velocity or rotary speed

ContinuousMotion = 524288

Axis has target position (±) endless

ControlLoopClosed = 1048576

Axis is ready for operation and axis control loop is closed (e.g. position control)

DriveDeviceError = 268435456

Hardware drive device error (no warning), interpretation only possible when drive is data exchanging, e.g. EtherCAT "OP"-state

Error = 2147483648

Axis is in a fault state

ErrorPropagationDelayed = 64

Axis signals an error pre warning (from TC 2.11)

ExtSetPointGenEnabled = 16384

External setpoint generator enabled

ExternalLatchValid = 65536

External latch value or sensing switch has become valid

HasBeenStopped = 128

Axis has been stopped or is presently executing a stop

HasJob = 256

Axis has instructions, is carrying instructions out

Homed = 2

Axis has been referenced/ homed ("Axis calibrated")

HomingBusy = 2048

Axis referenced ("Axis being calibrated")

InPositionArea = 8

Axis is in position window (physical feedback)

InTargetPosition = 16

Axis is at target position (PEH) (physical feedback)

IoDataInvalid = 1073741824

IO data invalid (e.g. 'WcState' or 'CdlState')

MotionCommandsLocked = 536870912

Axis is locked for motion commands (TcMc2)

NegativeDirection = 1024

Axis moving to logically smaller values

NewTargetPosition = 131072

Axis has a new target position or a new velocity

None = 0

None.

NotImplementedYet = 32768

Operating mode not yet executed (Busy). Not implemented yet!

NotImplementedYet2 = 262144

Axis is not at target position or cannot reach the target position (e.g. stop).Not implemented yet!

NotMoving = 4

Axis is logically stationary ("Axis not moving")

PTPmode = 33554432

Axis in PTP mode (no slave, no NCI axis, no FIFO axis) (from TC 2.10 Build 1326)

PositiveDirection = 512

Axis moving to logically larger values

Protected = 32

Axis is in a protected operating mode (e.g. as a slave axis)

ReadyForOperation = 1

Axis is ready for operation

SoftLimitMaxExceeded = 134217728

Position software limit switch maximum is exceeded (from TC 2.10 Build 1327)

SoftLimitMinExceeded = 67108864

Position software limit switch minimum is exceeded (from TC 2.10 Build 1327)