Table of Contents

AxisStepperEL7031

Extends
Inherited Properties
Inherited Methods
Implements
FUNCTION_BLOCK AxisStepperEL7031 EXTENDS ZEquipmentBeckhoff.AxisStepperEL70xx IMPLEMENTS ZEquipment.IAxisHoming, ZEquipment.IAxisMovePosition, ZEquipment.IAxisMoveVelocity, ZEquipment.IAxisFeedbackPosition, ZEquipment.IAxisFeedbackVelocity, ZEquipment.IAxisFeedbackCurrent, ZEquipment.IAxisBase, ZCore.IBootable, ZCore.IObject, ZCore.IError (
 [output] Diagnostics : ZCore.DiagnosticMessage)

Constructor

FB_init

METHOD FB_init (
 [input] bInitRetains : BOOL,
 [input] bInCopyCode : BOOL,
 [input] parent : ZCore.IManagedObject,
 [input] ethercatSlave : ZCore.IEthercatSlave) : BOOL
Note

To make the Unmanaged version of AxisStepperEL70xx more accessible this implementation comes with a built-in EthercatSlave more accessible. No external instance has to be created, which makes this a standalone object.

Inputs

bInitRetains BOOL

if TRUE, the retain variables are initialized (warm start / cold start)

bInCopyCode BOOL

if TRUE, the instance afterwards gets moved into the copy code (online change)

parent IManagedObject
ethercatSlave IEthercatSlave

Returns

BOOL

Properties

Parameter

PROPERTY Parameter : IAxisStepperEL7031Parameter

Property Value

IAxisStepperEL7031Parameter

Methods

SetLogger

METHOD SetLogger (
 [input] logger : ZCore.ILogger)

Use this method together with SetName to enable logging for this axis. Various methods of this implementation write log messages into the passed logger interface.

Note

Sometimes it is beneficial to disable logging by passing 0 to this method (e.g. for inputs or outputs which are switch very often).

Inputs

logger ILogger

SetName

METHOD FINAL SetName (
 [input] name : ZCore.ZString)

Sets the name of this object as it will show up in any log messages that is created by this object. The name set with this method should be relatable to the name of the input in the electrical plan of your automation project to identify the corresponding input properly.

Inputs

name ZString