3 FB LIBRARY
3.2 Details of the FB Library
55
3
MC_ReadAxisError (Axis Error Read)
Name
MC_ReadAxisError_JEC
Overview
Labels
■
I/O label
■
Input labels (Load:
П
: Always,
: Only at start)
■
Output labels
Item
Description
Function overview
Reads the error number of the specified axis.
Symbol
[Structured Ladder]
Symbol
[Structured Text]
MC_ReadAxisError_JEC (Axis, Enable, Valid, Error, ErrorID, AxisErrorID)
No.
Variable name
Name
Data type
Setting range
Description
(1)
Axis
Axis information
AXIS_REF_JEC
Page 59 AXIS_REF_JEC (Axis information)
No.
Variable name
Name
Data type
Import
Setting
range
Description
(2)
Enable
Enable
Bit
ON, OFF
ON: The FB is executed.
No.
Variable name
Name
Data type
Default value
Description
(3)
Valid
Output value valid
Bit
OFF
During ON, the output value is valid.
(4)
Error
Error
Bit
OFF
When ON, it indicates that an error has occurred in
the FB.
(5)
ErrorID
Error code
Word [unsigned]
0
The error code generated in the FB is returned.
(6)
AxisErrorID
Axis error No.
Word [unsigned]
0
The error code of the axis is returned.
DUT: Axis
Axis :DUT
B: Enable
Valid :B
Error :B
ErrorID :UW
AxisErrorID :UW
MC_ReadAxisError_JEC
(5)
(4)
(6)
(2)
(1)
(3)
(1)
Summary of Contents for MELSEC-Q-MR-JE-C
Page 1: ...PLCopen Motion Control Function Block Reference MR JE C ...
Page 2: ......
Page 4: ...2 INSTRUCTION INDEX 63 REVISIONS 65 TRADEMARKS 66 ...
Page 7: ...1 OVERVIEW 1 5 Notes 5 1 MEMO ...
Page 64: ...62 3 FB LIBRARY 3 5 Troubleshooting MEMO ...
Page 66: ...64 MEMO ...
Page 69: ......