Phoenix Contact VL3 PPCS10 2430 handleiding

26 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 20 van 26
PxCeAPI
20/26 Phoenix Contact
4173_en_B
3.6.2 EApiBoardSetValueWithIndex
Function: To write board information values with index.
Syntax:
EApiStatus_t EAPI_CALLTYPE EApiBoardSetValueWithIndex (
__IN EApiId_t Id,
__IN uint32_t Index,
__IN uint32_t Value
);
Parameters
Id: ID of value information
Index: Index of information
Value: Value of information
Return value
Status codes (EApiStatus_t)
Example (C#):
private static UInt32 EapiStatus;
UInt32 u32Status = 0
UInt32 u32Index = Convert.ToUInt32(DIO_index);
EapiStatus =
EApiBoardSetValueWithIndex(EAPI_ID_BOARD_SENSOR_DIO_DIRECTION_INTER-
NAL, u32Index, u32Status);
if (EapiStatus == EAPI_STATUS_SUCCESS)
return true;
return false;
3.7 Proximity sensor
The availability of the proximity sensor data is dependent on the configuration and ca-
pability of the device.
The proximity sensor functionality of the PxCeAPI driver triggers the action of this I/O data.
3.7.1 EApiGetProximitySensor
Function: To read the proximity sensor information value.
Syntax
EApiStatus_t EAPI_CALLTYPE EApiGetProximitySensor (
_IN EApild_t Id,
_OUT uint32_t *pulValue
);
Parameters
Id: ID of value information
*pulValue: Value of information
* Return value
Status codes (EApiStatus_1)

Bekijk gratis de handleiding van Phoenix Contact VL3 PPCS10 2430, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkPhoenix Contact
ModelVL3 PPCS10 2430
CategorieNiet gecategoriseerd
TaalNederlands
Grootte1938 MB