Table of Contents

IAxisPlcOpenMcParameter

Namespace
ZEquipment
INTERFACE IAxisPlcOpenMcParameter

This function block is used to set parameters for the AxisPlcOpenMc instance and the corresponding motion controller. There are different types of parameter as described here and the axis-type depended parameter object here is used to set the motion controller parameter (e.g. TwinCATs Nc-Motion).

Properties

Booting

PROPERTY Booting : IAxisPlcOpenMcParameterBooting

Property Value

IAxisPlcOpenMcParameterBooting

Drive

PROPERTY Drive : IAxisPlcOpenMcParameterDrive

Property Value

IAxisPlcOpenMcParameterDrive

Plc

PROPERTY Plc : IAxisParameterPlc

Property Value

IAxisParameterPlc

Simulation

PROPERTY Simulation : IAxisParameterSimulation

Property Value

IAxisParameterSimulation

Target

PROPERTY Target : IAxisPlcOpenMcParameterTarget

Property Value

IAxisPlcOpenMcParameterTarget

Methods

AddRequest

METHOD AddRequest (
 [input] taskToken : ZCore.ITaskToken,
 [input] actionFlags : ZCore.ParameterChannelActionFlag,
 [input] parameter1 : DWORD,
 [input] parameter2 : DWORD,
 [input] parameterType : INT,
 [input] bufferPtr : ZCore.ZPointer,
 [input] bufferSize : UDINT)

Inputs

taskToken ITaskToken

external instantiated TaskToken object can be given to get a signal if a specific request is done

actionFlags ParameterChannelActionFlag

actions to be performed for the following parameter. This is a flags parameter (several actions are possible)

parameter1 DWORD

index group, the last 8bit of this number, which is the axisid, are ignored and handled internally

parameter2 DWORD

index offset

parameterType INT

see ParameterChannelPlcOpenParameterType

bufferPtr ZPointer

Pointer to the location this method writes to or reads from

bufferSize UDINT

Size of the location buffer is pointing to