Common Pointer - Mitsubishi Electric melsec q00ujcpu User Manual

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

9.10.2 Common pointer

(1) Definition
The common pointer is used to call subroutine programs from all programs that are being executed.
(2) Common pointer range
In the PLC system tab of the PLC parameter dialog box, set the start number for the common pointer.
The common pointer range is from the specified pointer number to P4095.
However, the pointer number that can be entered here is a number higher than the total points used for the local
pointer.
If a total of 400 points are used in three programs (100 points in each of Program A and Program B, and 200
points in Program C), for example, P400 and higher numbers can be set for the common pointer.
9 - 74
Program A
CALL P204
FEND
Program B
CALL P205
FEND
Figure 9.87 Calling pointers in another program (common pointer)
Figure 9.88 Dialog box for setting the common pointer
Program C
P204
CALL P0
P205
Label
Set the start
number of the
common
pointer.
RET
RET
END

Advertisement

Table of Contents
loading

Table of Contents