FB_SimPressureTransducer

FB_SimPressureTransducer 1:

This simplified simulation of a universal pressure transducer is used as component of a simulated hydraulic axis. A number of typical effects are supported.

FB_SimPressureTransducer 2:

The implementation of this object is not a full-fledged and realistic simulation.

FB_SimPressureTransducer 3:

Objects of this type are typically used as local elements in an implementation of an axis simulation.

Syntax:

FUNCTION_BLOCK FB_SimPressureTransducer

FB_SimPressureTransducer 4: Properties

Name

Type

Access

Description

AdcValue

INT

Get

This runtime value contains the input value of the simulated terminal.

CycleTime

LREA

Get, Set

This parameter must be initialized with the call cycle time.

NoiseLevel

LREAL

Get, Set

This parameter can be used to set the amplitude of a simulated noise signal that is added to the pressure at the sensor.

NominalPressure

LREAL

Get, Set

This parameter must be initialized with the rated pressure (i.e. full scale) of the simulated transducer.

 

Pressure

LREAL

Get, Set

This runtime value must be updated cyclically with the pressure of a specific point in a simulated hydraulic system.

Signal

LREAL

Get

This runtime value contains the electrical signal of a simulated 0 to 10 V pressure transducer.

FB_SimPressureTransducer 5: Methods

Name

Description

Cyclic()

Cycle method

FB_SimPressureTransducer 6: Interfaces

Type

Description

I_SimValve

Standard interface for FB_SimValve.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher

Tc3_PlasticHydraulic v3.12.4.26 or higher