Omron trajexia CJ1W-MCH72 Operation Manual page 230

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-190 PROC
4-2-191 PROC_STATUS
Example
params:
PRINT "DISTANCE = ";mpos[ 0 ];" SPEED = ";v[ 2 ];
DISTANCE = 123 SPEED = 12.34
Example
PRINT "ITEM ";total" OF ";limit;CHR(13);
Example
>> PRINT HEX(15),HEX(-2)
F FFFFA
See also
$ (HEXADECIMAL INPUT)
/i
Type
Task command
Syntax
PROC(task_number)
Description
The PROC modifier allows a process parameter from a particular proc-
ess 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
/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 values listed in the table below.
/i
Value
0
1
2
3
/i
Arguments
N/A
Example
WAIT UNTIL PROC_STATUS PROC(3)=0
See also
PROCNUMBER, PROC.
Description
Process stopped
Process running
Process stepping
Process paused
Section 4-2
219

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents