MC_ValveCharacteristicCurve

Wrapper that holds a reference to a valve characteristic curve object and provides methods for setting, accessing and modifying its data.
To use this wrapper, the valve characteristic curve must be mapped and the method Connect() must be called.
Once a reference is successfully stored, it cannot be modified. Subsequent calls to Connect() will return an error.

Do not call the main FB directly. Only use the available methods.

MC_ValveCharacteristicCurve 1: Methods

Name

Description

Connect

Stores a reference to an existing valve characteristic curve object. The valve characteristic curve must have been previously linked to McToPlc.

ReadData

Reads all stored data points into the given array. Returns the number of data points read.

OverwriteData

Overwrites all stored data points with data points from the given array.

ClearData

Removes all stored data points. The existing reference remains intact.

CopyFrom

Copies all stored data points from another MC_ValveCharacteristicCurve.

Enable

Enables valve linearization.

Disable

Disables valve linearization.

ComputeVelocityValue

Computes velocity value at the given SpoolPosition.

ComputeSpoolPositionValue

Computes spool position value at the given Velocity.

Versionsinformation

  • TwinCAT Standard >= v3.1.4026.23.1
  • TF5560 MC3 FluidPower >= v4.0.6 (inkludiert TF5500 MC3 Base >= v4.0.6)

Required License

TC3 MC3 Fluid Power