With the FN 27: TABWRITE function you write to the table that you previously opened with FN 26: TABOPEN.
Application
Related topics
- Content and creation of freely definable tables
- Opening a freely definable table
Description of function
You can define multiple column names in a TABWRITE block. The column names must be written between quotation marks and separated by a comma. You define in Q parameters the value that the control is to write to the respective column.
Use QS parameters if you want to write to a text field (such as column type UPTEXT). Use Q, QL, or QR parameters to write to numerical fields.
Notes
- The control only executes the FN 27: TABWRITE function in the Program Run operating mode.
- If you write to more than one column in an NC block, you must save the values under successive Q parameter numbers.
- The control displays an error message if you try to write to a table cell that is locked or does not exist.
The FN 18 ID992 NR16 function allows you to query the operating mode in which the NC program is running.
Example
You wish to write to the columns “Radius”, “Depth”, and “D” in line 5 of the presently opened table. The values to be written in the table are saved in the Q parameters Q5, Q6, and Q7.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
- Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions, e.g. with M91
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
11 Q5 = 3,75 | ; Define the value for the Radius column |
12 Q6 = -5 | ; Define the value for the Depth column |
13 Q7 = 7,5 | ; Define the value for the D column |
14 FN 27: TABWRITE 5/“Radius,Depth,D“ = Q5 | ; Write defined values to the table |