![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454230.webp)
All BASIC commands
Section 4-2
219
4-2-190 PROC
/i
4-2-191 PROC_STATUS
/i
/i
/i
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)
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
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.
Value
Description
0
Process stopped
1
Process running
2
Process stepping
3
Process paused
Arguments
N/A
Example
WAIT UNTIL PROC_STATUS PROC(3)=0
See also
PROCNUMBER
,
PROC
.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...