Mitsubishi FX2N-10GM Hardware / Programming Manual page 248

Melsec-f
Hide thumbs Also See for FX2N-10GM:
Table of Contents

Advertisement

FX Series Positioning Controllers
6) Program in FX
External signal
• Connect a 6-digit digital switch to X000 to X007 and Y000 to Y003. (For a connection
example, refer to the attached connection diagram.)
• X010: START PB
• X011: STOP PB
X10
START PB
M100
M8029
Completion
signal
X11
STOP PB
M 1
M8000
Series PLC
2N
SET
M100
FNC 72
X 0
Y 0
DSW
RST
M100
FNC 22
D 1
K10000
MUL[P]
RST
FNC 20
D 0
D 3
[D]ADD[P]
M 1
M 2
FNC 79
K 0 K100 D 5
[D]TO[P]
FNC 79
K 0
K 20 K2M0 K 1
TO
END
Digital switch read: X000 to X007
D 0
K 2
Changeover output: Y000 to Y003
Data register: D1 and D0
D1 x 10,000 = D4, D3
D 3
Clears D1.
D 1
D1, D0 + D4, D3 = D6, D5
D 5
Start command
Stop command
Transfers the movement quantity from "D6 and
K 1
D5" to "BFM #101 and D100 (#101 and #100)".
Transfers "M7 to M0" to "BFM #20 (M9007 to
M9000)".
M1: M9001
M2: M9002
Program Examples 9
Start command
Stop command
9-26

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents