Mitsubishi MELSEC Q Series Programming Manual page 492

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

FCALL(P)
(4) When function devices (FX, FY, FD) are used by a subroutine program, specify a device with
to
S1
to
S5
(a) Prior to execution of the subroutine program, bit data is transmitted to FX, and word
data is transmitted to FD.
(b) After the execution of the subroutine program, the contents of FY and FD are
transmitted to the corresponding devices.
(c) The processing units for the function devices are as follows:
The size of the data to be dealt with will differ depending on the device specified in the
argument. The device specified as a function device should be secured for the data
size. An error will occur if it cannot be secured for the data size.
Function devices
• FX
• FY
• FD
*1: An error will not occur if the device number specified by
designation of the bit device.
[Main routine program]
(5) The FCALL (P) instruction can use from
7-118
corresponding to the function device. The contents to the devices specified by
S5
are as indicated below.
• FX, FY: Bits
• FD
: 4-word units
Device
Bit device
When Bit Designation has been Made for Word
Device
When digit designation of a bit device is used*1
Word device
X0
FCALL
P0
Data Size
1 point
4 words
4 words
to
is not a multiple of 16 at the digit
S1
S5
M0
D0
D30
Occupies from D30 to D33 (Transfer to FD2).
Occupies from D0 to D3 (Transfer to FD1).
Occupies M0 (Transfer to FX0).
to
.
S1
S5
Remark
––––
1 bit
The upper 2 words of
FD become 0
––––
S1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents