9
-
46
CHAPTER9 DEVICES
9
9.3 Int
ernal System Devices
9.3.1 F
unction
devices (
F
X, F
Y
, FD)
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.
MELSEC-Q/L Programming Manual (Common Instruction)
Figure 9.50 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.