MLPhaReadActPhase
Function 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 |
---|---|---|---|---|---|
|
|
|
|
|
|
BlockID |
DINT |
-2147483648 to 2147483647 |
N/A |
No default |
ID name of a phaser function block A function block groups an algorithm and a set of private data. It has inputs and outputs. in the Pipe Network. |
Outputs
Input |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
|
|
|
|
Phase |
LREAL |
|
|
|
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
- If a PHASE_SLOPE_USER value is used, the new phase isn’t set immediately.
- See MLPhaWritePhase.
- The phase is ramped The gradual acceleration and deceleration of a stepping motor. This is essential if performance beyond the start/stop range is required. The slope of the ramp is a function of screw pitch, load, drive voltage and design, and motor. with the slope value from the old phase value to the new phase value.
- MLPhaReadActPhase returns this ramping value.
- See MLPhaReadSlope and MLPhaWriteSlope.
- 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