CHAPTER9 DEVICES
9
2
3
4
5
6
7
8
9.3 Internal System Devices
9.3.1 Function devices (FX, FY, FD)
9 - 37
In subroutine programs with argument passing, do not use any devices that are used by the function register.
If this occurs, function register values will not be normally passed to the calling program.
Remark
For use of function devices, refer to the following.
QCPU Programming Manual (Common Instructions)
Figure 9.48 Ladder example in which use of devices is not allowed in a subroutine program with argument passing
CALLP P0 D0
D
*
R0 R10 FD0
P0
MOV K0 D3
Since D0 to D3 are used for FD0,
D3 cannot be used in the
subroutine program.