Phoenix Contact VL3 PPCS handleiding

26 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 21 van 26
Programming details
4173_en_B Phoenix Contact 21/26
Example (C#): private static UInt32 EapiStatus;
UInt32 pUlValue = 0;
EapiStatus =
EApiGetProximitySensor(EAPI_ID_Proximity_Sensor_Status, ref pulValue);
if (EapiStatus == EAPI_STATUS_SUCCESS)
{
textBox_Sensor_Status.Text = “ox” +pulValue.ToString(“x8”);
}
else
{
return false;
}
3.7.2 EApiSetProximitySensor
Function: To write proximity sensor information value.
Syntax
EApiStatus_t EAPI_CALLTYPE EApiSetProximitySensor (
_IN EApiId_t Id,
_OUT uint32_t *ulValue
);
Parameters
Id: ID of value information
*ulValue: Value of information
* Return value
Status codes (EApiStatus_t)
Example (C#):
private static UInt32 EapiStatus;
UInt32 UlValue = 0;
EapiStatus = EApiSetProximitySensor(EAPI_ID_Proximity_Sensor_Threshold,
ulValue);
if (EapiStatus == EAPI_STATUS_SUCCESS)
{
return;
}

Bekijk gratis de handleiding van Phoenix Contact VL3 PPCS, 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 PPCS
CategorieNiet gecategoriseerd
TaalNederlands
Grootte1938 MB