3 FB LIBRARY
3.2 Details of the FB Library
53
3
MC_ReadAxisInfo (Axis Information Read)
Name
MC_ReadAxisInfo_JEC
Overview
Labels
■
I/O label
■
Input labels (Load:
П
: Always,
: Only at start)
■
Output labels
Item
Description
Function overview
Reads the axis information of the specified axis.
Symbol
[Structured Ladder]
Symbol
[Structured Text]
MC_ReadAxisInfo_JEC (Axis, Enable, Valid, Error, ErrorID, HomeAbsSwitch, LimitSwitchPos, LimitSwitchNeg,
CommunicationReady, ReadyForPowerOn, PowerOn, IsHomed, AxisWarning)
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)
HomeAbsSwitch
Proximity dog signal
Bit
OFF
It indicates the status of the proximity dog signal.
(7)
LimitSwitchPos
Positive limit signal
Bit
OFF
It indicates the status of the hardware stroke limit
signal in the positive direction.
(8)
LimitSwitchNeg
Negative limit signal
Bit
OFF
It indicates the status of the hardware stroke limit
signal in the negative direction.
(9)
CommunicationReady
Communication
ready
Bit
OFF
It indicates the communication ready status.
(10)
ReadyForPowerOn
Ready for operation
Bit
OFF
It indicates the ready for operation status.
(11)
PowerOn
Operable
Bit
OFF
It indicates the operable status.
(12)
IsHomed
Home position valid
Bit
OFF
It indicates that the home position return is
completed.
(13)
AxisWarning
Axis warning
Bit
OFF
It indicates the axis warning status.
DUT: Axis
Axis :DUT
B: Enable
Valid :B
Error :B
ErrorID :UW
HomeAbsSwitch :B
LimitSwitchPos :B
LimitSwitchNeg :B
CommunicationReady :B
ReadyForPowerOn :B
PowerOn :B
IsHomed :B
AxisWarning :B
MC_ReadAxisInfo_JEC
(5)
(4)
(3)
(1)
(2)
(1)
(9)
(8)
(7)
(6)
(13)
(12)
(11)
(10)
Содержание MELSEC-Q-MR-JE-C
Страница 1: ...PLCopen Motion Control Function Block Reference MR JE C ...
Страница 2: ......
Страница 4: ...2 INSTRUCTION INDEX 63 REVISIONS 65 TRADEMARKS 66 ...
Страница 7: ...1 OVERVIEW 1 5 Notes 5 1 MEMO ...
Страница 64: ...62 3 FB LIBRARY 3 5 Troubleshooting MEMO ...
Страница 66: ...64 MEMO ...
Страница 69: ......