Programming instructions

11-6
Special NC Functions NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
11.3 Reading and Writing ZO Data to/from the NC Program
‘OTD’
The "OTD command" (Offset Table Data) can be used to read and write
the data in the zero offset table and the zero offsets which have been
activated in the NC program from the NC program.
OTD([1/2],[0..6],[0..9],[0..9],[1..10])
M P O V A
Axis
Offset
Zero Offset Table
Process
NC-memory
Name Symbol Range Meaning
NC memory M 1 / 2 1: NC memory A or
2: NC memory B
If the parameter is not declared, the active NC memory is ad-
dressed.
Process P 0..6 If a process number is undeclared, the current process where
OTD is programmed is addressed.
Zero Offset Table O 0..9 If the parameter is not declared, the active zero offset table is
addressed.
Offset V 0..9 0 = active offset (total)
1 = value of G50/G51 offset
2 = value of G52 offset
3 = general offset
4 = G55 value
5 = G55 value
6 = G56 value
7 = G57 value
8 = G58 value
9 = G59 value
If the value is undeclared, the active offset (0) is addressed.
Axis A 1..10 1 = value of the X axis
2 = value of the Y axis
3 = value of the Z axis
4 = value of the U axis
5 = value of the V axis
6 = value of the W axis
7 = value of the A axis
8 = value of the B axis
9 = value of the C axis
10 = value of angle of rotation
The axis parameter must be declared.
The axis letter refers to the axis designation.
Syntax