Okuma OSP-P200L Programming Manual page 308

Hide thumbs Also See for OSP-P200L:
Table of Contents

Advertisement

The concept is illustrated in the figure below.
Common
GET
variable
System
variable
Local
variable
PUT
Input/output
variable
Programming
[Program examples]
Example 1. Program using READ/WRITE statements and GET/PUT statements
N1
READ
0⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Data is read from CN0:.
N2
GET
,
10⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Message (a) (10 letters) is skipped.
N3
GET
V 1, 1⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅11th letter is read into V1.
N4
lF [V1 EQ 0] N11
N5
GET
,
9⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Message (b) (9 letters) is skipped.
N6
GET
V2 ,2⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅21st and 22nd letters are read into V2.
N7
GET
,
4⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Message (c) (4 letters) is skipped.
N8
GET
VTOFX [V2], 5⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅27th to 31st letters are read into tool offset data.
N9
GET
4⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Message (d) (4 letters) is skipped.
N10
GET
VTOFZ [V2]⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅36th to 40th letters are read into tool offset data.
N11
READ
Read area
WRITE
Write area
SECTION 12 USER TASK
External
device,
CN0
Puncher,
Printer,
etc.
CN1
CN4
RS232C
interface
5238-E P-295
LE33013R0301400380003
LE33013R0301400380004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Osp-p20l-rOsp-p20lOsp-p200l-r

Table of Contents