Program Example; Outline Of From/To Commands - Mitsubishi Electric FX2N-10PG User Manual

Pulse output block
Hide thumbs Also See for FX2N-10PG:
Table of Contents

Advertisement

Model FX2N-10PG Pulse Output Block
9.

Program example

9.1

Outline of FROM/TO commands

FX
-10PG reads and writes the travel, operation speed and operation pattern with FROM/TO
2N
commands of PLC.
FROM/TO commands are outlined as follows.
FNC78
FROM
D
P
BFM reading
FNC79
TO
D
P
BFM writing
• When X010 and X011 are OFF, the transfer is not executed and the data of the transfer
destination does not vary. For details, refer to the FX Series programming manual ΙΙ.
• FX
/FX
3U
3UC
For the details, refer to the FX
Basic & Applied instruction Edition.
Note:
If a FROM/TO error occurs during positioning, positioning may not stop correctly.
Always have safety circuits outside of the PLC and FX
safe system operation.
X010
FROM
Read
command
m1
:
Special unit or block No. (K0 to K7 numbered from the unit nearest to the basic unit)
m2
:
Head instructed number (m2=K0 to K31) of buffer memory
D •
:
It is the head element No. of the transfer destination, and can be designated T, C, D,
KnM, KnY, Kns, V and Z. It can be provided with the modifier of the element No..
n
:
Number of transfer points (n=K1 to K32, but n=K1 to K16 for 32-bit command)
X011
TO
Write
command
m1,m2,n : Same as above
S •
:
It is the head element No. of the transfer destination, and can be designated T, C, D,
KnX, KnM, KnY, Kns, V, Z, K and H. It can be provided with the modifier of the
element No. by the index.
Series PLC can use direct specification of buffer memory.
3S
m1
m2
D •
K2
K26
D120
m1
m2
S •
P
K2
K0
D0
/FX
/FX
/FX
/FX
3G
3GC
3U
2N
Program example 9
n
BFM#26 to #27 of special unit No. 2
K2
→ D120 through D121
n
D0 through D15 → BFM#0 to #15
K16
of Special unit No.2
Series Programming Manual -
3UC
-10PG pulse output block to ensure
9-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx series

Table of Contents