
B-63943EN-2/01 6.MACRO EXECUTOR FUNCTION
- 233 -
Auxiliary function command (G346)
- Format
G346 Mm ;
m : Auxiliary function code
- Explanation
This command specifies an auxiliary function for the PMC axis
control interface. Address M specifies an auxiliary function code.
This command performs the same operation as an auxiliary function
of the CNC.
Status signal read command (G348)
- Format
G348 Pp ;
p : Variable number
- Explanation
This command reads the status signal for the PMC axis control
interface into the corresponding variable specified at address P.
#7 #6 #5 #4 #3 #2 #1 #0
EBSYg#p EOTNg#p EOTPg#p EGENg#p EDENg#p EIALg#p ECKZg#p EINPg#p
A group number is represented by a combination of g and p.
Range of g: 1 to 4
Range of p: 1 to 10
Group number = g + (p-1) × 4
<1> EBSYg#p (axis control command read completion signal)
This signal indicates that the CNC has read PMC axis control
command data for one block and stored it in a buffer.
<2> EOTNg#p (overtravel negative direction signal)
This signal indicates an overtravel state.
<3> EOTPg#p (overtravel positive direction signal)
This signal indicates an overtravel state.
<4> EGENg#p (axis travel signal)
This signal indicates the travel state of an axis.
<5> EDENg#p (auxiliary function execution signal)
This signal indicates the state of auxiliary function execution.
<6> EIALg#p (alarm signal)
This signal indicates the alarm state related to PMC axis control.
<7> ECKZg#p (accumulated pulse zero check signal)
This signal indicates accumulated pulse zero state.
<8> EINPg#p (in-position signal)
This signal indicates in-position state.