EasyManua.ls Logo

Okuma OSP-P20L - Page 309

Okuma OSP-P20L
364 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5238-E P-296
SECTION 12 USER TASK
Transmission data
LE33013R0301400380005
The result of the preceding program:
LE33013R0301400380006
Example 2. Output program (assuming printer is connected to CN0):
LE33013R0301400380007
The following will be printed when the program above is executed.
LE33013R0301400380008
A Compensation Yes/No = 1 Offset No. = 3 OX = 0.02 OZ = -0.31
1 5 10 15 20 25 30 40
(a) (b) (c) (d)
V1 = 1
V2 = 3
VTOFX [3] = 0.02
VTOFZ [3] = -0.31
N100 PUT ,4⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅4 spaces
N101 PUT ' ∗∗ '
N102 PUT ' TOOL OFFSET DATA'⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Header
N103 PUT ' ∗∗ '
N104 PUT $0D0A⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Carriage return code
N105 PUT ' N='
N106 PUT V1, 2⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Tool offset number
N107 PUT ' X='
N108 PUT VTOFX[V1], 8⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Tool offset value
N109 PUT ' Z='
N110 PUT VTOFX[V1], 8
N111 PUT $0D0A⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Carriage return code
N112 WRITE 0
∗ ∗ ∗ ∗TOOL OFFSET DATA
N = 3 X = 5.412 Z = 14.339

Table of Contents

Related product manuals