FB_OcaSensor

FB_OcaSensor 1:

The function block FB_OcaSensor extends the function block FB_OcaWorker. It is the function block from which all function blocks that are assigned to the Sensor category inherit.

FB_OcaSensor 2:

No explicit call

Since there is no code in the body of the function block, it should not be called explicitly. Instead, use the corresponding methods of the function block.

Inheritance hierarchy

FB_OcaRoot

    FB_OcaWorker

        FB_OcaSensor

FB_OcaSensor 3: Methods

Name

Definition location

Description

GetReadingState

Local

You can use this method to query whether the value that was read is valid or not.

If the query was successful, the result is output in the property stReadingState.

FB_OcaSensor 4: Properties

Name

Type

Access

Definition location

Description

stReadingState

ST_SensorReadingStatey

Get

Local

Indicates whether the queried value is valid or not.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.2 or higher

PC or CX (x64, x86, ARM)

Tc3_AES70