Mc_Readaxiserror (Axis Error Read) - Mitsubishi Electric MELSEC-Q-MR-JE-C Reference Manual

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

Advertisement

MC_ReadAxisError (Axis Error Read)

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents