G-Code Content / Library / MDI Input Box and HMI Operations
HMI Operator Operations Variables
|
Adres |
Description |
Minimum |
Maximum |
Default |
|
12000~12001 |
HMI operator operations variable |
0 |
2147483647 |
0 |
|
12002~12003 |
HMI operator operations auxiliary variable |
0 |
2147483647 |
0 |
|
12004~12005 |
N number to be searched within the G-code file |
0 |
2147483647 |
0 |
|
12006~12007 |
O number to be searched within the G-code file |
0 |
2147483647 |
0 |
By assigning predefined values to the variable at this address, operations such as automatic workpiece zeroing, program selection, and editing can be performed. The list of operations is provided below:
|
Value |
Description |
|
10 |
Create a new G-code file |
|
11 |
Select the G-code file where the cursor is located |
|
12 |
Delete the G-code file where the cursor is located |
|
13 |
Search for the G-code file named in the MDI input box in the library |
|
14 |
Move the cursor to the top of the library list |
|
15 |
Select the G-code file named in the MDI input box |
|
16 |
Search the N number written to addresses 12004~12005 in the G-code file |
|
17 |
Search the O number written to addresses 12006~12007 in the G-code file |
|
18 |
Search for the N number written to addresses 12004~12005 and the O number written to addresses 12006~12007 in the G-code file |
|
19 |
Copy the line where the cursor is located in the G-code file to the MDI input box. |
|
20 |
Add a blank line below the line where the cursor is located in the G-code file |
|
21 |
Add the line written in the MDI input box below the line where the cursor is located in the G-code file |
|
22 |
Replace the line where the cursor is located in the G-code file with the line written in the MDI input box |
|
23 |
Delete the line where the cursor is located in the G-code file |
|
25 |
Search for the code written in the MDI input box in the selected G-code file. |
|
30 |
Undo the last delete, add, or edit operation in the selected G-code file |
|
34 |
Download the G-code file from the FTP server to the library (The file to be downloaded must have its name written in addresses 13962~13993) |
|
50 |
Set the X-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
51 |
Set the Y-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
52 |
Set the Z-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
53 |
Set the 4th-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
54 |
Set the 5th-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
55 |
Set the 6th-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
56 |
Set the 7th-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
57 |
Set the 8th-axis absolute position to '0' (automatic calculation for G54-G59.4) |
|
Value |
Description |
|
60 |
Set the X-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
61 |
Set the Y-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
62 |
Set the Z-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
63 |
Set the 4th-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
64 |
Set the 5th-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
65 |
Set the 6th-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
66 |
Set the 7th-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
67 |
Set the 8th-axis absolute position to the center of the workpiece (1/2) to '0' (automatic calculation for G54-G59.4) |
|
70 |
Set the X-axis incremental position to '0' |
|
71 |
Set the Y-axis incremental position to '0' |
|
72 |
Set the Z-axis incremental position to '0' |
|
73 |
Set the 4th-axis incremental position to '0' |
|
74 |
Set the 5th-axis incremental position to '0' |
|
75 |
Set the 6th-axis incremental position to '0' |
|
76 |
Set the 7th-axis incremental position to '0' |
|
77 |
Set the 8th-axis incremental position to '0' |
|
80 |
Set the X-axis incremental position to the center of the workpiece (1/2) to '0' |
|
81 |
Set the Y-axis incremental position to the center of the workpiece (1/2) to '0' |
|
82 |
Set the Z-axis incremental position to the center of the workpiece (1/2) to '0' |
|
83 |
Set the 4th-axis incremental position to the center of the workpiece (1/2) to '0' |
|
84 |
Set the 5th-axis incremental position to the center of the workpiece (1/2) to '0' |
|
85 |
Set the 6th-axis incremental position to the center of the workpiece (1/2) to '0' |
|
86 |
Set the 7th-axis incremental position to the center of the workpiece (1/2) to '0' |
|
87 |
Set the 8th-axis incremental position to the center of the workpiece (1/2) to '0' |
|
90 |
Reset the part counter value |
|
91 |
Set the X-axis G92 offset value to '0' |
|
92 |
Set the Y-axis G92 offset value to '0' |
|
93 |
Set the Z-axis G92 offset value to '0' |
|
94 |
Set the 4th-axis G92 offset value to '0' |
|
95 |
Set the 5th-axis G92 offset value to '0' |
|
96 |
Set the 6th-axis G92 offset value to '0' |
|
97 |
Reset the tool life counter |
|
98 |
Set the 7th-axis G92 offset value to '0' |
|
99 |
Set the 8th-axis G92 offset value to '0' |
|
200 |
Move the cursor down one line in the G-code file |
|
201 |
Move the cursor up one line in the G-code file |
|
202 |
Move the cursor down one page in the G-code file |
|
203 |
Move the cursor up one page in the G-code file |
|
204 |
Refresh the variables displaying the content of the G-code file |
|
205 |
Move the cursor in the G-code file to the line written to variables 12002~12003 |
|
206 |
Move the cursor to the top of the G-code file |
|
Value |
Description |
|
210 |
Move the cursor down one line in the library content |
|
211 |
Move the cursor up one line in the library content |
|
212 |
Move the cursor down one page in the library content |
|
213 |
"Move the cursor up one page in the library content |
|
214 |
Refresh the variables displaying the library content |
|
215 |
Move the library cursor to the line specified in variables 12002~12003 |
|
230 |
Adjust the number of lines to be displayed in the G-code file according to the value written in variables 12002~12003 (Minimum: 1, Maximum: 20) |
|
231 |
Adjust the number of lines to be displayed in the library content according to the value written in variables 12002~12003 (Minimum: 1, Maximum: 20) |
|
240 |
Move the cursor down one line in the comment list |
|
241 |
Move the cursor up one line in the comment list |
|
242 |
Move the cursor down one page in the comment list |
|
243 |
Move the cursor up one page in the comment list |
|
250 |
Shift the selected offset value of the X axis so that the current position of the X axis equals the value entered in the MDI data entry box |
|
251 |
Shift the selected offset value of the X axis so that the current position of the Y axis equals the value entered in the MDI data entry box |
|
252 |
Shift the selected offset value of the X axis so that the current position of the Z axis equals the value entered in the MDI data entry box |
|
253 |
Shift the selected offset value of the X axis so that the current position of the 4th axis equals the value entered in the MDI data entry box |
|
254 |
Shift the selected offset value of the X axis so that the current position of the 5th axis equals the value entered in the MDI data entry box |
|
255 |
Shift the selected offset value of the X axis so that the current position of the 6th axis equals the value entered in the MDI data entry box |
|
256 |
Shift the selected offset value of the X axis so that the current position of the 7th axis equals the value entered in the MDI data entry box |
|
257 |
Shift the selected offset value of the X axis so that the current position of the 8th axis equals the value entered in the MDI data entry box |
|
270 |
Shift the geometry offset value of the selected tool so that the current position of the X axis equals the value entered in the MDI data entry box (Lathe model only) |
|
271 |
Shift the geometry offset value of the selected tool so that the current position of the Y axis equals the value entered in the MDI data entry box (Lathe model only) |
|
272 |
Shift the geometry offset value of the selected tool so that the current position of the Z axis equals the value entered in the MDI data entry box (Lathe model only) |
MDI Data Input Box
|
Address |
Description |
Minimum |
Maximum |
Unit |
|
12020~12051 |
MDI data input box(Maximum 64 characters) |
|
|
ascii |
|
|
The MDI data input box is used by the user for purposes such as naming programs, editing program content, searching, and executing MDI code lines. A maximum of 64 characters can be entered. |
Content of the Selected G-code File
|
Address |
Description |
Minimum |
Maximum |
Unit |
|
12200~12201 |
Selected program line length |
0 |
2147483647 |
|
|
12202~12203 |
Cursor position within the selected program |
0 |
2147483647 |
|
|
12204~12205 |
Current page number in the selected program |
0 |
2147483647 |
|
|
12206~12207 |
Cursor position in the displayed area |
0 |
2147483647 |
|
|
12208~12209 |
Refresh request for selected program content |
0 |
2147483647 |
|
|
12220~12251 |
1st line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12252~12283 |
2nd line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12284~12315 |
3rd line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12316~12347 |
4th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12348~12379 |
5th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12380~12411 |
6th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12412~12443 |
7th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12444~12475 |
8th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12476~12507 |
9th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12508~12539 |
10th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12540~12571 |
11th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12572~12603 |
12th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12604~12635 |
13th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12636~12667 |
14th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12668~12699 |
15th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12700~12731 |
16th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12732~12763 |
17th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12764~12795 |
18th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12796~12827 |
19th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12828~12859 |
20th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
This area is used to display the content of the selected/executed G-code file. Apart from the refresh request variable, no other addresses should be written to.
Comment List within the Program
|
Address |
Description |
Minimum |
Maximum |
Unit |
|
12860~12861 |
Selected program line length |
0 |
2147483647 |
|
|
12862~12863 |
Cursor position within the selected program |
0 |
2147483647 |
|
|
12864~12865 |
Current page number in the selected program |
0 |
2147483647 |
|
|
12866~12867 |
Cursor position in the displayed area |
0 |
2147483647 |
|
|
12868~12869 |
Refresh request for selected program content |
0 |
2147483647 |
|
|
12880~12911 |
1st line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12912~12943 |
2nd line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12944~12975 |
3rd line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
12976~13007 |
4th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
13008~13039 |
5th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
13040~13071 |
6th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
13072~13103 |
7th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
13104~13135 |
8th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
13136~13167 |
9th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
|
13168~13199 |
10th line of the displayed area of the selected program (maximum 64 characters) |
|
|
ascii |
This area is used to display the comments within the selected/executed G-code file. Writing to addresses other than the update request variable should not be performed.
Library Content
|
Address |
Description |
Minimum |
Maximum |
Unit |
|
13200~13201 |
Number of programs in the library |
0 |
2147483647 |
|
|
13202~13203 |
Cursor position in the library |
0 |
2147483647 |
|
|
13204~13205 |
Number of the displayed area in the library |
0 |
2147483647 |
|
|
13206~13207 |
Cursor position on the displayed area |
0 |
2147483647 |
|
|
13208~13209 |
Library content refresh request |
0 |
2147483647 |
|
|
13220~13251 |
1st line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13252~13283 |
2nd line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13284~13315 |
3rd line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13316~13347 |
4th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13348~13379 |
5th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13380~13411 |
6th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13412~13443 |
7th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13444~13475 |
8th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13476~13507 |
9th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13508~13539 |
10th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13540~13571 |
11th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13572~13603 |
12th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13604~13635 |
13th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13636~13667 |
14th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13668~13699 |
15th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13700~13731 |
16th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13732~13763 |
17th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13764~13795 |
18th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13796~13827 |
19th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
|
13828~13859 |
20th line of the displayed area of the library content (maximum 64 characters) |
|
|
ascii |
This area is used to display the library content. Writing operations to addresses other than the update request variable should not be performed.
Name of the Selected G-Code File
|
Address |
Description |
Minimum |
Maximum |
Unit |
|
13930~13961 |
Name of the selected G-code file (maximum 64 characters) |
|
|
ascii |
File Name to be Downloaded From the FTP Server
|
Address |
Description |
Minimum |
Maximum |
Unit |
|
13962~13993 |
Name of the file to be downloaded from the FTP server(maximum 64 characters) |
|
|
ascii |
