Mc_Readaxisinfo (Axis Information Read) - Mitsubishi Electric MELSEC-Q-MR-JE-C Reference Manual

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

Advertisement

MC_ReadAxisInfo (Axis Information Read)

Name
MC_ReadAxisInfo_JEC
Overview
Item
Description
Function overview
Reads the axis information of the specified axis.
Symbol
[Structured Ladder]
Symbol
MC_ReadAxisInfo_JEC (Axis, Enable, Valid, Error, ErrorID, HomeAbsSwitch, LimitSwitchPos, LimitSwitchNeg,
[Structured Text]
CommunicationReady, ReadyForPowerOn, PowerOn, IsHomed, AxisWarning)
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)
HomeAbsSwitch
Proximity dog signal
(7)
LimitSwitchPos
Positive limit signal
(8)
LimitSwitchNeg
Negative limit signal
(9)
CommunicationReady
Communication
ready
(10)
ReadyForPowerOn
Ready for operation
(11)
PowerOn
Operable
(12)
IsHomed
Home position valid
(13)
AxisWarning
Axis warning
MC_ReadAxisInfo_JEC
(1)
DUT: Axis
(2)
B: Enable
Data type
AXIS_REF_JEC
Data type
Bit
Data type
Bit
Bit
Word [unsigned]
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Axis :DUT
Valid :B
Error :B
ErrorID :UW
HomeAbsSwitch :B
LimitSwitchPos :B
LimitSwitchNeg :B
CommunicationReady :B
ReadyForPowerOn :B
PowerOn :B
IsHomed :B
AxisWarning :B
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.
OFF
It indicates the status of the proximity dog signal.
OFF
It indicates the status of the hardware stroke limit
signal in the positive direction.
OFF
It indicates the status of the hardware stroke limit
signal in the negative direction.
OFF
It indicates the communication ready status.
OFF
It indicates the ready for operation status.
OFF
It indicates the operable status.
OFF
It indicates that the home position return is
completed.
OFF
It indicates the axis warning status.
(1)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
3 FB LIBRARY
3.2 Details of the FB Library
3
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents