11 G-code Application Step 6: Enter the G-code download window. The functions of each block are explained as below. Select the G-code file to be downloaded in block (1). When download is finished, press BACK to return to previous page. If the file is too big, CRC value error will be displayed on the screen. Step 7: If you want to change the G-code file, repeat the process of step 5 and step 6. 11.2.3 Download by HMI other than B type through D registers Users can also download G-codes by HMIs other than B-type. Set up the recipe on HMI and design the user program for receiving G-codes on DVP-PM00M. When both sides are ready, the G-codes can be downloaded through HMI directly.
The G-code download program designed in DVP-PM00M should operate in below steps: 1. initialize download process, 2. design the size of recipe according to the recipe format set up in HMI, 3. execute the program and the G-codes will be downloaded to designated registers in PLC according to the recipe set up in HMI. Please note that the recipe sets up the total number of G-codes but the whole G-code file requires several times of transmission for a complete download process. Therefore, in actual application the G-code file will be separated into many groups, and only one group will be transmitted by one time. File conversion will be executed every time when one group of G-code is received.
If the conversion results are correct, the filtered G-codes will be displayed in the designated register. If an error in file conversion, error code 0xffff and the error row number will be displayed in designated registers After one group are received, DVP-PM sents another value to change the group number and repeats the DVP-PM Application Manual 11-13 1 G-code file selection window: Select the G-code file to be downloaded in this window 2 G-code preview window: The selected G-code can be previewed in this window 3 Station number: Set up the station number of 20PM00M 4 Download: Click Download to start the G-code download process 5 Back: Click Back to return to previous page