Library.ForceAxisInputDWord Method
Writes a double word into an input buffer of a simulated axis.
Namespace:
IntervalZero.MaxRT.Ecat.Api.NetApi
Assembly:
IntervalZero.MaxRT.Ecat (in IntervalZero.MaxRT.Ecat.dll) Version: 1.0.0.0 (File version: 1.1.0)
Syntax
public EcatErrorCode ForceAxisInputDWord(
EcatHandle axis,
uint byteOffset,
uint value
)
Parameters
axis
Type: EcatHandle
A handle to an axis. To retrieve the corresponding handle, use OpenAxisByIndex or OpenAxisByLocation.
byteOffset
Type: UInt32
A byte offset to the location to write a double word value.
value
Type: UInt32
A double word to write into an input buffer of a simulated axis.
Return Value
EcatErrorCode is thrown when any of these errors occur:
| Error code | Meaning |
|---|---|
|
ecatErrNoError |
The function succeeded. |
|
ecatErrWrongParameter |
One of the following conditions occurred:
|
|
ecatErrMainDeviceNotReady |
The MainDevice is not ready. |
|
ecatErrWrongEnvironment |
One of the following conditions occurred:
|
See Also: