EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 397

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.8 External FX I/O Device
395
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
Cautions
1) Bit device digits to be specified by should be K1 to K4 in the case of 16-bit operation instruction, and
K1 to K8 in the case of 32-bit operation.
2) When handling 32-bit data in structured program, unlike the simple project, you cannot specify the 16-bit
device directly. Use the label when handling 32-bit data.
However, the 32-bit counter is a 32-bit long device, and can be specified directly.
Use the global label when specifying the device.
3) FX
U PLC supports the instruction in V2.10 or later.
4) FX
0N PLC does not support the instruction of pulse operation type.
To execute pulse operation, make the instruction execution condition pulse type.
5) Object devices are limited.
S1: FX
3U, FX3UC, FX3G PLCs only are applicable.
Program example
By using direct specification
*1
of FROM instruction or buffer memory, you can transfer (read out) the content
of buffer memory (BFM) of special extension unit/block to the digit specification of data register (D), extension
register (R), or auxiliary relay (M).
*1. FX
3U, FX3UC PLCs only are available.
Example) Program for reading out BFM#4 (abnormal station information) of CC-Link/LT master (unit No. 0
fixed) built in FX
3UC-32MT-LT(-2) to D0.
- In the case of FROM instruction
- In the case of MOV instruction
Program for reading out BFM#0 to #3 (remote station connection information) of CC-Link/LT master
(unit No. 0 fixed) built in FX
3UC-32MT-LT(-2) to D10 to D13.
- In the case of FROM instruction
X001
FROM
EN
n1
n2
ENO
d
n3
Transfer
destination
D0
[Structured ladder] [ST]
FROM(X001, K0, K4, K1, D0);
BFM #4
Unit No. 0
K0
K4
Number of transfer points
K1
M8000
Transfer
destination
D0
MOV
EN
s
ENO
d
Unit No. 0
BFM #4
U0¥G4
[Structured ladder]
[ST]
MOV(M8000, U0¥G4, D0);
[ST]
FROMP(M0, K0, K0, K4, D10);
BFM #0
M0
Unit No. 0
Transfer
destination
K0
K0
D10
FROMP
EN
n1
n2
ENO
d
n3
[Structured ladder]
Number of transfer points
K4

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals