MLPhaReadActPhase

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Gets the actual phase value of a phaser block.

Inputs

Input

Data Type

Range

Unit

Default

Description

Enable

 

 

 

 

 

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID name of a phaser function block in the Pipe Network.

Outputs

Input

Data Type

Range

Unit

Description

OK

 

 

 

 

Phase

LREAL

 

 

 

Remarks

  • If a PHASE_SLOPE_USER value is used, the new phase (refer to MLPhaWritePhase) isn’t set immediately.
    • The phase is ramped with the slope value from the old phase value to the new phase value.
    • MLPhaReadActPhase returns this ramping value.
    • See MLPhaReadSlope and MLPhaWriteSlope for more information.
  • MLPhaReadPhase returns the new value and this also when the phaser is still ramping.
    • If using Max Slope means no ramping.
    • MLPhaReadActPhase and MLPhaReadPhase always returns the same value.

FBD Language Example

Not available.

FFLD Language Example

Not available.

IL Language Example

Not available.

ST Language Example

Not available.

See Also