Table of Contents

IAxisBridgeBuilder

Namespace
ZApplication
INTERFACE IAxisBridgeBuilder

Interface to build a bridge between communication interfaces (AxisComPublish and AxisComSubscribe) and an implementation of an Axis/Drive. Not all axis implementation implement all features that the Zeugwerk Framework implements. Most notably, Vfd drives usually do not implement positioning interfaces. Use the "With methods" to build a control instance in the following way. In the following example the actual datatype of axis refers to a specific implementation, which implements all features of the Framework. Note that some calls to With may not be supported for the specific implementation that you are using. In the latter case remove the relevant `"With methods".

 _axis1 : ZExperimental.AxisLenzei950;
 -----------------------------------
 _axisBridge.WithAbsolute(_axis1)
            .WithBrake(_axis1)
            .WithHoming(_axis1)
            .WithFeedbackCurrent(_axis1).WithFeedbackVelocity(_axis1).WithFeedbackPosition(_axis1)
            .WithMoveCurrent(_axis1).WithMoveVelocity(_axis1) .WithMovePosition(_axis1)
            .AddAxis(_axis1, _parent._com._axis1.publish, _parent._com._axis1.subscribe);

Methods

AddAxis

METHOD AddAxis (
 [input] axis : REFERENCE TO ZEquipment.Axis,
 [input] publish : REFERENCE TO AxisComPublish,
 [input] subscribe : REFERENCE TO AxisComSubscribe)

Inputs

axis REFERENCE TO Axis

provides a basic axis instance with all its status and actions which are implemented for all axis types

publish REFERENCE TO AxisComPublish

axis publish structure instantiated somewhere in the plc (usually separated from the actual application code like Global.com)

subscribe REFERENCE TO AxisComSubscribe

axis subscribe structure instantiated in the plc (usually separated from the actual application code like Global.com)

WithAbsolute

METHOD WithAbsolute (
 [input] absolute : ZEquipment.IAxisAbsolute) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

absolute IAxisAbsolute

Interface to an implementation with an absolute encoder

Returns

IAxisBridgeBuilder

WithBrake

METHOD WithBrake (
 [input] brake : ZEquipment.IAxisBrake) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

brake IAxisBrake

Interface to close/open a brake of an axis

Returns

IAxisBridgeBuilder

WithFeedbackCurrent

METHOD WithFeedbackCurrent (
 [input] feedbackCurrent : ZEquipment.IAxisFeedbackCurrent) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

feedbackCurrent IAxisFeedbackCurrent

Current feedback

Returns

IAxisBridgeBuilder

WithFeedbackPosition

METHOD WithFeedbackPosition (
 [input] feedbackPosition : ZEquipment.IAxisFeedbackPosition) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

feedbackPosition IAxisFeedbackPosition

Position feedback

Returns

IAxisBridgeBuilder

WithFeedbackVelocity

METHOD WithFeedbackVelocity (
 [input] feedbackVelocity : ZEquipment.IAxisFeedbackVelocity) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

feedbackVelocity IAxisFeedbackVelocity

Velocity feedback

Returns

IAxisBridgeBuilder

WithHalt

METHOD WithHalt (
 [input] halt : ZEquipment.IAxisHalt) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

halt IAxisHalt

provides an interface to the axis halt function

Returns

IAxisBridgeBuilder

WithHoming

METHOD WithHoming (
 [input] homing : ZEquipment.IAxisHoming) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

homing IAxisHoming

provides an interface to the axis homing functions

Returns

IAxisBridgeBuilder

WithMoveCurrent

METHOD WithMoveCurrent (
 [input] current : ZEquipment.IAxisMoveCurrent) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

current IAxisMoveCurrent

provides an interface to the axis move current function

Returns

IAxisBridgeBuilder

WithMovePosition

METHOD WithMovePosition (
 [input] position : ZEquipment.IAxisMovePosition) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

position IAxisMovePosition

provides an interface to the axis move position function

Returns

IAxisBridgeBuilder

WithMoveVelocity

METHOD WithMoveVelocity (
 [input] velocity : ZEquipment.IAxisMoveVelocity) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

velocity IAxisMoveVelocity

provides an interface to the axis move velocity function

Returns

IAxisBridgeBuilder

WithVelocityFeedrate

METHOD WithVelocityFeedrate (
 [input] velocityFeedrate : ZEquipment.IAxisVelocityFeedrate) : IAxisBridgeBuilder

see IAxisBridgeBuilder

Inputs

velocityFeedrate IAxisVelocityFeedrate

provides an interface to the axis velocity feedrate function

Returns

IAxisBridgeBuilder