IParameterChannel
- Namespace
- ZCore
- Extends
- Inherited Properties
- Inherited Methods
INTERFACE IParameterChannel EXTENDS ZCore.IObject, ZCore.IError, ZCore.IUnmanagedObject
This interfaces holds the general methods that the Zeugwerk Framework expects from an object that may read and write service data objects of the fieldbus. Implementations may be provided in a platform library, i.e. (The beckhoff platform-library).
By extending from the IObject this interface may be used in Await methods of sequences.
Methods
RequestAsync
METHOD RequestAsync (
[input] taskToken : ITaskToken,
[input] actionFlags : ParameterChannelActionFlag,
[input] parameter1 : DWORD,
[input] parameter2 : DWORD,
[input] parameterType : INT,
[input] bufferPtr : ZPointer,
[input] bufferSize : UDINT)
Requests a parameter from the fieldbus. The actual meaning of the parameters is implementation dependent. Current implementations are:
Inputs
taskTokenITaskTokenactionFlagsParameterChannelActionFlagparameter1DWORDparameter2DWORDparameterTypeINTbufferPtrZPointerbufferSizeUDINT
SetTimeout
METHOD SetTimeout (
[input] timeout : LREAL)
Controls the general timeout behavior of this object. If a command (i.e. request) takes longer than timeout the object
transitions into its error state.