ST_SemaphoreMe

 

ST_SemaphoreMe - General Information

Overview

Type:

Data structure

Available as of:

V1.0.7.0

Inherits from:

-

Versions:

Current version

Description

Data structure to manage a semaphore.

Structure Elements

Variable

Data type

Description

diId

DINT

Id of the SemaphoreMe

xException

BOOL

TRUE: an exception occurred while accessing the semaphore.

The bit is not reset due to diagnostic purposes.

xTimeoutAlreadySent

BOOL

TRUE: an exception occurred while reserving the semaphore.

The semaphore could not be reserved within a time out.

The bit is not reset due to diagnostic purposes.

xDeleteExceptionAlreadySent

BOOL

TRUE: an exception occurred while destroying a semaphore.

The bit is not reset due to diagnostic purposes.

xGiveExceptionAlreadySent

BOOL

TRUE: an exception occurred while releasing a semaphore.

The bit is not reset due to diagnostic purposes.

xGiveForceExceptionAlreadySent

BOOL

TRUE: an exception occurred while releasing a semaphore, regardless of its Task.

The bit is not reset due to diagnostic purposes.

xCreateExceptionAlreadySent

BOOL

TRUE: an exception occurred while creating the semaphore.

The bit is not reset due to diagnostic purposes.

xTakeExceptionAlreadySent

BOOL

TRUE: an exception occurred while reserving the semaphore.

The bit is not reset due to diagnostic purposes.