MLAxisGenWriteSpd

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. - Set the speed of the internal generator of an axis.

Returns TRUE if the function succeeded. This function does not generate any motion.

Arguments

Input

AxisID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

N/A

 

Default

Speed

Description

Sets the generator Speed value

 

Data type

LREAL

 

Range

 

Unit

User unit

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes

See Function - General Rules for more information.

 

Data type

BOOL

 

Unit

N/A

Related Functions

MLAxisGenWriteAcc

MLAxisGenWriteDec

Example

Structured Text

 

MLAxisGenWriteSpd(PipeNetwork.Axis1, 500 ) ;

 

Ladder Diagram

MLAxisGenWriteSpd: LD example

Function Block Diagram

MLAxisGenWriteSpd: FBD example