EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - 7.10.9 MCDE

Mitsubishi Electric MELSEC FX Series
838 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...
7 Applied Instructions
7.10 External Device
443
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
7.10.9 MCDE
Outline
This instruction sends the M code numbers M0 to M77 to the PLC from the F2-30GM type pulse output unit.
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
•From F2-30GM type pulse output unit, M code number M0 to M77 is
sent out to the PLC.
The content of the device specified by , is determined by the
connection position of FX
2-24EI type special block.
When M code output instruction is executed at the F
2-30GM side, input
X is operated according to the value 0 to 77 (octal), and the result is
stored in M500 to M577 in octal notation.
For example, in the case of M code 23, M523 is turned ON.
For the ease of understanding of correspondence of M code number between the PLC side and the F
2-
30GM side, it is recommended to set 00 in the lower two digits of device M, S specified by .
In the FX-1GM type pulse output unit, FROM instruction is used instead of MCDE instruction.
Cautions
FXU, FX2C PLCs do not support the instruction at V3.30 or later.
This instruction is disused from V3.30 and later.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
MCDE 16 bits Continuous MCDE(EN, s, d1, d2);
MCDEP 16 bits Pulse MCDEP(EN, s, d1, d2);2
Variable Description Data type
Input
variable
EN Execution condition Bit
Head input number of FX2-24EI connected to F2-30GM Bit
Output
variable
ENO Execution state Bit
Head output number of FX2-24EI connected to F2-30GM Bit
Bit device for issuing M code number (78 points occupied) Bit
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Con
stant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
"
"
P
z
z
zz z
MCDE
EN
s
ENO
d1
d2
MCDEP
EN
s
ENO
d1
d2
X000
FX
2
-30GMFX
U,
FX
2C
M code number M0 to 77 (octal)
Y030
MCDE
EN
s
ENO
d1
d2
X040
M500

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals