MLAxisInit

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. - Initializes an axis object.

Inputs

Input

Data Type

Range

Unit

Default

Description

AccelerationClosed 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)

LREAL

No range

User unit/sec2

No default

Sets the Axis Acceleration value.

See Set the Axis Block Position Units.

AxisID

DINT

No range

N/A

No default

ID Name of the Axis block.

Deceleration

LREAL

No range

User unit/sec2

No default

Sets the Axis Deceleration value.

See Set the Axis Block Position Units.

FeedbackUnitPerTurn

DINT

No range

User units

No default

 

InitialPosition

LREAL

No range

User units

No default

Initial position value expressed in user logical units.

Modulo

BOOL

FALSE, TRUE

N/A

No default

Define the mode which can be Modulo (True) or not (False).

ModuloPosition

LREAL

No range

User units

No default

The value of the periodClosed Motor systems having a reciprocating or oscillating motor that operates synchronously with the periodicity of the source which supplies the electrical energy. The period of execution of a pipe is the time spent between two successive computations of set values for the same pipe. The period of execution of a pipe is specified by the PERIOD parameter of the input pipe block. of a cyclic system expressed in User units.

The parameter is defined to correctly manage the periodicity (modulo) of the input values.

SpeedClosed Speed is the absolute value of the velocity without direction.

LREAL

No range

User units

No default

Sets the Axis Speed.

See Set the Axis Block Position Units.

UserUnitPerTurn

LREAL

No range

User units

No default

Define the unit equivalent to one revolution of the physical motorClosed An actuator focused to a movement, converting electrical energy in a force or torque..

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

See Pipe Network - General Rules.

Remarks

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLAxisInit( PipeNetwork.Axis1, 360.0, 360.0, SHL(1,20), 500.0, 100000.0, 100000.0, 0.0, true ) ;