6.ADDRESS ASSIGNMENT TO POINTS OPERATION B-82604EN/01
- 40 -
10 Execution status 16-bit signed integer
End 0
Pause 1
Running 2
11-18 Calling program name Up to 16 characters
Name of a program started first
When no subprogram is called, the same name as the program name is
set.
When the program has already terminated, all elements are set to 0.
You can read just a part of elements by specifying @.
For example, set $SNPX_ASG as follows:
$ADDRESS $SIZE $VAR_NAME $MULTIPLY
$SNPX_ASG[1] 1 4 PRG[1]@9.2 1
Then, the %R-to-program-execution-status correspondence is as
follows:
PLC address Robot controller data that can be read and written
%R1 Line number of task 1
%R2 Execution status of task 1
%R3 Line number of task 2
%R4 Execution status of task 2