MLAxisGenWriteDec

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. - Sets the deceleration of the internal generator of an axis.

Inputs

Input

Data Type

Range

Unit

Default

Description

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 generator Deceleration value.

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

Returns TRUE if the internal generator axis is ready.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLAxisGenWriteDec(PipeNetwork.Axis1, 100000 )  ;

See Also