FX Series Positioning Controllers
Parameters 4
4-26
Example of a program in which output of m code to the outside is used
The program below shows an example of control in which auxiliary unit control commands are
transferred to the PLC by I/O signals while using the FX
2N
-20GM and a general PLC. In this
program, the FX
0N
-60MR is used as the general PLC.
(While the positioning unit is connected to the FX
2N
/
2NC
Series PLC, m codes can be trans-
ferred via communication with the buffer memory.)
Description of operations
1) When a program including the m code is executed in the FX
2N-
20GM, the m code output
(Y10 to Y17) as 2-digit BCD and the m code ON signal (Y07) are turned ON.
2) The programmable controller coverts them into binary and decodes them, then drives the
specified auxiliary equipment control output in accordance with the decoded output.
3) In this example, when the m code "m** (** = 00 to 99)" is executed in the FX
2N
-20GM, the
auxiliary relay M** (** = 00 to 99 equivalent to the m code) in the programmable controller is
turned ON.
4) The programmable controller confirms the operation of the auxiliary equipment, then drives
the m code OFF command output (Y00).
5) When receiving the m code OFF command input (X07), the FX
2N
-20GM turns OFF the m
code ON signal (Y07) and processes the next instruction.
Set the parameters as follows.
PARA. 36: "1"External output of the m code is valid.
PARA. 37: "7"The head No. of the destination for m code output is set to "Y07".
PARA. 38: "7"The m code OFF command input No. is set to "X07".
I/O connection
X20 to X27 X30 to
X17
FX
2N
-20GM
X07
Y10 to Y27
FX
2NC
-
16EYT
Y07
FX
0N
-60MR
Y10 to
Y00
m code ON signal
m code OFF
command
Auxiliary equipment
control output
Auxiliary equipment operation
completion signal
2-digit BDC signal
Summary of Contents for FX2N-10GM
Page 1: ...HARDWARE PROGRAMMING MANUAL FX2N 10GM FX2N 20GM ...
Page 4: ...FX Series Positioning Controllers ii ...
Page 6: ...FX Series Positioning Controllers iv ...
Page 46: ...FX Series Positioning Controllers Introduction 1 1 34 MEMO ...
Page 76: ...FX Series Positioning Controllers Wiring 3 3 24 MEMO ...
Page 222: ...FX Series Positioning Controllers Operation Maintenance and Inspection 8 8 18 MEMO ...
Page 256: ...FX Series Positioning Controllers Program Examples 9 9 34 MEMO ...