MLAxisReadVel

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 actual velocity of the axis based on the data provided by the drive's feedback deviceClosed A process whereby some proportion of the output signal of a system is passed (fed back) to the input. In automation, a device coupled to each motor to provide indication of the motor's shaft angle, for use in commutating the motor and controlling its speed and position.

Inputs

Input

Data Type

Range

Unit

Default

Description

ID

DINT

No range

N/A

No default

Pipe network identifier of the axis block.

Outputs

Output

Data Type

Range

Unit

Description

Velocity

LREAL

 

 

The actual velocity of the axis.

Remarks

In AKD, S300Closed "Servostar 300 drive" See Servo Drive in Glossary, and S700Closed "Servostar 700 drive" See Servo Drive in Glossary drives:

FBD Language Example

MLAxisReadVel: FBD example

FFLD Language Example

MLAxisReadVel: LD example

IL Language Example

Not available.

ST Language Example

Axis1_Velocity := MLAxisReadVel(PipeNetwork.Axis1 )  ;

See Also