G-Code Control System Device Assignment Method; G-Code Control System Start/End - 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

2.4
G-Code Control System Device Assignment
Method
"MELSEC iQ-R Motion device assignment" is the recommended device assignment method when using G-code control.
Refer to the following for details of device assignment methods.
MELSEC iQ-R Motion Controller Programming Manual (Common)
Refer to G-code control dedicated signals for devices used by G-code control.(Page 28 G-CODE CONTROL
DEDICATED SIGNALS)
Cautions
When performing G-code control with R32MTCPU/R16MTCPU in "Q series Motion compatible device assignment", set the
data register(D) to the points below or more in [R Series Common Parameter]  [Motion CPU Module]  [CPU Parameter] 
"Device Related Setting"  "Device Points/Latch Setting". If the add-on library is installed with the default device points a
moderate error (error code: 308FH (details code: 0500H)) occurs and G-code control cannot be used.
Device
Minimum points setting when using G-code control
Data register (D)
56320 points (55k)
Refer to the following for details on device points/latch setting.
MELSEC iQ-R Motion Controller Programming Manual (Common)
2.5

G-Code Control System Start/End

The axes set by G-code control axis parameter are controlled with G-code programs.
G-code control is started/ended by turning ON/OFF "[Rq.3376] G-code control request (D54226.0+2s)" of each line. The
status of G-code control can be checked with "[St.3208] During G-code control (D54440.0+4s)".
Memory mode of automatic operation can be selected by turning ON "[Rq.3381] Program operation mode (memory mode)
(D54226.8+2s)". Memory mode can be cancelled by turning OFF "[Rq.3381] Program operation mode (memory mode)
(D54226.8+2s)".
Turn OFF "[Rq.3376] G-code control request (D54226.0+2s)" after cancelling memory mode. By setting the program No. to be
started to "[Cd.3320] Program No. setting register (D54278+16s)", and turning ON "[Rq.3377] Automatic operation start (cycle
start) (D54226.1+2s)", memory operation is started. During memory operation "[St.3212] During automatic operation
(D54441.0+4s)" turns ON.
[Rq.3376] G-code control request
(D54226.0+2s)
[St.3208] During G-code control
(D54440.0+4s)
[Rq.3381] Program operation
mode (memory mode)
(D54226.8+2s)
[St.3211] During memory mode
(D54440.8+4s)
[Rq.3377] Automatic operation
start (cycle start) (D54226.1+2s)
[St.3212] During automatic
operation (D54441.0+4s)
[St.3220] M-code output M02
(D54442.2+4s)
[Rq.3380] Reset command
(D54226.4+2s)
[St.1040] Start accept flag
(R: M30080+n/Q: M2001+n)
[Cd.3320] Program No. setting
register (D54278+16s)
G-code program operation

2.4 G-Code Control System Device Assignment Method

2 STARTING UP THE SYSTEM
2
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r64mtcpuMelsec iq-r32mtcpu

Table of Contents