Omron TJ2-MC64 - PROGRAMMING Programming Manual page 169

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

BASIC commands
Description
The PROC modifier allows a process parameter from a particular process to
be read or written. If omitted, the current task will be assumed.
Arguments
task_number
The number of the task to access.
Example
WAIT UNTIL PMOVE PROC(3)=0
See also
N/A
3.2.230 PROC_STATUS
/i
Type
Task parameter
Syntax
PROC_STATUS
Description
The PROC_STATUS parameter returns the status of the process or task
specified. The parameter is used with the PROC modifier and can return val-
ues listed in the table below.
/i
Value
Description
0
Process stopped
1
Process running
2
Process stepping
3
Process paused
/i
Arguments
N/A
Example
WAIT UNTIL PROC_STATUS PROC(3)=0
See also
PROCNUMBER, PROC.
3.2.231 PROCESS
/i
Type
Program command
PROGRAMMING MANUAL
Syntax
PROCESS
Description
The PROCESS command displays the running status of all current tasks with
their task number.
Arguments
N/A
Example
No example.
See also
HALT, RUN, STOP.
3.2.232 PROCNUMBER
/i
Type
Task parameter (read-only)
Syntax
PROCNUMBER
Description
The PROCNUMBER parameter contains the number of the task in which the
currently selected program is running. PROCNUMBER is often required
when multiple copies of a program are running on different tasks.
Arguments
N/A
Example
MOVE(length) AXIS(PROCNUMBER)
See also
PROC_STATUS, PROC.
3.2.233 PROFIBUS
/i
Type
System command
Syntax
PROFIBUS(unit_number, 2,1,VR_start_outputs,no_outputs,
VR_start_inputs,no_inputs)
PROFIBUS(unit_number,4,0)
Description
PROFIBUS function 2 configures the TJ1-PRT for data exchange with the
PROFIBUS-DP master unit and defines areas in the VR memory where I/O
exchange takes place. PROFIBUS function 4 returns the data exchange sta-
tus of the TJ1-PRT. Refer to the table below for the description of the bits in
the data exchange status word.
/i
163

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents