Auxiliary Function Complete - Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual

Motion controller, g-code control, melsec iq-r series
Hide thumbs Also See for MELSEC iQ-R16MTCPU:
Table of Contents

Advertisement

Auxiliary function complete

When an auxiliary function (M function) is commanded, the completion signal is waited for before proceeding to the next block
by creating the processing and completion sequences in a Motion SFC program or sequence program. There are two types of
completion signals available. Use them according to the operation to be performed.
Auxiliary function completion signal
[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)
[Rq.3383] Auxiliary function complete 2 (FIN2) (D54227.1+2s)
Auxiliary function complete 1 (FIN1)
The operation for when the FIN1 signal is used is shown below. For Motion SFC programs and sequence programs, use a
process that checks that the auxiliary function strobe signal is OFF before turning OFF "[Rq.3382] Auxiliary function complete
1 (FIN1) (D54227.0+2s)".
G-code program
[Md.3058] M-code data 1
(D54554+128s, D54555+128s)
[St.3222] Auxiliary function strobe 1
OFF
(D54442.4+4s)
[Rq.3382] Auxiliary function
OFF
complete 1 (FIN1) (D54227.0+2s)
Auxiliary function processing
(executed by the user)
■Points
• "[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)" is used for all auxiliary functions (M functions), therefore
turn it ON with the condition that all operations are complete.
• When "[Rq.3382] Auxiliary function complete 1 (FIN1) (D54227.0+2s)" is turned ON before an auxiliary function (M
function) command, the auxiliary function (M function) data is not output.
• When using an M02 command or M30 command, turn ON "[Rq.3380] Reset command (D54226.4+2s)", not "[Rq.3382]
Auxiliary function complete 1 (FIN1) (D54227.0+2s)". When "[Rq.3382] Auxiliary function complete 1 (FIN1)
(D54227.0+2s)" is turned ON at the M02 command or M30 command at the end of a G-code program, a minor error (error
code: 1FC3H (details code: 0309H)) occurs.
• When an M command is used in the block following a cutter command, M-code data is output before the cutter deceleration
is completed. When executing an M command after axis movement is completed, insert a block (G04 without extended
time) in between the cutter command and M command.
■Program example
• Executing an M command after axis movement is completed
Program
:
G01 X10. F100.
G04 P0 M
Y10.
:
G-code program
Axis movement
[Md.3058] M-code data 1
(D54554+128s, D54555+128s)
[St.3222] Auxiliary function strobe 1
OFF
(D54442.4+4s)
[Rq.3382] Auxiliary function
OFF
complete 1 (FIN1) (D54227.0+2s)
Auxiliary function processing
(executed by the user)
Operation
At the trailing edge of completion signal (FIN1), proceed to the next block
At the leading edge of completion signal (FIN2), proceed to the next block
M
Next block
M
code data
ON
ON
G01 X10. F100.
G04 P0
M
G01 X10. F100.
M
code data
ON
ON
Y10.
Y10.
6 AUXILIARY AND APPLIED FUNCTIONS
6.2 Auxiliary Function (M Function)
6
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents