Mc_Readactualvelocity (Current Velocity Read) - Mitsubishi Electric MELSEC-Q-MR-JE-C Reference Manual

Plcopen motion control function block for melsec-q series
Table of Contents

Advertisement

MC_ReadActualVelocity (Current Velocity Read)

Name
MC_ReadActualVelocity_JEC
Overview
Item
Function overview
Symbol
[Structured Ladder]
Symbol
[Structured Text]
Labels
■I/O label
No.
Variable name
(1)
Axis
■Input labels (Load: П: Always, : Only at start)
No.
Variable name
(2)
Enable
■Output labels
No.
Variable name
(3)
Valid
(4)
Error
(5)
ErrorID
(6)
Velocity
3 FB LIBRARY
46
3.2 Details of the FB Library
Description
Returns the current velocity of the specified axis.
(1)
DUT: Axis
(2)
B: Enable
MC_ReadActualVelocity_JEC (Axis, Enable, Valid, Error, ErrorID, Velocity)
Name
Data type
Axis information
AXIS_REF_JEC
Name
Data type
Enable
Bit
Name
Data type
Output value valid
Bit
Error
Bit
Error code
Word [unsigned]
Current velocity
Double-precision
real number
MC_ReadActualVelocity_JEC
Setting range
Import
Setting
range
ON, OFF
Default value
OFF
OFF
0
0
Axis :DUT
(1)
Valid :B
(3)
Error :B
(4)
ErrorID :UW
(5)
Velocity :L
(6)
Description
Page 59 AXIS_REF_JEC (Axis information)
Description
ON: The FB is executed.
Description
During ON, the output value is valid.
When ON, it indicates that an error has occurred in
the FB.
The error code generated in the FB is returned.
The current velocity of the specified axis is returned
(r/min).

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents