FX2N-10PG 使用手冊 英文

Download as pdf or txt
Download as pdf or txt
You are on page 1of 112

USER’S MANUAL

FX2N-10PG
Model FX2N-10PG Pulse Output Block

Foreword

• This manual contains text, diagrams and explanations which will guide the reader in the
correct installation and operation of the FX2N-10PG Pulse Output Block. It should be read
and understood before attempting to install or use the unit.

• Further information can be found in the FX2N Series HARDWARE MANUAL, FX2NC Series
HARDWARE MANUAL and THE FX SERIES OF PROGRAMMABLE CONTROLLER
PROGRAMMING MANUAL ΙΙ.

• If in doubt at any stage of the installation of FX2N-10PG Pulse Output Block always consult
a professional electrical engineer who is qualified and trained to the local and national
standards which apply to the installation site.

• If in doubt about the operation or use of FX2N-10PG Pulse Output Block please consult the
nearest Mitsubishi Electric distributor.

• This manual is subject to change without notice.


Model FX2N-10PG Pulse Output Block

Model FX2N-10PG Pulse Output Block

USER’S MANUAL

Manual number : JY992D93401


Manual revision : G
Date : July 2010

This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial
property rights which may occur as a result of using the contents noted in this manual.

i
Model FX2N-10PG Pulse Output Block

ii
Model FX2N-10PG Pulse Output Block

Guidelines for the Safety of the User and Protection of the FX2N-10PG Pulse
Output Block
This manual provides information for the use of the FX 2N-10PG Pulse Output Block. The
manual has been written to be used by trained and competent personnel. The definition of
such a person or persons is as follows;
a) Any engineer who is responsible for the planning, design and construction of automatic
equipment using the product associated with this manual should be of a competent
nature, trained and qualified to the local and national standards required to fulfill that
role. These engineers should be fully aware of all aspects of safety with regards to
automated equipment.
b) Any commissioning or service engineer must be of a competent nature, trained and
qualified to the local and national standards required to fulfill that job. These engineers
should also be trained in the use and maintenance of the completed product. This
includes being completely familiar with all associated documentation for the said product.
All maintenance should be carried out in accordance with established safety practices.
c) All operators of the completed equipment (see Note) should be trained to use this
product in a safe manner in compliance to established safety practices. The operators
should also be familiar with documentation which is associated with the operation of the
completed equipment.
Note : The term ‘completed equipment’ refers to a third party constructed device which
contains or uses the product associated with this manual.
Notes on the Symbols Used in this Manual
At various times throughout this manual certain symbols will be used to highlight points of
information which are intended to ensure the users personal safety and protect the integrity of
equipment. Whenever any of the following symbols are encountered its associated note must
be read and understood. Each of the symbols used will now be listed with a brief description of
its meaning.
Hardware Warnings

1) Indicates that the identified danger WILL cause physical and property damage.

2) Indicates that the identified danger could POSSIBLY cause physical and property
damage.

3) Indicates a point of further interest or further explanation.

Software Warnings

4) Indicates special care must be taken when using this element of software.

5) Indicates a special point which the user of the associate software element should
be aware of.

6) Indicates a point of interest or further explanation.

iii
Model FX2N-10PG Pulse Output Block

• Under no circumstances will Mitsubishi Electric be liable or responsible for any


consequential damage that may arise as a result of the installation or use of this equipment.

• All examples and diagrams shown in this manual are intended only as an aid to
understanding the text, not to guarantee operation. Mitsubishi Electric will accept no
responsibility for actual use of the product based on these illustrative examples.

• Please contact a Mitsubishi Electric distributor for more information concerning applications
in life critical situations or high reliability.

Trademark registration

The company names and product names described in this manual are the registered names
and trademarks of the relevant companies.

iv
Model FX2N-10PG Pulse Output Block

Associated Manuals

This manual describes the handling and operation of MELSEC-FX Series FX2N-10PG Pulse
Output Block. For the configuration and commands of the system, also refer to the manuals of
the following PLC. Before operation, read this manual and the manuals of the PLC thoroughly
and be sure you sufficiently understand their specifications for proper operation.
Also, be sure that the manual is provided to the end user.
Manual name Manual No. Description
FX2N-10PG
This manual explains the specifications, wiring, installation,
USER'S MANUAL JY992D93401
etc. of the FX2N-10PG Series PLC.
(this manual)
FX2N-10PG
This manual explains the specifications, installation, etc. of
Installation Manual JY992D91901
the FX2N-10PG Pulse Output Block.
(in same package)
FX2N
This manual explains the specifications, wiring, installation,
HARDWARE MANUAL JY992D66301
etc. of the FX2N Series PLC Hardware.
(in same package)
FX3U Series User's
This manual explains the specifications, wiring, installation,
Manual - Hardware JY997D16501
etc. of the FX3U Series PLC Hardware.
Edition
FX2Nc (D/UL)
This manual explains the specifications, wiring, installation,
HARDWARE MANUAL JY992D87201
etc. of the FX2NC (D/UL) Series PLC Hardware.
(in same package)
FX2Nc (DSS/DS)
This manual explains the specifications, wiring, installation,
HARDWARE MANUAL JY992D76401
etc. of the FX2NC (DSS/DS) Series PLC Hardware.
(in same package)
FX3UC Series User's
This manual explains the specifications, wiring, installation,
Manual - Hardware JY997D28701
etc. of the FX3UC Series PLC Hardware.
Edition
THE FX SERIES OF
PROGRAMMABLE
This manual explains the instructions for the FX2N and FX2NC
CONTROLLER JY992D88101
Series PLCs.
PROGRAMMING
MANUAL ΙΙ
FX3U/FX3UC Series
Programming Manual - This manual explains the instructions for the FX3U/FX3UC
JY997D16601
Basic & Applied Series PLCs.
Instruction Edition

Of the manuals listed above, the Programming Manual, FX3U Series User's Manual - Hardware
Edition and FX3UC Series User's Manual - Hardware Edition are not packed with the product.
If necessary, contact your dealer to request the desired manual.
FX2N-10PG Installation Manual, FX2N Hardware Manual, FX2NC (DSS/DS) Hardware Manual
and FX2NC (D/UL) Hardware Manual are packed with each product.

v
Model FX2N-10PG Pulse Output Block

vi
Model FX2N-10PG Pulse Output Block Contents

1. Introduction .........................................................................................1-1
1.1 Product outline ................................................................................................. 1-1
2. Outside dimensions and component names .......................................2-1
2.1 Outside dimensions ......................................................................................... 2-1
2.2 LED display...................................................................................................... 2-2
2.3 Pin layout and assignment............................................................................... 2-3
2.3.1 Applicable connector and cable size ................................................................... 2-4
3. Installation ...........................................................................................3-1
3.1 DIN rail installation ........................................................................................... 3-1
3.2 Direct installation.............................................................................................. 3-1
4. System configuration...........................................................................4-1
4.1 Connection with PLC ....................................................................................... 4-1
4.2 Applicable PLC ................................................................................................ 4-2
5. Specifications ......................................................................................5-1
5.1 General specifications...................................................................................... 5-1
5.2 Power supply specifications............................................................................. 5-1
5.3 Performance specifications.............................................................................. 5-1
5.4 Input specifications .......................................................................................... 5-2
5.5 Output specifications........................................................................................ 5-2
6. Wiring ..................................................................................................6-1
6.1 Input output circuit............................................................................................ 6-1
6.2 Input wiring....................................................................................................... 6-4
6.2.1 START, DOG, X0, X1, S/S.................................................................................. 6-4
6.2.2 A-phase +, A-phase -, B-phase +, B-phase - ...................................................... 6-5
6.2.3 PG0+, PG0-......................................................................................................... 6-6
6.3 Output wiring.................................................................................................... 6-7
6.3.1 VIN+, VIN-, FP+, FP-, RP+, RP- ......................................................................... 6-7
6.3.2 CLR+, CLR-......................................................................................................... 6-8
6.4 Connection with stepping motor....................................................................... 6-9
6.5 Connection with Model MR-C Servo Motor.................................................... 6-10
6.6 Connection with Model MR-J Servo Motor .................................................... 6-11
6.7 Connection with Model MR-J2 (-Jr, -Super) Servo Motor .............................. 6-12
6.8 Connection with Model MR-H Servo Motor.................................................... 6-13
6.9 Connection with Model MR-J3 Servo Motor .................................................. 6-14
7. Buffer memory (BFM)..........................................................................7-1
7.1 BFM list ............................................................................................................ 7-1
7.2 Details of BFM ................................................................................................. 7-5
7.2.1 BFM#1, #0 Maximum speed .............................................................................. 7-5
7.2.2 BFM#2 Bias speed ............................................................................................. 7-5
7.2.3 BFM#4, #3 Jog speed ........................................................................................ 7-5
7.2.4 BFM#6, #5 Zero return speed (high speed) ....................................................... 7-5
7.2.5 BFM#7 Zero return speed (creep)....................................................................... 7-5
7.2.6 BFM#8 Zero-point signal number........................................................................ 7-5
7.2.7 BFM#10, #9 Zero-point address........................................................................ 7-6
7.2.8 BFM#11 Acceleration time ................................................................................. 7-6
7.2.9 BFM#12 Deceleration time................................................................................. 7-6
7.2.10 BFM#14, #13 Target address I........................................................................... 7-6
7.2.11 BFM#16, #15 Operation speed I ........................................................................ 7-6
7.2.12 BFM#18, #17 Target address II......................................................................... 7-7
7.2.13 BFM#20, #19 Operation speed II ..................................................................... 7-7
7.2.14 BFM#21 Override setting ................................................................................... 7-7
7.2.15 BFM#23, #22 Operation speed current value .................................................... 7-7

vii
Model FX2N-10PG Pulse Output Block Contents

7.2.16 BFM#25, #24 Current address ........................................................................... 7-8


7.2.17 BFM#26 Operation commands .......................................................................... 7-8
7.2.18 BFM#27 Operation pattern............................................................................... 7-11
7.2.19 BFM#28 Status information.............................................................................. 7-12
7.2.20 BFM#29 m code .............................................................................................. 7-12
7.2.21 BFM#30 Machine model code.......................................................................... 7-12
7.2.22 BFM#33, #32 pulse rate ................................................................................... 7-13
7.2.23 BFM#35, #34 Feed rate ................................................................................... 7-13
7.2.24 BFM#36 Parameters ........................................................................................ 7-13
7.2.25 BFM#37 Error code .......................................................................................... 7-18
7.2.26 BFM#38 Terminal information .......................................................................... 7-18
7.2.27 BFM#40, #39 Current address (Pulse converted value) ................................. 7-18
7.2.28 BFM#42, #41 Manual pulse generator input current value .............................. 7-18
7.2.29 BFM#44, #43 Manual pulse generator input frequency ................................... 7-19
7.2.30 BFM#45 Manual pulse generator input electronic gearing (numerator) ........... 7-19
7.2.31 BFM#46 Manual pulse generator input electronic gearing (denominator) ....... 7-19
7.2.32 BFM#47 Input response of manual pulse generator ........................................ 7-19
7.2.33 BFM#50 JOG operation WAIT period setting mode (in Version 1.70 or later) .. 7-19
7.2.34 BFM#51 JOG operation WAIT period (in Version 1.70 or later)........................ 7-19
7.2.35 BFM#64 Version information............................................................................ 7-20
7.2.36 BFM#98 Table start No. ................................................................................... 7-20
7.2.37 BFM#99 Executing table No............................................................................. 7-20
7.2.38 BFM#100 and later BFM for program with table system ................................. 7-20
8. Operation pattern ................................................................................8-1
8.1 General items for positioning operation ........................................................... 8-1
8.1.1 Outline of positioning operation........................................................................... 8-1
8.1.2 STOP command process .................................................................................... 8-2
8.1.3 Overlapped command of operation modes ......................................................... 8-3
8.1.4 Small travel.......................................................................................................... 8-3
8.1.5 Forward/reverse limits ......................................................................................... 8-5
8.1.6 Cautions for use of mechanical system/compound system units........................ 8-6
8.2 Jog operation ................................................................................................... 8-7
8.2.1 Outline of jog operation ....................................................................................... 8-7
8.2.2 Speed change during jog operation .................................................................... 8-8
8.3 Machine zero return ......................................................................................... 8-9
8.3.1 Outline of zero return........................................................................................... 8-9
8.3.2 Zero return direction ............................................................................................ 8-9
8.3.3 Polarity of dog input............................................................................................. 8-9
8.3.4 Count start timing ................................................................................................ 8-9
8.3.5 Zero return speed.............................................................................................. 8-10
8.3.6 Zero return completed flag ................................................................................ 8-10
8.3.7 Change of zero return speed............................................................................. 8-10
8.3.8 Data set type zero return................................................................................... 8-10
8.3.9 Dog search function .......................................................................................... 8-11
8.3.10 Forced ON/OFF of CLR signal .......................................................................... 8-11
8.4 1st-speed positioning operation ..................................................................... 8-12
8.4.1 Outline of 1st-speed positioning operation ........................................................ 8-12
8.4.2 Operation speed................................................................................................ 8-12
8.4.3 Address instruction............................................................................................ 8-12
8.4.4 Rotation direction .............................................................................................. 8-12
8.4.5 Positioning complete flag .................................................................................. 8-13
8.4.6 STOP command................................................................................................ 8-13

viii
Model FX2N-10PG Pulse Output Block Contents

8.5 Interrupt 1st-speed positioning operation....................................................... 8-14


8.5.1 Outline of interrupt 1st-speed positioning operation.......................................... 8-14
8.5.2 Operation speed................................................................................................ 8-14
8.5.3 Address instruction............................................................................................ 8-14
8.5.4 Rotation direction .............................................................................................. 8-14
8.5.5 Positioning complete flag .................................................................................. 8-15
8.5.6 STOP command................................................................................................ 8-15
8.6 2nd-speed positioning operation.................................................................... 8-16
8.6.1 Outline of 2nd-speed positioning operation....................................................... 8-16
8.6.2 Operation speed................................................................................................ 8-16
8.6.3 Address instruction............................................................................................ 8-16
8.6.4 Rotation direction .............................................................................................. 8-17
8.6.5 Positioning complete flag (BFM#28 b6) ............................................................ 8-17
8.6.6 STOP command................................................................................................ 8-17
8.7 Interrupt 2nd-speed positioning operation ..................................................... 8-18
8.7.1 Outline of interrupt 2nd-speed positioning operation......................................... 8-18
8.7.2 Operation speed................................................................................................ 8-18
8.7.3 Address instruction............................................................................................ 8-18
8.7.4 Rotation direction .............................................................................................. 8-19
8.7.5 Positioning complete flag (BFM#28 b6) ............................................................ 8-19
8.7.6 STOP command................................................................................................ 8-19
8.8 Interrupt stop operation.................................................................................. 8-20
8.8.1 Outline of interrupt stop operation ..................................................................... 8-20
8.8.2 Operation speed................................................................................................ 8-20
8.8.3 Address instruction............................................................................................ 8-20
8.8.4 Rotation direction .............................................................................................. 8-20
8.8.5 Positioning complete flag .................................................................................. 8-21
8.8.6 STOP command................................................................................................ 8-21
8.9 Table operation .............................................................................................. 8-22
8.9.1 Outline of table operation .................................................................................. 8-22
8.9.2 Assignment of tables and BFM Nos. ................................................................. 8-24
8.9.3 Operation example 1 (continuous operation) .................................................... 8-24
8.9.4 Operation example 2 (position-to-speed operation) .......................................... 8-25
8.9.5 Operation example 3 (step-advance operation) ................................................ 8-26
8.10 Variable-speed operation............................................................................... 8-27
8.10.1 Outline of variable-speed operation .................................................................. 8-27
8.10.2 Operation speed................................................................................................ 8-27
8.10.3 Rotation direction .............................................................................................. 8-28
8.10.4 STOP command................................................................................................ 8-28
8.11 Manual pulse generator input operation ........................................................ 8-29
8.11.1 Outline of manual pulse generator input operation ........................................... 8-29
8.11.2 Pulse output valid range.................................................................................... 8-30
8.11.3 Manual pulse generator input current value ...................................................... 8-30
8.11.4 Manual pulse generator input frequency ........................................................... 8-30
8.11.5 Manual pulse generator Electronic gearing (numerator) ................................. 8-30
8.11.6 Manual pulse generator Electronic gearing (denominator) ............................. 8-30
8.11.7 Manual pulse generator response..................................................................... 8-30
9. Program example................................................................................9-1
9.1 Outline of FROM/TO commands ..................................................................... 9-1
9.2 Length feed operation (1st-speed positioning)................................................. 9-2
9.2.1 Operation explanation ......................................................................................... 9-3
9.2.2 Device assignment (PLC).................................................................................... 9-6
9.2.3 Sequence program.............................................................................................. 9-7

ix
Model FX2N-10PG Pulse Output Block Contents

9.3 Multi-speed operation (table operation) ........................................................... 9-9


9.3.1 Operation explanation ....................................................................................... 9-10
9.3.2 Device assignment (PLC).................................................................................. 9-13
9.3.3 Sequence program............................................................................................ 9-15
10. Diagnostics........................................................................................10-1
10.1 Diagnostics LED ............................................................................................ 10-1
10.2 Diagnostics (BFM#37) .................................................................................. 10-3
10.3 Diagnostics PLC ............................................................................................ 10-4

x
Model FX2N-10PG Pulse Output Block Introduction 1

1. Introduction

1.1 Product outline


FX2N-10PG Pulse Output Block (hereafter abbreviated as FX2N-10PG, Pulse Output Block or
PGU) is a special block to output a maximum 1MHz pulse array and drive a single-axis
stepping motor or servo motor.
1) FX2N-10PG controls the positioning operation of one single-axis stepping motor or servo
motor per unit.
2) FX2N/FX2NC/FX3U/FX3UC Series PLC is connected to read and write the data with FROM/TO
commands.
3) A pulse array of max. 1MHz can be output. (Differential line driver output)

Cautions regarding design


• To make sure the entire system operates safely even when problems such as a faulty
external power supply, PLC, or FX 2N -10PG Pulse Output Block occurs, provide safety
circuits outside the PLC and FX2N-10PG Pulse Output Block.
Otherwise, improper operation or wrong output may cause an accident.
1) The emergency stop circuit, protective circuit, interlock circuit against machine breakage,
etc. must be provided as circuits outside the PLC and FX2N-10PG.
2) If the PLC or FX2N-10PG Pulse Output Block detects any problem using the self-
diagnosis function for the watchdog timer errors and input value errors, or if any trouble
occurs in the input/output control area, etc. which cannot be detected by the PLC CPU,
output control may sometimes become impossible.Be sure to design the external circuits
and mechanisms to operate the machine safely in such cases.
3) If any relay, transistor, triac, etc. in the output unit of the FX2N-10PG Pulse Output Block
or PLC malfunctions, the output may sometimes be kept on or off.
Design the external circuits and mechanisms to operate the machine safely regarding
output signals which may lead to a serious accident.

Cautions regarding disposal


• When disposing of the product, handle it as industrial waste.

1-1
Model FX2N-10PG Pulse Output Block Introduction 1

MEMO

1-2
Model FX2N-10PG Pulse Output Block Outside dimensions and component names 2

2. Outside dimensions and component names

2.1 Outside dimensions


Unit: mm (inches)

4 3 (1 .6 9 ") 8 7 (3 .4 3 ")
a ) b )
4 (0 .1 6 ")

P O W E R
E R R O R
S T A R T
D O G P G O
X 0 F P
F X 2 N -1 0 P G X 1
B A
R P
C L R
B B
9 0 (3 .5 4 ")
8 0 (3 .1 5 ")

c )

f )

d )

2 -B 4 .5 (B 0 .1 8 ") 7 4 (2 .9 1 ")
e )

External color : Munsell 0.08GY/7.64/0.81 Mass (Weight): Approx. 0.2kg (0.44lbs)


Accessories : Special block No. label

a) Extension cable
b) Direct mounting hole (2 - φ4.5/0.18”)
c) Extension port
d) Input/output port
e) DIN rail mounting hook
f) DIN rail mounting groove (DIN rail: DIN46277 35mm (1.38”) wide)

2-1
Model FX2N-10PG Pulse Output Block Outside dimensions and component names 2

2.2 LED display


LED name State Display content
5V DC is not supplied through the extension cable from the
Unlit
POWER PLC.
Lit 5V DC is supplied through the extension cable from the PLC.
Unlit Start input off
START
Lit Start input on
Unlit Normal operation
ERROR Blinking Error occurred
Lit CPU error occurred
Unlit Forward pulse or pulse array interrupted.
FP
Blinking Forward pulses or pulse array is being output.
Unlit Reverse pulse or directional output interrupted.
RP
Blinking Reverse pulses or directional output is being output.
Unlit CLR signal is not output.
CLR CLR signal is output (when the origin point return is
Lit
completed)
Unlit DOG input off
DOG
Lit DOG input on
Unlit Zero-point input off
PG0
Lit Zero-point input on
Unlit A-phase input of manual pulse generator off
φA
Lit A-phase input of manual pulse generator on
Unlit B-phase input of manual pulse generator off
φB
Lit B-phase input of manual pulse generator on
Unlit Interrupt input off
X0,X1
Lit Interrupt input on

2-2
Model FX2N-10PG Pulse Output Block Outside dimensions and component names 2

2.3 Pin layout and assignment


• The following pin layout is seen when looking at the I/O port in the FX2N-10PG from the
front face.
When an I/O cable and connector is prepared by the user, the pin number mark and ▲
mark are different according to the connector used.
Wire correctly noting the position of notch and the direction of the connector.
I/O port in the FX2N-10P from the front face

POWER
ERROR VIN+ VIN-
START
DOG PGO
X0
FX2N-10PG X1
φA
FP
RP
CLR
FP+ FP-
φB

RP+ RP-
PG0+ PG0-
CLR+ CLR-
φA+ φA-
φB+ φB-
DOG START
S/S S/S
X0 X1

Terminal name Content


VIN+ Power input terminal for pulse output 5V DC to 24V DC
Forward/reverse mode: Forward pulse output terminal
FP+
Pulse/direction mode: Pulse output terminal
Forward/reverse mode: Reverse pulse output terminal
RP+
Pulse/direction mode: Direction output terminal
PG0+ Zero-point signal input terminal
CLR+ Output terminal to clear the deviation counter of servo amplifier
φA+ A-phase input terminal of 2-phase pulse
φB+ B-phase input terminal of 2-phase pulse
Near-point DOG input terminal (Input terminal used for origin-point return
DOG
command)
Power input terminal (start, DOG, X0, X1) 24V DC
S/S
Pins (S/S) are internally short-circuited.
X0 Interrupt input terminal
VIN- Common terminal of VIN+
FP- Common terminal of FP+
RP- Common terminal of RP+
PG0- Common terminal of PG0+
CLR- Common terminal of CLR+
φA- Common terminal of A-phase input of 2-phase pulse
φB- Common terminal of B-phase input of 2-phase pulse
START Start input terminal
X1 Interrupt input terminal

2-3
Model FX2N-10PG Pulse Output Block Outside dimensions and component names 2

2.3.1 Applicable connector and cable size


The connectors for the multi-wire cables are prepared as a set to allow the customer to
produce the input/output cables.
The cables and crimp tool should be prepared by the customer.
Model name and configuration of
Applicable cable and tool
input/output connector
Model name Cable size
FX2C-I/O-CON-S
AWG22(0.3mm2)
For multi-wire cable: 5 sets
FX2C-I/O-CON-SA
For multi-wire cable: 5 sets AWG20(0.5mm2)

*1 Since it may be difficult to pass the random cable through the housing depending on the
variation of the sheath thickness, UL-1061 cable is recommended.

* Phoenix contact crimp tool.

2-4
Model FX2N-10PG Pulse Output Block Installation 3

3. Installation

Install FX2N-10PG on the right side of the basic unit, extension unit or other extension block of
FX2N and FX2NC Series PLC.
For installation, install the block with DIN rail (DIN46277, 35mm (1.38inches) wide) or directly
with M4 screws.

3.1 DIN rail installation


Align the upper side of the DIN rail mounting groove with the DIN rail 1), and press the block in
2).
To remove the main body, pull out the DIN rail mounting hook downward 3), and remove the
block 4).

Installation Removal

1 )

4 )

2 ) 3 )

3.2 Direct installation


Pass M4 screws through the two mounting holes provided at the top and bottom on the left
side of FX2N-10PG, and install the block on the panel with the screws.
Provide a clearance of 1 to 2mm (0.08inches) between the units during installation.

3-1
Model FX2N-10PG Pulse Output Block Installation 3

Cautions regarding installation


1) Use the block under the environmental conditions specified in the manual.
Do not use the unit in a location surrounded by dust, oil fumes, conductive dust, corrosive
gas or combustible gas, exposed to high temperature, condensation, wind or rain, or subject
to vibration or impact.
Use in such a location may cause an electric shock, fire hazard, malfunction, or breakage or
degradation of the product.
2) Before installation, wiring or similar work, be sure to switch off the external power supply to
isolate the block.
Otherwise, it may cause an electric shock or damage the product.
3) When turning on the power supply or operating the block after installation, wiring or similar
work, be sure to install the top cover.
4) When tapping a hole or routing a wire, prevent chips or wire chips from dropping into the
vent windows of FX2N-10PG.
Such chips may cause a fire hazard or malfunction.
5) Securely fasten the extension cable to a specified connector.
If it is poorly connected, it will cause a malfunction.

3-2
Model FX2N-10PG Pulse Output Block System configuration 4

4. System configuration

4.1 Connection with PLC


The PLC is connected to FX2N-10PG with the extension cable.
FX2N-10PG is handled as a special unit of the PLC and is sequentially given the special unit
number of 0 to 7 from the unit which is the nearest to PLC. (The unit No. is instructed with
FROM/TO commands.)
For details of the input/output assignment of PLC, refer to the manual of FX2N, FX2NC Series
PLC.

F X 2 N -3 2 M R F X 2 N -2 L C F X 2 N -3 2 E R
(X 0 0 0 to X 0 1 7 ) F X 2 N -1 0 P G (X 0 2 0 to X 0 3 7 ) F X 2 N -1 0 P G
P O W E R P O W E R
E R R O R E R R O R
S T A R T S T A R T
D O G P G O D O G P G O
X 0 F P X 0 F P
F X 2 N -1 0 P G fA
X 1 R P F X 2 N -1 0 P G fA
X 1 R P
C L R C L R
fB fB
C O M X 2 X 4 X 1 0 X 1 4 X 1 6 C O M X 0 X 2 X 4 X 6 X 0 X 2 X 4 X 6
L N 2 4 + X 1 X 3 X 7 X 1 3 X 1 5 L N 2 4 + X 1 X 3 X 5 X 7 X 1 X 3 X 5 X 7

0 1 2 3 4 5 6 7 P O W E R 0 1 2 3 4 5 6 7
IN IN
1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 0 1 2 3 4 5 6 7
P O W E R P O W E R

R U N
B A T T .V

P R O G .E
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
F X 2 N -3 2 M R O U T
1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7
C P U .E F X 2 N -2 L C F X 2 N -3 2 E R O U T
0 1 2 3 4 5 6 7

Y 2 Y 4 Y 6 Y 1 0 Y 1 2 Y 1 4 Y 0 Y 2 Y 4 Y 6 Y 0 Y 2 Y 4 Y 6
Y 1 Y 3 Y 5 C O M 3 Y 1 1 Y 1 3 Y 1 5 C O M 1 Y 1 Y 3 C O M 2 Y 5 Y 7 C O M 3 Y 1 Y 3 C O M 4 Y 5 Y 7

2 4 V
O U T 1
O U T 2

(Y 0 0 0 to Y 0 1 7 ) S p e c ia l S p e c ia l (Y 0 2 0 to Y 0 3 7 ) S p e c ia l
b lo c k b lo c k b lo c k
N o . 0 N o . 1 N o .2

• A maximum of 8 units can be connected to the FX2N/FX3U/FX3UC*1 Series PLC and a


maximum of 4 units can be connected to the FX2NC Series PLC.

• When connected to an FX2NC Series PLC, the FX2NC-CNV-IF is required.


When connected to an FX3UC Series PLC, the FX2NC-CNV-IF or FX3UC-1PS-5V is required.

• For extension, the separately available FX0N-65EC/FX0N-30EC extension cable and FX2N-
CNV-BC are used.
One extension cable can be used per system.

• The number of occupied I/O points of the FX2N-10PG is 8. The total number of I/O points of
the basic unit, extension unit and extension block and the occupied points of the special
block must not exceed the max. Number of the I/O points of the basic unit.

• The assignment of the I/O number of the PLC is shown in the parentheses. The I/O
connectors and occupied points of FX2N-10PG are not included during assignment of I/O
numbers of the PLC.
*1 A maximum of 7 units can be connected to the FX3UC-32MT-LT(-2) PLC.
-2

Turn OFF the power at first, then connect/disconnect the cable such as an extension cable.
If you connect/disconnect a cable while the power is supplied, the unit may fail or malfunction.

4-1
Model FX2N-10PG Pulse Output Block System configuration 4

4.2 Applicable PLC


Series name Applicable version
FX2N Series All versions
FX3U Series All versions
FX2NC Series All versions
FX3UC Series All versions

When connected to an FX2NC Series PLC, the FX2NC-CNV-IF is required.


When connected to an FX3UC Series PLC, the FX2NC-CNV-IF or FX3UC-1PS-5V is required

4-2
Model FX2N-10PG Pulse Output Block Specifications 5

5. Specifications

5.1 General specifications


Item Specifications
Withstand voltage 500V AC One minute (between all external terminals and ground terminal)
The same as the general specifications of the connected PLC
Other items
(Refer to the PLC manual.)

5.2 Power supply specifications


Item Specifications
START, DOG, X0, X1 terminals: 24V DC+/-10%
Current consumption 32mA or less
PG0 terminal: 3 to 5.5V DC Current consumption 20mA or less
Input VIN terminal: 5 to 24V DC Current consumption 100mA or less for 5V,
signal 70mA or less for 24V
Each current can be supplied from the external power supply. (START, DOG,
Drive X0, X1 terminals can be supplied from the service power supply (24+
power terminal) of the PLC.)
supply Inner 5V DC Current consumption 120mA Power is supplied through the
control extension cable from the PLC.
FP, RP terminals (Power supplied from VIN terminal 5 to 24V DC):
Output Set 25mA or less.
signal CLR: 5 to 24V DC Set 20mA or less.
Each is supplied from the servo amplifier or external power supply.

5.3 Performance specifications


Item Specifications
• One axis per unit
Number of control (A maximum of 8 units can be connected to the FX2N/FX3U/FX3UC*1
axes Series PLC and a maximum of 4 units can be connected to the FX2NC
Series PLC.)
• The operation speed is set with the buffer memory.
• It can be operated at the pulse frequency of 1Hz to 1MHz.
Speed command
• Hz, cm/min, 10 deg/min and inch/min are selectable for the command
unit.
• The travel is set with the buffer memory.
• The pulse converted value is in the range of -2,147,483,648 to
2,147,483,647. Pulse, µm, mdeg and 10-4inch are usable for the unit.
Position command • The absolute position instruction and relative position instruction are
selectable.
• The magnification rates of 100, 101, 102 and 103 are settable for the
position data.
• Positioning is done in the PLC program.
Positioning program (Data read-/writing and operation mode selection are instructed with
FROM/TO commands.)
Number of I/O
• 8 points (Input or output.)
occupied points
Start time • 1 to 3ms

*1 A maximum of 7 units can be connected to the FX3UC-32MT-LT(-2) PLC.

5-1
Model FX2N-10PG Pulse Output Block Specifications 5

5.4 Input specifications


Item START, DOG, X1 φA, φB PG0
Number of input Three control input points (START, DOG, PG0), two interrupt input points (X0, X1)
points 2-phase pulse input point (φA, φB)
Input signal
24V DC ± 10% 3.0 to 5.5V DC 3.0 to 5.5V DC
voltage
Contact or open collector Differential line driver or Differential line driver or
Signal format
transistor open collector transistor open collector transistor
Input signal
6.5 ± 1mA 6 to 20mA 6 to 20mA
current
Input ON
4.5mA or more 6.0mA or more 6.0mA or more
sensitivity
Input OFF
1.5mA or less 1mA or less 1mA or less
sensitivity
2-phase pulse
Input receiving 0.1ms or less
30,000Hz or less Pulse width 50ms or more
speed (1.0ms or less for DOG)
(Duty 50%)
Circuit insulation Photocoupler insulation
Operation
LED is lit when input is ON.
indication

5.5 Output specifications


Item Pulse output section Clear signal (CLR)
Number of output
Three output points (FP, RP, CLR)
points
Forward pulse (FP) / reverse pulse (RP) When zero return operation is
Output system or pulse (PLS) / direction (DIR) is completed, it is turned on.
selectable. (Output pulse width: 20ms)
Output type Differential line driver output NPN open collector transistor output
Rated load
VIN 5 to 24V DC VIN 5 to 24V DC
voltage
Max. load current 25mA or less 20mA or less
VIN current
24V DC: 70mA 5V DC: 100mA ⎯
consumption
Max. voltage drop
⎯ 1.5V or less
during ON
Leak current
⎯ 0.1mA or less
during ON
Output frequency FP+, RP+ Max. 1MHz 20 to 25ms
Operation
LED is lit when output is ON.
indication

5-2
Model FX2N-10PG Pulse Output Block Wiring 6

6. Wiring

6.1 Input output circuit


5 to
24V DC
Input terminal FX2N-10PG Output terminal Servo amplifier
drive unit
7mA/24V DC 5V
START 3.3kΩ VIN+
7mA/24V DC
DOG 3.3kΩ VIN-
7mA/24V DC
X0 3.3kΩ FP+
7mA/24V DC
X1 3.3kΩ FP-
24V DC
S/S RP+

RP-
AM26LS31 or equivalent
Differential line driver Shielded
Shielded cable 25mA or less cable
Manual pulse A phase
generator φA+ 120Ω CLR+

φA- 120Ω CLR-


2-phase pulse
Frequency
30kHz or less B phase 5 to 24V DC
φB+ 120Ω 20mA or less

φB- 120Ω

PG0+ 120Ω

PG0- 120Ω
5V DC
20mA or less

• For the pin layout, refer to Section 2.3.

6-1
Model FX2N-10PG Pulse Output Block Wiring 6

• Install a safety circuit outside the FX2N-10PG so that the entire system conservatively
operates even if an abnormality occurs in the external power supply or a failure occurs in
the FX2N-10PG.
1) Make sure to construct an emergency stop circuit, protection circuit, interlock circuit for
reverse operations such as normal rotation and reverse rotation and interlock circuit to
prevent damages of a machine for upper limit/lower limit, etc. outside the FX2N-10PG.
2) When the CPU in the detects an abnormality such as a watch dog timer error by the self-
diagnosis circuit, all outputs turn off. When an abnormality occurs in the I/O control area
which cannot be detected by the CPU in the FX2N-10PG, output control may be disabled.
Design external circuits and the structure so that the entire system conservatively
operates in such cases.
3) Do not lay signal cable near to high voltage power cable or house them in the same
trunking duct. Effects of noise or surge induction may occur. Keep signal cables a safe
distance of more than 100 mm (4”) from these power cables.
4) Where output signal lines are used over an extended distance consideration for voltage
drop and noise interference should be made.
5) Fix cables so that any stress is not directly applied on the terminal block or the cable
connection area.
6) When a failure occurs in a transistor etc. in the FX2N-10PG, outputs may keep ON or
OFF.
For output signals which may lead to severe accidents, design external circuits and the
structure so that the entire system conservatively operates.
• Make sure to shut down the power supplies of all phases on the outside before starting
installation or wiring.
If the power supplies are not shut down, you may get electrical shock or the unit may be
damaged.
• Never touch any terminals while the power is supplied.
If you touch a terminal while the power is supplied, you may get electrical shock or the
unit may malfunction.
• Turn off the power at first, then start cleaning or tighten terminals.
If you perform cleaning or tightening while the power is supplied, you may get electrical
shock.
• For pairs of inputs such as forward/reverse contacts which would pose a hazard if turned
ON simultaneously, provide external interlocks, in addition to interlocks in the program
inside the positioning unit, to ensure that they cannot be turned ON simultaneously.

F o rw a rd
lim it
F o rw a rd

R e v e rs e
R e v e rs e
lim it O u tp u t e le m e n t

6-2
Model FX2N-10PG Pulse Output Block Wiring 6

CE EMC Conformity
For compliance to CE EMC regulation it is necessary to add a Ferrite filter on the I/O cable of
the FX2N-10PG.
The filter should be attached below with the filter surrounding the I/O cable.
The recommended ferrite filter is the TOKIN ESD-SR-25 or equivalent. The filter should be
placesd as near to I/O port the FX2N-10PG as possible.

FX2N-10PG
POWER
ERROR
START
DOG PGO

FX 2N -10PG
X0
X1
f A
FP
RP
CLR
Ferrite filter
f B
TOKIN ESD-SR-25

TOKIN

I/O cable
150mm (5.9") or less

Note for compliance with EN61131-2:2007


General note on the use of the power supply cable.
The FX2N-10PG unit requires that the cable used for power supply is 30m or less.

Attention
• This product is designed for use in industrial applications.
Note
• Manufactured by: Mitsubishi Electric Corporation
2-7-3 Marunouchi, Chiyoda-ku, Tokyo,100-8310 Japan
• Manufactured at: Mitsubishi Electric Corporation Himeji Works
840 Chiyoda-machi, Himeji, Hyogo, 670-8677 Japan
• Authorized Representative in the European Community:
Mitsubishi Electric Europe B.V.
Gothaer Str. 8, 40880 Ratingen, Germany

6-3
Model FX2N-10PG Pulse Output Block Wiring 6

6.2 Input wiring


6.2.1 START, DOG, X0, X1, S/S
External power supply (24V DC) is required for terminals START, DOG, X0, X1 and S/S.
Contact output type and open collector transistor output (NPN, PNP) types of external devices
are applicable.
1) When contacts are used

FX2N-10PG
Input terminal
7mA/24V DC
START 3.3kΩ
7mA/24V DC
DOG 3.3kΩ
7mA/24V DC
X0 3.3kΩ
7mA/24V DC
X1 3.3kΩ
24V DC
S/S

2) When NPN open collector transistors are used

FX2N-10PG
Input terminal
4-wire type
IN 3.3kΩ

3-wire type
IN 3.3kΩ

2-wire type
IN 3.3kΩ
24V DC
S/S

Reread IN terminal as START, DOG, X0 or X1 according to the application.

3) When PNP open collector transistors are used

FX2N-10PG
Input terminal
4-wire type
IN 3.3kΩ

3-wire type
IN 3.3kΩ

2-wire type
IN 3.3kΩ
24V DC
S/S

Reread IN terminal as START, DOG, X0 or X1 according to the application.

• For the pin layout, refer to Section 2.3.

6-4
Model FX2N-10PG Pulse Output Block Wiring 6

6.2.2 A-phase +, A-phase -, B-phase +, B-phase -


The differential line driver or the open collector transistor output type manual pulse generator is
applicable to the terminals φA+, φA-, φB+ and φB-.
External power supply (5V DC) is required for the open collector transistor output.
1) When a differential line driver is used

Shielded FX2N-10PG
cable Input terminal
Manual pulse A phase
generator φA+ 120Ω

φA- 120Ω
2-phase pulse
Frequency B phase
30kHz or less φB+ 120Ω

φB- 120Ω

Power supply

2) When NPN open collector transistors are used

Manual pulse FX2N-10PG


generator Shielded
cable Input terminal
A phase
φA+ 120Ω

φA- 120Ω
B phase
φB+ 120Ω

φB- 120Ω

5V DC

• For the pin layout, refer to Section 2.3.

6-5
Model FX2N-10PG Pulse Output Block Wiring 6

6.2.3 PG0+, PG0-


External power supply (5V DC) is required for the terminals PG0+ and PG0-.
The external device of the differential line driver output type or open collector transistor output
(NPN/PNP) type is applicable.
1) When a differential line driver is used

FX2N-10PG
Photocoupler
PG0+ 120Ω

PG0- 120Ω

Power supply

2) When NPN open collector transistor is used

FX2N-10PG
Photocoupler
PG0+ 120Ω

PG0- 120Ω
5V DC
20mA or less

3) When PNP open collector transistor is used

FX2N-10PG
Photocoupler
PG0+ 120Ω

PG0- 120Ω
5V DC
20mA or less

• For the pin layout, refer to Section 2.3.

6-6
Model FX2N-10PG Pulse Output Block Wiring 6

6.3 Output wiring


6.3.1 VIN+, VIN-, FP+, FP-, RP+, RP-
The terminals VIN+, VIN-, FP+, FP-, RP+ and RP- are connected to the servo amplifier and
motor driver.
5 to 24V DC is supplied to the terminals VIN+ and VIN- from the external power supply or
servo amplifier.
The terminals FP+, FP-, RP+ and RP- are used for the differential line driver output.
1) Connection to differential line receiver
FX2N-10PG Output terminal Servo amplifier
drive unit
5 to 24V DC
5V
VIN+
AM262LS32 or
VIN- equivalent
Differential line
receiver
FP+

FP-

RP+

RP-
M26LS31 or equivalent Shielded
Differential line driver cable
25mA or less

2) Connection to photocoupler

FX2N-10PG Output terminal Servo amplifier


drive unit
5 to 24V DC
5V
VIN+

VIN-

FP+

FP-

RP+

RP-
M26LS31 or equivalent Shielded
Differential line driver cable
25mA or less

• For the pin layout, refer to Section 2.3.

6-7
Model FX2N-10PG Pulse Output Block Wiring 6

6.3.2 CLR+, CLR-


The terminals CLR+ and CLR- are connected to the servo amplifier.
5 to 24V DC is supplied to the terminals CLR+ and CLR- from the external power supply or
servo amplifier.
CLR+ and CLR- are used for the NPN open collector output.
FX2N-10PG Shielded Servo amplifier
cable
drive unit
CLR+

CLR-
5 to 24V DC
20mA or less

• For the pin layout, refer to Section 2.3.

6-8
Model FX2N-10PG Pulse Output Block Wiring 6

6.4 Connection with stepping motor


FX2N/FX2NC/FX3U/FX3UC
L
Power supply
DC power type is
N also available on the
PLC.

Class D
24V DC ground
COM . Pin layout of port in FX2N-10PG

3.3kΩ X*** STOP VIN+ VIN-


FP+ FP-
3.3kΩ X*** Error reset RP+ RP-
PG0+ PG0-
3.3kΩ X*** Forward limit CLR+ CLR-
φA+ φA-
3.3kΩ X*** Reverse limit φB+ φB-
DOG START
3.3kΩ X*** Forward jog S/S S/S
X0 X1
3.3kΩ X*** Reverse jog
. The above pin layout is seen when looking
Zero return at the I/O port in the FX2N-10PG from the
3.3kΩ X*** front face.
command
When an I/O cable and connector is
3.3kΩ X*** Operation speed prepared by the user, the pin number mark
change enable and ▲ mark are different according to the
connector used.
3.3kΩ X*** m code OFF Wire correctly noting the position of notch
command
and the direction of the connector.

FX2N-10PG 24V DC/7mA


3.3kΩ START
24V DC/7mA
3.3kΩ DOG
24V DC/7mA
3.3kΩ X0
24V DC/7mA
3.3kΩ X1
24V DC
S/S

A Phase
Manual pulse 2-phase pulse
120Ω φA+ generator Frequency 30kHz or less

φA- For the power supply wiring of the driver unit


120Ω and the connection of the motor, refer to the
instruction manuals of the drive and unit.
B Phase
120Ω φB+

120Ω φB-
Shielded
cable
Stepping
5V DC motor
120Ω PG0+

120Ω PG0-

5V 5 to 4V DC
VIN+

VIN- Drive unit

FP+ CW-

FP- CW+

RP+ CCW-

RP- CCW+
AM26LS31 or equivalent Shielded cable
Differential line
driver 25mA or less CLR+

CLR-

6-9
Model FX2N-10PG Pulse Output Block Wiring 6

6.5 Connection with Model MR-C Servo Motor


FX2N/FX2NC/FX3U/FX3UC
L
Power supply
DC power type is
N also available on the
PLC.

Class D
24V DC ground
COM . Pin layout of port in FX2N-10PG

3.3kΩ X*** STOP VIN+ VIN-


FP+ FP-
3.3kΩ X*** Error reset RP+ RP-
PG0+ PG0-
3.3kΩ X*** Forward limit CLR+ CLR-
φA+ φA-
3.3kΩ X*** Reverse limit φB+ φB-
DOG START
3.3kΩ X*** Forward jog S/S S/S
X0 X1
3.3kΩ X*** Reverse jog
. The above pin layout is seen when looking
Zero return at the I/O port in the FX2N-10PG from the
3.3kΩ X*** front face.
command
When an I/O cable and connector is
3.3kΩ X*** Operation speed prepared by the user, the pin number mark
change enable and ▲ mark are different according to the
connector used.
3.3kΩ X*** m code OFF Wire correctly noting the position of notch
command
and the direction of the connector.

FX2N-10PG 24V DC/7mA


3.3kΩ START
24V DC/7mA
3.3kΩ DOG
24V DC/7mA
3.3kΩ X0
24V DC/7mA
3.3kΩ X1
24V DC
S/S

A Phase Manual pulse 2-phase pulse


120Ω φA+ generator Frequency 30kHz or less

For the power supply wiring of the servo


120Ω φA- amplifier and the connection of the motor,
refer to the instruction manual and technical
B Phase data of the servo amplifier.
120Ω φB+

120Ω φB- Servo amplifier


CN1 CN1
Shielded RA1
11 SD ALM 2
cable

120Ω PG0+ 1 V+

120Ω PG0- 4 OP CN1


V5 16
CN1
5V
VIN+ 16 V5 SG 12

VIN- SON 17

FP+ 9 PP LSP 15

FP- 10 PG LSN 14

RP+ 7 NP

RP- 8 NG
AM26LS31 or equivalent
Differential line CN1
driver 25mA or less CLR+ 13 CR

CLR- 12 SG
Shielded cable

6-10
Model FX2N-10PG Pulse Output Block Wiring 6

6.6 Connection with Model MR-J Servo Motor


FX2N/FX2NC/FX3U/FX3UC
L
Power supply
DC power type is
N also available on the
PLC.

Class D
24V DC ground
COM . Pin layout of port in FX2N-10PG

3.3kΩ X*** STOP VIN+ VIN-


FP+ FP-
3.3kΩ X*** Error reset RP+ RP-
PG0+ PG0-
3.3kΩ X*** Forward limit CLR+ CLR-
φA+ φA-
3.3kΩ X*** Reverse limit φB+ φB-
DOG START
3.3kΩ X*** Forward jog S/S S/S
X0 X1
3.3kΩ X*** Reverse jog
. The above pin layout is seen when looking
Zero return at the I/O port in the FX2N-10PG from the
3.3kΩ X*** front face.
command
When an I/O cable and connector is
3.3kΩ X*** Operation speed prepared by the user, the pin number mark
change enable and ▲ mark are different according to the
connector used.
3.3kΩ X*** m code OFF Wire correctly noting the position of notch
command
and the direction of the connector.

FX2N-10PG 24V DC/7mA


3.3kΩ START
24V DC/7mA
3.3kΩ DOG
24V DC/7mA
3.3kΩ X0
24V DC/7mA
3.3kΩ X1
24V DC
S/S

A Phase Manual pulse 2-phase pulse


120Ω φA+ generator Frequency 30kHz or less

For the power supply wiring of the servo


120Ω φA- amplifier and the connection of the motor,
refer to the instruction manual and technical
B Phase data of the servo amplifier.
120Ω φB+

120Ω φB- Servo amplifier


CN1
Shielded 18 SD
cable
5V DC
120Ω PG0+ 6 LG

CN1
120Ω PG0- 12 OP
VIN 34
5 to
24V DC CN1
5V
VIN+ 35 VDD ZSP 26

VIN- 34 VIN PF 25

RA1
FP+ 20 PP ALM 27

CN1
FP- 19 PG
RES 29
RP+ 22 NP
SON 28
RP- 21 NG
AM26LS31 or equivalent LSP 30
Differential line CN1
driver 25mA or less CLR+ 32 CR LSN 31

CLR- 15 SG SG 15
Shielded cable

6-11
Model FX2N-10PG Pulse Output Block Wiring 6

6.7 Connection with Model MR-J2 (-Jr, -Super) Servo Motor


FX2N/FX2NC/FX3U/FX3UC
L
Power supply
DC power type is
N also available on the
PLC.

Class D
24V DC ground
COM . Pin layout of port in FX2N-10PG

3.3kΩ X*** STOP VIN+ VIN-


FP+ FP-
3.3kΩ X*** Error reset RP+ RP-
PG0+ PG0-
3.3kΩ X*** Forward limit CLR+ CLR-
φA+ φA-
3.3kΩ X*** Reverse limit φB+ φB-
DOG START
3.3kΩ X*** Forward jog S/S S/S
X0 X1
3.3kΩ X*** Reverse jog
. The above pin layout is seen when looking
Zero return at the I/O port in the FX2N-10PG from the
3.3kΩ X*** front face.
command
When an I/O cable and connector is
3.3kΩ X*** Operation speed prepared by the user, the pin number mark
change enable and ▲ mark are different according to the
connector used.
3.3kΩ X*** m code OFF Wire correctly noting the position of notch
command
and the direction of the connector.

FX2N-10PG 24V DC/7mA


3.3kΩ START
24V DC/7mA
3.3kΩ DOG
24V DC/7mA
3.3kΩ X0
24V DC/7mA
3.3kΩ X1
24V DC
S/S

A Phase Manual pulse 2-phase pulse


120Ω φA+ generator Frequency 30kHz or less

For the power supply wiring of the servo


120Ω φA- amplifier and the connection of the motor,
refer to the instruction manual and technical
B Phase data of the servo amplifier.
120Ω φB+
Servo amplifier
CN1A
120Ω φB-
Case SD
Shielded
cable
5 LZ CN1B
120Ω PG0+
VDD 3
15 LZR
120Ω PG0-
CN1B ZSP 19
5 to
24V DC
5V 3 VDD
VIN+ TLC 6
CN1A
RA1
VIN- 9 COM ALM 18

CN1B
FP+ 3 PP
EMG 15
FP- 13 PG
RES 14
RP+ 2 NP
SON 5
RP- 12 NG
AM26LS31 or equivalent LSP 16
Differential line CN1A
driver 25mA or less CLR+ 8 CR LSN 17

CLR- 10 SG SG 10
Shielded cable

6-12
Model FX2N-10PG Pulse Output Block Wiring 6

6.8 Connection with Model MR-H Servo Motor


FX2N/FX2NC/FX3U/FX3UC
L
Power supply
DC power type is
N also available on the
PLC.

Class D
24V DC ground
COM . Pin layout of port in FX2N-10PG

3.3kΩ X*** STOP VIN+ VIN-


FP+ FP-
3.3kΩ X*** Error reset RP+ RP-
PG0+ PG0-
3.3kΩ X*** Forward limit CLR+ CLR-
φA+ φA-
3.3kΩ X*** Reverse limit φB+ φB-
DOG START
3.3kΩ X*** Forward jog S/S S/S
X0 X1
3.3kΩ X*** Reverse jog
. The above pin layout is seen when looking
Zero return at the I/O port in the FX2N-10PG from the
3.3kΩ X*** front face.
command
When an I/O cable and connector is
3.3kΩ X*** Operation speed prepared by the user, the pin number mark
change enable and ▲ mark are different according to the
connector used.
3.3kΩ X*** m code OFF Wire correctly noting the position of notch
command
and the direction of the connector.

FX2N-10PG 24V DC/7mA


3.3kΩ START
24V DC/7mA
3.3kΩ DOG
24V DC/7mA
3.3kΩ X0
24V DC/7mA
3.3kΩ X1
24V DC
S/S

A Phase Manual pulse 2-phase pulse


120Ω φA+ generator Frequency 30kHz or less

For the power supply wiring of the servo


120Ω φA- amplifier and the connection of the motor,
refer to the instruction manual and technical
B Phase data of the servo amplifier.
120Ω φB+

120Ω φB- Servo amplifier


CN1 CN1
Shielded 50 SD VDD 22
cable

120Ω PG0+ 8 LZ ZSP 23

120Ω PG0- 9 LZR PF 24


5 to
24V DC CN1 RA1
5V ALM 48
VIN+ 22 VDD

VIN- 20 VIN

CN1
FP+ 10 PP
EMG 46
FP- 11 PPR
SON 12
RP+ 35 NP
RES
LSP 15
RP- 36 NPR
AM26LS31 or equivalent LSP 38
Differential line CN1
driver 25mA or less CLR+ 37 CR LSN 34

CLR- 17 SG SG 40
Shielded cable

6-13
Model FX2N-10PG Pulse Output Block Wiring 6

6.9 Connection with Model MR-J3 Servo Motor


FX2N/FX2NC/FX3U/FX3UC
L
Power supply
DC power type is
N also available on the
PLC.

Class D
DC24V ground
COM . Pin layout of port in FX2N-10PG

3.3kΩ X*** STOP VIN+ VIN-


FP+ FP-
3.3kΩ X*** Error reset RP+ RP-
PG0+ PG0-
3.3kΩ X*** Forward limit CLR+ CLR-
φA+ φA-
3.3kΩ X*** Reverse limit φB+ φB-
DOG START
3.3kΩ X*** Forward jog S/S S/S
. X0 X1
3.3kΩ X*** Reverse jog
The above pin layout is seen when looking
Zero return at the I/O port in the FX2N-10PG from the
3.3kΩ X*** front face.
command
When an I/O cable and connector is
3.3kΩ X*** Operation speed prepared by the user, the pin number mark
change enable and ▲ mark are different according to the
connector used.
3.3kΩ X*** m code OFF Wire correctly noting the position of notch
command
and the direction of the connector.

FX2N-10PG 24V DC/7mA


3.3kΩ START
24V DC/7mA
3.3kΩ DOG
24V DC/7mA
3.3kΩ X0
24V DC/7mA
3.3kΩ X1
24V DC
S/S

A Phase Manual pulse 2-phase pulse


120Ω φA+ generator Frequency 30kHz or less

For the power supply wiring of the servo


120Ω φA- amplifier and the connection of the motor,
refer to the instruction manual and technical
B Phase data of the servo amplifier.
120Ω φB+
Servo amplifier
CN1
120Ω φB- MR-J3
Plate SD
Shielded
cable
8 LZ
120Ω PG0+
DICOM 21
9 LZR
120Ω PG0- RA2
ZSP 23

5V 24V DC RA3
VIN+ 20 DICOM TLC 25

RA1
VIN- ALM 48

FP+ 10 PP
EMG 42
FP- 11 PG
RES 19
RP+ 35 NP
SON 15
RP- 36 NG
AM26LS31 or equivalent LSP 43
Differential line
driver 25mA or less CLR+ 41 CR LSN 44

CLR- 46 DOCOM DOCOM 47


Shielded cable

6-14
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7. Buffer memory (BFM)

7.1 BFM list


Initial
BFM No. Name Content and setting range Unit Attribute
value
-2,147,483,648 to 2,147,483,647
User
#1 #0 Max. speed (The pulse-converted value of 500,000 R/W
unit
1 to 1,000,000Hz)
-2,147,483,648 to 2,147,483,647
User
#2 Bias speed (The pulse-converted value of 0 R/W
unit
0 to 30,000Hz)
-2,147,483,648 to 2,147,483,647
User
#4 #3 Jog speed (The pulse-converted value of 10,000 R/W
unit
1 to 1,000,000Hz)
-2,147,483,648 to 2,147,483,647
Zero return speed User
#6 #5 (The pulse-converted value of 500,000 R/W
(high speed) unit
1 to 1,000,000Hz)
-2,147,483,648 to 2,147,483,647
Zero return speed User
#7 (The pulse-converted value of 1,000 R/W
(creep) unit
0 to 30,000Hz)
Zero-point signal
#8 number 0 to 32.767 1 Pulse R/W
(S-shaped control)
-2,147,483,648 to 2,147,483,647
User
#10 #9 Zero point address (The pulse-converted value of 0 R/W
unit
-2,147,483,648 to 2,147,483,647)
1 to 5,000ms (trapezoidal control)
#11 Acceleration time 100 ms R/W
64 to 5,000ms (S-shaped control)
1 to 5,000ms (trapezoidal control)
#12 Deceleration time 100 ms R/W
64 to 5,000ms (S-shaped control)
-2,147,483,648 to 2,147,483,647
User
#14 #13 Target address Ι (The pulse-converted value of 0 R/W
unit
-2,147,483,648 to 2,147,483,647)
-2,147,483,648 to 2,147,483,647
User
#16 #15 Operation speed Ι (The pulse-converted value of 500,000 R/W
unit
1 to 1,000,000Hz)
-2,147,483,648 to 2,147,483,647
User
#18 #17 Target address ΙΙ (The pulse-converted value of 0 R/W
unit
-2,147,483,648 to 2,147,483,647)
-2,147,483,648 to 2,147,483,647
User
#20 #19 Operation speed ΙΙ (The pulse-converted value of 100,000 R/W
unit
1 to 1,000,000Hz)
#21 Override setting 1 to 30,000 1000 × 0.1% R/W
-2,147,483,648 to 2,147,483,647
Current value, User
#23 #22 (The pulse-converted value of 0 R
operation speed unit
1 to 1,000,000Hz)
User
#25 #24 Current address -2,147,483,648 to 2,147,483,647 0 R/W
unit
#26 Operation command Refer to 7.2.17 H000 ⎯ R/W
#27 Operation pattern Refer to 7.2.18 H000 ⎯ R/W

7-1
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

Initial
BFM No. Name Content and setting range Unit Attribute
value
#28 Status information Refer to 7.2.19 ⎯ R
During M code ON : 0 to 32,767
#29 M code -1 ⎯ R
During M code OFF : -1
#30 Machine model code K5120 5120 ⎯ R
#31 Not usable.
#33 #32 Pulse rate 1 to 999,999 PLS/REV 2,000 Pulse R/W
User
#35 #34 Feed rate 1 to 999,999 2,000 R/W
unit
#36 Parameter Refer to 7.2.24 H2000 ⎯ R/W
#37 Error code Occured error code is stored. 0 ⎯ R
ON/OFF information of the terminal
#38 Terminal information 0 ⎯ R/W
input is stored.
Current address
#40 #39 (pulse converted -2,147,483,648 to 2,147,483,647 0 Pulse R/W
value)
Manual pulse
#42 #41 generator input -2,147,483,648 to 2,147,483,647 0 Pulse R/W
current value
Manual pulse
#44 #43 generator input 0 to ±30,000 0 Hz R
frequency
Electronic gear
(numerator) for
#45 1 to 32,767 1 ⎯ R/W
manual pulse
generator input
Electronic gear
(denominator) for
#46 1 to 32,767 1 ⎯ R/W
manual pulse
generator input
Manual pulse
1, 2, 3, 4, 5
#47 generator input 3 ⎯ R/W
(Low response → High response)
response
#48 to #49 Not usable.
0 or 1
JOG operation WAIT
0: Waits for 300ms
#50 period setting mode 0 ⎯ R/W
1: Waits for the period (value) set in
(Version 1.70 or later)
BFM#51
JOG operation WAIT
#51 period 1 to 5000 300 ms R/W
(Version 1.70 or later)
#52 to #63 Not usable.
#64 Version information ⎯ R
#65 to #97 Not usable.
#98 Table start No. 0 to 199 0 ⎯ R/W
#99 Executing table No. -1 to 199 -1 ⎯ R
-2,147,483,648 to 2,147,483,647
Position information User
#101 #100 (The pulse-converted value of -1 R/W
(Table No. 0) unit
-2,147,483,648 to 2,147,483,647)

7-2
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

Initial
BFM No. Name Content and setting range Unit Attribute
value
-2,147,483,648 to 2,147,483,647
Speed information User
#103 #102 (The pulse-converted value of -1 R/W
(Table No. 0) unit
1 to 1,000,000Hz)
m code information
#104 -1 to 32,767 -1 ⎯ R/W
(Table No. 0)
Operation
#105 information (Table -1 to 4 -1 ⎯ R/W
No. 0)
-2,147,483,648 to 2,147,483,647
Position information User
#107 #106 (The pulse-converted value of -1 R/W
(Table No. 1) unit
-2,147,483,648 to 2,147,483,647)
-2,147,483,648 to 2,147,483,647
Speed information User
#109 #108 (The pulse-converted value of -1 R/W
(Table No. 1) unit
1 to 1,000,000Hz)
m code information
#110 -1 to 32,767 -1 ⎯ R/W
(Table No. 1)
Operation
#111 information -1 to 4 -1 ⎯ R/W
(Table No. 1)
. .
. .
. .
-2,147,483,648 to 2,147,483,647
Position information User
#1295 #1294 (The pulse-converted value of -1 R/W
(Table No. 199) unit
-2,147,483,648 to 2,147,483,647)
-2,147,483,648 to 2,147,483,647
Speed information User
#1297 #1296 (The pulse-converted value of -1 R/W
(Table No. 199) unit
1 to 1,000,000Hz)
m code information
#1298 -1 to 32,767 -1 ⎯ R/W
(Table No. 199)
Operation
#1299 information -1 to 4 -1 ⎯ R/W
(Table No. 199)

7-3
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

• A single buffer memory No. is used for 16-bit data, and that of a serial buffer memory No. is
used for 32-bit data.
Use the 16-bit command (FROM/TO) for the buffer memory of 16-bit data.
Use the 32-bit command ( D FROM/ D TO) for the buffer memory of 32-bit data.
Treat the m code information (BFM#104, #110, ..... #248) and operation information
(BFM#105, #111, ..... #1299) as 32-bit data.

MOV K1 D0 K1→D0 m code 1

MOV K0 D1 K0→D1 Operation information 0


(Step-advance operation)

D TO K0 K104 D0 K1 D0→BFM#104
D1→BFM#105

• Attribute : W ... Writing R ... Reading

• Unit : User unit ... Varies as the system unit (BFM#36) is set.

7-4
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2 Details of BFM


7.2.1 BFM#1, #0 Maximum speed
The upper limit of the speed in each operation mode.
Set the bias speed (BFM#2), jog speed (BFM#3, #4), zero return speed (high speed) (BFM#5,
#6), zero return speed (creep) (BFM#7), operation speed Ι (BFM#15, #16) and operation
speed ΙΙ (BFM#19, #20) to be less than the maximum speed.
The setting unit varies as "system unit" (BFM#36) is set.
Here, the inclination of ac-/deceration is determined depending on the maximum speed, bias
speed (BFM#2), acceleration time (BFM#11) and deceleration time (BFM#12).
7.2.2 BFM#2 Bias speed
The start speed.
If it is used in combination with FX2N-10PG and stepping motor, set the speed, considering the
resonant area and self-start frequency.
The inclination of the ac-/deceleration is determined depending on the settings of the
maximum speed, bias speed, acceleration time and deceleration time.
7.2.3 BFM#4, #3 Jog speed
The speed during manual forward/reverse (JOG+/JOG-) operation.
Set the jog speed in the range between the bias speed (BFM#2) and maximum speed
(BFM#0, #1).
(Maximum speed > Jog speed > Bias speed)
When the jog speed is set at the maximum speed or more, it is operated at the maximum
speed, and if the jog speed is at the bias speed or less, it is operated at the bias speed.
When operation speed change (BFM#26 b10) is allowed (OFF), the speed during jog
operation can be changed.
7.2.4 BFM#6, #5 Zero return speed (high speed)
The high return speed during machine zero return operation.
Set the zero return speed (high speed) in the range between the bias speed (BFM#2) and
maximum speed (BFM#0, #1).
When operation speed change (BFM#26 b10) is allowed (OFF), the speed during zero return
operation can be changed.
7.2.5 BFM#7 Zero return speed (creep)
The speed is set for slow-speed operation after input of the near-point signal (DOG) during
machine zero return operation.
To improve the precision of the zero position, set to be as slow as possible.
When operation speed change (BFM#26 b10) is allowed (OFF), the speed during zero return
operation can be changed.
7.2.6 BFM#8 Zero-point signal number
The number of zero-point signals from dog input ON or OFF (the count timing is set with
BFM#36) to the stop is set.
The zero-point signal is counted when the leading edge is detected.
When the setting value is "0", it is immediately stopped if the dog input is turned to ON or OFF.
At this time, it is immediately stopped from the zero return speed (BFM#6, #5).
If a machine may be broken due to immediate stop, the value can be set to stop the machine
after the safety speed is gained at the creep speed (BFM#7).

7-5
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2.7 BFM#10, #9 Zero-point address


The address of the current value at the completion time of zero return operation is set.
When the zero return operation is completed, the value is written at the current address
(BFM#40, #39).
Here, the user unit (BFM#36) is selected, and the value which also includes the magnification
(BFM#36) of the position data is selected.
7.2.8 BFM#11 Acceleration time
The time from the bias speed (BFM#2) to the maximum speed (BFM#1, #0).
The inclination of the acceleration is determined depending on the bias speed (BFM#2),
maximum speed (BFM#1, #0) and acceleration time.
The settable range is 1 to 5000ms.
It is operated at 1ms for 0ms or less, and at 5000ms for 5001ms or more.
To use an approx. S-shaped ac-/deceleration control, set 64ms or more.
7.2.9 BFM#12 Deceleration time
The time from the maximum speed (BFM#1, #0) to the bias speed (BFM#2).
The inclination of the deceleration is determined depending on the bias speed (BFM#2),
maximum speed (BFM#1, #0) and deceleration time.
The settable range is 1 to 5000ms.
It is operated at 1ms for 0ms or less, and at 5000ms for 5001ms or more.
To use an approx. S-shaped ac-/deceleration control, set 64ms or more.
7.2.10 BFM#14, #13 Target address Ι
The target position (absolute address) or travel distance (relative address) in each operation
mode is set.
When the absolute address is used, the positioning operation is done to the target position
specified referring to the current address (BFM#39, #40). At this time, the rotation direction is
determined depending on the relationship whether the current address is larger or smaller than
the target address.
When the relative address is used, the positioning operation is done only by the travel distance
referring to the current work position.
At this time, the rotation direction is determined depending on the symbol of the target
address.
Here, the user unit (BFM#36) is selected, and the value which also includes the magnification
(BFM#36) of the position data is selected.
7.2.11 BFM#16, #15 Operation speed Ι
The practical operation speed in each operation mode.
Set the operation speed in the range between the bias speed (BFM#2) and maximum speed
(BFM#0, #1).
(Maximum speed > Operation speed Ι/ΙΙ > Bias speed)
If the operation speed is set at the maximum speed or more, it will operate at the maximum
speed. When the operation speed is set at the bias speed or less, it will operate at the bias
speed.
When operation speed change (BFM#26 b10) is allowed (OFF), the speed during positioning
operation can be changed.

7-6
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2.12 BFM#18, #17 Target address ΙΙ


The target position (absolute address) or travel distance (relative address) in the 2nd-speed
positioning operation is set.
When the absolute address is used, the positioning operation is done to the target position
specified referring to the current address (BFM#39, #40).
When the relative address is used, the positioning operation is done only by the travel distance
specified from the 1st speed target address.
Here, the user unit (BFM#36) is selected, and the value which also includes the magnification
(BFM#36) of the position data is selected.
7.2.13 BFM#20, #19 Operation speed ΙΙ
The practical operation speed during 2-speed positioning operation and interrupting 2-speed
positioning.
Set the operation speed in the range between the bias speed (BFM#2) and maximum speed
(BFM#0, #1).
(Maximum speed > Operation speed Ι/ΙΙ > Bias speed)
If the operation speed is set at the maximum speed or more, it will operate at the maximum
speed. When the operation speed is set at the bias speed or less, it will operate at the bias
speed.
When operation speed change (BFM#26 b10) is allowed (OFF), the speed during positioning
operation can be changed.
7.2.14 BFM#21 Override setting
By instructing a ration in the override setting, the practical operation speed can be changed
referring to the speed set for the jog speed (BFM#4, #3), operation speed Ι (BFM#16, #15),
operation speed ΙΙ (BFM#20, #19), zero return speed (BFM#6, #5) or creep speed (BFM#7).
The operation speed can be also changed during positioning.

Speed
10000Hz
7000Hz

Time

Operation speed 10000Hz

Operation speed 100% 70%

7.2.15 BFM#23, #22 Operation speed current value


When the pulse chain is output, the current value of the operation speed is stored. (When it is
stopped or is in the manual pulse generator input operation, it becomes "0".)
Units are as set in user unit (BFM#36).

7-7
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2.16 BFM#25, #24 Current address


The current address data is stored.
The stored address data is always the absolute address.
Here, the user unit (BFM#36) is selected, and the value which also includes the magnification
(BFM#36) of the position data is selected.
Note: Write the absolute address read from the servo motor using the ABS instruction in the
PLC to the BFM#40, #39, the current address (pulse converted value), mentioned later.
7.2.17 BFM#26 Operation commands
The items for error reset and pulse chain output start/output stop are assigned to each bit of
BFM#26. TO commands from the PLC turn ON and OFF each bit to start the operation.
Operation Detection
Bit No. Details
command timing
If any error occurs, the error will be reset with b0=ON
b0 Error reset Edge detection
to clear the status information and error code.
Deceleration is stopped with b1=ON during positioning
b1 STOP Level detection
operation (including the jog operation and zero return).
Deceleration is stopped with b2=ON during forward
b2 Forward limit Level detection
pulse output.
Deceleration is stopped with b3=ON during reverse
b3 Reverse limit Level detection
pulse output.
b4 Forward jog Forward pulses are output while b4 is ON. Level detection
b5 Reverse jog Reverse pulses are output while b5 is ON. Level detection
Zero return
b6 Machine zero return is started by turning ON b6. Edge detection
command
CLR signal is output by turning ON b7, the value of the
Data set type
zero point address (BFM#10, #9) is transferred to the
b7 zero return Edge detection
current address (BFM#25, #24 and #40, #39) and the
command
zero return completed flag (BFM#28) is turned on.
At the time of b8=OFF, operation is done by the
absolute address instruction (distance from the
Relative/ address value 0).
b8 Level detection
absolute address At the time of b8=ON, operation is done by the relative
address instruction (distance from the current
address).
The positioning operation selected in the operation
pattern (BFM#27) is started by turning ON b9.
b9 START Edge detection
Before turning ON b9, select the operation pattern
(BFM#27) and produce the PLC program.
Speed change (operation speed Ι, operation speed ΙΙ,
Speed change
zero return speed (high speed) and zero return speed
b10 disable during Level detection
(creep) and jog speed) during operation is disable
operation
when b10=ON.
m code OFF
b11 m code is turned OFF by turning ON b11. Edge detection
command
b12 to b15 Not defined. ⎯ ⎯

7-8
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

• Detection timing
Level detection : Effective while each bit is ON or OFF.
Edge detection : The change of OFF or ON is detected to start the operation.

• Priority sequence of start flag and stop flag


In each operation mode, the STOP command during operation is always valid, and is prior
to forward jog, reverse jog and start.
When the STOP command is ON, FX 2N -10PG stops deceleration. When the START
command is turned ON, the remaining-distance operation or next positioning operation is
started. (Selection with BFM36 b15)
However, If forward jog (BFM#26 b4)/reverse jog (BFM#26 b5) is ON during jog operation,
the jog operation will be restarted when the STOP command is turned OFF.

• ON/OFF process of each flag


If ON or OFF is written into each flag, the state will be held until the power supply of FX2N-
10PG is turned off.
Level detection is executed/stopped by writing ON/OFF.
Moreover, for edge detection, be sure to produce such a sequence program as each bit is
turned OFF after the assigned operation is executed by turning ON each bit.
(Unless each bit is turned OFF, the operation of 2nd time or following will be impossible.)

• Forward limit (b2) and reverse limit (b3)


When the forward/reverse limit (BFM#26 b2, b3) is turned ON, deceleration and stop will be
applied, and it will not be possible to travel in the direction of the limit switch which is turned
ON.
To drive away from the limit switch, use jog commands or a manual pulse generator in the
required direction.
Deceleration stop
However, immediate stop is
applied during manual pulse
Operation speed generator input operation.

Bias speed

ON
Forward limit input
OFF

Reverse jog and reverse manual Forward jog and forward


pulse generator input operation manual pulser input operation
are valid. are invalid.

7-9
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

• Transfer method of operation command

X000
M0 Error reset
X001
M1 STOP
X002 (N/O contact)
M2 Forward limit
X003 (N/C contact)
M3 Reverse limit
X004
M4 Forward jog
X005
M5 Reverse jog
X006
Zero point return
M6 command
M8000
Data reset type zero
M7 return command
M8000
Relative/absolute
M8 address
X007
M9 START
M8000 Speed change
M10 disablement during
operation
X010
m code OFF
M11 command
M8000
M12

M13
Not defined.
M14

M15
M8000 (RUN monitor)
TO K0 K26 K4M0 K1
(M15 to M0)→BFM#26(b15 to b0)

• In the above example, consider that the forward limit input switch (X002) and reverse limit
input switch (X003) are connected at the N/C contact.

• TO commands are written from the PLC to BFM. The above example shows that FX2N-
10PG is a special unit connected as the module nearest to the basic unit.

• If the following program is used, 2nd and following operations are impossible since the OFF
state of the start bit in the operation mode can not be produced in FX2N-10PG. Change it as
shown in the right.

X000 X000
TO K0 K26 H0200 K1 M9

X001 ✔ X001
TO K0 K26 H0200 K1

M8000
TO K0 K26 K4M0 K1

7-10
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2.18 BFM#27 Operation pattern


The operation pattern executed by FX2N-10PG is assigned to each bit.
TO commands from the PLC select an operation pattern in which it is operated by turning ON/
OFF each bit.
Operation
Bit No. Remarks
pattern
When b0 is ON, the 1st-speed positioning operation is selected.
1st-speed
Turn ON b0, and write relevant data into the target address Ι (BFM#14,
b0 positioning
#13) and operation speed Ι (BFM#16, #15). Then turn ON START input
operation
or START flag (BFM#26 b9), and the positioning operation will begin.
When b1 is ON, the interrupt 1st-speed positioning operation is
selected.
Interrupt 1st-
Turn ON b1, and write relevant data into the target address Ι (BFM#14,
b1 speed positioning
#13) and operation speed Ι (BFM#16, #15). Then turn ON START input
operation
or START flag (BFM#26 b9), and the positioning operation will begin.
Use X0 for the interrupt input.
When b2 is ON, the 2nd-speed positioning operation is selected.
2nd-speed Turn ON b2, and write relevant data into the target address Ι (BFM#14,
b2 positioning #13), target address ΙΙ (BFM#18, #17), operation speed Ι (BFM#16,
operation #15) and operation speed ΙΙ (BFM#20, #19). Then turn ON START input
or START flag (BFM#26 b9), and the positioning operation will begin.
When b3 is ON, the interrupt 2nd-speed positioning operation is
selected.
Interrupt 2nd- Turn ON b3, and write relevant data into the target address Ι (BFM#14,
b3 speed positioning #13), target address ΙΙ (BFM#18, #17), operation speed Ι (BFM#16,
operation #15) and operation speed ΙΙ (BFM#20, #19). Then turn ON START input
or START flag (BFM#26 b9), and the positioning operation will begin.
Use X0 and X1 for the interrupt input.
When b4 is ON, the interrupt stop operation is selected.
Turn ON b4, and write relevant data into the target address Ι (BFM#14,
Interrupt stop
b4 #13) and operation speed Ι (BFM#16, #15). Then turn ON START input
operation
or START flag (BFM#26 b9), and the positioning operation will begin.
Use X0 for the interrupt input.
Positioning operation in the table system is executed. START command
b5 Table operation (START input or BFM#26 b9) executes the operation form the table No.
instructed with BFM#98. (BFM#100 to BFM#1299 are used.)
When b6 is ON, the variable speed operation is selected.
Turn ON b6 and write the speed data into the operation speed Ι
Variable speed
b6 (BFM#16, #15), and the variable speed operation will start immediately.
operation
It is not necessary to turn ON the START input or START flag (BFM#26
b9).
When b7 is ON, the manual pulse generator input operation is selected.
Turn ON b7, and apply the manual pulse generator input, and the pulses
Manual pulse
will be output to the motor.
b7 generator input
Input from the manual pulse generator is done with φA and φB.
operation
It is not necessary to turn ON the START input or START flag (BFM#26
b9).
b8 to b15 Not defined. ⎯

7-11
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

• Be sure to produce the program of PLC to make the operation pattern selection earlier than
START input or START flag (BFM#26 b9) ON.

• When all bits of BFM#27 are OFF or plural bits are ON, the positioning operation will not be
started even though START input or START flag (BFM#26 b9) is turned ON. (If any plural
bits are turned ON, an error will occur.)

• Valid while each bit is ON. (Level detection)


7.2.19 BFM#28 Status information
The item showing the FX2N-10PG state is assigned to each bit.
FROM command from the PLC read each bit to allow the FX2N-10PG state to be checked.
Bit No. Status Details
b0 READY/BUSY ON: Ready (pulse output stops.) OFF: Busy (Pulses are output.)
Forward pulse
b1 ON when forward pulses are output.
outputting
Reverse pulse
b2 ON when reverse pulses are output.
outputting
Set when zero return is normally ended.
Zero return
b3 Reset with power supply OFF, zero return command and data set type
completion
zero return command.
Set when the value of the current address (BFM#25, #24) exceeds the
Current value range of 32-bit data (-2,147,483,648 to 2,147,483,647).
b4
overflow Reset with power supply OFF, zero return command and data set type
zero return command.
Set if an error occurs, the error code is stored into BFM#7.
b5 Error occurrence
Can be reset by the operation command (BFM#26).
Set when the positioning operation is normally complete.
b6 Positioning end Cleared with zero return, positioning operation START and operation
command (BFM#26) (only when the error occurs).
Remaining distance Set with remaining-distance drive waiting during STOP input.
b7 drive waiting during Reset by restarting
STOP input Operation with STOP input is set with the parameter (BFM#36).
Set when m code is turned ON.
b8 m code ON
It is reset with m code OFF command (BFM#26).
Manual pulse
b9 generator input UP Turned ON when input from manual pulse generator is counted up.
counting
Manual pulse
b10 generator input Turned ON when input from manual pulse generator is counted down.
DOWN counting
b11 to
Not defined. ⎯
b15

7.2.20 BFM#29 m code


When m code is ON, the m code No. is stored.
When m code is OFF, -1 is stored.
7.2.21 BFM#30 Machine model code
K5120 (fixed), FX2N-10PG machine model code KS120 (fixed) is stored.

7-12
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2.22 BFM#33, #32 pulse rate


Sets how many pulses per motor revolution are given to the drive unit.
If any electronic gearing is present in the servo motor, it is necessary to consider its
magnification.
The relationship between pulse rate and electronic gearing is shown below.
Pulse rate (BFM#33, #32) = Resolution power of encoder (positioning feedback pulses) /
Electronic gearing (CMX/CDV)
The pulse rate is necessary only when the system unit (BFM#36) is set in "mechanical system
unit" or "compound system unit", it is ignored when it is set in the "motor system unit".
7.2.23 BFM#35, #34 Feed rate
The machine travel per motor revolution is set.
The feed rate is necessary only when the system unit (BFM#36) is set at "mechanical system
unit" or "compound system unit". When "motor system unit is set", it is ignored.
7.2.24 BFM#36 Parameters
Bit No. Item Details
b0 (b1, b0)=00: Motor system (b1, b0)=01: Machine system
Unit system
b1 (b1, b0)=10: Compound system (b1, b0)=11: Compound system
b3, b2 Not defined. ⎯
b4 Magnification of (b5, b4)=00: 1 times (b5, b4)=01: 10 times
b5 position data (b5, b4)=10: 100 times (b5, b4)=11: 1000 times
b7, b6 Not defined. ⎯
Pulse output OFF : FP/RP=Forward pulse/reverse pulse
b8
format ON : FP/RP=Pulse/direction
OFF : Current-value increase with forward pulse
b9 Rotation direction
ON : Current-value decrease with forward pulse
Zero return OFF : Current-value decrease direction
b10
direction ON : Current-value increase direction
Ac-/deceleration OFF : Trapezoidal ac-/deceleration control
b11
mode ON : Approx. S-shaped ac-/deceleration control
OFF : N/O contact
b12 Dog input polarity
ON : N/C contact
OFF : Dog forward end
b13 Count start timing
ON : Dog backward end
b14 Not defined. ⎯
OFF : Remaining-distance operation
b15 STOP mode
ON : Positioning end

7-13
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

• b1, b0 system unit


Units handled for the position and speed are set.
Bit status
Item Details
b1 b0
Motor system
0 0 Controls the position based on “PLS” (pules).
unit
Mechanical
system unit
0 1 Controls the position based on “µm, mdeg, 10-4 inch, etc”.

Compound 1 0 The compound system units are used as mechanical system for
system unit 1 1 position command and motor system for speed command.

Setting items for position data and speed data are handled in the units shown in the table
below.
Motor system Mechanical Compound
Item
unit system unit system unit
Pulse rate (BFM#33, #32) • Pulse • Pulse
• µm • µm
• Invalid
Feed rate (BFM#35, #34) • mdeg • mdeg
• 10-4inch • 10-4inch
Zero point address (BFM#10, #9) • µm • µm
Position Target address Ι (BFM#14, #13) • mdeg • mdeg
• Pulse
data Target address ΙΙ (BFM#18, #17)
Current address (BFM#25, #24) • 10-4inch • 10-4inch

Maximum speed (BFM#1, #0)


Bias speed (BFM#2)
Jog speed (BFM#4, #3) • cm/min
Speed
Zero return speed (high speed) (BFM#6, #5) • Hz • 10deg/min • Hz
data
Zero return speed (creep) (BFM#7) • inch/min
Operation speed Ι (BFM#16, #15)
Operation speed ΙΙ (BFM#20, #19)

The values above are necessary only when the unit systems for the pulse rate (BFM#33, #32)
and feed rate (BFM#35, #34) are set in "mechanical system unit" and "compound system unit".
When the system is set for "motor system unit", they are ignored.

7-14
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

Concept of mechanical system unit


When the unit system is set in BFM#36 b1, b2 as machine or compound system, different from
the motor system [(b1, b0) = (0, 0)], data is processed in the mechanical system units of mm,
deg, or inch. Though there is at this time no buffer memory to select the unit from mm, deg or
inch, it is thought that the position data and speed data used in the feed rate (BFM#35, #34)
parameter (BFM#36) in the positioning program are all the same unit. Therefore, even though
a unit is used for setting, the pulse output of the same amount can be gained if the setting
value is the same.

Example
Conditions
Pulse rate : 4,000 [PLS/REV]

Feed rate : 100 [µm/REV, mdeg/REV, × 10-1minch/REV]

Minimum command unit : [3] (The travel is processed in 10-3mm, 10-3deg and
10-4inch.)
Electronic gearing of servo amplifier: 1/1
1) When mm is used for setting
The following pulses are output for the positioning operation of travel 100 [ × 10-3mm] and
operation speed of 6 [cm/min].

Pulses generated = Travel stroke*1 / Feed rate*1 × Pulse rate


= 100 [ × 10-3mm] / 100 [µm/REV] × 4,000 [PLS/REV]
= 4,000 [PLS]

Pulse frequency = Operation speed*1 / Feed rate*1 × Pulse rate


= 6 [cm/min] × 104 / 60 / 100 [µm/REV] × 4,000 [PLS/REV]
= 40,000 [Hz]

*1 The units are matched for each calculation. 1mm = 103µm, 1cm = 104µm, 1min = 60s
2) When deg is used for setting
The following pulses are output for the positioning operation of travel 100 [ × 10-3deg] and
operation speed of 6 [deg/min].

Pulses generated = Travel stroke*2 / Feed rate*2 × Pulse rate


= 100 [ × 10-3deg] / 100 [mdeg/REV] × 4,000 [PLS/REV]
= 4,000 [PLS]

Pulse frequency = Operation speed*2 / Feed rate*2 × Pulse rate


= 6 [deg/min] × 104 / 60 / 100 [mdeg/REV] × 4,000 [PLS/REV]
= 40,000 [Hz]

*2 Units are matched for each calculation. 1deg = 103mdeg, 1min = 60s

7-15
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

3) When inch is used for setting


The following pulses are output for the positioning operation of travel 100 [ × 10-4inch] and
operation speed of 6 [inch/min].

Pulses generated = Travel stroke*3 / Feed rate*3 × Pulse rate


= 100 [ × 10-4inch] / 100 [ × 10-1minch/REV] × 4,000 [PLS/REV]
= 4,000 [PLS]

Pulse frequency = Operation speed*3 / Feed rate*3 × Pulse rate


= 6 [inch/min] × 104 / 60 / 100 [ × 10-1minch/REV] × 4,000 [PLS/REV]
= 40,000 [Hz]

*3 Units are matched for each calculation. 1inch = 103minch, 1min = 60s

• b5, b4 Magnification of position data


The position data which will be written into the zero point address (BFM#10, #9), target
address Ι (BFM#13, #14), target address ΙΙ (BFM#18, #17) and current address (BFM#25,
#24) can be magnified.
Setting of BFM#36 b5, b4 Magnification
b5,b4 = 0, 0 Position data × 1
b5,b4 = 0, 1 Position data × 10
b5,b4 = 1, 0 Position data × 100
b5,b4 = 1, 1 Position data × 1000

Example
When the content of the target address Ι (BFM#13, #14) is 123 and BFM#36 b5, b4 is set at
1, 1, the practical address (or travel stroke) becomes as follows.

Motor system unit : 123 × 1000 = 123000 (pulses)


Mechanical system unit, compound system unit : 123 × 1000 = (µm, mdeg, 104inch)
=123 (mm, deg, 10-1inch)

7-16
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

• b8 Pulse output format


b8=0: Forward pulses (FP) / reverse pulses (RP)
FP

RP

b8=1: Pulses (FP) / direction DIR (RP)

FP

RP
Forward Reverse

• b9 Rotation direction
b9=0: The current value is increased by the forward pulses.
b9=1: The current value is decreased by the forward pulses.

• b10 Zero return direction


b10=0 : Starts operation in the decreasing direction of the current value when zero
return is applied.
b10=0 : Starts operation in the increasing direction of the current value when zero
return is applied.

• b11 Ac-/deceleration mode


b11=0: Trapezoid ac-/deceleration control is applied to the operation.
b11=1: Approximate S-shaped ac-/deceleration control is applied to the operation.

• b12 Polarity of dog input


b12=0: N/O contact (Activated for input ON.)
b12=1: N/C contact (Activated for input OFF.)

• b13 Zero point signal count start timing


b13=0 : When the front end of the near-point dog reaches the DOG switch (OFF to ON).
b13=1 : When the rear end of the near-point dog reaches the DOG switch (ON to OFF).

• b15 STOP mode


b15=0 : Operation is interrupted by the stop command, the remaining-distance is started
with the restart command.
b15=1 : Operation remaining-distance is not completed, positioning is executed to the next
position.

7-17
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2.25 BFM#37 Error code


If an error occurs, the error code will be stored in BFM#37.
Error code Details
K0 No error
K1 Not defined.
The value setting range is faulty. A value outside the range is set at each BFM.
K{{{{2
Example: The pulse rate is outside 1 to 999,999.
The setting value overflows.
K{{{{3 When the pulses are converted into the travel or operation speed, a value which
exceeds 32-bit data is set.
Forward or reverse limit reached.
K4 When the work is moved from the limit switch by jog or manual pulse generator, the
error is cancelled.
K5 Not defined.
At BFM#26, the zero return command (b6), data set type zero return command (b7)
K6 and start (b9) are ON at the same time. (When the forward jog (b4) and reverse jog
(b5) are ON at the same time, there is not an error.)
K7 At BFM#27, plural operation patterns are selected.

• {{{{ relates to BFM 0 ~ 1299.


7.2.26 BFM#38 Terminal information
Items below show the state of each input terminal.
Terminal
Bit No. Details
information
b0 START input When START terminal input is on, b0 is ON.
b1 DOG input When DOG terminal input is on, b1 is ON.
b2 PG0 input When PG0 terminal input is on, b2 is ON.
b3 X0 input When X0 terminal input is on, b3 is ON.
b4 X1 input When X1 terminal input is on, b4 is ON.
b5 φA input When A terminal input is on, b5 is ON.
b6 φB input When B terminal input is on, b6 is ON.
b7 CLR signal When CLR signal is on, b7 is ON.
b8 to b15 Not usable. ⎯

• As b7 is turned ON/OFF, CLR output terminal can be forced ON/OFF.


7.2.27 BFM#40, #39 Current address (Pulse converted value)
The current address data is stored as a pulse converted value.
Address data stored is always the pulse converted value of the absolute address.
Write the absolute address read from the servo motor using the ABS instruction in the PLC to
this buffer memory.
7.2.28 BFM#42, #41 Manual pulse generator input current value
Pulses input from the manual pulse generator are stored.
Forward increases and reverse decreases the stored value.
Here, the stored data does not includes the magnification of the manual pulse generator input
electronic gearing (BFM#45, #46).

7-18
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

7.2.29 BFM#44, #43 Manual pulse generator input frequency


The current frequency of pulses input from the manual pulse generator is stored.
Here, the stored data does not includes the magnification of the manual pulse generator input
electronic gearing (BFM#45, #46).
7.2.30 BFM#45 Manual pulse generator input electronic gearing (numerator)
The magnification applied to the pulse chain input from the manual pulse generator is written.
7.2.31 BFM#46 Manual pulse generator input electronic gearing (denominator)
The dirsion applied to the pulse chain input from the manual pulse generator is written.

The manual pulse generator input electronic gearing (numerator) and manual pulse generator
input electronic gearing (denominator) is applied to the pulse chain input from the manual
pulse generator as follows.

Input from manual pulse generator × numerator of manual pulse generator input electronic
gear (BFM#45) / denominator of manual pulse generator input electronic gearing (BFM#46) =
Number of output pulses
7.2.32 BFM#47 Input response of manual pulse generator
The follow-up ability of the pulse chain input from the manual pulse generator and the pulse
chain output is set in five steps of 1 through 5.
If the value is small, the response becomes low and acceleration/deceleration is smooth.
If the value is large, the response becomes high and a pulse chain which is almost identical to
the input pulse chain is output.
7.2.33 BFM#50 JOG operation WAIT period setting mode (in Version 1.70 or later)
If 1 is written to BFM#50, the waiting period from the time pulse output of one address is
started till the continuous pulse output is started can be specified by setting the value (ms) in
BFM#51.
Value in BFM#50 JOG operation WAIT period
0 (default value) 300ms
1 Waits for the period (value in ms) set in BFM#51

7.2.34 BFM#51 JOG operation WAIT period (in Version 1.70 or later)
The waiting period from the time pulse output of one address is started till the continuous pulse
output started is written. (Default value: 300ms)
BFM#50 must be 1 in order to make the value in BFM#51 valid. When BFM#50 is 0, the WAIT
period is 300ms (default value).
The settable range is 1 to 5000ms.
It is operated at 1ms for 0ms or less, and at 5000ms for 5001ms or more.
Speed

Pulse output of
one address One address
JOG

Time
JOG
command WAIT period

BFM#51 (1 to 5000ms)

7-19
Model FX2N-10PG Pulse Output Block Buffer memory (BFM) 7

Note:
If the pulse output of one address is longer than the time set in BFM#51, there will be no WAIT
period and the next pulse output is executed.
Speed
<When pulse output of one address takes 5ms>
Pulse output of
one address One address
JOG

Time
JOG
command
5ms It takes at least 5ms even if 1 is
set in BFM#51.

7.2.35 BFM#64 Version information


The FX2N-10PG version information is stored.
Example: Version 1.00 → 100 is stored.
7.2.36 BFM#98 Table start No.
When positioning operation is executed with the program of the table system, the start table
No. is written.
7.2.37 BFM#99 Executing table No.
The table No. which is currently being executed is stored.
7.2.38 BFM#100 and later BFM for program with table system
The table No. and BFM number are assigned as follows.
Table Position Speed m code Operation
No. information information information information
0 BFM#101, #100 BFM#103, #102 BFM#104 BFM#105
1 BFM#107, #106 BFM#109, #108 BFM#110 BFM#111
2 BFM#113, #112 BFM#115, #114 BFM#116 BFM#117
3 BFM#119, #118 BFM#121, #120 BFM#122 BFM#123
.. .. .. .. ..
. . . . .
199 BFM#1295, #1294 BFM#1297, #1296 BFM#1298 BFM#1299

7-20
Model FX2N-10PG Pulse Output Block Operation pattern 8

8. Operation pattern

8.1 General items for positioning operation


8.1.1 Outline of positioning operation
Speed
Acceleration time Deceleration time
(BFM#11) (BFM#12)

Maximum speed
(BFM#1,#0)
Approximate
S-shaped control
(BFM#36 b11 ON)
Operation speed
(BFM#16,#15)

Trapezoidal control
(BFM#36 b11 OFF)

Bias speed
(BFM#2)
Time

S-shape time constant


64ms fixed

8-1
Model FX2N-10PG Pulse Output Block Operation pattern 8

Item BFM No. Details


Maximum speed BFM#1,#0 Upper limit of speed in each operation mode
Bias speed BFM#2 The start speed.
Operation speed Ι BFM#16,#15 Actual operation speed in each operation mode
Actual operation speed during 2nd-speed positioning
Operation Operation speed ΙΙ BFM#20,#19
operation and interrupt 2nd-speed positioning
speed
Speed during manual forward/reverse (jog+/jog-)
Jog speed BFM#4,#3
operation
Acceleration time BFM#11 Time from bias speed to maximum speed
Deceleration time BFM#12 Time from maximum speed to bias speed
Target position (absolute address) or travel distance
Target address Ι BFM#14,#13
(relative address) in each operation mode
Travel Target position (absolute address) or travel distance
Target address ΙΙ BFM#18,#17 (relative address) during 2nd-speed positioning
operation

• The gradient of ac-/deceleration is determined by the maximum speed, bias speed,


acceleration time and deceleration time.

• Trapezoidal control or approximate S-shaped control (approximate S-shaped ac-/


deceleration control) is selected with the parameter (BFM#36 b11).

• A difference of 64ms is generated on the positioning operation completion time between


trapezoidal control and approximate S-shaped control. The travel is the same.

• For approximate S-shaped control, set the acceleration time (BFM#11) and deceleration
time (BFM#12) at 64ms or more (64 to 5000).

• Jog speed, operation speed Ι, operation speed ΙΙ, zero return speed (high speed) and zero
return speed (creep), are operated at the bias speed when 0Hz is set for the applied speed
data.
The minimum value for the bias speed is 1Hz.
8.1.2 STOP command process
In each operation mode, STOP command during operation is valid at all times.
The STOP switch is wired to the input terminal of the PLC, ON/OFF is written into b1 of
BFM#26 with the program (TO command) of the PLC.
When STOP command (BFM#26 b1) is turned ON, FX2N-10PG will decelerate and stop.
When it is restarted, the operation remaining distance (it travels the remaining distance of the
positioning operation to which STOP is input) or the positioning end (the positioning operation
to which STOP is input is ended, and the next positioning operation is newly started) is
selected according to the setting of parameter (BFM#36, b15).
However, when the command of forward jog (BFM#26 b4)/reverse jog (BFM#26 b5) is ON
during jog operation, the jog operation starts again when the STOP command is turned OFF.

8-2
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.1.3 Overlapped command of operation modes


Positioning operations are not started even if START is input or START command (BFM#26 b9)
is turned ON when plural operation patterns are selected with BFM#27, or the manual pulse
generator input operation is selected (plural bits are on). (The error code K6 or K7 is written in
BFM#37.)
The positioning operation is not completed when the forward jog (BFM#26 b4), reverse jog
(BFM#26 b5) or other plural positioning operation commands are ON at the same time.
8.1.4 Small travel
1st-speed positioning operation
Acceleration time Deceleration time
Speed

Trapezoidal control Operation


(BFM36 b11 OFF) Approx. S-shaped speed Ι
control (BFM#16,#15)
(BFM#36 b11 ON)

Bias speed
(BFM#2)
Time
Start

Travel time < Acceleration time + Deceleration time

• If the time required for the travel (BFM#14, #13, #18, #17) is shorter than the acceleration/
deceleration time, the practical operation does not reach the set operation speed.
Interrupt 1st-speed positioning
Deceleration time
Speed

Approx. S-shaped control


(BFM#36 b11 ON)
Trapezoidal control Since deceleration is slower on the
(BFM#36 b11 OFF) approx. S-shaped control than on the
trapezoidal control, the time to stop
becomes slightly shorter but the travel
Operation stroke is equal to that of the trapezoidal
speed Ι control.
(BFM#16,#15)
Target address Ι
(BFM#14,#13)

Bias speed
(BFM#2)
Time
Start Interrupt input (X0)

Travel time < Deceleration time

• If the time required for the travel (BFM#14, #13) is shorter than the deceleration time, the
pulse output will be stopped when it reaches the target address Ι (BFM#14, #13) during
deceleration.

• If the travel is 0, it will immediately stop when the interrupt input X0 is turned on.

8-3
Model FX2N-10PG Pulse Output Block Operation pattern 8

2nd-speed positioning operation


1) When 1st-speed travel is small

Deceleration
Acceleration time time
Speed

Approx. S-shaped control


(BFM#36 b11 ON)

Trapezoidal control
(BFM#36 b11 OFF)
Operation
speed Ι
(BFM#16,#15)

Bias speed Operation speed ΙΙ


(BFM#2) (BFM#20,#19)
Time
Start

Travel time < Deceleration time

• If the travel time of 1st speed is shorter than the time required for deceleration to operation
speed ΙΙ (BFM#20, #19), the operation speed of 1st speed does not reach operation speed
Ι (BFM#16, #15).

• If the travel of the 1st speed is 0, it will operate at the operation speed and travel of 2nd
speed. (There is no error.)

2) When 2nd-speed travel is small

Deceleration time
Speed

Trapezoidal control
(BFM#36 b11 OFF)
Target address ΙΙ
Operation (BFM#18,#17)
speed Ι
(BFM#16,#15)

Approx. S-shaped control


(BFM#36 b11 ON)

Bias speed
(BFM#2)
Time
Start
Travel time < Deceleration time

• If the travel time of 2nd speed is shorter than the time required for deceleration from
operation speed ΙΙ (BFM#20, #19), it will immediately stop when the travel reaches target
address ΙΙ (BFM#18, #17).

• If the travel of the 2nd speed is 0, the work will be decelerated and stopped to make the
travel distance equal to target address Ι (BFM#14, #13) as for a 1st-speed positioning
operation. (There is no error.)

8-4
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.1.5 Forward/reverse limits


FX2N-10PG does not name inputs for the forward/reverse limit switches. The switches should
be connected to the PLC, the bits b2 (forward limit) and b3 (reverse limit) of BFM#26 are
turned ON or OFF with these inputs. For safety, the limit switches should be wired to both the
PLC and the servo amplifier.
In the example below the limit switches to the PLC are made to activate slightly earlier than
those to the servo amplifier.
Forward Forward Reverse Reverse
limit limit limit limit

LSP LSN

PLC Servo amplifier

• Since such terminals are not provided on the drive amplifier for the stepping motor, be sure
to provide the terminals in the PLC.

When the forward/reverse limit (BFM#26 b2, b3) is turned ON, deceleration and stop will be
applied, and it will not be possible to travel in the direction of the limit switch which is turned
ON.
To drive away from the limit switch, use jog commands or a manual pulse generator in the
required direction.

Deceleration stop
However, it is immediately
Operation stopped in the manual pulse
speed generator operation.

Bias speed

Forward limit ON
input OFF

Valid for reverse jog and


reverse manual pulser input Invalid for forward jog and
operation. forward manual pulse
generator input operation.

8-5
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.1.6 Cautions for use of mechanical system/compound system units

• Error of output pulse amount


When the pulse rate (BFM#33, #32), feed rate (BFM#35, #34) and relative travel distance
are designated A, B and C respectively, C × (A/B) expresses the pulse amount which is
output from FX2N-10PG.
If C × (A/B) is an integer even though (A/B) is not an integer, a command error will not occur.
However, if C × (A/B) is not an integer, an integrated error will occur in the current address
when the relative travel is repeated for operation. Moreover, though an error of less than one
pulse occurs during the absolute address operation because of the rounding process of a
fractional number, an integrated error will not occur.
However, such an integrated error does not occur when the motor system unit is used.

• Limitation of output pulse frequency


The following relationship is present between the motor system unit and mechanical system
unit, and is automatically converted.

Speed command Pulse rate (BFM#33, #32) × 104


× = Speed command (Hz) × 60
cm/min, 10deg/min, inch/min Feed rate (BFM#35, #34)

When setting the speed data in the mechanical system unit, set a pulse-converted value in
the range of 1 to 1,000,000Hz.

8-6
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.2 Jog operation


8.2.1 Outline of jog operation

Acceleration time Deceleration time


(BFM11) (BFM#12)
Speed

Maximum
speed
(BFM#1,#0)

Jog speed
(BFM#4,#3)

Bias speed
(BFM#2)
Time
Jog operation input

300ms

• Forward pulses are output for forward jog.

• Reverse pulses are output for reverse jog.

• When ON time of the forward/reverse jog (BFM#26 b4, b5) is less than 300ms, a pulse
chain which is equivalent to +/- (user unit) at the current address is output.

• When ON time of the forward/reverse jog (BFM#26 b4, b5) is 300ms or more, a pulse chain
is continuously output.
Deceleration stop is applied by turning OFF the forward/reverse jog (BFM#26 b4,b5).

• Deceleration stop is applied when jog operation is executed in the opposite direction during
forward or reverse jog operation.

• Deceleration stop is applied when the forward/reverse limit (BFM#26 b2, b3) is turned ON.
When the forward/reverse limit has been reached, the work can be driven away using the
forward/reverse jog, whichever is applicable.
Deceleration
stop
Jog speed
(BFM#4,#3)

Bias speed
(BFM#2)

Forward limit ON
input OFF

Reverse jog valid Forward jog invalid

8-7
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.2.2 Speed change during jog operation

Change with Jog speed setting

Speed
10000Hz
7000Hz

Time
Jog input

Jog speed
(BFM#4,#3) 10000Hz 7000Hz

• When speed change disable (BFM#26 b10) during operation is ON, the change of jog
speed (BFM#4, #3) is not permitted.

Change with override setting


Speed

10000Hz
7000Hz

Time
Jog input

Jog speed
(BFM#4,#3) 10000Hz

Override
(BFM#21) 100% 70%

• According to the override setting (BFM#21), the actual operation speed is instructed or
changed with the ratio in reference to the jog speed (BFM#4, #3).

8-8
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.3 Machine zero return


8.3.1 Outline of zero return
Deceleration time Acceleration time
(BFM#12) (BFM#11)

Maximum speed
(BFM#1,#0)
Zero point address
(BFM#10, #9)

Zero return speed


(maximum speed)
(BFM#6,#5)

Zero return speed (creep)


(BFM#7) Bias speed
(BFM#2)

DOG

PG0 signal

Zero point signal number


(BFM#8)

• Zero return operation


Zero return operation is started with the leading edge (change of OFF → ON) of the zero
return command (BFM#26 b6).
After moving in the zero return direction (BFM#36 b10) at the zero return speed (high
speed) (BFM#6, #5), speed decelerated to the zero return speed (creep)(BFM#7) with the
dog input, and the work is stopped after a number (BFM#8) instructed by the zero point
signal is counted.
8.3.2 Zero return direction
BFM#36 b10=0, decreases current position value.
BFM#36 b10=1, increases current position value.
8.3.3 Polarity of dog input
BFM#36 b12=0, N/O contact.
BFM#36 b12=1, N/C contact.
8.3.4 Count start timing
BFM#36 b13=0, zero signal counting is started at the front edge (OFF → ON) of the near-point
dog.
BFM#36 b13=1, zero signal counting is started at the rear edge (ON → OFF) of the near-point
dog.

8-9
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.3.5 Zero return speed

• Zero return speed (high speed)


Set Bias speed (BFM#2) ≤ Zero return speed (high speed) (BFM#6, #5) ≤ Maximum
(BFM#1, #0).
If Bias speed > Zero return speed (high speed), operation is executed at the bias speed.

• Zero return speed (creep)


Set Bias speed ≤ Zero return speed (creep) (BFM#7) ≤ Maximum speed (BFM#1, #0).
If Bias speed > Zero return speed (creep), operation is executed at the bias speed.
8.3.6 Zero return completed flag
When a series of operations are completed, CLR signal (20 to 30ms) is output. The value of
the zero point address is written into the current address, and the zero return completion
(BFM#28 b3) is turned ON.
The zero return completed flag is reset with the zero return command, data set type zero
return command or power shutdown.
8.3.7 Change of zero return speed
The zero return speed (high speed) and zero return speed (creep) can be changed at any
time.
However, a change can not be received when the speed change disable (BFM#26 b10) during
operation is ON.
8.3.8 Data set type zero return
In the data set type zero return mode, the work does not move, and the zero return process is
applied on the spot.
On equipment that does not use a dog switch, or a transfer line without a mechanical zero
point, the zero return process is done on the spot by turning ON the data set type zero return
command (BFM#26 b7) after moving the work to a desired position in the jog mode.
CLR signal (20 to 30ms) is output at the leading edge of the data set type zero return
command (BFM#26 b7), the value of the zero point address is written into the current address,
and the zero return completion (BFM#28 b3) is turned ON.
The zero return completed flag is reset with the zero return command, data set type zero
return command or the power shutdown.

8-10
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.3.9 Dog search function


When the forward/reverse limits (BFM#26 b2, b3) are provided, zero return which uses the dog
search function can be executed.
Zero return direction
Reverse limit DOG Forward limit

(BFM#26 b3) (BFM#26 b2)

Reverse operation

(4) (3) (2) (1)


Zero point

Forward operation

1) Start position, near-point signal OFF (before passing the dog)


Operation is at the zero return speed (high speed) in the zero return direction. After the dog
is detected, speed decelerates to creep, and the PG0 signal is counted for stopping.
2) Start position, near-point signal ON
Operation is at the zero return speed in the direction opposite to the zero return direction
once, until it moves outside of the dog signal.
Hereafter, operation is at the zero return speed in the zero return direction. After the dog is
detected, speed decelerates to creep, and the PG0 signal is counted for stopping.
3) Start position, near-point signal OFF (after passing at the dog)
Operation is at the zero return speed in the zero return direction, and is decelerated and
stopped at the forward/reverse limit.
Hereafter, operation is at the zero return speed in the direction opposite to the zero return
direction. After the dog is detected, speed is decelerated and stopped.
Operation is at the zero return speed in the zero return direction again. After the dog is
detected, speed decelerates to creep, and the PG0 signal is counted for stopping.
4) When the extreme limit switch (forward limit or reverse limit) in the zero return direction is
on, it is operated at the zero return speed in the direction opposite to the zero return
direction. After the dog is detected (escaping), it is decelerated and stopped.
It is operated at the zero return speed in the zero return direction. After the dog is detected,
speed decelerates to creep, and the PG0 signal is counted for stopping.
8.3.10 Forced ON/OFF of CLR signal
The status of CLR signal is assigned to b7 of BFM#38.
If ON/OFF is written to the bit, the CLR signal can be forced ON/OFF.

8-11
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.4 1st-speed positioning operation


8.4.1 Outline of 1st-speed positioning operation

Deceleration time Deceleration speed


(BFM#11) (BFM#12)
Speed

Maximum speed
(BFM#1,#0)

Operation speed Ι
(BFM#16,#15)

Target address Ι
(BFM#14,#13)

Bias speed
(BFM#2)
Time

START

• Positioning operation
If START is input or START (BFM#26 b9) is turned ON when the 1st-positioning operation
(BFM#27 b0) operation pattern is selected, the positioning operation is started to target
address Ι (BFM#14, #13) at operation speed Ι (BFM#16, #15).
8.4.2 Operation speed
The actual operation speed is expressed as [Actual operation speed = Operation speed Ι
(BFM#16, #15) × Override (BFM#21)].
Operation speed Ι can be changed at all times.
However, the operation speed can not be changed when the speed change disable (BFM#26
b10) during operation is ON.
8.4.3 Address instruction
Absolute address and relative address can be used with BFM#26 b8.
b8=OFF : Absolute address instruction (Travel is set by the distance from
the address value 0.)
b8=ON : Relative address instruction (Travel is set by the distance from
the current address.)
8.4.4 Rotation direction
Absolute address mode : The rotation direction is determined depending on the large/small
relationship between the current address (BFM#25, #24) and target
address Ι (BFM#14, #13).
Relative address mode : The rotation direction is determined depending on the symbol
(positive/negative) of target address Ι (BFM#14, #13).

8-12
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.4.5 Positioning complete flag


The positioning complete flag (BFM#28 b6) is reset with START input, START command
(BFM#26 b9), forward jog (BFM#26 b4), reverse jog (BFM#26 b5), zero return (BFM#26 b6),
data set type zero return (BFM#26 b7), variable-speed operation, manual pulse generator
input operation or power shutdown, and is turned ON when the target address is reached.
However, it is not reset with START input or START command when the travel is 0.
(If it is OFF before start of positioning, it is turned ON.)

• When positioning operation is stopped with STOP command, the positioning complete flag
(BFM#28 b6) is not turned ON.
If the STOP command is received in the deceleration process to the target address, it is
stopped when it arrives at the target address, as the gradient of deceleration will be the
same.
At this time, the positioning complete flag (BFM#28 b6) is not turned ON.
8.4.6 STOP command
When STOP command (BFM#26 b1) is turned ON, the work is decelerated and stopped.
When it is restarted, the operation is different depending on the setting of the parameter
(BFM#36 b15).
BFM#36 b15=0 : The remaining-distance operation is executed with restart.
BFM#36 b15=1 : The 1st-speed positioning operation is ended, and the next new
positioning operation is started.

8-13
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.5 Interrupt 1st-speed positioning operation


8.5.1 Outline of interrupt 1st-speed positioning operation
Deceleration time Deceleration speed
(BFM#11) (BFM#12)
Speed

Maximum speed
(BFM#1,#0)

Operation speed Ι
(BFM#16,#15)

Target address I
(BFM#14,#13)

Bias speed
(BFM#2)
Time

START

Interrupt input (X0)

• Positioning operation
If START is input or START (BFM#26 b9) is turned ON when the interrupt 1st-speed
positioning operation (BFM#27 b1) operation pattern is selected, the positioning operation
is started at operation speed Ι (BFM#16, #15). After interrupt input (interrupt input X0 is the
edge detection) is operated, the work moves by the target address Ι (BFM#14, #13) and is
stopped.
8.5.2 Operation speed
The actual operation speed is expressed as [Actual operation speed = Operation speed Ι
(BFM#16, #15) × Override (BFM#21)].
Operation speed Ι can be changed at all times.
However, the operation speed can not be changed when the speed change disablement
(BFM#26 b10) during operation is ON.
8.5.3 Address instruction
The travel (BFM#14, #13) is handled as the relative address (distance from the current
address) regardless of the setting of the relative/absolute address instruction (BFM#26 b8).
8.5.4 Rotation direction
The rotation direction is determined depending on the positive/negative symbol the target
address Ι (BFM#14, #13).
Symbol of target address is positive : Forward pulse output
Symbol of target address is negative : Reverse pulse output

8-14
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.5.5 Positioning complete flag


The positioning complete flag (BFM#28 b6) is reset with START input, START command
(BFM#26 b9), forward jog (BFM#26 b4), reverse jog (BFM#26 b5), zero return (BFM#26 b6),
data set type zero return (BFM#26 b7), variable-speed operation, manual pulse generator
input operation or power shutdown, and is turned ON when the target address is reached.
However, it is not reset with START input or START command when the travel is 0.
(If it is OFF before start of positioning, it is turned ON.)

• When positioning operation is stopped with STOP command, the positioning complete flag
(BFM#28 b6) is not turned ON.
If the STOP command is received in the deceleration process to the target address, it is
stopped when it arrives at the target address as the gradient of deceleration will be the
same.
At this time, the positioning complete flag (BFM#28 b6) is not turned ON.
8.5.6 STOP command
When STOP command (BFM#26 b1) is turned ON, the work is decelerated and stopped.
When it is restarted, the operation is different depending on the setting of the parameter
(BFM#36 b15).
BFM#36 b15=0 : The remaining-distance operation is executed with restart.
BFM#36 b15=1 : The interrupt 1st-speed positioning operation is ended, and the next new
positioning operation is started.

8-15
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.6 2nd-speed positioning operation


8.6.1 Outline of 2nd-speed positioning operation

Deceleration time Deceleration speed


(BFM#11) (BFM#12)
Speed

Maximum speed
(BFM#1,#0)

Operation speed Ι
(BFM#16,#15)
Operation speed ΙΙ
(BFM#20,#19)
Target address I Target address ΙΙ
(BFM#14,#13) (BFM#18,#17)

Bias speed
(BFM#2)
Time

START

• Positioning operation
If START is input or START (BFM#26 b9) is turned ON when the interrupt 1st-speed
positioning operation (BFM#27 b1) operation pattern is selected, the work moves to target
address Ι (BFM#14, #13) at operation speed Ι (BFM#16, #15). Then, it moves to target
address ΙΙ (BFM#18, #17) at operation speed ΙΙ (BFM#20, #19), and is decelerated and
stopped.
8.6.2 Operation speed
The actual operation speed becomes as follows:
Operation speed Ι (BFM#16, #15) × Override (BFM#21)
Operation speed ΙΙ (BFM#20, #19) × Override (BFM#21)
Operation speeds Ι and ΙΙ can be changed at all times.
However, the operation speed can not be changed when the speed change disable (BFM#26
b10) during operation is ON.
8.6.3 Address instruction
The absolute address and relative address can be set in BFM#26 b8.
b8=OFF : Absolute address instruction (The travel is set as the distance from
the address value 0.)
b8=ON : Relative address instruction (The travel is set as the distance from
the current address.)

8-16
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.6.4 Rotation direction


Absolute address mode : The rotation direction is determined depending on the large/small
relationship between the current address (BFM#25, #24) and target
address Ι (BFM#14, #13).
Relative address mode : The rotation direction is determined depending on the symbol
(positive/negative) of target address Ι
When absolute address is used, the reverse rotation sometimes occurs depending on the
small/large relationship of the current address, target address Ι (BFM#14, #13) of 1st speed,
and target address ΙΙ (BFM#18, #17) of 2nd speed.
Moreover, when the relative address is instructed, the reverse rotation occurs if the symbols
(positive/negative) of target address Ι and target address ΙΙ are different.
Caution
The rapid change of rotation direction may break the machine.
Also, it will cause an error to occur if the motor is overloaded.
If any stop time is required when the rotation direction is changed during operation, the
operation is applied according to the 1st-speed positioning operation.
8.6.5 Positioning complete flag (BFM#28 b6)
The positioning complete flag (BFM#28 b6) is reset with START input, START command
(BFM#26 b9), forward jog (BFM#26 b4), reverse jog (BFM#26 b5), zero return (BFM#26 b6),
data set type zero return (BFM#26 b7), variable-speed operation, manual pulse generator
input operation or power shutdown, and is turned ON when the target address is reached.
However, it is not reset with START input or START command when the travel is 0.
(When OFF before start of positioning, the flag is turned ON.)

• When positioning operation is stopped with STOP command, the positioning completed flag
(BFM#28 b6) is not turned ON.
If the STOP command is received in the deceleration process to the target address, the
work is stopped when it arrives at the target address as the gradient of the deceleration is
the same.
At this time, the positioning complete flag (BFM#28 b6) is not turned ON.
8.6.6 STOP command
When STOP command (BFM#26 b1) is turned ON, the work is decelerated and stopped.
When restarted, the operation is different depending on the setting of parameter (BFM#36
b15).
BFM#36 b15=0 : The remaining-distance operation is executed with restart.
BFM#36 b15=1 : The 2nd-speed positioning operation is ended, and the next new
positioning operation is started.

8-17
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.7 Interrupt 2nd-speed positioning operation


8.7.1 Outline of interrupt 2nd-speed positioning operation

Deceleration time Deceleration speed


(BFM#11) (BFM#12)
Speed

Maximum
speed
(BFM#1,#0)
Operation speed ΙΙ
(BFM#20,#19) Target address I
(BFM#14,#13)

Operation speed Ι
(BFM#16,#15)

Bias speed
(BFM#2)
Time

START

Interrupt input (X0)

Interrupt input (X1)

• Positioning operation
If START is input or START (BFM#26 b9) is turned ON when the interrupt 2nd-speed
positioning operation (BFM#27 b3) operation pattern is selected, it moves at operation
speed Ι (BFM#16, #15).
When interrupt input X0 (interrupt input is the edge detection) is turned ON, the speed is
changed to operation speed ΙΙ (BFM#20, #19). When the interrupt input X1 (interrupt input
is the edge detection) is turned ON, the work moves by the target address Ι (BFM#14, #13
travel is set with the relative address.) and is decelerated and stopped.
8.7.2 Operation speed
The actual operation speed is expressed as follows:
Operation speed Ι (BFM#16, #15) × Override (BFM#21)
Operation speed ΙΙ (BFM#20, #19) × Override (BFM#21)
Operation speeds Ι and ΙΙ can be changed at all times.
However, the operation speed can not be changed when the speed change disablement
(BFM#26 b10) during operation is ON.
8.7.3 Address instruction
Absolute address and relative address can be set with BFM#26 b8.
b8=OFF : Absolute address instruction
(The travel is set as with the distance from the address value 0.)
b8=ON : Relative address instruction
(The travel is set as the distance from the current address.)

8-18
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.7.4 Rotation direction


Absolute address mode : The rotation direction is determined depending on the large/small
relationship between the current address (BFM#25, #24) and target
address Ι (BFM#14, #13).
Relative address mode : The rotation direction is determined depending on the symbol
(positive/negative) of target address Ι.
8.7.5 Positioning complete flag (BFM#28 b6)
The positioning complete flag (BFM#28 b6) is reset with START input, START command
(BFM#26 b9), forward jog (BFM#26 b4), reverse jog (BFM#26 b5), zero return (BFM#26 b6),
data set type zero return (BFM#26 b7), variable-speed operation, manual pluse generator
input operation or power shutdown, and is turned ON when the target address is reached.
However, it is not reset with START input or START command when the travel is 0.
(When it is OFF before start of positioning, the flag is turned ON.)

• When positioning operation is stopped with STOP command, the positioning complete flag
(BFM#28 b6) is not turned ON.)
If the STOP command is received in the deceleration process to the target address, it is
stopped when it arrives at the target address as the gradient of the deceleration is the
same.
At this time, the positioning complete flag (BFM#28 b6) is not turned ON.
8.7.6 STOP command
When STOP command (BFM#26 b1) is turned ON, the work is decelerated and stopped.
When restarted, the operation is different depending on the setting of the parameter (BFM#36
b15).
BFM#36 b15=0 : The remaining-distance operation is executed with restart.
BFM#36 b15=1 : The interrupt 2nd-speed positioning operation is ended, and the next new
positioning operation is started.

8-19
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.8 Interrupt stop operation


8.8.1 Outline of interrupt stop operation

Deceleration time Deceleration speed


(BFM#11) (BFM#12)
Speed

Maximum speed
(BFM#1,#0)

Target address I
(BFM#14,#13)

Operation speed Ι
(BFM#16,#15)

Bias speed
(BFM#2)
Time

START

Interrupt input (X0)

• Positioning operation
If START is input or START (BFM#26 b9) is turned ON when the interrupt stop operation
(BFM#27 b4) operation pattern is selected, the positioning operation is started at the
operation speed Ι (BFM#16, #15).
When the work arrives at target address Ι (BFM#14, #13) (deceleration stop) or the interrupt
is input (interrupt input X0 is the edge detection), it is decelerated and stopped with the
positioning ended.
8.8.2 Operation speed
The actual operation speed is expressed as [Actual operation speed = Operation speed Ι
(BFM#16, #15) × Override (BFM#21)].
Operation speed Ι can be changed at all times.
However, the operation speed can not be changed when the speed change disablement
(BFM#26 b10) during operation is ON.
8.8.3 Address instruction
Absolute address and relative address can be instructed with BFM#26 b8.
b8=OFF : Absolute address instruction (The travel is set as the distance from the address
value 0.)
b8=ON : Relative address instruction (The travel is set as the distance from the current
address.)
8.8.4 Rotation direction
Absolute address mode : The rotation direction is determined depending on the large/small
relationship between the current address (BFM#25, #24) and target
address Ι (BFM#14, #13).
Relative address mode : The rotation direction is determined depending on the symbol
(positive/negative) of target address Ι.

8-20
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.8.5 Positioning complete flag


The positioning complete flag (BFM#28 b6) is reset with START input, START command
(BFM#26 b9), forward jog (BFM#26 b4), reverse jog (BFM#26 b5), zero return (BFM#26 b6),
data set type zero return (BFM#26 b7), variable-speed operation, manual pulse generator
input operation or power shutdown, and is turned ON when the target address is reached.
However, it is not reset with START input or START command when the travel is 0.
(When it is off before start of positioning, the flag is turned ON.)

• When positioning operation is stopped with STOP command, the positioning complete flag
(BFM#28 b6) is not turned ON.)

• If the STOP command is received in the deceleration process to the target address, it is
stopped when it arrives at the target address as the gradient of the deceleration is the
same.
At this time, the positioning completed flag (BFM#28 b6) is not turned ON.
8.8.6 STOP command
When STOP command (BFM#26 b1) is turned ON, the work is decelerated and stopped.
When restarted, the operation is different depending on the setting of the parameter (BFM#36
b15).
BFM#36 b15=0 : The remaining-distance operation is executed with restart.
BFM#36 b15=1 : The interrupt stop operation ended, and the next new positioning
operation is started.

8-21
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.9 Table operation


8.9.1 Outline of table operation
In FX2N-10PG, the program of positioning control can be produced with a table.
When the table operation is used, continuous operation (multi-speed operation) and position-
to-speed operation (the work is de-/accelerated to stop at a desired position) become possible.
One positioning operation per table can be registered. (The number of tables are 200 points
from No. 0 to 199.)
One table is given four attributes of position information (target address), speed information
(operation speed), m code information and operation information.
The buffer memory of FX2N-10PG is used as the storage destination of the information.
The assignment of the buffer memory and positioning table number is fixed, BFM#100 through
BFM#1299 are assigned to the table numbers of No. 0 through 199. When the positioning data
and operation pattern table operation (BFM#27 b5) are selected to the assigned buffer
memory with TO commands from the PLC, positioning operation is started according to the
written information from the table set with the table start number (BFM#98) if START (BFM#26
b9) is turned ON.
- Position information
The target address is set.
Absolute address and relative address can be set.
- Speed information
The operation speed is set.
During operation, the speed information can be changed and the speed can be
changed with an override.
- m code information
No m code : 1
m code, AFTER mode (ON when positioning complete) : 0 through 999
m code, WITH mode (ON during positioning) : 1000 through 32,767
m code during continuous operation
If m code of with mode is instructed to the position-to-speed and continuous operation,
a series of continuous operation is done and m code output is sequentially switched
even though the m code OFF command is input.
(m codes which are previously turned on are automatically turned off.)

8-22
Model FX2N-10PG Pulse Output Block Operation pattern 8

- Operation information
Refer to the following table.
Setting
Name Details
value
Step-advance When START signal is turned ON, positioning is executed table by
0
operation table. The speed information can be changed during operation.
The next table is continuously and sequentially executed. (Multi-
Continuous
1 speed operation)
operation
The speed information can be changed during operation.
At the address which is written in the position information, the work
is ac-/decelerated to reach the set speed information. (Position-to-
Position-to-speed
2 speed operation)
operation
The next table is continuously and sequentially executed.
The speed information can be changed during operation.
3 END (end) The table operation is ended.
Positioning operation jumps to the table No. which is set in the
4 JMP
position information.

- If any m code is used in the after mode during continuous operation, the continuous
operation will be interrupted at the time.
- When a series of continuous operations with m codes are ended and are shifted to the
positioning operation which is registered in the step-advance operation, m code OFF
command must be consistent with START command (START input or BFM#26 b9).
- START signal is necessary to end the step-advance operation and shift to the positioning
operation in which the continuous operation and position-to-speed operation are
registered. (When m code is used, m code OFF command is also necessary.)
- When positioning is shifted from continuous operation to position-to-speed operation or
is on the contrary shifted from position-to-speed operation to continuous operation, it will
be automatically shifted after deceleration and stopping. (When any m code of the after
code is not used and when a m code of the after mode is used, it will wait for m code
OFF command.)

8-23
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.9.2 Assignment of tables and BFM Nos.


Table Position Speed m code Operation
No. information information information information
0 BFM#101, #100 BFM#103, #102 BFM#104 BFM#105
1 BFM#107, #106 BFM#109, #108 BFM#110 BFM#111
2 BFM#113, #112 BFM#115, #114 BFM#116 BFM#117
3 BFM#119, #118 BFM#121, #120 BFM#122 BFM#123
. . . . .
.. .. .. .. ..

199 BFM#1295, #1294 BFM#1297, #1296 BFM#1298 BFM#1299

• Each data is stored even at power failure.


Be sure to produce the sequence program to write each data every time when PLC is in
RUN.

• The initial value of the table is "-1".

• The table No. under execution is stored in the BFM#99.


8.9.3 Operation example 1 (continuous operation)
When the absolute address assignment and table start No. are 0, the current address at the
time of START is 0.

Deceleration time Deceleration speed


(BFM#11) (BFM#12)
Speed

Speed Maximum speed


information (BFM#1,#0)
1300
Maximum
speed
Speed 1000
information
500
Position
Position information
Position information 8000
information 3000
500
Bias speed
(BFM#2)
Time
0
START

m code 1200 1201 1202

Table Position Speed m code Operation


No. information information information information
0 500 500 1200 1
1 3500 1300 1201 1
2 11500 1000 1202 1
3 -1 -1 -1 3

8-24
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.9.4 Operation example 2 (position-to-speed operation)


When the absolute address assignment and table start No. are 0, the current address at the
time of START is 0.
Speed Speed
information information
Speed

1300 1300

Speed
information
Speed 1000
information
500

Speed
information
0
Bias speed
(BFM#2)
0 200 500 3000 4500 6000 Position
START

m code -1 1200 1201 1202 1203

Table Position Speed m code Operation


No. information information information information
0 200 500 -1 2
1 500 1300 1200 2
2 3000 1300 1201 2
3 4500 1000 1202 2
4 6000 0 1203 2
5 -1 -1 -1 3

8-25
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.9.5 Operation example 3 (step-advance operation)


When the absolute address assignment and table start No. are 0, the current address at the
time of START is 0.
Deceleration time Deceleration speed
(BFM#11) (BFM#12)
Speed

Maximum
speed Speed
(BFM#1,#0) information
1300

Speed
information
500

Position Position
information information
500 3000

Bias speed
(BFM#2)
Time
0
START

m code -1 200 -1 1201

m code OFF
command

Table Position Speed m code Operation


No. information information information information
0 500 500 200 0
1 3000 1300 1201 0
2 -1 -1 -1 3

8-26
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.10 Variable-speed operation


8.10.1 Outline of variable-speed operation
Deceleration time Deceleration speed
(BFM#11) (BFM#12)
Speed

Maximum
speed
(BFM#1,#0)

Operation
speed Ι
(BFM#1,#0)

Bias speed
(BFM#2)
Time
Operation speed Ι
600 1400 1000
(BFM#16,#15)

• Positioning operation
When the variable-speed operation (BFM#27 b6) operation pattern is selected, the work is
accelerated to operation speed Ι (BFM#16, #15), and the operation is started.
It is not necessary to turn ON target address Ι (BFM#14, #13) and START (BFM#26 b9).
When operation speed Ι is changed, the acceleration/deceleration is applied according to
the acceleration time (BFM#11) or deceleration time (BFM#12) in order to change to the
speed of operation speed Ι.
(The operation speed can not be changed when the speed change disable (BFM#26 b10)
during operation is ON.)
When operation speed Ι is 0, the work is decelerated and stopped.
The positioning complete flag (BFM#28 b6) is not turned ON.
8.10.2 Operation speed
The actual operation speed is expressed as [Actual operation speed = Operation speed Ι
(BFM#16, #15) × Override (BFM#21)].
When operation speed Ι is 0, the work is decelerated and stopped.
Operation speed Ι can be changed at all times.
However, the operation speed can not be changed when the speed change disable (BFM#26
b10) during operation is ON.

8-27
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.10.3 Rotation direction


The rotation direction is determined depending on whether the operation speed Ι (BFM#16,
#15) is positive or negative.
When operation speed Ι is positive, the current value is increased.
When operation speed Ι is negative, the current value is decreeased.
Caution:
If the rotation direction is rapidly changed, the machine may be broken.
Also, it is estimated that it will cause an error resulting from the overload of the motor. Therefore,
to change the rotation direction, be sure to set operation speed Ι at "0", provide time for the
motor to sufficiently stop after deceleration and stopping, and change the rotation direction.
If the value of operation speed Ι is changed from positive to negative (Example: 100 → -100) on
FX2N-10PG, reverse rotation is immediately applied after deceleration and stop.
8.10.4 STOP command
When STOP command (BFM#26 b1) is turned ON, the work is decelerated and stopped.
When STOP command (BFM#26 b1) is turned OFF, the work is accelerated to operation speed
Ι (BFM#16, #15) again and the operation is started or resumed.

8-28
Model FX2N-10PG Pulse Output Block Operation pattern 8

8.11 Manual pulse generator input operation


8.11.1 Outline of manual pulse generator input operation

• When the manual pulse generator input operation (BFM#27 b7) operation pattern is ON,
operation with the manual pulse generator input is possible.

• 2-phase pulse (A phase/B phase) can be input from the manual pulse generator.

• The positioning complete flag is not turned ON.

• When the work arrives at the forward/reverse limit during forward/reverse, it is immediately
stopped, being regarded as the forward/reverse limit error.
When the forward limit is ON, reverse is applied, when reverse limit is ON, forward is
applied. Thus, it is possible to drive from the ON state of the limit switch.

Immediately stopping
at the forward rotation
Operation limit.
speed

Forward limit ON
input
OFF

Reverse manual pulse Forward manual pulse


generator input generator input
Operation is possible. Operation is invalid.

• The operation speed is proportional to the frequency of pulse chain input from the manual
pulse generator with the electronic gearing (BFM#45, #46) for manual pulse generator
input.
Moreover, the value of the override setting (BFM#21) is invalid.
Manual pulse
generator FX2N-10PG Servo amplifier Motor
2-phase pulse drive unit
Frequency 30kHz or less

A phase BFM#45 FP
Input pulse ×
BFM#46

B phase = Output pulse RP

8-29
Model FX2N-10PG Pulse Output Block Operation pattern 8

The output pulse (frequency and pulse amount) of FX2N-10PG is gained as follows:

Input pulse (frequency and pulse amount) from the manual pulse generator × manual pulse
generator input electronic gearing (BFM#45 / BFM#46)

If the value of the manual pulse generator input electronic gearing is less than 1/1, one pulse is
output for plural input pulses.
Accordingly, the frequency of output pulse is low, and the pulse amount is small.
If the value of the manual pulse generator input electronic gearing is more than 1/1, one input
pulse is output for plural input pulses.
Accordingly, the frequency of output pulse is high, and the pulse amount is large.
Moreover, if the value of the manual pulse generator input electronic gearing is larger than 1/1,
the revolution amount of the motor becomes larger for one input pulse. Therefore, the
positioning precision becomes less accurate.
8.11.2 Pulse output valid range
The pulse output range can be provided with target address Ι (BFM#14, #13) and target
address ΙΙ (BFM#18, #17).
In case of Target address Ι > Target address ΙΙ, pulse output in the range becomes valid.
In case of Target address Ι < Target address ΙΙ, pulse output becomes valid in the whole
range (between the forward limit and reverse limit).
Immediately
stopping at the
target address Ι.
Forward/reverse is possible in
this range.

Target address ΙΙ Target address Ι

8.11.3 Manual pulse generator input current value


The current value of the total input pulses to the manual pulse generator input is stored in
BFM#42 and #41.
8.11.4 Manual pulse generator input frequency
The frequency of the manual pulse generator input is stored in BFM#44 and #43.
The + symbol is applied to UP count, and the - symbol is applied to DOWN count.
8.11.5 Manual pulse generator Electronic gearing (numerator)
The multiplier to the input pulse can be set in BFM#45.
The set range is 1 to 32,767.
8.11.6 Manual pulse generator Electronic gearing (denominator)
The division to the input pulse can be set in BFM#46.
The set range is 1 to 32,767.
8.11.7 Manual pulse generator response
The pulse chain input from the manual pulse generator in BFM#47 and the following ability of
the output pulse chain can be set in five steps of 1 through 5.
If the value is small, the response is lower to smooth the acceleration and deceleration.
On the contrary, if the value is large, the response ability is higher to output the pulse chain
which is near the pulse chain input.

8-30
Model FX2N-10PG Pulse Output Block Program example 9

9. Program example

9.1 Outline of FROM/TO commands


FX2N-10PG reads and writes the travel, operation speed and operation pattern with FROM/TO
commands of PLC.
FROM/TO commands are outlined as follows.
m1 m2 D• n
FNC78 X010
FROM K2 K26 D120 K2 BFM#26 to #27 of special unit No. 2
D FROM P → D120 through D121
Read
BFM reading 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)

m1 m2 S• n
FNC79 X011
TO P K2 K0 D0 K16 D0 through D15 → BFM#0 to #15
D TO P of Special unit No.2
Write
BFM writing 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.

• 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 ΙΙ.

9-1
Model FX2N-10PG Pulse Output Block Program example 9

9.2 Length feed operation (1st-speed positioning)


The program example of the length feed operation (1st-speed positioning) is described.
Moreover, also in this example, the forward/reverse operation and zero return operation are
possible in the jog operation mode.

9-2
Model FX2N-10PG Pulse Output Block Program example 9

9.2.1 Operation explanation

• Zero return operation


1) When X006 in the PLC is turned ON, the zero return operation is started in the decreasing
direction of the current value.
2) When the dog input is turned ON, the work is decelerated to the creep speed.
3) When the zero point signal is input by one count after the dog input is turned off again, the
work is stopped, the zero point address is written as the current value, and the clear signal
is output.
4) The dog search function can be used from the start position of the zero return operation.
(X002 and X003 are provided for the forward limit and reverse limit respectively.)
- Maximum speed : 500,000Hz
- Acceleration time : 100ms
- Deceleration time : 100ms
- Pulse output format : Forward pulse (FP) / reverse pulse (RP)
- Rotation direction : The current value is increased with forward pulse.
- Zero return direction : Decreasing direction of current value
- Dog input logic : N/O contact
- Zero point signal count start timing : DOG back end
- Zero return speed : 100,000Hz
- Creep speed : 1,000Hz
- Zero point address :0
- Number of zero point signals : 1

Deceleration time Acceleration time


(100 ms) (100 ms)

Maximum speed
(500,000 Hz)
Zero point
address (0)
Zero return speed
(high speed)
(100,000 Hz)

Zero return
speed (creep)
(1,000 Hz)

DOG

PG0 signal

Number of zero point


signals (1 time)

9-3
Model FX2N-10PG Pulse Output Block Program example 9

• Jog operation
1) When X004 in the PLC is turned ON, jog operation is executed in the forward direction.
When X005 is turned ON, jog operation is executed in the reverse direction.
- Maximum speed : 500,000Hz
- Acceleration time : 100ms
- Deceleration time : 100ms
- Pulse output format : Forward pulse (FP) / reverse pulse (RP)
- Rotation direction : The current value is increased with forward pulses.
- Jog speed : 10,000Hz
Speed

10,000 Hz

Time
Forward jog input
(X004)
When the reverse operation jog input (X005) is turned ON, the work starts moving in
the reverse direction at the same speed as above.

9-4
Model FX2N-10PG Pulse Output Block Program example 9

• Length feed (1st-speed positioning)


1) When X007 in the PLC is turned ON, the work moves a specified distance in the forward
direction, and is decelerated and stopped.
If X007 is turned ON again, the work will move the same distance. (Relative position
positioning)
2) When X001 (STOP) is turned ON during positioning operation, the work is decelerated and
stopped. When X007 is turned ON again, the work will be decelerated and stopped after it
moves the remaining distance.
- Maximum speed : 500,000Hz
- Acceleration time : 100ms
- Deceleration time : 100ms
- Pulse output format : Forward pulse (FP) / reverse pulse (RP)
- Rotation direction : The current value is increased with forward pulses.
- Target address Ι : 100,000 pulses
- Operation speed Ι : 30,000 Hz
- Stop mode : Remaining-distance movement
Deceleration time Acceleration time
(100 ms) (100 ms)
Speed

Maximum speed
(500,000 Hz)

Operation speed Ι
(30,000 Hz)

Target address Ι
(100,000 pulses)
Time
START
(X007)

9-5
Model FX2N-10PG Pulse Output Block Program example 9

9.2.2 Device assignment (PLC)


Element Element No. Assignment
X000 Error reset
X001 Stop
X002 Forward limit (The external wiring is the N/C contact.)
X003 Reverse limit (The external wiring is the N/C contact.)
Input
X004 Forward jog
X005 Reverse jog
X006 Zero return operation start
X007 1st-speed positioning operation start
M0 1st-speed positioning operation (Normal ON)
M1 Interrupt 1st-speed positioning operation (Normal OFF)
M2 2nd-speed positioning operation (Normal OFF)
M3 Interrupt 2nd-speed positioning operation (Normal OFF)
Operation
M4 Interrupt stop operation (Normal OFF)
pattern
M5 Table operation (Normal OFF)
M6 Variable-speed operation (Normal OFF)
M7 Manual pulse generator input operation (Normal OFF)
M8 to M15 Not used. (Normal OFF)
M20 Error reset
Auxiliary M21 Stop
relay M22 Forward limit
M23 Reverse limit
M24 Forward jog
M25 Reverse jog
Operation
M26 Zero return command
command
M27 Data set type zero return command
M28 Relative address/absolute address
M29 Start
M30 Speed change disablement during operation (Normal enable)
M31 m code OFF command
M32 to M35 Not used. (Normal OFF)
Target address Ι (Moving distance during 1st-speed positioning
D14,D13
operation: 100,000 pulses)
Operation speed Ι (Operation speed during 1st-speed positioning
D16,D15
operation: 30,000Hz)
D23,D22 Output frequency
Data register D25,D24 Current address (user unit)
D28 Status
D37 Error code
D38 Terminal information
D40,D39 Current address (Pulse-converted value)

9-6
Model FX2N-10PG Pulse Output Block Program example 9

9.2.3 Sequence program

M8002 (Initial pulse)


DTO K0 K0 K500000 K1 Maximum speed (500,000Hz)

TO K0 K2 K0 K1 Bias speed (0Hz)

DTO K0 K3 K10000 K1 Jog speed (10,000Hz)

Zero return speed (high speed)


DTO K0 K5 K100000 K1 (100,000Hz)

TO K0 K7 K1000 K1 Creep speed (1,000Hz)

Zero point signal number


TO K0 K8 K1 K1 (1st time)

DTO K0 K9 K0 K1 Zero point address (0)

TO K0 K11 K100 K1 Acceleration time (100ms)

TO K0 K12 K100 K1 Deceleration time (100ms)

TO K0 K36 H2000 K1 Parameter


M8000 (RUN monitor)
1st-speed positioning
M0 operation
M8000 (RUN monitor)
Interrupt 1st-speed positioning
M1 operation
2nd-speed positioning
M2 operation
Interrupt 2nd-speed
M3 positioning operation

M4 Interrupt stop operation

M5 Table operation

M6 Variable-speed operation

Manual pulse generator


M7 input operation

M8

M9

M10

M11
Not defined.
M12

M13

M14

M15
M8000 (RUN monitor)
TO K0 K27 K4M0 K1 Operation pattern

9-7
Model FX2N-10PG Pulse Output Block Program example 9

M8002 (Initial pulse)


Target address setting
DMOV K100000 D13 (100,000 pulses)
Operation speed setting
DMOV K30000 D15 (30,000Hz)
M8000 (RUN monitor)
DTO K0 K13 D13 K1 Target address Ι

DTO K0 K15 D15 K1 Operation speed Ι


X000 (Error reset input)
M20 Error reset
X001 (STOP input)
M21 STOP
X002 (Forward limit input)
M22 Forward limit
X003 (Reverse limit input)
M23 Reverse limit
X004 (Forward jog input) M25 (Reverse jog)
M24 Forward jog
X005 (Reverse jog input) M24 (Forward jog)
M25 Reverse jog
(Zero return
X006 command input)
M26 Zero return command
M8000 (RUN monitor)
Data set type zero return
M27 command
M8000 (RUN monitor)
Relative (ON)/absolute
M28 (OFF) address
X007 (START input)
M29 START
M8000 (RUN monitor)
Speed change disablement
M30 during operation

M31 m code OFF command

M32

M33
Not defined.
M34

M35
M8000 (RUN monitor)
TO K0 K26 K4M20 K1 Operation command
M8000 (RUN monitor)
Output frequency current
DFROM K0 K22 D22 K1 value (Hz)

DFROM K0 K24 D24 K1 Current address (user unit)

FROM K0 K28 D28 K1 Status information

FROM K0 K37 D37 K1 Error code

FROM K0 K38 D38 K1 Terminal information

Current address
DFROM K0 K39 D39 K1 (pulse-converted value)

END

9-8
Model FX2N-10PG Pulse Output Block Program example 9

9.3 Multi-speed operation (table operation)


A program example for multi-speed operation (table operation) is described.
Moreover, also in this example, the forward/reverse operation and zero return operation are
possible in the jog operation mode.

9-9
Model FX2N-10PG Pulse Output Block Program example 9

9.3.1 Operation explanation

• Zero return operation


1) When X006 in the PLC is turned ON, the zero return operation is stared in the decreasing
direction of the current value.
(Only when m code is OFF, the zero return operation can be started.)
2) When the jog input is turned ON, the work is decelerated to the creep speed.
3) Positioning is stopped when the zero point signal is input for one count after the dog input is
turned OFF again. The zero point address is written into the current value and the clear
signal is output.
4) The dog search function can be used depending on the start position of the zero return
operation.
(Set X002 and X003 at the forward and reverse limits respectively.)
- Maximum speed : 500,000Hz
- Acceleration time : 100ms
- Deceleration time : 100ms
- Pulse output format : Forward pulse (FP) / reverse pulse (RP)
- Rotation direction : The current value increases with forward pulse.
- Zero return direction: Decreasing direction of current value
- Dog input logic : N/O contact
- Zero point signal count start timing : DOG backward end
- Zero return speed : 100,000Hz
- Creep speed : 1,000Hz
- Zero point address : 0
- Number of zero point signals : 1
Deceleration time Acceleration time
(100 ms) (100 ms)

Maximum speed
(500,000 Hz)
Zero point
address (0)
Zero return speed
(high speed)
(100,000 Hz)

Zero return
speed (creep)
(1,000 Hz)

DOG

PG0 signal

Number of zero point


signals (1 time)

9-10
Model FX2N-10PG Pulse Output Block Program example 9

• Jog operation
1) When X004 in the PLC is turned ON, jog operation is executed in the forward direction.
When X005 is turned ON, jog operation is executed in the reverse direction.
(Only when m code is OFF, jog operation can be started.)
- Maximum speed : 1,000,000Hz
- Acceleration time : 100ms
- Deceleration time : 100ms
- Pulse output format : Forward pulse (FP) / reverse pulse (RP)
- Rotation direction : The current value increases with forward pulse.
- Jog speed : 10,000Hz
Speed

10,000 Hz

Time
Forward jog input
(X004)
When the reverse operation jog input (X005) is turned ON, the work starts moving in
the reverse direction at the same speed as above.

9-11
Model FX2N-10PG Pulse Output Block Program example 9

• Multi-speed operation (table operation)


1) When X007 in the PLC is turned ON, the multi-speed operation is started in the forward
direction.
2) The operation speed has three steps, and an m code is turned ON according to each step.
When the multi-speed operation ends, the final m code is turned ON. Until it is turned OFF,
any other operation (jog operation and zero return operation) or 2nd multi-speed operation
is not received.
When X007 is turned ON again after m code OFF command (X010) is turned ON, it will
move the same again. (Relative position positioning)
3) When X001 (STOP) is turned ON during positioning operation, the work is decelerated and
stopped. When X007 is turned ON again, the work is decelerated and stopped after it
moves the remaining distance.
- Maximum speed : 1,000,000Hz
- Acceleration time : 100ms
- Deceleration time : 100ms
- Pulse output format : Forward pulse (FP) / reverse pulse (RP)
- Rotation direction : The current value increases with forward pulse.
- Stop mode : Movement of remaining distance
- Travel stroke : 1st speed .........500 pulses
2nd speed ........3,000 pulses
3rd speed.........8,000 pulses
- Operation speed : 1st speed .........500Hz
2nd speed ........1,300Hz
3rd speed.........1,000Hz
Acceleration time Deceleration time
(BFM#11) Maximum speed (BFM#12)
Speed

(BFM#1,#0)

Speed
information
1300
Maximum speed
1000
Speed
information
500 Position Position
information information
Position 3000
information 8000
500

Bias speed
(BFM#2)
Time
0
START

m code 1200 1201 1202

Table Position Speed m code Operation


No. information information information information
0 500 500 1200 1
1 3500 1300 1201 1
2 11500 1000 1202 1
3 -1 -1 -1 3

9-12
Model FX2N-10PG Pulse Output Block Program example 9

9.3.2 Device assignment (PLC)


Element Element No. Assignment
X000 Error reset
X001 STOP
X002 Forward limit (External wiring is the N/C contact.)
X003 Reverse limit (External wiring is the N/C contact.)
Input X004 Forward jog
X005 Reverse jog
X006 Zero return operation start
X007 Multi-speed operation start
X010 m code OFF command
Y000 ON when m code is 1200.
Output Y001 ON when m code is 1201.
Y002 ON when m code is 1202.
M0 1st-speed positioning operation (Normal OFF)
M1 Interrupt 1st-speed positioning operation (Normal OFF)
M2 2nd-speed positioning operation (Normal OFF)
M3 Interrupt 2nd-speed positioning operation (Normal OFF)
Operation
M4 Interrupt stop operation (Normal OFF)
pattern
M5 Table operation (Normal ON)
M6 Variable-speed operation (Normal OFF)
M7 Manual pulse generator input operation (Normal OFF)
M8 to M15 Not used (Normal OFF)
M20 Error reset
M21 STOP
Auxiliary
relay M22 Forward limit
M23 Reverse limit
M24 Forward jog
M25 Reverse jog
M26 Operation Zero return command
M27 command Data set type zero return command

M28 Relative address/absolute address


M29 START
Speed change disablement during operation
M30
(Normally enable)
M31 m code OFF command
M32 to M35 Not used. (Normal OFF)

9-13
Model FX2N-10PG Pulse Output Block Program example 9

Element Element No. Assignment


D23,D22 Output frequency
D25,D24 Current address (user unit)
D28 Status
D37 Error code
D38 Terminal information
D40,D39 Current address (Pulse-converted value)
D101,D100 Position information of table No. 0
D103,D102 Speed information of table No. 0
D104 m code information of table No. 0
D105 Operation information of table No. 0
D107,D106 Position information of table No. 1
Data register
D109,D108 Speed information of table No. 1
D110 m code information of table No. 1
D111 Operation information of table No. 1
D113,D112 Position information of table No. 2
D115,D114 Speed information of table No. 2
D116 m code information of table No. 2
D117 Operation information of table No. 2
D119,D118 Position information of table No. 3
D121,D120 Speed information of table No. 3
D122 m code information of table No. 3
D123 Operation information of table No. 3

9-14
Model FX2N-10PG Pulse Output Block Program example 9

9.3.3 Sequence program

M8002 (Initial pulse)


DTO K0 K0 K500000 K1 Maximum speed (500,000Hz)

TO K0 K2 K0 K1 Bias speed (0Hz)

DTO K0 K3 K10000 K1 Jog speed (10,000Hz)

Zero return speed (high speed)


DTO K0 K5 K1000000 K1 (100,000Hz)

TO K0 K7 K1000 K1 Creep speed (1,000Hz)

Zero point signal number


TO K0 K8 K1 K1 (1 time)

DTO K0 K9 K0 K1 Zero point address (0)

TO K0 K11 K100 K1 Acceleration time (100ms)

TO K0 K12 K100 K1 Deceleration time (100ms)

TO K0 K36 H2000 K1 Parameter


M8000 (RUN monitor)
1st-speed positioning
M0 operation
Interrupt 1st-speed
M1 positioning operation
2nd-speed positioning
M2 operation
Interrupt 2nd-speed
M3 positioning operation

M4 Interrupt stop operation


M8000 (RUN monitor)
M5 Table operation
M8000 (RUN monitor)
M6 Variable-speed operation

Manual pulse generator


M7 input operation

M8

M9

M10

M11
Not defined.
M12

M13

M14

M15
M8000 (RUN monitor)
TO K0 K27 K4M0 K1 Operation pattern

9-15
Model FX2N-10PG Pulse Output Block Program example 9

M8002 (Initial pulse)


Position information of table
DMOV K500 D100 No. 0 (500 pulses)
Speed information of table
DMOV K500 D102 No. 0 (500Hz)
m code information of table
MOV K1200 D104 No. 0 (m1200)
Operation information of table
MOV K1 D105 No. 0 (Continuous operation)
Position information of table
DMOV K3000 D106 No. 1 (300 pulses)
Speed information of table
DMOV K1300 D108 No. 1 (1,300Hz)
m code information of table
MOV K1201 D110 No. 1 (m1201)
Operation information of table
MOV K1 D111 No. 1 (continuous operation)
Position information of table
DMOV K8000 D112 No. 2 (8,000 pulses)
Speed information of table
DMOV K1000 D114 No. 2 (1,000Hz)
m code information of table
MOV K1202 D116 No. 2 (m1200)
Operation information of table
MOV K1 D117 No. 2 (continuous operation)
Position information of table
DMOV K-1 D118 No. 3 (without travel)
Speed information of table No.
DMOV K-1 D120 3 (without speed command)
m code information of table
MOV K-1 D122 No. 3 (without m code)
Operation information of table
MOV K3 D123 No. 3
(END)
M8002 (Initial pulse)
TO K0 K98 K0 K1 Table start No. (Start from 0)
M8000 (RUN monitor)
DTO K0 K100 D100 K12 Table data writing
*1
WDT Watch dog timer refresh

*1 If any FROM/TO commands are used for many buffer memories at the same time, an
watch dog timer error will occur.
If many tables are used, divide FROM/TO commands into plural parts and refresh the
watch dog timers.

9-16
Model FX2N-10PG Pulse Output Block Program example 9

X000 (Error reset input)


M20 Error reset
X001 (STOP input)
M21 STOP
X002 (Forward rotation limit input)
M22 Forward limit
X003 (Reverse rotation limit input)
M23 Reverse limit
X004 (Forward jog input) M25 (Reverse jog)
M24 Forward jog
X005 (Reverse jog input) M24 (Forward jog)
M25 Reverse jog
X006 (Zero return command input)
M26 Zero return command
M8000 (RUN monitor)
Data set type zero return
M27 command
M8000 (RUN monitor)
Relative (ON)/absolute (OFF)
M28 address
X007 (START input)
M29 START
8000 (RUN monitor)
Speed change disablement
M30 during operation
X010 (m code OFF command input)
M31 m code OFF command

General reset of output


ZRST Y000 Y002 (Y000 to Y002)
8000 (RUN monitor)
M32

M33
Not defined.
M34

M35
M8000 (RUN monitor)
TO K0 K26 K4M20 K1 Operation command
M8000 (RUN monitor)
Output frequency current
DFROM K0 K22 D22 K1 value (Hz)

DFROM K0 K24 D24 K1 Current address (user unit)

FROM K0 K28 D28 K1 Status information

FROM K0 K29 D29 K1 m code

CMP K1201 D29 Y000 m code → output

FROM K0 K37 D37 K1 Error code

FROM K0 K38 D38 K1 Terminal information

Current address
DFROM K0 K39 D39 K1 (Pulse-converted value)

END

9-17
Model FX2N-10PG Pulse Output Block Program example 9

MEMO

9-18
Model FX2N-10PG Pulse Output Block Diagnostics 10

10. Diagnostics

If any trouble occurs, first check for loose terminal screws on the power supply unit, PLC and I/
O devices, and for poor contacts on FX2N-10PG, and the connectors of the motor drivers and
servo amplifier.

10.1 Diagnostics LED


LED
Status Display details Countermeasure
name
Unless LED is lit even though power is supplied to
PLC, check the following items.
• Properly connect the extension cable between
PLC and FX2N-10PG.
5V DC is not supplied via the
POWER Unlit. • Properly supply the power of PLC.
extension cable from PLC.
• The service power of PLC may exceed the
supply power capacity. Disconnect the wiring
of the service power supply terminal, and turn
on the power supply.
• If LED is not lit even though START input of
FX2N-10PG is turned ON, check the input
START Unlit. START input OFF wiring.
External power supply (24V DC) is necessary
for START, DOG, X0 and X1 of FX2N-10PG.
• An error occurs in FX2N-10PG. After checking
the content of the buffer memory (BFM#37),
take a countermeasure according to the
Blinking Error occurrence
content.
ERROR For details of BFM#37, refer to the separate
USER’S MANUAL.
• If does not return even though the power is
Lit. CPU error supplied again, contact your nearest system
service company of Mitsubishi Electric.
If LED does not blink even though each operation
Forward pulse or pulse chain is executed, check the following item.
FP Unlit.
stops. • Using the program of PLC, check whether
each operation mode selection and the start
command are properly applied or not.
Reverse pulse or direction • When STOP command or forward/reverse limit
RP Unlit. command is applied, the pulse output is not
output stops.
output.
• When LED is not lit during zero return end or
CLR signal forced output, check whether zero
Unlit. CLR signal is not output. return operation and data set type zero return
with program of PLC, and forced output of CLR
signal are executed or not.
CLR
• If the deviation counter is not cleared in the
servo amplifier even though CLR signal is
Lit. CLR signal is output. output (LED is lit), check the output wiring. The
external power supply (5 to 24V DC) is
necessary for CLR output of FX2N-10PG.

10-1
Model FX2N-10PG Pulse Output Block Diagnostics 10

LED
Status Display details Countermeasure
name
• If LED is not lit when dog input is turned on,
check the input wiring. The external power
DOG Unlit. Dog input OFF
supply (24V DC) is necessary for START,
DOG, X0 and X1 input of FX2N-10PG.
• If LED is not lit even though zero-point signal is
input, check the input wiring. The external
PG0 Unlit. Zero point signal input OFF power supply (5V DC) is necessary when the
open collector transistor is used for PG0 input
of FX2N-10PG.
A-phase input OFF of manual • If LED is not lit even though pulse is input from
φA Unlit. the manual pulse generator, check the input
pulse generator
wiring. The external power supply (5V DC) is
B-phase input OFF of manual necessary when the manual pulse generator of
φB Unlit.
pulse generator open collector output type is used.
• If LED is not lit even though interrupt input is
turned on, check the input wiring. The external
X0,X1 Unlit. Interrupt input OFF
power supply (24V DC) is necessary for
START, DOG, X0 and X1 input of FX2N-10PG.

10-2
Model FX2N-10PG Pulse Output Block Diagnostics 10

10.2 Diagnostics (BFM#37)


If an error occurs, the error code will be stored into BFM#37.
Error code Details Countermeasure
K0 No error ⎯
K1 Not defined. ⎯
Value setting range defect
Change the setting value of the relevant
K{{{{2 A value outside the settable value range is
buffer memory to within the setting range.
set in the buffer memory.
Overflow of setting value Change the setting value of the relevant
K{{{{3 The pulse-converted value of the travel, buffer memory to make the pulse-converted
operation speed and so exceeds 32 bits. value smaller than 32-bit data.
In the jog operation mode or manual pulse
The work is stopped at the forward/reverse
K4 generator input operation mode, drive the
limit.
work from the forward/reverse limit.
K5 Not defined. ⎯
In BFM#26, the zero return command (b6)
and data set type zero return command
(b7), START (b9) are ON at the same time. Change the program of PLC to prevent the
K6 (It is not an error if the forward jog b4 and start command of the positioning operation
jog b5 are ON at the same time.) from overlapping.
Or b6 and b7 in BFM#27 are ON at the
same time.
In BFM#27, the plural operation patterns Change the program of PLC to make select
K7
are selected. operation pattern.

• OOOO represents BFM No. 0 to 1299.

10-3
Model FX2N-10PG Pulse Output Block Diagnostics 10

10.3 Diagnostics PLC


If any trouble occurs in the PLC connected to FX 2N -10PG, FX 2N -10PG will not properly
operate since FROM/TO commands may not the provided.
Some errors which can be checked with PLC are partially described as follows:
For details of the wiring, special auxiliary relay and special data registers, refer to the PLC
instruction manual.
LED display of PLC
LED name Status Display details Countermeasure
• Properly supply the power of PLC.
• Power is not supplied to PLC.
• Disconnect the wiring of the service
POWER Unlit. • The service power supply of PLC
power terminal of PLC, and
may exceed the supply capacity.
resupply the power.
• An error occurs in PLC.
After checking the content of the
special auxiliary relay (M8060 to
Blinking Error occurs. M8060, M8109) and special data
register (D8060 to D8069, M8109),
take countermeasures according to
the content.
• Stop PLC. If LED is unlit when
power is resupplied, a watch dog
timer error may occur.
ERROR (The calculation time of the PLC
becomes long.)
• Check whether the program is in
such a state as the END command
Lit. CPU error
is not executed owing to CJ
command or FOR/NEXT command
or not.
• In case of CPU error, repair is
necessary.
Consult a system service company
of Mitsubishi Electric.

• If any calculation error occurs in the PLC, the ERROR LED will continue unlit.
(Any command in which an calculation error occurs can not be executed.)
Using the programming device, check whether M8067 (calculation error flag) is ON.

10-4
USER’S MANUAL
FX2N-10PG

HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN

MODEL FX2N-10PG-U-E
MODEL CODE 09R611

JY992D93401G Effective July 2010


(MEE) Specifications are subject to change without notice.

You might also like