66 uuid(C93E9AA2-7761-4AEE-9112-B43D8FA858A1),
69 helpstring(
"IFieldbus Interface"),
70 pointer_default(unique)
98 #if defined(WIN32) || defined(WIN64) 100 uuid(1EE87246-4A11-4b21-A20B-3BC432D1A6ED)
117 uuid(5358C15D-48DC-49f6-A973-63B6DE640019)
133 uuid(0AF14472-E6D9-4521-9EE9-29F77C5EE03D)
154 LONG numberOfOutputs;
265 [id(4), helpstring(
"Method WriteFieldbusIoAsByteArray")] HRESULT
WriteFieldbusIoAsByteArray([in] BSTR slaveAddress, [in]
IoFieldbusArea area, [in] LONG byteOffset, [in] LONG byteLength, [in] SAFEARRAY(BYTE) data);
278 [id(5), helpstring(
"Method ReadFieldbusIoAsByteArray")] HRESULT
ReadFieldbusIoAsByteArray([in] BSTR slaveAddress, [in]
IoFieldbusArea area, [in] LONG byteOffset, [in] LONG byteLength, [out, retval] SAFEARRAY(BYTE) *data);
Input area of a fieldbus device.
This structure defines the diagnosis information of a fieldbus device.
This structure defines the information of a fieldbus slave.
HRESULT ReadFieldbusIoAsByteArray([in] BSTR slaveAddress, [in] IoFieldbusArea area, [in] LONG byteOffset, [in] LONG byteLength, [out, retval] SAFEARRAY(BYTE)*data)
This function reads a byte array from the fieldbus slave.
IoFieldbusMasterType
This enumeration defines types of fieldbus master.
This structure defines the information of a fieldbus master.
HRESULT WriteFieldbusIoAsByteArray([in] BSTR slaveAddress, [in] IoFieldbusArea area, [in] LONG byteOffset, [in] LONG byteLength, [in] SAFEARRAY(BYTE) data)
This function writes a byte array to the fieldbus slave.
IoFieldbusArea
This enumeration defines the I/O areas 'Input' and 'Output' of a fieldbus device. ...
Generic, not all feature are supported.
This structure defines the handle of a fieldbus device.
Definition of the IFieldbus interface which gives access to the data of a single fieldbus.
HRESULT ReadFieldbusSlaveInfos([out, retval] SAFEARRAY(struct IoFieldbusSlaveInfo)*slaveInfos)
This function returns an array with information about the slaves connected to this fieldbus...
Output area of a fieldbus device.
HRESULT ReadFieldbusMasterInfo([out, retval] struct IoFieldbusMasterInfo *masterInfo)
This function returns miscellaneous information about the given master. This includes its name...
HRESULT UpdateFieldbusIo()
This method performs a bus cycle in order to update the fieldbus I/Os of all attached slaves of the f...