MLPmpStatus

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. - Returns the status of the PMP block generator.

Inputs

Input

Data Type

Range

Unit

Default

Description

EN

BOOL

FALSE, TRUE

N/A

No default

EnablesClosed Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive. execution.

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID name of a PMP function blockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. in the Pipe Network.

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

See Pipe Network - General Rules.

Default (.Q)

DINT

 

N/A

Returns the status of the PMP block generator.

Value

Description

0

  • Indicates the PMP block is idle.
  • No command is currently running in the generator.
    It can be used to determine that a previous move is complete.

1

Indicates the PMP block is either acceleratingClosed A change in velocity over time. Because velocity is a vector, it can change in two ways: a change in magnitude and/or a change in direction. In one dimension, acceleration is the rate at which something speeds up or slows down. However, more generally, acceleration is a vector quantity expressing the change with time of the velocity both in magnitude and in direction. See these Wikipedia articles for more information: http://en.wikipedia.org/wiki/Velocity http://en.wikipedia.org/wiki/Euclidean_vector http://en.wikipedia.org/wiki/Rate_(mathematics) to a positionClosed Position means a point in space which is described by different coordinates. Depending on the used system and transformation it can consist of a maximum of six dimensions (coordinates).This means three Cartesian coordinates in space and coordinates for the orientation. In ACS there can be even more than six coordinates. If the same position is described in different coordinate systems the values of the coordinates are different. or speedClosed Speed is the absolute value of the velocity without direction., or is decelerating to a position or speed.

2

Indicates the PMP block is running at a constant speed.

Remarks

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

PMP_Status := MLPmpStatus ( PipeNetwork.PmpMaster )  ;
Done :=TRUE;