Mc_Readactualposition (Current Position Read) - Mitsubishi Electric MELSEC-Q-MR-JE-C Reference Manual

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

Advertisement

MC_ReadActualPosition (Current Position Read)

Name
MC_ReadActualPosition_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)
Position
3 FB LIBRARY
44
3.2 Details of the FB Library
Description
Reads the current position of the specified axis.
(1)
DUT: Axis
(2)
B: Enable
MC_ReadActualPosition_JEC (Axis, Enable, Valid, Error, ErrorID, Position)
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 feed value
Double-precision
real number
MC_ReadActualPosition_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)
Position :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 position of the specified axis is returned.
-3
(10
degree, pulse)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents