10.4.5.1. Edit
10.4.5.1. Edit
When [F1: New item] is pressed, a new item will be inserted into the position of the cursor. Press the [ENTER] key in the Name line and enter the variable name by using the soft keyboard.
The item in the current position of the cursor can be deleted by pressing [SHIFT][DEL/ß].
Place the cursor in the “As” line and press [ENTER] and then the variable type can be set by using the F key.
For the reference variables of input, output and M relay, simple enter the input variable, the output variable, and the _M variable name in the “As” line.
When the editing of all global variables is completed, press the [F7: save] button to copy and save the edited content into the “G00.IDV” file and apply it to the system at the same time.
If the title bar of the dialog box is marked with *, it means that the current value is being edited. In this state, the current value of each variable in the value line will not be monitored. Press the [F7: Save] button. Then, the * mark will disappear and the current value of each variable can be monitored through the value line.
The following is an example of a saved “G00.IDV” file. HRView or USB memory can be used to copy it to a PC, then edited using a text editor, and copied back to the controller.
Entry Text File Format Version: 1.0 _G00.IDV( ID Variable ) giDbg AS Integer = 0 giNCrd AS Integer = 4 gdaCrd[8] AS Double [1]=5 [2]=12.8 [3]=6.4 [4]=11.7 [5]=6.1 [6]=10.9 [7]=4.7 [8]=10.4 gdAvg AS Double = 0 gtMsg AS String = "Input next work number:" gtaErr[2] AS String [1]="Invalid number" [2]="Time-over" gpStart AS Pose = (1402.813,-127.784,1335.716,47.603,83.119,48.069,&H0000) gpaMid[3] AS Pose [1]=(0.658,79.832,15.117,13.971,8.34,-1.872)A [2]=(0.566,76.387,15.747,6.947,2.518,-1.872)A [3]=(0.42,71,15.117,6.947,8.34,-1.872)A gmTmp AS _MW3 gxSensOk AS FB.X22 gyMode AS DOB5 |