FunctionMLAxisGenWriteSpdPipe Network motion icon

Description

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 more details here

 

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

Go back to the top of the page [Top]