User Task - Okuma OSP-P200L Programming Manual

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

Advertisement

4.

User Task 2

User Task 2 allows the use of more functions than are provided by User Task 1, including I/O
variables, boolean operations, function operations, and control statements such as the CALL
statement, MODIN/MODOUT statements, and PUT/GET statements.
4-1.
Control Functions 2
The control statements available under User Task 2 - CALL statement, RTS statement, MODIN
statement, MODOUT statement, READ/WRITE statement and GET/PUT statement - are described
in this section.
Note that a space or tab code must always be inserted after a control statement.
4-1-1. CALL Statement - Calling Program
[Program format]
N0
CALL
Designates a CALL statement
Sequence name of this block (can be omitted)
[Function]
The subprogram designated by <O1> is called and executed. When variables are set in the variable
setting section, all of them are registered.
Example:
N1000
CALL
With the designated commands above, the subprogram O1234 is called and executed. At the same
time, variables XP1 and ZP1 are registered.
O1
Program name of the subprogram to be called. Mandatory.
O1234 XP1 = 150 ZP1 = 100
Q1
<Variable setting section>
Set the variables to be used in the called subprogram.
Indicates the number of repetitions of the subprogram to be called
(1 to 9999 following address character Q)
5238-E P-287
SECTION 12 USER TASK
LE33013R0301400300001
LE33013R0301400300002

Advertisement

Table of Contents
loading

This manual is also suitable for:

Osp-p20l-rOsp-p20lOsp-p200l-r

Table of Contents