Mitsubishi Q00JCPU User Manual page 666

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

10
DEVICE EXPLANATION
Figure 10.46 Ladder example where the devices are unusable in the sub-routine program that contains arguments.
Remark
10
- 51
10.3 Internal System Devices
10.3.1 Function devices (FX, FY, FD)
POINT
Valid devices cannot be used in a subroutine program that contains arguments. If
devices assigned for function registers are used, values of the function registers
will not correctly be returned to a calling program.
CALLP P0 D0
Refer to the following manual for how to use the function devices.
QCPU (Q Mode)/QnACPU Programming Manual (Common Instructions)
P0
Since the points (D0 to 3) are used
for FD0, D3 can not be used for the
subroutine program.
D R0 R10 FD0
MOV K0 D3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents