10 Application of G-codes
10.2 Methods of Downloading G-codes
In this section, we will introduce G-code download methods by applying PMGDL software or HMI.
1. Use PMGDL to download G-codes to DVP-PM.
2. Use Delta HMI and convert G-codes through D registers.
10.2.1 PMGDL Software
G-codes can be downloaded throug
h PMGDL by two modes.
1. Common mode: Download G-codes to a DVP-20PM series motion controller then execute Oxn
motion subroutines.
2. DNC mode: Execute Oxn subroutines while file transmission is processing.
The application of Common mode and DNC mode is mainly decided according to the G-code file size.
In Common mode, G-codes will be completely downloaded to PM before executing Oxn motion
subroutine. In DNC mode, generally applied for huge G-code files, transmission proceeds while motion
subroutine executes. In diagram (A), PMGDL in Common mode downloads all G-codes into Ox0, Ox1
in DVP20PM00M. In diagram (B), PMGDL in DNC mode transmits G-codes while motion subroutines in
DVP20PM00M are operating. Users should set up PEP protection for O100 main program before
download O100 to 20PM00M. After this, executes O100 to set up COM1 (RS232) or COM2 (RS485) for
communication with PMGDL, and PMGDL will download the G-codes.
Note: Please note that PMSoft supports ASCII mode only, and PMGDL software supports RTU mode
only.
(A) Common mode G-code download
DVP20PM00M
(B) DNC mode G-code download
DNC mode
DVP20PM00M
DVP-20PM Application Manual
10-2