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
Drive
PROPERTY Drive : IAxisPlcOpenMcParameterDrive
Property Value
Plc
PROPERTY Plc : IAxisParameterPlc
Property Value
Simulation
PROPERTY Simulation : IAxisParameterSimulation
Property Value
Target
PROPERTY Target : IAxisPlcOpenMcParameterTarget
Property Value
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
ITaskTokenexternal instantiated TaskToken object can be given to get a signal if a specific request is done
actionFlags
ParameterChannelActionFlagactions to be performed for the following parameter. This is a flags parameter (several actions are possible)
parameter1
DWORDindex group, the last 8bit of this number, which is the axisid, are ignored and handled internally
parameter2
DWORDindex offset
parameterType
INTbufferPtr
ZPointerPointer to the location this method writes to or reads from
bufferSize
UDINTSize of the location buffer is pointing to