EasyManua.ls Logo

Mitsubishi Electric R64MTCPU - Add-On Dedicated Function; Call Add-On Module: MCFUN

Mitsubishi Electric R64MTCPU
354 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4 OPERATION CONTROL PROGRAMS
4.18 Add-on Dedicated Function
259
4
4.18 Add-on Dedicated Function
Call add-on module: MCFUN
Setting data
Usable data
: Usable
*1 Specify the start device which stores the character string data. The character string can be specified directly.
Description, data type of result
Processing details
Add-on module specified with (S1) is called, the input value is delivered by the device specified with (S2), and the output
value is received by the device specified with (D1). When the execution of an add-on module is completed, the execution
complete flag specified with (D2) turns ON.
Reset the execution complete flag with the user program.
Refer to the instruction manual of the add-on library to be installed for the add-on module name specified with (S1). In (S1),
write directly the add-on module name as a 31 one-byte character or less character string enclosed with double quotations,
or set the head of a device in which a 31 one-byte character or less character string is stored.
Specify the device No. with (S2) and (D1) to an even number.
(S2), (D1), and (D2) can be omitted. Description examples for omitting are given below.
Format Number of basic steps Usable steps
F/FS G
MCFUN(S1), (S2), (D1), (D2) 11 or more 
Setting
data
Usable Data
Bit
device
Word device Constant Calculation
expression
Bit
conditional
expression
Comparison
conditional
expression
16-bit
integer
type
32-bit
integer
type (L)
64-bit
floating
point
type (F)
16-bit
integer
type
(K/H)
32-bit
integer
type
(K/H, L)
64-bit
floating
point
type (K)
(S1) 
*1

(S2) 
(D1) 
(D2) 
Setting data Description Data type of result
(S1) Add-on module name
(S2) Start device which stores the add-on module input value
(D1) Start device which stores the add-on module output value
(D2) Add-on module execution complete flag
Details Description example
Not omitting MCFUN "AddonFunc1",D5000,D5100,M0
Omitting (D2) only MCFUN "AddonFunc1",D5000,D5100,
Omitting (S2) and (D1) MCFUN "AddonFunc1",,,M0
Omitting (S2), (D1), and (D2) MCFUN "AddonFunc1",,,

Table of Contents

Other manuals for Mitsubishi Electric R64MTCPU

Related product manuals