•This manual contains text, diagrams and explanations which will guide the reader in the
correct installation and operation of the Programmable Cam Switch FX
should be read and understood before attempting to install or use the unit.
-1RM-E-SET. It
2N
•For handling of the FX
2N
/FX
Series PLC main unit and FX2N Series extension blocks as
2NC
well as details of instructions, refer to the corresponding Hardware manuals and
programming manuals offered separately.
•If in doubt at any stage of the installation of Programmable Cam Switch FX
-1RM-E-SET
2N
always consult a professional electrical engineer who is qualified and trained to the local
and national standards that applies to the installation site.
•If in doubt about the operation or use of Programmable Cam Switch FX
-1RM-E-SET
2N
please consult the nearest Mitsubishi Electric distributor.
•This manual is subject to change without notice.
FX2N-1RM-E-SET Programmable Cam Switch
Programmable Cam Switch
FX
2N
-1RM-E-SET
USER’S MANUAL
Manual number: JY992D71101
Manual revision: F
Date: April 2003
i
FX2N-1RM-E-SET Programmable Cam Switch
MS,MS-DOS and Windows are registered trademarks of Microsoft Corporation.
IBM and AT are registered trademarks of International Business Machines Corporation.
All other brand and product names are trademarks or registered trademarks of
theirrespective owners.
ii
FX2N-1RM-E-SET Programmable Cam Switch
FAX BAC K
Mitsubishi has a world wide reputation for its efforts in continually developing and pushing back
the frontiers of industrial automation. What is sometimes overlooked by the user is the care and
attention to detail that is taken with the documentation. However, to continue this process of
improvement, the comments of the Mitsubishi users are always welcomed. This page has been
designed for you, the reader, to fill in your comments and fax them back to us. We look forward to
hearing from you.
Fax numbers: Your name: ..................................................
Thank you for taking the time to fill out this questionnaire. We hope you found both the product
and this manual easy to use.
iii
FX2N-1RM-E-SET Programmable Cam Switch
iv
FX2N-1RM-E-SET Programmable Cam Switch
Guidelines for the safety of the user and protection of the Programmable Cam
Switch FX2N-1RM-E-SET
This manual provides information for the use of the programmable cam switch FX2N-1RM-E-SET.
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 : 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
2) Indicates that the identified danger could
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.
WILL
cause physical and property damage.
POSSIBLY
cause physical and property
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.
v
FX2N-1RM-E-SET Programmable Cam Switch
•Under no circumstances will Mitsubishi Electric be liable 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.
This section describes the outline of the programmable cam switch FX2N-1RM and introduces
the peripheral equipment.
1.1Outline of the product
The programmable cam switch FX2N-1RM (hereinafter referred to as FX2N-1RM or unit) detects
the rotation angle of a machine using a brushless resolver, and turns on/off up to 48 points of
transistor outputs at a programmed angle (position).
The basic function of the FX
on the next page. However, different from a mechanical cam switch, fine adjustment of the angle
of many cam discs assembled in the mechanism and replacement of switches are not required in
the FX
-1RM.
2N
1.2Features
-1RM is equivalent to a mechanical cam switch shown in the figure
2N
1 ) The angle can be detected with high precision even while a machine is rotating at high
speed.
2 ) One FX
connected at the end of the system and used as special units of an FX
programmable controller (hereinafter referred to as PLC).
(Refer to Paragraph 1.5 for details.)
3 ) When transistor output extension blocks for the FX
contact outputs are available. Up to 32 points can be turned on at one time. Up to 8 ON/OFF
operations (STEP0 to STEP7) are enabled at each point.
(Maximum speed: 830 r/min during direct output)
4 ) Operation angle setting and monitor display can be performed from the dedicated data
setting panel (integrated add-on type) or by FROM/TO instructions given by the PLC main
unit.
5 ) An EEPROM (no battery) is built in. Up to 8 types of programs can be saved.
6 ) A bank can be changed over, a program can be modified, and the automatic angle advance
quantity can be modified while the program is running.
7 ) The ladder support software for personal computers in the PLC and the FX-20P-E (both of
them are compatible with FX
8 ) The cable of the brushless resolver assembled in the machine can be extended up to 100 m
(3937 inch). (A relay cable of 5 m (196.85 inch) is offered as standard.)
9 ) The automatic angle advance function can compensate for the mechanical delay generated
while a machine is rotating at a high speed.
-1RM unit can be used individually or up to three FX2N-1RM units can be
•The output extension blocks which can be connected are limited to the transistor or triac type
of the FX
•Up to 3 FX
series.
2N
-1RM units can be connected to the PLC main unit at the end of the system.
2N
The number of blocks that can be connected depends on the PLC main unit and version of
the FX
Main unitVersion of FX2N-1RM
FX
2N
-1RM.
2N
V1.00 (before 1998/2)1
V2.00 (from 1998/2)3
The number which can
be connected
•FX
2NC
Note
-CNV-IF is
necessary for the
FX
2NC
From the first product1
connection.
•FX
0N
-30EC and FX0N65EC cannot be used
with the entire system.
•The FX
-1RM units occupy 8 I/O points without regard to the number of units connected.
2N
(The ratio of input points and output points is arbitrary.)
•As shown in the diagram up to 48 points offered by output extension blocks can be
connected to the FX
-1RM unit at the end of the system.
2N
The extension blocks dedicated to outputs connected are treated as the outputs of the FX
1RM. They are not recognized by the PLC main unit, and not included in the number of I/O
points (256 points maximum) of the FX
2N
PLC.
•Octal numbers are assigned as output Nos. of the extension blocks connected to the FX
1RM from the extension block nearest to the FX
-1RM (Y00 to Y07, U10 to Y17, . . . Y50 to
2N
Y57).
•Only output extension blocks are allowed to be connected to the FX
-1RM.
2N
(Even if extension blocks dedicated to input are connected, no input can be received and
input Nos. are not assigned.)
1-5
2N
2N
-
-
FX2N-1RM-E-SET Programmable Cam Switch
•Each data or bit information can be read and written between the PLC main unit and the
FX
-1RM using FROM/TO instructions.
2N
When two or more FX
-1RM units are connected, data information and bit information can
2N
be read and written in only the FX
instructions directly given by the PLC main unit.
In the second and third FX
2N
written from the PLC main unit via the unit nearest to the PLC main unit.
•All the FX
-1RM units must be installed adjacent to each other.
2N
Introduction 1
-1RM unit nearest to the PLC main unit using FROM/TO
2N
-1RM units, data information and bit information are read and
<Two or more FX2N-1RM units are connected with PLC>
Composition
F X
s e r i e s
2 N
P L C
E x t e n s i o n
b l o c k s
F X
2 N
E x t e n s i o n
u n i t s
O U T 0
1
2
3
4
5
6
C O MX 4
LX 1 3 X 1 5
2 4 +N
Y 4
Y 2
Y 3
X 1 0X 1 4 X 1 6
X 2
X 7
X 3
X 1
I N
O U T
Y 6
Y 1 0
Y 1 2
Y 5
C O M 3
Y 1 1
Y 1 3Y 1
•When two or more FX
72 4 5 61 30
1 4171 51 0 1 2 1 3
1 61 1
P O W E R
R U N
B A T T . V
P R O G . E
72 4 5 61 30
C P U . E
1 61 11 51 4171 0 1 2 1 3
Y 1 4
Y 1 5
-1RM units ate connected and used for PLC, FX2N-32CCL is
2N
7
P O W E R
F X
- 3 2 C C L
2 N
L R U N E L E R R E R D E S D
O U T 0
1
2
3
4
5
6
7
connected at the right of the main unit of PLC and FX
system.
•Connected number of FX
-1RM and the limitation concerning the connection of the output
2N
extension block are the same as time when FX
paragraph 1.5.1)
•Refer to user’s manual of this bale in FX
-32CCL for power supply wiring of FX2N-32CCL
2N
and connection with master unit.
Flow of data
- 3 2 C C L
P O W E R
F X
- 1 R M
2 N
B A N K
O U T
D E GS T E P
S T E P
B A N K
O U T
789
D E L
T E A C H
F N C
456
C O P Y
A D J
R U N
123
S T O P
C L R
0
-1RM is connected at the end of the
2N
-32CCL is not connected. (Refer to
2N
F X
- 1 R MF X
2 N
B A N K
R U N
E R R
O N
O F F
O N
O F F
G O
O U T
B A N K
O U T
789
D E L
F N C
456
C O P Y
R U N
123
S T O P
0
R U N
E R R
D E GS T E P
O N
O F F
S T E P
O N
O F F
T E A C H
A D J
G O
C L R
B A N K
B A N K
789
F N C
456
R U N
123
S T O P
0
- 1 R M
2 N
O U T
R U N
E R R
D E GS T E P
O N
O F F
S T E P
O U T
O N
O F F
D E L
T E A C H
C O P Y
A D J
G O
C L R
FX
series
FX
-1RM
2N
BFM data
FROM
instruction
TO
instruction
FROM
instruction
TO
instruction
2N
PLC
Internal relay
Output relay
Data(word)
device
TO
instruction
FROM
instruction
TO
instruction
FROM
instruction
FX2N-32CCL
Dedicated to write
BFM#0~#7(RX00~7F)
Dedicated to read
BFM#0~#7(RY00~7F)
Dedicated to write
BFM#8~#23(RWr00~0F)
Dedicated to read
BFM#8~#23(RWw00~0F)
Master unit
Remote input
(RX)
Remote output
(RY)
Remote register
(RWr)
Remote register
(RWw)
Link scanning
•Data is read/write by between FX
The communication between FX
-1RM, PLC and FX2N-32CCL.
2N
-32CCL and master unit is done to the link scanning.
2N
•When cc-link is connected, setting and the program for the communication are unnecessary
in FX
-1RM. Refer to each user’s manual for setting the communication in FX2N-32CCL and
2N
master unit
1-9
FX2N-1RM-E-SET Programmable Cam Switch
1.5.4Resolver and connection cable
<Connection diagram>
Introduction 1
Signal cable
FX
-RS-5CAB
2N
5m(196.85 inch)
Resolver F2-720RSV
Relay cable
-RS-5CAB
F
2
5m(196.85 inch)
FX2N-1RM main body
When the signal cable is not long enough, relay cables can be connected for extension as shown
in the figure above. Two or more relay cables can be used.
The maximum extension length is 100 m (3937 inch).
<FX-20P-E>
The FX-20P-E allows the save and transfer of programs.
Use the FX-20P-RWM and a memory cassette to save programs.
FX-EPROM-8
FX-EEPROM-8
FX-20P-E
(compatible with FX
2N
)
FX-20P-RWM
1-13
FX2N-1RM-E-SET Programmable Cam Switch
1.5.6Cautions on use of a personal computer and the FX-20P-E
•Only the program transfer function is available from a personal computer or the FX-20P-E to
the FX
-1RM. The monitor function, the test function, the current value change function,
2N
etc. are not available. (If such a function is used, a communication error occurs.)
Set the parameter as shown in the table below when transferring programs.
FX
PLC model
2N
Introduction 1
Memory capacity
File register
Comment
Latch range
Program
8K step
14 blocks (7,000 points)
0 block
∼
M500
S500
C100
C220
D200
All NOP (unattended)
M1023
∼
S999
∼
C199
∼
C255
∼
D511
Equivalent to values at time
of shipment from plant
If a program is transferred while the parameters are not set as shown above, a parameter
mismatch error or program mismatch error occurs.
•Use a personal computer or the FX-20P-E only when FX2N-1RM is in PRG mode (halt condition).
The following may occur if they are used in RUN mode:
-FX2N-1RM is overloaded because the power is also supplies the peripheral equipment
and the FX
-Communication between the peripheral equipment and FX
-1RM stops.
2N
-1RM becomes very slow
2N
and a communication error takes place.
•When a program is transferred from a personal computer or the FX-20P-E, D1000 to D7143
correspond to BFM #1000 to BFM #7143, D7144 to D7145 correspond to BFM #0 to BFM
#1, and D7146 to D7159 correspond to BFM #13 to BFM #26.
At this time, the angle data and FNC instructions (FNC70 to 75, 90) among D1000 to D7159
are fixed to a double value (720 degrees/rotation) without regard to the setting of the
resolution (selected by the data setting panel or BFM #0 b6).
D7144 (BFM #0), D7146 (BFM #13) and D7148 (BFM #15) are treated by one time value.
Example
ON/OFF angle
At BFM #1000=100°, D1000 becomes 200.
FNC
When FNC 70 (BCD output) is set, D1000 becomes 2140. Continuing D1001
reaches twice value at strobing ON time.
D1000 = ( 1000
+ 70 ) × 2 = 2140
fixed
value
FNC
number
value of
D1000
When strobing ON time is 50ms, D1001 becomes 100.
When individual automatic angle advance function is set, D6376 to D6393 reach
the value twice the number of rotations, the turning ON angles, and the turning
OFF angles of S0 to S6.
•The table below shows the applicable versions for personal computers and the FX-20P-E.
Peripheral equipment
V. 2.20 or earlierV. 2.30 or later
FX-PCS/WIN-E(V.1.00 to V.2.11)applicable
FX-PCS/WIN-E(V.3.00 or later)not applicableapplicable
GX Developernot applicable
FX-20P-Eapplicable from V. 3.00
FX2N-1RM
applicable from
SW2D5"-GPPW-E
1-15
FX2N-1RM-E-SET Programmable Cam Switch
Introduction 1
Memo
1-16
FX2N-1RM-E-SET Programmable Cam Switch
1Introduction
2Installation
3Specifications
4External Wiring
5Extension Block Specifications and External Wiring
6Basic Setting
7BFM Assignment
8Program Operating Procedures
9Monitor
10Test
11Diagnostics
Appendix
FX2N-1RM-E-SET Programmable Cam Switch
FX2N-1RM-E-SET Programmable Cam Switch
2.Installation
This section describes how to install the FX2N-1RM and the resolver.
2.1Installation method
The FX2N-1RM can be mounted via a DIN rail or directly mounted with M4 screws.
< When mounted via a DIN rail >
The FX
modification.
When removing the FX
< When directly mounted >
Mount the FX
name of each part.
Assure clearance of 1 to 2 mm (0.04 to 0.08 inch) between units.
-1RM can be mounted to a DIN rail DIN 46277 (Width: 35 mm (1.38 inch)) without any
2N
-1RM, pull the DIN rail mounting hook downward.
2N
-1RM with M4 screws while referring to section 1.4 Outside dimensions and
2N
Installation 2
2.2Wiring
or less
6.2mm
(0.24inch)
or less
6.2mm
(0.24inch)
When arranged in 2 rows
Extension cable
FX
Use M3
-1RM
2N
•Use crimp-style terminals of the size shown on the left.
•The terminal tightening torque should be 0.5 to 0.8 N
⋅
terminals securely so that malfunction cannot occur.
•An extension cable of 55 mm (2.17 inch) is offered as
Main unit
an accessory of the FX
2N
An extension cable of FX
inch) and FX
-65EC(650mm,25.59 inch) are offered
0N
-1RM.
-30EC(300mm,11.81
0N
as options.
For 1-row arrangement: Cable of 55 mm(2.17 inch)
For 2-row arrangement: Cable of 300mm(11.81
inch), 650 mm(25.59 inch)
(option)
(When FX
-1RM is connected with an FX
2N
PLC, these extension cables cannot be used.)
m. Tighten
series
2N
C
•A cable is built in an extension block.
•When connecting an
extension cable, fold it and
50 mm (1.97 inch) or more
accommodate it in the
connector cover of the
counterpart equipment as
shown in the figure on the
right.
2-1
FX2N-1RM-E-SET Programmable Cam Switch
2.3Installing the resolver
When installing a resolver, pay rigid attention to eccentricity of the rotation shaft and tilt of the
shaft. Attach a resolver to a machine via an elastic coupling.
When the signal cable is not long enough, relay cables can be connected for extension as
shown in the figure above.
2-2
FX2N-1RM-E-SET Programmable Cam Switch
Cautions on installation
•Use the unit in the environment in accordance with the environmental specifications
described in Paragraph 3.1 in this manual.
Do not use the unit in a place with dust, soot, conductive dust, corrosive gases or
flammable gases. Do not use in places exposed to high temperature, condensation,
wind and rain, vibrations or possible impacts.
If the unit is used in such a place, electrical shocks, fires, malfunction, damage to the
unit or deterioration in the performance of the unit may occur.
•Do not drop cutting chips and electric wire chips into the ventilation window of the PLC
while drilling screw holes or performing the wiring work.
If such chips are dropped, fires, failures or malfunction may occur.
•When the installation work is completed, remove the dust preventive sheet attached to
the ventilation window of the PLC.
If the sheet is not removed, fires, failures or malfunction may occur.
•Connect cables such as extension cables and memory cassettes securely to the
specified connectors respectively.
If such cables and cassettes are not connected correctly, malfunction may occur
caused by imperfect contact.
Installation 2
Note
•When a dust preventive sheet is provided on an extension block,
adhere it on the ventilation window during the installation/wiring
work.
•Never install the unit on the floor, on the ceiling or in the vertical
direction. If the unit is installed in such a way, the temperature
may become too high.
Make sure to install the unit in the horizontal direction as shown
in the figure on the right.
•Arrange extension cables so that connectors on the left side of
extension units, extension blocks, and special units are
connected on the side near the main unit.
•Assure clearance of 50 mm (1.97 inch) or more between the unit
main unit and other equipment or structure. Keep a high voltage
cable, high voltage equipment, and power equipment from the
unit as much as possible.
Cautions on wiring
•Make sure to shut down all the phases of the power supply outside the PLC before
starting the installation/wiring work.
If all the phases are not shut down, electrical shocks or damage to the product may
occur.
•Make sure to attach the terminal covers offered as accessories before supplying the
power and operating the product after the installation/wiring work has been finished.
If the covers are not attached, electrical shocks may occur.
2-3
FX2N-1RM-E-SET Programmable Cam Switch
Note
•Never let the signal input line and the signal output line of the PLC go through the same
cable.
•Never let the signal input line and the signal output line of the PLC go through the duct
together with other power lines and output lines.
Never bind the signal input line and the signal output line of the PLC together with other
power lines and output lines.
•When the cautions above are observed, no problem should be expected with regard to noise
even if the input/output wiring is extended to 50 to 100 m (1968.5 to 3937.0 inch). It is
recommended, however, to set the wiring length to 20 m (787.4 inch) or less to assure safety.
•Extension cables are most susceptible to noise. When wiring them, keep them away from the
output of the PLC and other power lines by at least 30 to 50 mm (1.18 to 1.97 inch).
Installation 2
2-4
FX2N-1RM-E-SET Programmable Cam Switch
1Introduction
2Installation
3Specifications
4External Wiring
5Extension Block Specifications and External Wiring
6Basic Setting
7BFM Assignment
8Program Operating Procedures
9Monitor
10Test
11Diagnostics
Appendix
FX2N-1RM-E-SET Programmable Cam Switch
FX2N-1RM-E-SET Programmable Cam Switch
3.Specifications
This section describes the specifications of the FX2N-1RM and the resolver.
Cautions on design
•Provide a safety circuit outside the PLC so that the entire system can operate
conservatively in any case even if an error has occurred in the external power supply or
a failure has occurred in the PLC.
If a safety circuit is not provided, an accident may occur caused by malfunction or
erroneous output.
1 ) Make sure to construct a circuit outside the PLC as to an emergency stop circuit, a
protection circuit, an interlock circuit for reverse operations such as normal rotation
and reverse rotation and an interlock circuit to prevent mechanical damages such as
for upper and lower limits for positioning.
2 ) When the PLC CPU has detected an abnormality by the self-diagnosis function such
as a watchdog timer error, all the outputs are turned off. When an abnormality has
occurred in the I/O control area, etc. which cannot be detected by the PLC CPU, the
output control may be disabled.
Design the external circuit and the mechanism so that the machine can operate
conservatively in such cases.
3 ) The output current of the service power supply for the sensor varies depending on the
model and existence of extension blocks. If overload has occurred, the voltage is
automatically dropped, the input to the PLC is disabled, and all the outputs are turned
off.
Design the external circuit and the mechanism so that the machine can operate
conservatively in such a case.
4 ) When a failure has occurred in a relay, transistor, TRIAC, etc. in the output unit, the
output may be kept turned ON or OFF.
Design the external circuit and the mechanism so that the machine can operate
conservatively with regard to an output signal which may lead to a serious accident.
Specifications 3
3-1
FX2N-1RM-E-SET Programmable Cam Switch
3.1Environmental specifications
Specifications 3
Ambient temperature
Ambient humidity
Vibration resistance
Impact resistance
Noise resistance
Withstand voltage
Insulation resistance
Grounding
Ambient atmosphere
0 to +55°C: While operating -20 to +70°C: While stored
35 to 85%RH (No condensation is allowed.): While operating
In conformance to JIS C9011, 10 to 55 Hz, 0.5 mm (0.02 inch) (2 G maximum)*1,
2 hours in each of three directions
In conformance to JIS C9012, 10 G, 3 times in each of three directions
Noise withstand voltage 1000 Vp-p, noise amplitude 1 µs, by noise simulator
500 VAC, 1 minute
5 MΩ or more by 500 VDC megger
Class 3 grounding (Common grounding with strong electric system is not
allowed.)*2
Corrosive gases and dust are not allowed.
Between all terminals as a whole and
grounding terminal
The bus of an FX
A single drive is also possible. (Refer to subsection 1.5.1.)
Built-in EEPROM memory (no battery)
48 internal output points. Data is read by PLC. In addition, 48 points can be connected when transistor output extension blocks or triac output extension blocks
are connected. (When extension blocks are connected, up to 32 points can be
turned on at a time.)
Brushless resolver (F
720 divisions/rotation (0.5 degree) or 360 divisions/rotation (1 degree)
415 r/min/0.5 degree or 830 r/min/degree
When the current angle transfer function is used, response speed becomes
207r/min/0.5degree or 415r/min/degree.
8 banks (specified by PLC) or 4 banks (specified by external input)
Dedicated data setting unit (integrated add-on type)
Peripheral equipment for PLC via PLC (Sequence program is required.)
8 times/cam output
2 bank input points (code input of 0 to 3), 24 VDC, 7 mA, response time 3 ms,
photocoupler isolation
RUN/PRG selector switch and 16 keys (input from data setting panel)
and FX
2N
-720RSV for F2-32RM)
2
series PLC can be connected.
2NC
LED indication
POWER, RUN, ERROR, 7-segment × 7 digits, LED × 4
3.3Resolver specifications
Excitation method
Mechanical allowable
rotation speed
Cable distance
Vibration resistance
Impact resistance
Abrasion torque
Protection structure
Ambient temperature
Two-phase excitation, 1-phase output (5 kHz)
3000r/min
100 m (3937 inch) maximum
In conformance to JIS 0911, 10 to 2000 kHz (15 G maximum), 2 hours in each
of 3 directions
In conformance to JIS 0912 (50 G, 11 ms, 3 times in each of 6 directions)
2
120 g⋅cm
IP52 (JEM1030)
-10 to +85°C
or less
3-3
FX2N-1RM-E-SET Programmable Cam Switch
3.4Power supply specifications
Specifications 3
Rated voltage
Allowable instantaneous power
interruption period
Power consumption
In rush current
3.5Input specifications
Input signal voltage
Input signal current
Input ON current
Input OFF current
Input response time
Input signal format
Circuit isolation
24 VDC+10%, -15%
5ms
3 W (when operating individually), 5 W (at 32 points output ON)
300 mA (when operating individually), 400 mA (at 32 points output
ON)
24 VDC ±10%
7 mA/24 VDC
4.5 mA or more
1.5 mA or less
Approximately 3 ms
Contact input or NPN/PNP open collector
Photocoupler isolation
3-4
FX2N-1RM-E-SET Programmable Cam Switch
1Introduction
2Installation
3Specifications
4External Wiring
5Extension Block Specifications and External Wiring
6Basic Setting
7BFM Assignment
8Program Operating Procedures
9Monitor
10Test
11Diagnostics
Appendix
FX2N-1RM-E-SET Programmable Cam Switch
FX2N-1RM-E-SET Programmable Cam Switch
4.External Wiring
This section describes wiring of the power supply and the input.
4.1Wiring of the power supply and the input
<Sink input>
Use transistors when a
bank is changed over in
the RUN mode.
FX2N-1RM
B0
B1
3.3k
3.3k
External Wiring 4
Ω
Ω
The service power supply of
the PC can be used within
the allowable capacity.
<Source input>
The service power supply of
the PC can be used within
the allowable capacity.
DC24V
DC24V
+10%
-15%
Class 3
grounding
+10%
-15%
Use transistors when a
bank is changed over in
the RUN mode.
S/S
24+
24-
FX2N-1RM
B0
B1
S/S
24+
24-
3.3k
3.3k
Ω
Ω
Class 3
grounding
•For the capacity of the service power supply of the PLC main unit, refer to the Hardware
Manual offered separately.
4-1
FX2N-1RM-E-SET Programmable Cam Switch
Cautions on wiring
•Do not connect the AC power supply to DC I/O terminals or DC power terminals.
If such connection is performed, the FX
•Do not perform wiring from the outside to an unused terminal [
extension block.
If such wiring is performed, the unit may be damaged.
•Perform Class 3 grounding to the ground terminal in the FX
using an electric wire of 2 mm
However, do not perform common grounding with a strong electric system.
Note
2
or more.
-1RM may burned out.
2N
External Wiring 4
] of the main unit or an
⋅
-1RM or the main unit
2N
•Turn on or off simultaneously the power of the PLC and the power of the FX
•Use an electric wire of 2 mm
2
or more as a power line so that voltage drop can be prevented.
-1RM.
2N
•Even if an instantaneous power interruption of 5 ms or less has occurred, the FX
continues its operation.
If a considerably long power interruption or an abnormal voltage drop has occurred, the
FX
-1RM is stopped and the output is turned off. When the power is recovered, the FX2N-
2N
1RM automatically restarts operation
(if the RUN/PRG selector switch is set to "RUN").
-1RM
2N
4-2
FX2N-1RM-E-SET Programmable Cam Switch
1Introduction
2Installation
3Specifications
4External Wiring
5Extension Block Specifications and External Wiring
6Basic Setting
7BFM Assignment
8Program Operating Procedures
9Monitor
10Test
11Diagnostics
Appendix
FX2N-1RM-E-SET Programmable Cam Switch
FX2N-1RM-E-SET Programmable Cam Switch
Extension Block Specifications and External Wiring 5
5.Extension Block Specifications and
External Wiring
This section describes the specifications and the wiring of the FX2N-16EYT.
When other extension blocks dedicated to output are used, refer to the Hardware Manual of the
FX
0.5 A/point, 0.8 A/4 points common, 1.6 A/8 points common
12 W/24 VDC
1.5 W/24 VDC
0.1 mA/30 VDC
0.2 ms or less (0.2 A or more)
0.2 ms or less (0.2 A or more)
•The environmental specifications are equivalent to those of the FX2N-1RM. (Refer to
Paragraph 3.1.)
5.2Output wiring (transistor output type)
DC24V
No fuse is built in these output circuits
of the programmable controller.
Provide a fuse appropriate to each
load so that the programmable
controller Board wiring of the
programmable controller is not melt
down by break of output elements
caused by load short-circuit, etc.
MC
2A
2A
FX2N-16EYT
COM1
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
COM2
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
5-1
FX2N-1RM-E-SET Programmable Cam Switch
Cautions on wiring
•Do not connect the AC power supply to DC I/O terminals or DC power terminals.
If such connection is performed, the FX
•Do not perform wiring from the outside to an unused terminal [
extension block.
If such wiring is performed, the unit may be damaged.
Extension Block Specifications and External Wiring 5
-1RM may burned out.
2N
] of the main unit or an
⋅
5-2
FX2N-1RM-E-SET Programmable Cam Switch
1Introduction
2Installation
3Specifications
4External Wiring
5Extension Block Specifications and External Wiring
6Basic Setting
7BFM Assignment
8Program Operating Procedures
9Monitor
10Test
11Diagnostics
Appendix
FX2N-1RM-E-SET Programmable Cam Switch
FX2N-1RM-E-SET Programmable Cam Switch
6.Basic Setting
This section describes the basic setting of the FX2N-1RM including handling of the RUN and
STOP modes, specification of the bank No., setting of the automatic angle advance function and
setting of the reference angle.
Cautions on start-up and maintenance
•Do not touch any terminal while the power is supplied.
If a terminal is touched, electrical shocks or malfunction may occur.
•Turn off the power before cleaning or tightening terminals.
If cleaning or tightening is performed while the power is supplied, electrical shocks may
occur.
•Read thoroughly the manual and confirm safety before modifying a program during
operation, performing forced output, performing the RUN operation or performing the
STOP operation.
Erroneous operation may cause mechanical damages or accidents.
Basic Setting 6
Cautions on start-up and maintenance
•Do not disassemble or modify the unit.
Disassembly or modification may cause failures, malfunction or fires.
* For repair, contact Mitsubishi Electric System Service
•Turn off the power before connecting or disconnecting connection cables such as
extension cables.
If such cables are connected or disconnected while the power is turned on, failures or
malfunction may occur.
Cautions on Disposal
•Treat the unit as industrial waste when disposing of it.
6-1
FX2N-1RM-E-SET Programmable Cam Switch
RUN
PRG
6.1Handling of the RUN and PRG modes
The FX2N-1RM offers two modes, RUN (operation) and PRG (program). These modes can be
changed over using the following procedure.
(In the PRG mode, the FX
< Built-in RUN/PRG selector switch >
The RUN mode and the PRG mode can be changed over by
manipulating the RUN/PRG selector switch built in the main unit.
When the switch is set to the RUN side, operation is performed.
When the switch is set to the PRG mode, operation is stopped and
the download of programs is enabled.
< Changing over the RUN and PRG modes from the data setting panel >
The RUN mode and PRG mode can be changed over by manipulating the keys provided on the
data setting panel.
To select the RUN mode: [RUN] → [GO]
To select the PRG mode: [STOP] → [GO]
The RUN to PRG operation with data setting panel can be prohibited with BFM#0 b6 or the data
setting panel.
This function is added from the product since V2.20.
-1RM stops operation.)
2N
Basic Setting 6
< Changing over the RUN and PRG modes from the PLC >
The RUN mode and PRG mode can be changed over by giving a TO instruction from the PLC.
The RUN/PRG command write destination is provided in b0 and b1 of BFM #3.
BFM #3
b0: Selects the RUN mode when set to ON from OFF (when the rising edge is detected).
b1: Selects the PRG mode when set to ON from OFF (when the rising edge is detected).
* b0 and b1 should not be set to ON from OFF at the same time.
•Change in the status is detected in any procedure to change-over the RUN mode and the
PRG mode.
•When the power is turned on, the mode is set in accordance with the setting of the RUN/PRG
selector switch built in the FX
•The RUN LEDs on the FX
-1RM.
2N
-1RM and the data setting panel are lit while the RUN mode is
2N
selected.
The RUN LEDs on the FX
-1RM and the data setting panel are extinguished while the PRG
2N
mode is selected.
•When switching from PRG to RUN, FX
-1RM does not output by the position where the
2N
resolver is stopped occasionally. (Dead zone)
When the resolver starts rotating, FX
-1RM is normally output.
2N
When switching from PRG to RUN, the product since V2.20 is normally output wherever the
resolver has stopped.
6-2
FX2N-1RM-E-SET Programmable Cam Switch
6.2Specifying the bank
The FX2N-1RM can store two or more programs, and execute an arbitrary program in accordance
with an external input to the FX
Up to 4 banks are available for an external input. Up to 8 banks are available for an instruction by
the PLC.
•Setting the bank specification method
Set which one between the external input and the PLC is used to specify a bank.
To select either one, give a TO instruction from the data setting panel or the PLC main unit.
< Setting by the data setting panel >
2N
Basic Setting 6
-1RM or an instruction given by the PLC main unit.
FNC3GO
Select the bank
specification method.
Every time this key is
pressed, the PLC (The
OFF LED flashes.) or the
external input (The ON
LED flashes.) is selected
alternately.
ON/OFF
GO
Select the
specification method
based on flashing of
the LED, and
confirm it by
pressing the [GO]
key.
< Setting by the PLC >
The bank specification method write destination is provided in b3 of BFM #0.
BFM #0
b3: OFF → A bank is specified by an external input.
ON → A bank is specified by the PLC.
Set to specify the Bank from the PLC without fail when you use the current angle transfer
function.
•Bank specification method
Specify the program No. to be executed using the method selected by the procedure
described in "Setting the bank specification method" above (bank specification).
< Bank specification by the external input >
Specify an arbitrary program No. from the B0 and B1 terminals. (For the wiring, refer to "4.1
Power supply and input wiring".)
To change-over the program No. to be executed while a program is running (RUN mode), use
transistors.
The input response time of the FX
-1RM is approximately 3 ms. If relays or with-contact
2N
switches are used, a program other than the specified one may be executed while the bank
change-over operation is being performed.
Specified program No.B1B0
0OFFOFF
1OFFON
2ONOFF
3ONON
< Bank specification by the PLC >
The bank specification write destination is provided in BFM #2. Write the program No. to be
executed using a TO instruction.
The effective values are 0 to 7.
6-3
FX2N-1RM-E-SET Programmable Cam Switch
6.3Automatic angle advance function
The automatic angle advance function performs the output ON/OFF operation in advance by an
arbitrary angle (angle advance quantity) in accordance with the rotation speed of the resolver.
By using this function, delay in the mechanical operation generated during rotation at high speed
can be compensated.
The setting of this function becomes the common set point for the on angle and the off angle
outputs Y00 to Y07 and Y10 to Y17.
The response speed can be used by 830 r/min (1 degree mode), 415 r/min (0.5 degrees mode).
Basic Setting 6
advance
quantity
(degrees)
180 degrees maximumAngle
G
F
E
D
C
B
A
S0
abcdefg
S1
S2
S3
S4
S6
S5
400 r/min maximum
Rotation speed (r/min)
The automatic angle advance function can be set in 7 steps from S0 to S6 as shown in the figure
above. Enter the rotation speed (a to g) and the angle advance quantity (A to G) for each step
from the data setting panel or the PLC main unit.
The smallest rotation speed should be set in S0 with the settings increasing in sequential order of
speed. (S0<S1<S2< . . . <S6)
When the automatic angle advance function is used, the rotation speed should be 400 r/min or
less and the angle advance quantity should be 180 degrees or less.
When the rotation speed is 0 (initial value), the angle advance quantity is treated as 0.
Whether or not the automatic angle advance function is used can be set from the data operation
panel and the PLC main unit.
For the input procedure from the data setting panel, refer to Paragraph 8.3.5.
For the input destination from the main unit, refer to Paragraphs 7.1 and 7.2.
(Data is written to BFM #0 and BFM #13 to BFM #26 by a TO instruction.)
6-4
FX2N-1RM-E-SET Programmable Cam Switch
< Assignment of FNC Nos. and BFM Nos. >
Basic Setting 6
Input from data setting panel
(FNC No.)
Rotation angle aFNC 13BFM #13
S0
Angle advance quantity AFNC 14BFM #14
Rotation angle bFNC 15BFM #15
S1
Angle advance quantity BFNC 16BFM #16
Rotation angle cFNC 17BFM #17
S2
Angle advance quantity CFNC 18BFM #18
Rotation angle dFNC 19BFM #19
S3
Angle advance quantity DFNC 20BFM #20
Rotation angle eFNC 21BFM #21
S4
Angle advance quantity EFNC 22BFM #22
Rotation angle fFNC 23BFM #23
S5
Angle advance quantity FFNC 24BFM #24
Rotation angle gFNC 25BFM #25
S6
Angle advance quantity GFNC 26BFM #26
Input from main unit
(BFM No.)
6-5
FX2N-1RM-E-SET Programmable Cam Switch
6.4Individual automatic angle advance function
The automatic angle advance function performs the output ON/OFF operation in advance with an
arbitrary angle (angle advance quantity) in accordance with the rotation speed of the resolver.
This setting does an individual setting to the on angle and the off angle of output Y00 to Y03.
The executed program number can be used from bank 0 to bank 6.
Bank 7 must not be used. (Bank 7 is used to store the data of the individual automatic angle
advance function.)
The rotational speed response is as follows.
•The individual automatic angle advance function can be set in 7steps from S0 to S6 as
shown in the figure above. Setting the rotation speed (a to g) and the angle advance quantity
(A to G) for each step.
•Please set the smallest rotation speed to S0 and increase the settings sequentially.
(S0<S1< . . . <S6)
•The rotation speed should be 400 r/min or less (1 degree mode), 207 r/min or less (0.5
degrees mode) and the angle advance quantity should be 180 degrees or less.
•When the rotation speed is 0 (initial value), the angle advance quantity is treated as 0.
6-6
FX2N-1RM-E-SET Programmable Cam Switch
Y0
1 degree or
0.5 degrees
or more
Individual automatic angle
advance function unused.
359 degrees
Y0
ON angle
advance
quantity
OFF angle
advance
quantity
ON angle
advance
quantity
OFF angle
advance
quantity
Individual automatic angle
advance function used.
0 degree
1 degree or
0.5 degrees
or more
1 degree or
0.5 degrees
or more
•Please separate angle advance quantity from previous ON/OFF 1 degree (1 degree mode)
or 0.5 degrees (0.5 degrees mode) or more. (Refer to the figure 1 below)
Figure 1
•Selection of use/do not use, input of the rotational speed, and angle advance quantity can be
set by the data operation panel and the PLC main unit.
Basic Setting 6
Use specification of individual automatic angle advance function
From the data setting panel: Set by FNC 05 → Refer to 8.3.6
From the PLC: Bit5 of BFM #0 is turned ON → Refer to 7.2
Setting of rotational speed and angle advance quantity
From the data setting panel: Set by FNC 90 → Refer to 8.3.6
Input by one time value
From the PLC: Input to BFM #6376 to #6459 → Refer to the next page
Input value equals advance angle (1 degree mode)
Input value equals twice the advance angle (0.5 degrees mode)
Please input the rotational speed and angle advance quantity after specifying the use of the
function.
(When the use of the function is not specified, it becomes an error.)
6-7
FX2N-1RM-E-SET Programmable Cam Switch
When individual automatic angle advance function is used, addition of the crack of rotation speed
and angle advance quantity to buffer memory (BFM) is as follows.
Basic Setting 6
Y0 S0
S1
S2
S3
S4
S5
S6
Y1 S0
S1
S2
S3
S4
S5
S6
Y2 S0
S1
S2
S3
S4
S5
S6
Y3 S0
S1
S2
S3
S4
S5
S6
Rotation speed
6376
6379
6382
6385
6388
6391
6394
6397
6400
6403
6406
6409
6412
6415
6418
6421
6424
6427
6430
6433
6436
6439
6442
6445
6448
6451
6454
6457
BFM No.
ON angle
advance quantity
6377
6380
6383
6386
6389
6392
6395
6398
6401
6404
6407
6410
6413
6416
6419
6422
6425
6428
6431
6434
6437
6440
6443
6446
6449
6452
6455
6458
OFF angle
advance quantity
6378
6381
6384
6387
6390
6393
6396
6399
6402
6405
6408
6411
6414
6417
6420
6423
6426
6429
6432
6435
6438
6441
6444
6447
6450
6453
6456
6459
•When the mode is selected 1
degree (360 degrees/
revolution), input equals
advance angle value.
When the mode is selected
When the batch transfer of the program is done with the personal computer and FX20P when the Individual automatic angle advance function is used, all the data of the
rotational speed, the turning ON angle, and the turning OFF angle is treated by the
twice value.
6-8
FX2N-1RM-E-SET Programmable Cam Switch
6.5Setting the reference angle
Originally, the brushless resolver has an absolute reference angle. In addition, a reference angle
in accordance with a machine can be set.
Each set angle of the FX
accordance with the machine.
The reference angle can be set by the data setting panel or by a TO instruction given by the PLC
main unit.
< Setting by the data setting panel >
For the setting procedure using the data setting panel, refer to Paragraph 8.2.10.
< Setting by the PLC >
The reference angle data is provided in BFM #1. The reference angle setting command is
provided in BFM #3 b2.
-1RM performs its operation based on the reference angle set in
2N
Basic Setting 6
Write the angle data to be
treated as the reference to
BFM #1.
Rotate the resolver, and stop it
in an arbitrary position.
Write "1 (ON)" to BFM #3 b2
(rising edge). By this
operation, the current position
of the resolver becomes the
angle set to BFM #1.
Caution on batch transfer of programs
Even if programs are transferred at a time by a personal computer or the FX-20P, the
reference angle image set is not transferred.
Accordingly, set the reference angle again after the FX
-1RM or the resolver is
2N
replaced.
6-9
FX2N-1RM-E-SET Programmable Cam Switch
6.6Handling the keyword
< Limitation of the function by the keyword >
When a keyword is registered, writing to the EEPROM is prohibited in the same way as the
EEPROM protect function. When programs are read by a personal computer or the FX-20P, the
registered keyword must be entered.
(Preventing theft of a program)
A keyword can be registered/deleted using the data setting panel, the personal computer
software and the FX-20P.
At this time, a keyword in a personal computer or the FX-20P is treated as "BBBBB
indicates a numeric from 1 to 999.).
The writing of any data from the buffer memory to the EEPROM is prohibited. Only the operations
shown in the table below are allowed to be set on the data setting panel.
< Operations enabled while a keyword is registered >
Basic Setting 6
" (
###
###
Operation by data setting panel
Read
Forced RUN/STOP
Read of reference angle
Write-protect of EEPROM
Deletion of keyword
When the registered keyword is deleted, all the functions become available again.
An unknown keyword can be deleted by the entire program deletion procedure (Refer to
Paragraph 9.2.5.). Keep in mind that all other registered data is also deleted.
Operation by buffer memory
(BFM)
Writing from BFM to EEPROM
is prohibited.
Any modification of BFM is
valid, and operation of FX
1RM can be modified.
2N
-
6-10
FX2N-1RM-E-SET Programmable Cam Switch
6.7Current angle transfer function
The current angle transfer function to transfers the current angle of the resolver to BFM#106 via
turning ON input terminal B1.
(This function has been included since V2.40)
The PLC is used together, and a highly accurate sampling by which an external input is made a
trigger can be done.
The response speed becomes 207r/min/0.5degree or 415r/min/degree.
Set to specify the bank from the PLC without fail when you use the current angle transfer
function.
< Setting by the data setting panel >
•Set the method of specifying the bank by operating FNC3, "PLC".
Refer to Paragraph 8.3.4
•Set the current angle transfer function by operating FNC7, "Effective".
Refer to Paragraph 8.3.8
< Setting by the PLC >
•BFM#0 b3 is turned ON, and the method of specifying the bank selects "PLC".
•BFM#0 b7 is turned ON, and the Current Angle Transfer function is made effective.
b7: OFF → Current angle transfer function is Invalidity.
ON → Current angle transfer function is effective.
Basic Setting 6
Program example
M8000
M8000
M8000
M8000
M8000
M8000
M8000
M8000
M8002
BFM#106
Reading instruction
M0
M1
M2
M3
M4
M5
M6
M7
TOK0K1K2M0K1
FROMK0K106D0K1
Resolution: 1 degree
Rotation derection of resolver: Clockwise
Write protect of EEPROM: Write is enabled
Bank specification method: PLC
Automatic angle advance function: Un used
Individual automatic angle advance function:
Un used
Prohibition of RUN to PRG operation:
Permission
Current angle transfer function: Used
Parameter setting (BFM#0)
BFM#106
→
D0.
6-11
FX2N-1RM-E-SET Programmable Cam Switch
< Action of current angle transfer function>
Basic Setting 6
Input terminal
B1
Current angle
(BFM#8)
Value of
BFM#106
200µs
or more
ON
OFF
5
4
3
2
1
200µs
or more
OFF
6
5-1100
98
or more
100
99
200µs
ON
101
OFF
102
103
104
•Transfer the current angle of the resolver to BFM#106 by turning ON input terminal B1.
•The input signal to input terminal B1 is necessary for both 200µS or more the turning ON
time and the turning OFF time.
•When input terminal B1 turns ON the power supply of FX
-1RM while turned ON, the data
2N
storage in BFM#106 is not executed.
(When the terminal B1 is turned OFF once, and the terminal B1 is turned ON again, the data
storage in BFM#106 is executed.)
•When neither turning ON the power supply nor the current angle transfer function are used,
”-1” is stored.
6-12
FX2N-1RM-E-SET Programmable Cam Switch
1Introduction
2Installation
3Specifications
4External Wiring
5Extension Block Specifications and External Wiring
6Basic Setting
7BFM Assignment
8Program Operating Procedures
9Monitor
10Test
11Diagnostics
Appendix
FX2N-1RM-E-SET Programmable Cam Switch
FX2N-1RM-E-SET Programmable Cam Switch
7.BFM Assignment
This section describes the buffer memory (BFM) of the FX2N-1RM.
When the FX
BFM by FROM/TO instructions. (Refer to Paragraph 7.3.)
When two or three FX
the unit nearest to the PLC main unit.
The second and third FX
first FX
2N
7.1BFM list
Series PLC is connected to the FX2N-1RM, data can be read/written from/to the
2N
-1RM units are connected, FROM/TO instructions are available in only
2N
-1RM units can write and read data from the PLC main unit via the
2N
-1RM unit.
BFM Assignment 7
BFM No.Name
#0Initial setting0W, KD7144
#1Reference angle (ADJ)0
#2
#8002
#9002 *1
#3
#8003
#9003 *1
#4Output prohibition (Y00 to Y17)0
#5Output prohibition (Y20 to Y37)0
#6Output prohibition (Y40 to Y57)0
#7Executed bank No.W
#8
#8008
#9008 *1
#9
#8009
#9009 *1
#10
#8010
#9010 *1
#11
#8011
#9011 *1
#12
#8012
#9012 *1
#13
#14
#15
#16
Bank No. specification (00 to 07)0
Command0W
Current angle (degrees)
Rotation angle (r/min)R
Output status (Y00 to Y17)
Output status (Y20 to Y37)
Output status (Y40 to Y57)
Speed of automatic angle advance
S0 (r/min)
Angle advance quantity of
automatic angle advance S0
(degrees)
Speed of automatic angle advance
S1 (r/min)
Angle advance quantity of
automatic angle advance S1
(degrees)
Initial
value
Remarks R: For read W: For write
×1 value (1 degree),
×2 value (0.5 degree)
Refer to Paragraph 6.5.
Valid when bank specification
is set to PLC.
Prohibits output when each bit
is set to ON.
Prohibits output when each bit
is set to ON.
Prohibits output when each bit
is set to ON.
×1 value (1 degree),
×2 value (0.5 degree)
Monitors output status when
each bit is set to ON/OFF.
Monitors output status when
each bit is set to ON/OFF.
Monitors output status when
each bit is set to ON/OFF.
Angle advance quantity of
automatic angle advance S6
(degrees)
Status0R
↓
Data transfer destination of current
angle transfer function. Refer to
paragraph 6.7
↓
ON angle of bank No. 0, Y00, step
No. 0
OFF angle of bank No. 0, Y00,
step No. 0
ON angle of bank No. 0, Y00, step
No. 1
OFF angle of bank No. 0, Y00,
step No. 1
...
ON angle of bank No. 0, Y57, step
No. 7
OFF angle of bank No. 0, Y57,
step No. 7
ON angle of bank No. 0, Y00, step
No. 0
OFF angle of bank No. 0, Y00,
step No. 0
...
...
...
...
Initial
value
FFFF
FFFF
FFFF
FFFF
BFM #1000 to BFM #7143 are offered to set an angle.
The initial value is "FFFF" respectively. Data is written by ×1 value
(1 degree) and ×2 value (0.5 degree), and the set values are kept in
the EEPROM.
When a program is transferred by a personal computer or the FX20P, BFM #1000 to BFM #7143 are assigned to file registers D1000
to D7143.
For the bank Nos., output Nos., step Nos., ON angle and OFF
angle assigned to BFM #1000 to BFM #7143, refer to the BFM No.
Quick Reference Table for Angle Setting provided at end of this
manual.
Remarks R: For read W: For write
...
0W, KD7158
×1 value (1 degree),
0
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
Range of setting 1000 to 7142
(BFM number of output ON
angle setting)
Range of setting 1000 to 7142
(BFM number of output ON
angle setting)
×1 value (1 degree),
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
×1 value (1 degree),
-1
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
K: Keep
...
...
W, KD7159
W
W
W
W
R
R
R
W, KD1000
W, KD1001
W, KD1002
W, KD1003
File register
assignment No.
...
#7142
#7143
ON angle of bank No. 0, Y57, step
No. 7
OFF angle of bank No. 0, Y57,
step No. 7
FFFF
FFFF
×1 value (1 degree),
×2 value (0.5 degree)
×1 value (1 degree),
×2 value (0.5 degree)
W, KD7142
W,KD7143
7-2
FX2N-1RM-E-SET Programmable Cam Switch
*1: When two or more FX2N-1RM units are connected to the PLC main unit, data is read from and
written to each unit via the buffer memory of the unit nearest to the PLC main unit.
The relationship between the BFM Nos. and the units is shown below.
BFM Nos. of one or two digits: FX
BFM Nos. of 8000 to 8999: Second FX
BFM Nos. of 9000 to 9999: Third FX
*2: BFM #100 to #105 has been included since version V2.00 (from 1998/2)
*3: BFM#106 has been included since version V2.40 (from 2002/1)
-1RM unit nearest to the PLC main unit
2N
-1RM unit
2N
-1RM unit
2N
BFM Assignment 7
•All the buffer memories in the FX
-1RM units accommodate 16-bit data. When using a
2N
FROM/TO instruction, use a 16-bit instruction.
•When two FX
-1RM is connected, the monitor cycle of BFM #8002 to #8028 becomes
2N
about 12m seconds.
When three is connected, the monitor cycle of BFM #8002 to #8028, #9002 to #9028
becomes about 27m seconds.
However, the table is composed from PRG to RUN again at the switch and bank changing.
Therefore, the time of 4 seconds or less is required. (Only at change)
1: Write to EEPROM is disabled.
0: Write is enabled. (However, BFM #0 b2 can be modified.)
1: PLC
0: FX
1: Used (Y00 to Y17)
0: Unused Refer to Paragraph 6.3
1: Used (Y00 to Y03)
0: Unused Refer to paragraph 6.4
1:Prohibition
0:Permission
1: Used
0: Unused Refer to paragraph 6.7
-1RM external input Refer to Paragraph 6.2.
2N
*1: When selecting "0.5 degree" as the resolution, enter a value twice the actual angle as the set
data to BFM #1000 and later. For example, when the actual angle is 45 degrees, enter "K90"
as the set data.
(For setting from the data setting panel, refer to Paragraph 8.2.1.) (Set range: 0 to 719)
*2: When both b4 and b5 are turned on, b5 becomes effective.
*3: The RUN to PRG operation with data setting panel is prohibited.
The RUN to PRG switch by the RUN / PRG change switch and BFM#3 is effective.
(This function is added from the product since V2.20.)
*4: Set to specify the Bank from the PLC without fail when you use the current angle transfer
function.
(This function has been included since V2.40)
7-4
FX2N-1RM-E-SET Programmable Cam Switch
< BFM #3: Command >
BitDescriptionRemarks
b0RUNRuns a program (on rising edge). Refer to Paragraph 7.1.
b1PRG
b2ADJ
b3Error resetResets error information (received on rising edge).
b4
b5
b6
b7
Write instruction
in RUN mode
Initialization of
BFM keep area
Write instruction
in PRG mode
Unusable
∼
15
Turns off output by PRG command (received on rising edge).
Refer to Paragraph 7.1.
Sets reference angle on rising edge in PRG mode.
Refer to Paragraph 7.4. *4
Writes modification of program contents of bank currently executed to
EEPROM (on rising edge). *5
Initializes BFM keep area (on rising edge in PRG mode).
This command has priority over program protection actuated by code No.
Writes keep area contents to EEPROM in PRG mode (on rising edge).
*4: When an ADJ command is executed, the absolute value of the resolver is written to the
EEPROM. Do not set the write-protect function of the EEPROM.
BFM Assignment 7
*5: BFM #13 to BFM #26 (setting of the automatic angle advance function) are also written at the
same time.
•When two or more FX
-1RM is connected and used for a main unit, the second command is
2N
allocated to BFM #8003, the third command is allocated to BFM #9003.
It is similar to above-mentioned BFM #3 with the crack of each bit of BFM #8003, #9003.
The bits b0 to b15 of BFM #4 correspond to Y00 to Y17. When each bit is set to 1 (ON), the
output of the corresponding output No. is prohibited.
BFM #5 and BFM #6 correspond to Y20 to Y37 and Y40 to Y57 respectively in the same way,
and the output can be prohibited for each point.
7-6
FX2N-1RM-E-SET Programmable Cam Switch
< BFM #10 to BFM #12: Output status >
Example of BFM #10
BitDescriptionRemarks
b0Y00 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b1Y01 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b2Y02 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b3Y03 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b4Y04 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b5Y05 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b6Y06 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b7Y07 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b8Y10 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b9Y11 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b10Y12 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b11Y13 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b12Y14 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b13Y15 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b14Y16 output status1: Y01 output ON operation, 0: Y01 output OFF operation
b15Y17 output status1: Y17 output ON operation, 0: Y17 output OFF operation
BFM Assignment 7
•The bits b0 to b15 of BFM #10 correspond to Y00 to Y17, and each of b0 to b15 is turned
on or off in accordance with each output status. This output status can be read to the PLC
main unit by FROM instructions.
•BFM #11 and BFM #12 correspond to Y20 to Y37 and Y40 to Y57 respectively in the same
way, and the output status can be checked for each point.
•When two or more FX
-1RM is connected used for a main unit, the second state of output
2N
is allocated to BFM #8010 to #8012 the third state of output is allocated to BFM #9010 to
#9012.
7-7
FX2N-1RM-E-SET Programmable Cam Switch
< BFM #28: Status >
BitDescriptionRemarks
b0Operating
b1Rotating clockwiseTurned on while rotating in RUN mode with BFM #0 b1 set to 0.
b2Rotating counterclockwiseTurned on while rotating in RUN mode with BFM #0 b1 set to 1.
b3Error occurred
b4Writing in RUN mode
b5Keep area being initializedNever modify program in keep area while keep area is initialized.
Tw o o r m o r e FX
b6
units connected
Three FX
b7
nected
FX
b8
error
b9∼15Unusable
2N
-1RM communication
2N
-1RM
2N
-1RM units con-
BFM Assignment 7
Turned on while operation is normal in RUN mode (Functions in same way
as RUN LED.).
Turns off output. Turned off when error is reset (Functions in same way as
ERROR LED.).
Turned on while contents of program of bank currently executed are written
to EEPROM.
Never modify program of same bank while this bit is turned on.
When two FX2N-1RM units are connected, b6 is turned on and b7 is turned
off. When three.FX2N-1RM units are connected, both b6 and b7 are turned
on.
When it is not possible to communicate with the right FX2N-1RM where two
or more FX2N-1RM are connected, b8 turns on.
When two or more FX
-1RM is connected and used for a PLC main unit, the second status is
2N
allocated to BFM #8028, the third status is allocated to BFM #9028.
It is similar to above-mentioned BFM #28 with the crack of each bit of BFM #8028, #9028.
< BFM #29: Error code >
Code No.Description
20Data setting error (out of range)
21Bank setting error (out of range)
22Memory error (Data cannot be written to EEPROM.)
23Resolver disconnection error
7-8
FX2N-1RM-E-SET Programmable Cam Switch
<BFM #100: Written on angle, BFM #101: Written off angle, BFM #102: Written BFM No>
The data of the turning on angle and the turning off angle can be indirectly set from a PLC main
unit to two or more outputs of FX
(It is a function added from version V2.00)
After the turning on angle and the turning off angle data are written in BFM #100, #101, the BFM
number which wants to be written is written BFM #102. The turning on angle data of BFM #100 is
written in the BFM number specified by BFM #102 by this work. The off angle data of BFM #101
is written in the old number which continues to the specified number.
(Give setting BFM #102 as a number allocated to output on angle setting of BFM #1000 to
#7142. Refer to BFM No. Quick Reference Table for Angle setting in the end of a book.)
When the to instruction to BFM #102 is executed, the turning on angle and the turning off angle
are written.
<BFM #103:Reading BFM No., BFM #104: Reading on angle, BFM #105: Reading off angle>
The data of the turning on angle and the turning off angle can be indirectly read from a PLC main
unit to two or more outputs of FX
(It is a function added from version V2.00)
The BFM number which wants to be read to BFM #103 is written.
Then, output on angle data of the specified BFM number is read to BFM #104.
The turning off angle data allocated to BFM of the old number which continues to the specified
number is read to BFM #105.
(Give setting BFM #103 as a number allocated to output on angle setting of BFM #1000 to
#7142. Refer to BFM No. Quick Reference Table for Angle setting in the end of a book.)
When the to instruction to BFM #103 is executed, the angle data is read to BFM #104, #105.
-1RM.
2N
-1RM.
2N
BFM Assignment 7
<BFM #106:Data transfer destination of current angle transfer function>
When the current angle transfer function is used, the current angle of the resolver is transferred
to BFM#106 via turning ON (OFF → ON) input terminal B1.
When neither turning ON the power supply nor the current angle transfer function are used, “-1”
is stored. (Function has been included since version V2.40)
< Application operation (FNC function) >
When using a function with FNC (FNC 70 to 75, 90), write the FNC No. to be used added to 1000
(K1070 for FNC 70, for example) to the bank No., STEP0 of the output No. and the BFM No.
(BFM #1000, BFM #1016, BFM #6376, etc.) of the ON angle to be used.
7-9
FX2N-1RM-E-SET Programmable Cam Switch
< Timing at which a program is saved to the EEPROM >
1 ) While the data setting panel is manipulated
Every time a program is modified using the data setting panel, the modified data is written to
both the buffer memory and the EEPROM.
2 ) While the RUN mode is selected
When the bank is changed over, the contents of a new bank are saved in the EEPROM.
When a write command in RUN mode (BFM #3 b4) is written from the PLC main unit to the
FX
-1RM (on the rising edge), the modified contents of the program of the bank currently
2N
executed are saved in the EEPROM. (At the same time, the modified contents of the
automatic angle advance are also saved.)
3 ) While the PRG mode is selected
When a write command in PRG mode (BFM #3 b6) is written from the PLC main unit to the
FX
-1RM (on the rising edge), the contents of the BFM keep area are saved in the
2N
EEPROM.
4 ) When the mode is changed over from PRG to RUN
When a RUN command (BFM #3 b0) is written from the PLC main unit to the FX
the rising edge), the contents of the BFM keep area are saved in the EEPROM.
BFM Assignment 7
-1RM (on
2N
< Timing at which the ON/OFF table is created >
1 ) On the rising edge when the mode is changed over from PRG to RUN
2 ) While the RUN mode is selected
When the bank is changed over
When a command to write a program to the EEPROM is given (When data is not required to
be written to the EEPROM, set the write-protect function of the EEPROM.)
•Even if a BFM program is modified in the RUN mode from the PLC, such modification is not
reflected on the ON/OFF table.
The modified program is reflected when a command to write data to the EEPROM is given.
The contents of the setting of the automatic angle advance function are immediately
reflected on the ON/OFF table when data is written to the buffer memory.
The contents of the setting are saved when a command to write data to the EEPROM is
given.
7-10
FX2N-1RM-E-SET Programmable Cam Switch
7.3Cautions on creation of a sequence program
When the ON/OFF angle of the FX2N-1RM is set using a program in the PLC main unit, a
watchdog timer error may occur if many settings are performed at a time.
When a large value is written to D8000 while setting is performed using the initial pulse, a
watchdog timer error may also occur because such a written value becomes valid only when an
END instruction is given.
It is recommended to write the ON/OFF angle data after one operation cycle from the initial pulse
as shown in the program below.
BFM Assignment 7
M1
TO
Turned on after
one operation
cycle from
modification of the
watchdog timer.
M8002
MOVK300D8000
Initial
pulse
M1
END
K0K1000K0K1
~
Modifies the watchdog timer to "300 ms".
All the buffer memories (BFM) of the FX
-1RM accommodate 16-bit data.
2N
Writes "0 degree" to BFM #1000
(bank 0, Y0, STEP 0, ON angle).
When reading or writing data from the PLC main unit, use 16-bit FROM/TO instructions.
(If 32-bit instructions ([D] FROM/[D] TO) are used, instructions are executed using 32-bit data for
the specified BFM No. and the consecutive BFM No.)
7-11
FX2N-1RM-E-SET Programmable Cam Switch
7.4Program example
7.4.1Program example which uses FROM/TO instruction
A program example using FROM/TO instructions is shown below.
In this program, data is output to the PLC main unit, each data is read, and commands are
written. (Each data and each status are read only.)
BFM Assignment 7
M8000
FROM
FROM
FROM
TO
X000
RUN command
X001
PRG command
X2
Error reset
K0K10K4Y0K3
K0K8D0K2
K0K28K2M0K1
K0K3K2M10K1
M10
M11
M13
Outputs the ON/OFF information of BFM #10
to BFM #12 (Y0 to Y57) to Y0 to Y57 of the
programmable controller.
Reads BFM #8 (current angle) to D0, and
reads BFM #9 (rotation speed) to D1.
Reads BFM #28 (status) to M0 to M7.
Writes the command M10 to M17 to BFM #3.
In the program example above, the FX
X000 of the PLC main unit, and the FX
X001.
-1RM is changed over to the RUN mode by input to
2N
-1RM is changed over to the PRG mode by input to
2N
7-12
FX2N-1RM-E-SET Programmable Cam Switch
BFM Assignment 7
7.4.2Program example which uses indirect specification (BFM #100 to #105)
The bank number and the output number are specified with Graphic Operation Terminal GOTF900 series connected with a PLC.
And, writing and reading are done to the ON/OFF angle of all patterns. (step 0 to step 7)
Writing and reading the ON/OFF angle are indirectly done. (BFM #100 to #105 is used.)
<System configuration>
F 9 4 0 G O T - E - S W D
P O W E R
B A N K
C O MX 4
LX 1 3 X 1 5
2 4 +N
Y 4
Y 2
Y 3
X 1 0X 1 4 X 1 6
X 2
X 7
X 3
X 1
I N
O U T
Y 6
Y 1 0
Y 1 2
Y 5
C O M 3
Y 1 1
Y 1 3Y 1
72 4 5 61 30
1 4171 51 0 1 2 1 3
1 61 1
P O W E R
R U N
B A T T . V
P R O G . E
72 4 5 61 30
C P U . E
1 61 11 51 4171 0 1 2 1 3
Y 1 4
Y 1 5
O U T
B A N K
789
F N C
456
C O P Y
R U N
123
S T O P
0
R U N
E R R
D E GS T E P
O N
O F F
S T E P
O U T
O N
O F F
D E L
T E A C H
A D J
G O
C L R
2 N
s e r i e s
F X
- 1 R M
2 N
P L C F X
<With device crack>
The device writes all data by F940GOT-E-SWD
D0: Bank number specification 0 to 7
D1: Output number specification 0 to 57(octal number)
D300 to D315 : ON/OFF angle input
Step 0Step 1Step 2Step 3Step 4Step 5Step 6Step 7
ON angleD300D302D304D306D308D310D312D314
OFF angleD301D303D305D307D309D311D313D315
M10: Writing instruction
M11: Reading instruction
7-13
FX2N-1RM-E-SET Programmable Cam Switch
<Program>
BFM Assignment 7
P100
P101
68
75
82
92
93
105
108
141
142
143
155
158
191
192
193
M10
0
M11
M10
M10
M11
M8000
M8000
M8000
M8000
M8000
[SM0V D1 K1 K1 D23 K1 ]
[SM0V D1 K2 K1 D24 K1 ]
[MUL K8 D24 D26 ]
[ADD D23 D26 D28 ]
[MUL K768 D0 D4 ]
[MUL K16 D28 D6 ]
[ADD K1000 D4 D210]
[ADD D6 D210 D210]
[CALL P100]
( M4 )
( M6 )
[CALL P101]
[T0 K0 K3 K2M0 K1 ]
[ FEND ]
[M0V K0 V ]
[M0V D210 D220]
[ FOR K8 ]
[T0 K0 K100 D300V K2 ]
[T0 K0 K102 D220 K1 ]
[ADD V K2 V ]
[ADD D220 K2 D220]
[ NEXT ]
[ SRET ]
[M0V K0 V ]
[M0V D210 D220]
[ FOR K8 ]
[T0 K0 K103 D220 K1 ]
[FROM K0 K104 D300V K2 ]
[ADD D220 K2 D220]
[ADD V K2 V ]
[ NEXT ]
[ SRET ]
[ END ]
• The BFM number is specified based on output
number specification(D1: 0 to 57)
Octal number→decimal number...
place of 10 × 8 + place of 1
•
Bank specification BFM number (D210)
×
= 768
bank specification number(D0) + 1000
Output specification BFM number (D210)
×
= 16
specification of output number of decimal
number(D28) + bank specification number(D210)
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Writing instruction to EEPROM (RUN mode)
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Writing instruction to EEPROM (PRG mode)
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Writing of command
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Initialization of index register
•Shelter of data
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•FOR to NEXT is repeated 8 times.
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Writing of turning on angle and turning off angle of
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
specified step
•Writing address
•Change in step number data and writing address
(increases by two)
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Initialization of index register
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Shelter of data
•FOR to NEXT is repeated 8 times.
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Reading address
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
•Reading of turning on angle and turning off angle
⋅ ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅⋅ ⋅ ⋅
of specified step
•Change in step number data and reading address
(increases by two)
7-14
FX2N-1RM-E-SET Programmable Cam Switch
1Introduction
2Installation
3Specifications
4External Wiring
5Extension Block Specifications and External Wiring
6Basic Setting
7BFM Assignment
8Program Operating Procedures
9Monitor
10Test
11Diagnostics
Appendix
FX2N-1RM-E-SET Programmable Cam Switch
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
8.Program Operating Procedures
This section describes the program operating procedures in the FX2N-1RM using the data setting
panel.
8.1Functions offered by the data setting panel
< Data setting panel function list >
In addition to the following list. There is a monitor mode (refer to 9.1) and a test mode (refer to
10.1)
ItemFunctionMode
ReadReads a program.PRG8-3
WriteWrites and modifies a program.PRG8-4
InsertionInserts a program.PRG8-5
DeletionDeletes a program.PRG8-6
Bank copyCopies contents of existing bank to specified bank.PRG8-8
Output copy
Teaching modificationTreats current position of resolver as set value.PRG8-9
Teaching insertionInserts current position of resolver as set value.PRG8-10
Forced RUN/PRG
Read of reference angleReads and displays reference angle.PRG8-12
Setting of reference angle Modifies reference angle.PRG8-12
Specification of resolution Specifies resolution (0.5 degree or 1 degree).PRG8-13
Specification of rotation
direction
Write-protect of EEPROM
Setting of bank
specification method
Setting of automatic angle
advance function
Individual automatic angle
advance function
Prohibition of RUN to
PRG operation
Current angle transfer
function
Reverse of output pattern Reverses output pattern of existing program.PRG8-22
Batch addition of output
set angle
Batch subtraction of
output set angle
Batch addition of ON
output set angle
Batch subtraction of ON
output set angle
Copies contents of existing output to specified output of same
bank.
Changes over mode between RUN (operation) and PRG (stop/
program) from data setting panel to FX
Specifies rotation direction of resolver (counterclockwise or
clockwise).
Specifies availability of write to EEPROM (prohibited or
enabled).
Specifies bank specification method (external input or PLC).PRG8-14
Specifies use of automatic angle advance function, and sets
rotation speed and angle advance quantity.
The output number, rotational speed, and angle advance
quantity of individual automatic angle advance function is set.
The RUN to PRG operation with data setting panel is prohibited.PRG8-21
Current angle of the resolver is transferred to BFM#106 via
turning ON input terminal B1.
Adds specified angle to set angle of specified output pattern at
a time.
Subtracts specified angle from set angle of specified output
pattern at a time.
Adds specified angle to ON set angle of specified output at a
time.
Subtracts specified angle from ON set angle of specified output
at a time.
2N
-1RM.
PRG8-8
PRG8-11
PRG8-13
PRG8-14
PRG8-15
PRG8-17
PRG8-21
PRG8-23
PRG8-23
PRG8-24
PRG8-24
Description
page
8-1
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
ItemFunctionMode
Batch addition of OFF
output set angle
Batch subtraction of OFF
output set angle
BCD output
(negative logic)
BCD reverse output
(positive logic)
One-phase pulse output
(180 pulses/rotation)
Two-phase pulse output
(90 pulses/rotation)
RUN outputAlways outputs ON from an arbitrary output No. in RUN mode.PRG8-28
One-phase pulse output
(60 pulses/rotation)
Keyword registration
Keyword deletionDeletes keyword.PRG8-30
Adds specified angle to OFF set angle of specified output at a
time.
Subtracts specified angle from OFF set angle of specified
output at a time.
Outputs current angle as BCD from a certain output No.
(negative logic).
Outputs current angle as BCD from a certain output No.
(positive logic).
Outputs a pulse string from an arbitrary output No. (One-phase,
180 pulses/rotation).
Outputs a pulse string from an arbitrary output No. (Two-phase,
90 pulses/rotation).
Outputs a pulse string from an arbitrary output No. (One-phase,
60 pulses/rotation).
Registers keyword to prevent write to EEPROM and theft of a
program.
PRG8-25
PRG8-25
PRG8-26
PRG8-26
PRG8-27
PRG8-27
PRG8-28
PRG8-30
Description
page
8-2
FX2N-1RM-E-SET Programmable Cam Switch
[Power ON][PRG mode]
8.2Basic operating procedures
8.2.1Common items
•When the power is turned on, the following initial screen is displayed on the data setting
panel.
< When the PRG mode is selected >
Program Operating Procedures 8
BANK0OUT0STEP0DEG
Blank*1
ON LED
Lit
OFF LED
Extinguished
*1: When an angle is already set to the output Y0, that ON angle is displayed.
< When the RUN mode is selected >
The display mode just before the power is turned off or just before the mode is changed over
to the PRG mode is displayed. (Refer to Paragraph 9.1.)
•When setting the ON/OFF angle of an output or the angle advance quantity of the automatic
angle advance function from the data setting panel, use the [ ⋅ ] key to enter "0.5 degree".
(For setting from the buffer memory, refer to Paragraph 6.2.)
Example: When setting "90.5 degree"
Press the [9], [0] and [ ⋅ ] keys. A decimal point is also displayed on the DEG display.
(Refer to Paragraph 8.3.5.)
•In the FX
-1RM, modification of a program can be prohibited by registering a keyword or
2N
setting the write-protect function of the built-in EEPROM.
When "Prt" is displayed while a program is modified, delete the registered keyword or reset
the write-protect function of the built-in EEPROM, then modify the program again.
•Handling of the [CLR] key
1 ) After having performed an erroneous operation or erroneous input, the last operation can
be undone by pressing the [CLR] key.
2 ) The error indication can be cleared by pressing the [CLR] key. When the [CLR] key is
pressed, the error indication currently displayed is cleared, and "STEP0" is displayed.
3 ) When the [CLR] key is pressed after a read operation was performed and while an angle
is displayed on the DEG display, the insertion mode is selected and the DEG display
becomes blank.
•Timing to save a program to the EEPROM
While the data setting panel is manipulated, data is written to both the buffer memory and the
EEPROM when the [GO] key is pressed.
8.2.2Read
Read the specified program bank, the specified output and the specified step No.
BANK0GOOUT0GOSTEP0GO
Read the program
bank No. 0.
When the [-] key is pressed, the item is moved in the order of "OFF angle of the previous step"
and "ON angle of the previous step" (, then stops at the step No. 0).
When the [+] key is pressed, the item is moved in the order of "OFF angle of the same step" and
"ON angle of the next step" (, then stops at the step No. 7).
When the [+] key is pressed and held for 0.3 sec or more, the next item is displayed in turn.
When the [-] key is pressed and held for 0.3 sec or more, the previous item is displayed in turn.
Read the output Y00.Read the step No. 0.
8-3
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
8.2.3Write and modification
Read the step No. to be written or modified, then set the ON/OFF angle of the output.
When writing new data, perform the write operation in the order of "ON angle" and "OFF angle".
When modifying the existing data, the ON angle or the OFF angle can be modified separately.
< Key operation >
BANK0GO
OUT0GO
STEP0GO
ON
OFF
123
ON
OFF
or
Read the program bank
No. 0.
Read the output Y00.
Read the step No. 0.
Start to set ON/OFF of the
output Y00.
Enter the ON angle of the
output Y00.
Determine the ON angle.
GO
When data is newly written
or the [ON OFF] key is
pressed, the process
proceeds to setting of the
OFF angle. When the
existing data is modified, the
contents of modification are
written to the EEPROM when
the [GO] key is pressed.
*1 When a modification operation is
performed, the ON angle of the output
Y00 already registered is displayed.
On the DEG , "0" is displayed or an angle already
registered flashes.
The ON LED is lit to indicate that the ON angle
setting operation is being performed.
"123" flashes on the DEG.
The OFF LED is lit to indicate that the process
has proceeded to the OFF angle setting
operation of the same step.
ON LED
Lit
OFF LED
Extinguished
135
GO
●
When the data entered is equivalent to (overlaps)
the existing ON/OFF angle, the error indication
"E02" is displayed. At this time, the data entered is
not written.
●
When the [GO] key is pressed at the end of the
OFF angle setting operation for the step No. 7, the
step 0 of the same bank is displayed.
Enter the OFF angle of the
output Y00.
Determine the OFF angle.
The ON/OFF set angle of the
output Y00 entered is written
to the built-in EEPROM.
"135" flashes on the DEG.
The data setting operation proceeds to the next step,
and the data setting panel becomes the following
status.
BANK0OUT0STEP1DEG
Blank*2
ON LED
Lit
OFF LED
Extinguished
*2 When a modification operation is
performed, the ON angle of the next step
already registered is displayed.
•When setting the ON/OFF angle of an output or the angle advance quantity of the automatic
angle advance function from the data setting panel, use the [ ⋅ ] key to enter "0.5 degree".
Example: When setting "90.5 degree"
Press the [9], [0] and [ ⋅ ] keys. A decimal point is also displayed on the DEG display.
8-4
FX2N-1RM-E-SET Programmable Cam Switch
[Power ON] [PRG mode]
8.2.4Insertion
Insertion is performed to the steps Nos. 0 to 6 of the same bank and the same output No.
When data is inserted into an arbitrary step, the steps after the specified step are shifted
backward by 1 step respectively, and the set value is written. At this time, if a set value is already
written to the step No. 7, shift backward is disabled and the error E06 occurs.
Read the head of a program at first, then insert the ON/OFF angle of the output.
*1 The ON angle of the output Y00 already
registered is displayed.
CLR
ON
OFF
246
ON
OFF
When the data entered is equivalent to (overlaps)
the existing ON/OFF angle, the error indication
"E02" is displayed. At this time, the data entered is
not inserted.
When data is already present in the step No. 7, the
error indication "E06" is displayed. At this time, the
data entered is not inserted either.
or
345
GO
Select the insertion mode.
Start to set ON/OFF of the
output Y00.
Enter the ON angle of the
output Y00.
Determine the ON angle.
GO
Then, the process proceeds
to setting of the OFF angle.
Enter the OFF angle of the
output Y00.
Determine the OFF angle.
The existing set values of the
step No. 0 and later are
shifted backward by 1 step
respectively, and the ON/
OFF set angle of the output
Y00 entered is written to the
built-in EEPROM
Nothing is displayed on the DEG to indicate
that the insertion mode is selected.
"0" flashes on the DEG.
The ON LED is lit to indicate that the ON
angle setting operation is being performed.
"246" flashes on the DEG.
The OFF LED is lit to indicate that the process
has proceeded to the OFF angle setting
operation of the same step.
At this time, "0" flashes on the DEG.
"345" flashes on the DEG.
The data setting operation proceeds to the next step,
and the data setting panel becomes the following
status.
BANK0OUT0STEP1DEG
000
*2
ON LED
Lit
OFF LED
Extinguished
*2 The step No. 1 (former step No. 0) shifted
backward by insertion is displayed.
8-5
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
8.2.5Deletion
Delete the entire program, the bank data, the output data or the step data (ON/OFF).
The entire program contains the bank data, the output data, the step data and the keyword.
Deleting the entire program
< Key operation >
[Power ON] [PRG mode]
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Display >
DEL
BANK
"0"
flashes
*1 The ON angle of the output Y00 already
registered flashes.
Steps are deleted one by one
by repetitious operations.
STEP
0
0OUTGO
0STEPGO
DEL
GO
GO
BANKGO
The ON/OFF data of the specified step is deleted,
and the ON/OFF data of the step after the specified
step and later is shifted forward respectively.
< Display >
BANK0OUT0STEP0DEG
# # #
*1
ON LED
Lit
OFF LED
Extinguished
*1 The ON angle of the output Y00 already
registered is displayed.
BANK
"0"
flashes
OUT
"0"
flashes
STEP
"0"
flashes
DEG
# # #
flashes*2
ON LEDOFF LED
Extinguished
Extinguished
*2 The ON angle of the output Y00 already
registered is displayed.
When the [STEP] key is pressed, only the STEP "0" flashes.
(The BANK "0" and the OUT "0" are displayed.)
When the [GO] key is pressed, "dEL" flashes on the DEG.
BANK0OUT0STEP0DEG
# # #
*3
ON LED
Lit
OFF LED
Extinguished
The step No. 0 (former step No. 1) shifted
forward by deletion is displayed.
8-7
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
8.2.6Copy
Copy the contents of an existing bank to a specified bank. Copy the contents of an existing output
to a specified output of the same bank.
Copying a bank
< Key operation >
BANKGO
The error indication "E07" is displayed when the bank
No. specified as source is equivalent to the bank No.
specified as destination. At this time, copy is not
executed.
*1 The ON angle of the output Y00 already
registered is displayed.
"CPY" flashes on the DEG.
1
Specify the copy destination.
When the [BANK] and [1] keys are pressed, the
BANK "1" and "cpy" flash.
BANK1OUT0STEP0DEG
*2 The ON angle of the output Y00 of the
copy destination bank is displayed.
# # #
*1
# # #
*2
ON LED
Lit
ON LED
Lit
OFF LED
Extinguished
OFF LED
Extinguished
Copying an output
< Key operation >
BANKGO
The error indication "E05" is displayed when the output
No. specified as source is equivalent to the output No.
specified as destination. At this time, copy is not
executed.
0
0OUTGO
CPY
1OUTGO
Specify the copy source.
Specify the copy destination.
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Display >
BANK0OUT0STEP0DEG
# # #
*1
ON LED
Lit
*1 The ON angle of the output Y00 already
registered is displayed.
"CPY" flashes on the DEG.
BANK0OUT1STEP0DEG
# # #
*2
ON LED
Lit
*2 The ON angle of the output Y00 of the copy
destination output is displayed.
OFF LED
Extinguished
OFF LED
Extinguished
8-8
FX2N-1RM-E-SET Programmable Cam Switch
[Power ON] [PRG mode]
8.2.7Write and modification of teaching
Treat the current position of the resolver as the set value.
Connect the resolver to the FX
*1 When a modification operation is performed,
the ON angle of the output Y00 already
registered is displayed.
TEACH
Stop the resolver in
a position in which
it is to be rotated.
ON
OFF
Stop the resolver in
a portion in which it
is to be rotated.
or
GO
GO
Start to set the ON angle of the
output Y00.
Determine the ON angle.
When data is newly written or
the [ON OFF] key is pressed,
the process proceeds to
setting of the OFF angle.
When the existing data is
modified, the contents of
modification are written to the
EEPROM when the [GO] key
is pressed.
Determine the OFF angle.
The ON/OFF set angle is
written to the built-in
EEPROM.
The angle in the current position flashes on the
DEG .
The OFF LED is lit to indicate that the process
has proceeded to setting of the OFF angle of the
same step.
BANK0OUT0STEP0DEGON LEDOFF LED
# # #*2Exting-
uished
Lit
*2 When the [GO] key is pressed while modification
is performed, the OFF angle of the same step is
displayed.
When the [ON OFF] or [GO] key is pressed while
data is newly written or when the [ON OFF] key
is pressed while the existing data is modified, the
current angle flashes.
BANK0OUT0STEP1DEG
Blank*3
ON LED
Lit
OFF LED
Extinguished
*3 When a modification operation is performed,
the ON angle of the next step already
registered is displayed.
8-9
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
8.2.8Insertion of teaching
Insert the current position of the resolver as the set value.
Connect the resolver to the FX
< Key operation >
Read the program bank No. 0.
Read the output Y00.
Read the step No. 0.
Select the insertion mode.
Start to set the ON angle of
the output Y00.
Determine the ON angle.
GO
Starts to set OFF of the output
Y00.
ON
0
0OUTGO
0STEPGO
CLR
TEACH
or
BANKGO
Rotate the resolver,
and stop it in a
position in which it
is to be turned on.
*1 The ON angle of the output Y00 already
registered is displayed.
Nothing is displayed on the DEG to indicate
that the insertion mode is selected.
The angle in the current position flashes on
the DEG.
BANK0OUT0STEP0DEG
[Power ON][PRG mode]
Blank*1
# # #
flashes*2
ON LED
ON LED
Extinguished
Lit
OFF LED
Extinguished
OFF LED
Lit
Rotate the resolver,
and stop it in a
position in which it
is to be turned on.
GO
Determines the OFF angle.
*2 The current angle flashes.
The OFF LED is lit to indicate that the process
has proceeded to setting of the OFF angle of the
same step.
BANK0OUT0STEP1DEG
# # #
*3
ON LED
Lit
OFF LED
Extinguished
*3 The step No. 1 (former step No. 0) shifted
downward by insertion is displayed.
8-10
FX2N-1RM-E-SET Programmable Cam Switch
[Power ON] [RUN/ PRG mode]
8.2.9Changing over the mode between RUN and PRG
Change-over the mode between RUN and PRG from the data setting panel.
Program Operating Procedures 8
RUN
< Key operation >
RUN
GO
PRG
< Key operation >
STOP
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Display >
BANK0OUT0STEP0DEG
"RUN"
flashes
Example of current value display
BANK0OUT
Blank
STEP
Blank
DEG
# # #
*1
RUN LED
Lit
*1 The current value is displayed.
When the mode is changed over in the way
→
"RUN
PRG → RUN", the monitor status
just before the mode is changed over from
RUN to PRG is displayed.
(Refer to Paragraph 9.1)
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Display >
BANK0OUT
Blank
STEP
Blank
DEG
"StP"
flashes
GOBANK0OUT0STEP0DEG
# # #
*1
*1 The set value is displayed.
ON LED
Lit
8-11
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
8.2.10Reading/setting the reference angle
Set the current position of the resolver as the reference angle.
The reference angle is used as common in all the banks.
Connect the resolver to the FX
-1RM before turning on the power.
2N
Read procedure
< Key operation >
ADJ
CLR
Display the reference angle.
Return the display to the
previous status.
Setting procedure
< Key operation >
ADJ
Display the reference angle.
[Power ON][PRG mode]
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Display >
Lit
Lit
OFF LED
Extinguished
OFF LED
Extinguished
OFF LED
Extinguished
BANKbOUTAdSTEP
Blank
DEGON LED
###
flashes
Extinguished
*1
*1 The reference angle already registered
flashes. The initial value is 0.
BANK0OUT0STEP
0
DEGON LED
### *2
*2 The ON angle of the output Y00 already
registered is displayed.
Rotate the resolver,
and stop it in an
arbitrary position.
GO
Enter a numeric to be treated as
reference.
*1 The reference angle already registered
flashes. The initial
The numeric "100" entered flashes on the DEG.
The current position in which the resolver is
stopped is treated as set value.
BANK0OUT0STEP0DEGON LEDOFF LED
###*2
Lit
Extinguished
*2 The ON angle of the output Y00 already
registered is displayed.
8-12
FX2N-1RM-E-SET Programmable Cam Switch
[Power ON] [PRG mode]
[Power ON] [PRG mode]
8.3Application operating procedures
An application operating procedure indicates a monitor operating procedure, a test operating
procedure or an operating procedure using the [FNC] key. The contents when the [FNC] key is
used vary depending on the FNC No. entered after the [FNC] key.
The FNC Nos. available are 0 to 6, 13 to 26, 50, 60 to 65, 70 to 75, 80, 84 and 90.
8.3.1Specifying the resolution [FNC0]
Specify the resolution.
The resolution can be selected between 1 degree (initial vale) and 0.5 degree.
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Key operation >
0
GOFNC
< Display >
BANK0OUT0STEP0DEG
*1 Initial value (resolution = 1 degree)
Program Operating Procedures 8
F00
ON LED
Extinguished
OFF LED
Lit*1
ON
OFF
GO
The contents of the previous and later FNC Nos. can
be displayed and confirmed in turn using the [-] and
[+] keys. (FNC0 to FNC4)
Confirm the setting by referring
to the ON/OFF LED status.
BANK0OUT0STEP0DEG
When setting is finished, the contents of the
next FNC No. (FNC1) are displayed.
While the OFF LED is lit: Resolution = 1 degree
While the ON LED is lit: Resolution = 0.5 degree
8.3.2Specifying the rotation direction of the resolver [FNC1]
Select the rotation direction of the resolver. When turned to the other direction, the ON/OFF
angle is changed and output status is reversed.
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Key operation >
1
GOFNC
ON
OFF
GO
Rotation direction
CCW
Output status
Output
when turned
to CW
Output
when turned
to CCW
ON angle/
OFF angle
setting
CW
OFFOFFON
ONONOFF
ON angle OFF angle
< Display >
BANK0OUT0STEP0DEG
*1 Initial value (rotation direction = clockwise)
BANK0OUT0STEP0DEG
When setting is finished, the contents of the next FNC No.
(FNC2) are displayed.
While the OFF LED is lit: Rotation direction = CW
While the ON LED is lit: Rotation direction = CCW
F00
F01
F01
ON LED
Flashes
ON LED
Extinguished
ON LED
Flashes
OFF LED
Extinguished
OFF LED
Lit*1
OFF LED
Extinguished
8-13
FX2N-1RM-E-SET Programmable Cam Switch
Program Operating Procedures 8
8.3.3Write-protect function of the EEPROM [FNC2]
Enable or prohibit write of data to the EEPROM built in the FX
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Key operation >
2
GOFNC
ON
OFF
GO
8.3.4Bank specification method [FNC3]
[Power ON] [PRG mode]
-1RM.
2N
< Display >
BANK0OUT0STEP0DEG
F02
ON LED
Extinguished
*1 Initial value (write enabled).
BANK0OUT0STEP0DEG
F02
ON LED
Flashes
When setting is finished, the contents of the
next FNC No. (FNC3) are displayed.
*1 It indicates that S0 is being set.
*2 The existing value is displayed.
BANKdOUTEGSTEP0DEG
"10 ·"
flashes*3
When setting is finished, the contents of the
next FNC No. (FNC15) are displayed.
*3 " · " (decimal point) indicates 0.5 degree.
< Display >
BANKSOUTPdSTEP
1
*1
DEG
"0" is
displayed
*2
*1 It indicates that S1 is being set.
*2 The existing value is displayed.
ON
OFF
GO
Set the rotation speed
02
(400 r/min maximum).
BANKSOUTPdSTEP1DEG
"20"
flashes*3
When setting is finished, the contents of the
next FNC No. are displayed.
Manipulate FNC16 to FNC26 in the same way as FNC13 to FNC15.
The operating procedures for the FNC16 to the FNC26 are omitted here.
8-16
FX2N-1RM-E-SET Programmable Cam Switch
[Power ON] [PRG mode]
8.3.6Individual automatic angle advance function [FNC5,90]
The use of individual automatic angle advance function is specified and the rotational speed and
angle advance quantity are set.
Please make the specification of “use” before setting the rotational speed and angle advance
quantity by the undermentioned operation.
Program Operating Procedures 8
The specification of use [FNC5]
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
< Key operation >< Display >
5FNC
GO
BANK0OUT0STEP0DEG
*1 Initial value (invalid)
ON
OFF
GO
Confirm the setting by referring
to the ON/OFF LED status.
BANK0OUT0STEP0DEG
When setting is finished, the contents of the
FNC6 are displayed.
While the OFF LED is lit: Invalid
While the ON LED is lit: Valid
F05
F05
ON LED
Extinguished
ON LED
Flashes
OFF LED
Lit*1
OFF LED
Extinguished
8-17
FX2N-1RM-E-SET Programmable Cam Switch
Setting of rotational speed and angle advance quantity [FNC90]