background image

40

3. CONVERSION RULES FOR THE PROGRAM CONVERSION FUNCTION

-

-

Yes

K154 BIN division of 8-bit data and octal 

constants

DIV (FNC 23)

-

-

Yes

K155 BIN division of 8-bit data

DIV (FNC 23)

-

-

Yes

K156 8-bit data complement

NEG (FNC 29)

-

-

Yes

K157 Multipoint band comparison of C 

and D current values

ZCP (FNC 11)

-

-

Yes

K158 Time division interruption 

(digital switch)

DSW (FNC 72)

-

-

Yes

K159 D to (Dt and DC) indirect transfer

MOV (FNC 12)

Indirect specification through index modifi-

cation (use of both index registers V and Z)

-

-

Yes

K160 (Dt and DC) to D indirect transfer

-

-

Yes

K161 (Rt and RC) to D indirect transfer

-

-

Yes

K162 Numeric keypad data read

TKY (FNC 70)

-

-

Yes

K163 Clock circuit creation

Use the built-in or optional clock function.

-

-

Yes

K164 Time modification 

(round up or down)

Use the 30-sec correction function of 

M8017.

-

-

Yes

K165 Shortcut rotation control circuit

ROTC (FNC 68)

-

-

Yes

K166 Read data from buffer data 

(data I/O module)

Consider using a program that uses 16 

keys and the HKY (FNC 71) instruction or 

an HMI (Human Machine Interface).

*1 Generic term for F

2

 series running on versions

earlier than V2.1

*2 Generic term for F

2

 series running on version

V2.1 or later

Application instructions for F

1

, F

1J

, and F

2

 programmable controllers

Application instruction (FNC number) and 

function of the FX programmable controller 

to be changed

Applicable model

Instruction 

number 

F670

Name

F

1

, F

1J

F

2*1

New F

2*2

Summary of Contents for FX Series

Page 1: ...FX 20P E FKIT FX 20P E Program Conversion Tool FX Series Micro Programmable Controller F F1 F1J F2 FX3 series Replacement Guidance ...

Page 2: ......

Page 3: ...ribes the conversion operation for the FX 20P E however make sure to refer the operation manual included in the tool used For the reference manual refer to Appendix 2 2022 MITSUBISHI ELECTRIC CORPORATION 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...

Page 4: ... at any stage during the installation of the product always consult a professional electrical engineer who is qualified and trained to the local and national standards If in doubt about the operation or use please contact your local Mitsubishi Electric representative Mitsubishi Electric will not accept responsibility for actual use of the product based on these illustrative examples Please use it ...

Page 5: ...mmable controllers 17 2 3 3 Converting programs 18 2 3 4 Writing programs into FX3 series programmable controllers 19 2 4 Editing Programs 22 3 CONVERSION RULES FOR THE PROGRAM CONVERSION FUNCTION 23 3 1 Precautions When Converting Programs 23 3 2 Device Conversion 24 3 2 1 Input relay X and output relay Y 24 3 2 2 Auxiliary relay M Excluding special auxiliary relay M 25 3 2 3 Timer T 25 3 2 4 Cou...

Page 6: ...ontrollers FX3U series Generic term for FX3U series programmable controller FX3UC series Generic term for FX3UC series programmable controller FX2N series Generic term for FX2N series programmable controller FX2NC series Generic term for FX2NC series programmable controller FX1N series Generic term for FX1N series programmable controller FX1NC series Generic term for FX1NC series programmable cont...

Page 7: ...r communication special adapter 232ADP FX3U 232ADP 485ADP FX3U 485ADP Program conversion tool and software FX 20P E Generic term for handy programming panel FX 20P E SET0 FX 20P E FKIT Generic term for the conversion module to connect the F series F1 F1J and F2 to FX 20P E GX Works2 Generic term for programming software Abbreviation and generic term Name ...

Page 8: ... be discontinued and the system configuration usage statuses of the extension module and extension block other models or series may be suitable as an alternative 2 If few I O points are actually used in a model to be discontinued it may be possible to use an alternative model with less I O points than the model listed in the recommended alternative model column The recommended alternative model fo...

Page 9: ...G 60MR ES Main module F1 12MT FX3G 14MT ES When the main module is used as a standalone it can be replaced with FX1S 14MT Main module F1 20MT FX3G 24MT ES When the main module is used as a standalone it can be replaced with FX1S 20MT Main module F1 30MT FX3G 40MT ES When the main module is used as a standalone it can be replaced with FX1S 30MT Main module F1 40MT FX3G 40MT ES Main module F1 60MT F...

Page 10: ... needs to be changed Discontinued model Recommended alternative model Special note Device name Model Model Main module F2 20MR FX3U 32MR ES When the main module is used as a standalone it can be replaced with FX1S 20MR Main module F2 20MS FX3U 32MS ES Main module F2 20MT FX3U 32MT ES When the main module is used as a standalone it can be replaced with FX1S 20MT Main module F2 40MR FX3U 48MR ES Mai...

Page 11: ...2 No alternative model Main module 200VAC input F2 40MS A2 No alternative model Main module 200VAC input F2 60MR A2 No alternative model Main module 200VAC input F2 60MS A2 No alternative model Extension module F2 20ER FX2N 16EX FX2N 8EYR Pay attention to the power capac ity if there are many extension blocks Extension module F2 20ES FX2N 16EX FX2N 16EYS Pay attention to the power capac ity if the...

Page 12: ...ension module 200VAC input F2 20ER A2 No alternative model Extension module 200VAC input F2 20ES A2 No alternative model Extension module 200VAC input F2 40ER A2 No alternative model Extension module 200VAC input F2 40ES A2 No alternative model Extension module 200VAC input F2 60ER A2 No alternative model Extension module 200VAC input F2 60ES A2 No alternative model Interface adapter for links wir...

Page 13: ...ion and wiring methods for the modules again For information on extension devices refer to the manual of each device Main module of the F1 series For NET MINI optical fiber F 16NP No alternative model Consider a system that has used CC Link For NET MINI twisted pair F 16NT No alternative model Consider a system that has used CC Link Four point analog timer measuring 0 1 to 600 seconds F 4T No alte...

Page 14: ...5 terminal screw for the terminal block 400 500 M3 5 terminal screw 4 Φ5 mounting hole V1 V W1 W 110 90 if 20M 11 F2 20M F2 40M F2 60M 300 250 350 290 240 335 110 90 140 100 70 125 2 7 1 6 3 5 External color Munsell 5Y7 1 Model Weight kg W W1 V V1 Unit mm M3 5 terminal screw for the terminal block W 86 8 90 W 8 mounting hole pitch 2 Φ4 5 Mounting hole 82 mounting hole pitch FX3G 24M FX3G 60M FX3G ...

Page 15: ...ation on the production discontinuation period of programmable controllers refer to Appendix 1 1 For information on the supported programmable controller version refer to the FX 30P Operation Manual 2 For information on the operating environment of GX Works2 refer to the GX Works2 Operating Manual Tool for program conversion Program save destination and creation tool for F1 F1J and F2 programmable...

Page 16: ...ers 2 FX 20P CAB0 and FX 20P MFX are included in FX 20P E SET0 503 502 501 500 413 412 411 410 407 406 405 404 403 402 401 400 COM RUN 24 200V 100V 0 V COM 3 430 COM 4 COM 5 431 432 433 434 435 436 437 530 531 532 533 534 535 POWER RUN BATT V PROG E CPU E F1 30MR F1 F1J and F2 programmable controllers The image shows an F1 programmable controller FX 20P FIM FX 20P FIM Interface module FX 20P FIM 1...

Page 17: ...FKIT program conversion function The paper is needed to modify the program after executing the program conversion function The FX3 series programmable controller to store the converted program FX 20P E SET0 FX 20P E FKIT FX 20P E FKIT consists of FX 20P FIM and FX 20P MFA E Programming tools GX Works2 or FX 30P which are compatible with the FX3 series can be used to check or modify the converted p...

Page 18: ...efore connecting FX 20P E to it 1 Attach FX 20P FIM to FX 20P E a Remove the cover from the special module connection part at the top of FX 20P E b Connect FX 20P FIM c Secure FX 20P FIM onto FX 20P E with a screw 2 Replace the system memory cassette of FX 20P E for the FX series with FX 20P MFA E sys tem memory cassette for the MELSEC F series a Push down the anti slip of the system memory casset...

Page 19: ...window on the right is displayed Press the GO key to delete the program stored in the RAM memory of FX 20P E A SELECT MODE message is displayed To check the content press the CLEAR key For information on how to display programs refer to the FX 20P E FKIT Operation Manual 2 3 2 Reading the program to be converted from F1 F1J and F2 programmable controllers FX 20P E FKIT reads and creates programs o...

Page 20: ...ead in FX 20P E F1 F1J or F2 to programs for FX3 series programmable controllers For information on program conversion rules refer to Chapter 3 Important points To convert programs used with a capacity of 2000 steps F2 2K selected as the model in an F2 programmable controller read the programs from the F2 programmable controller and change the following programs first For information on how to cha...

Page 21: ...ed as the conversion result 2 3 4 Writing programs into FX3 series programmable controllers After converting programs transfer them to an FX3 series programmable controller and check and edit them This section describes the steps to remove the FX 20P FIM and FX 20P MFA E attached to FX 20P E and launch FX 20P E If the system memory cassette is replaced to that for the FX series while connected to ...

Page 22: ... 3 or older 8 On the SELECT PC TYPE window select the connected program mable controller model and press the GO key The window shown on the right is displayed The window on the right is displayed when FX2N is selected 9 Press the OTHER key to display the function menu window of other modes as shown on the right Programmable controller FX 20P CAB0 type 1 5 m program cable Connector to connect to HP...

Page 23: ...tified as FX 20P E Programs can only be written into the memory cassette if the PROTECT switch is turned off If the PROTECT switch is turned on a message stating WRITE FORBIDDEN is displayed 11 On the 3 HPP FX window use the and keys to select HPP FX RAM 1 and press the GO key The window shown on the right is displayed The window on the right is displayed if the memory cassette is not installed in...

Page 24: ...efer to Chapter 3 2 Device Conversion Some special devices are converted to temporary devices due to differences in functions Refer to Chapter 3 2 6 Special devices marked with an asterisk 2 Changing basic instructions Refer to Chapter 3 3 The following basic instructions are converted automatically but they need to be checked Refer to the relevant section and edit them accordingly Converting mast...

Page 25: ... due to differences in functions Use GX Works2 a supported programming software for the FX3 series to change converted programs to those used for functions and instructions supported by FX3 series programmable controllers 2 Changing programs Some instructions cannot be converted due to differences in functions Refer to Sections 3 3 and 3 4 Change unconvertible instructions to programs used for fun...

Page 26: ...y X and output relay Y of the program are assigned alter nately between the main module and extension module in the following order numbers in groups of 100 starting from 0 400 and 500 order of assignment 1 to 6 as shown below Element numbers are assigned even if they are not used Assignment example 1 F2 FX F2 FX Main module X000 to X013 Convert X000 to X013 1 Main module Y030 to Y037 Convert Y000...

Page 27: ...M0 to M7 M110 to M117 M8 to M15 M120 to M127 M16 to M23 M130 to M137 M24 to M31 M140 to M147 M32 to M39 M150 to M157 M40 to M47 M160 to M167 M48 to M55 M170 to M177 M56 to M63 M200 to M207 M64 to M71 M210 to M217 M72 to M79 M220 to M227 M80 to M87 M230 to M237 M88 to M95 M240 to M247 M96 to M103 M250 to M257 M104 to M111 M260 to M267 M112 to M119 M270 to M277 M120 to M127 For backup power with bac...

Page 28: ...23 C660 to C667 C124 to C131 F1 F1J F2 FX S600 to S647 Convert S500 to S539 S800 to S877 S540 to S603 S900 to S977 S604 to S667 F1 F1J F2 Name FX Remarks M70 RUN monitor Convert M8000 M71 Initialize initial pulse M8002 M72 100 ms clock M8012 ON 50ms and OFF 50ms M73 10 ms clock M8011 ON 5ms and OFF 5ms M74 Parallel link sus pension M374 Turn it on in the following states For details on the operati...

Page 29: ...M472 Start signal M472 If an external start signal is required use the built in high speed counter with the external start function ON Starts counting the C660 used in external count mode OFF Stops counting the C660 used in external count mode M473 Digit increment dec rement flag M473 Uses the C660 and C661 used in external count mode as six digit up down counters The built in high speed counters ...

Page 30: ...vert M8020 M573 Borrow flag M8021 M574 Disable state shift M8040 M575 Start state shift M8041 M576 All processes com pleted flag M576 For the FX series change to a program that uses the incremental drum sequencer INCD instruction M577 C666 and C667 pur pose specification M577 F1 F1J F2 FX Remarks Instruction Target device Instruction Device after conversion Contact instruction LD X Y M T C S Conve...

Page 31: ...V instruc tions shown on the left when F programs are converted to the FX series Refer to Chapter 3 3 3 M120 MOV K0 K4M16 M140 MOV K0 K4M32 M160 MOV K0 K4M48 M200 MOV K0 K4M64 M220 MOV K0 K4M80 M240 MOV K0 K4M96 Output instruc tion RST M260 MOV K0 K4M112 M300 MOV K0 K4M500 M320 MOV K0 K4M516 M340 MOV K0 K4M532 M360 MOV K0 K4M548 PLS M100 to M377 PLS Converted accord ing to device con version rules...

Page 32: ...to 757 P40 to P47 760 to 767 P48 to P55 770 to 776 P56 to P62 777 NOP EJP 700 to 707 PO to P7 710 to 717 P8 to P15 720 to 727 P16 to P23 730 to 737 P24 to P31 740 to 747 P32 to P39 750 to 757 P40 to P47 760 to 767 P48 to P55 770 to 776 P56 to P62 777 NOP Other instructions NOP NOP Termination instruction END END Programmable controller Instruction structure Remarks F1 F1J F2 OUT MC and MCR instruc...

Page 33: ...equently Asked Ques tions Program conversion example when the main module is not specified for the I O device number M100 X400 MCR M100 X401 M100 Convert Y430 X402 Y431 Convert List program LD OUT MC LD OUT LD OUT MCR X400 M100 M100 X401 Y430 X402 Y431 M100 Convert Convert Program after conversion FX Circuit program X030 MCR N0 X031 M0 Y020 X032 Y021 List program LD OUT LD MC M0 LD OUT LD OUT MCR ...

Page 34: ...he I O device number Program before conversion F1 F1J and F2 Circuit program M140 Data input X400 RST M140 Convert Convert List program LD OUT Convert Program after conversion FX Circuit program List program Shift input X401 SFT M140 Reset input X402 M32 Data input X030 K0 K4M32 Shift input X031 Reset input X032 FNC 12 MOV K1 K15 M33 M32 FNC 35 SFTLP Convert LD SFT LD RST X400 M140 X401 M140 X402 ...

Page 35: ...ons and pointer P as shown in the following example About CJP 777 and EJP 777 Use a CJ instruction other than P63 END jump to change the program to an unused pointer Program conversion example when the main module is not specified for the I O device number X400 EJP 700 X401 Convert Y430 X402 Y431 Convert List program LD CJP LD OUT LD OUT EJP LD OUT X400 700 X401 Y430 X402 Y431 700 X403 Y432 Conver...

Page 36: ...r T and C There is no instruction in the FX series that corresponds to a directly related application instruction Handled in the program Yes Yes K6 Subroutine start Set the start of the subroutine program using pointer P label P Yes Yes K7 Subroutine call CALL FNC 01 Yes Yes K8 Return subroutine conditions The FX series has no corresponding instruction or function Yes Yes K9 Return subroutines SRE...

Page 37: ...d D current values CMP FNC 10 Yes Yes K41 Comparison of BCD input with T C and D current values CMP FNC 10 Yes K42 Comparison of BCD input with C and D current values CMP FNC 10 Yes Yes K43 Band comparison of T C and D cur rent values ZCP FNC 11 Yes Yes K44 6 digit band comparison of C and D current values ZCP FNC 11 Yes K45 Comparison of current counter value between data registers CMP FNC 10 Yes...

Page 38: ... with borrow subtraction 3 digit BCD SUB FNC 21 Yes K67 Subtraction between D and K with borrow subtraction 6 digit BCD SUB FNC 21 Yes K68 Subtraction between data registers 3 digit BCD SUB FNC 21 Yes K69 Subtraction between data registers with borrow subtraction 3 digit BCD SUB FNC 21 Yes K70 Subtraction between data registers with borrow subtraction 6 digit BCD SUB FNC 21 Yes K71 Subtraction bet...

Page 39: ... Adaptor format specification for high speed counters The FX series has no corresponding instruction The specifications for the built in high speed counter of the FX series are deter mined according to the counter number Yes K91 External pair counter 1 phase speci fication Yes K92 External pair counter 2 phase speci fication Yes K93 Internal signal count pair counter Use a 32 bit counter Yes K94 O...

Page 40: ... Transfer comparison data for auto reload Use the HSZ FNC 55 instruction table in high speed comparison mode M8130 ON Yes Yes K118 Enable auto reload Yes Yes K119 High speed output table setting Use the frequency control mode M8132 ON with the HSZ FNC 55 and PLSY FNC 57 instructions Yes Yes K120 Disable individual high speed output There is no corresponding instruction or function Yes Yes K121 Ena...

Page 41: ...d octal constants OR FNC 27 Yes K141 Logical OR of 8 bit data OR FNC 27 Yes K142 Exclusive OR of 8 bit data and octal constants XOR FNC 28 Yes K143 Exclusive OR of 8 bit data XOR FNC 28 Yes K144 Exclusive NOR of 8 bit data and octal constants Use by combining XOR FNC 28 and CML FNC 14 Yes K145 Exclusive NOR of 8 bit data Yes K146 BIN addition of 8 bit data and octal constants ADD FNC 20 Yes K147 B...

Page 42: ...K162 Numeric keypad data read TKY FNC 70 Yes K163 Clock circuit creation Use the built in or optional clock function Yes K164 Time modification round up or down Use the 30 sec correction function of M8017 Yes K165 Shortcut rotation control circuit ROTC FNC 68 Yes K166 Read data from buffer data data I O module Consider using a program that uses 16 keys and the HKY FNC 71 instruction or an HMI Huma...

Page 43: ...LSEC F series programmable controller models described in this document which have already been discontinued as of March 31 2010 are the following Discontinued model Production stop date Repair acceptance period F1 series September 30 2000 September 30 2007 F1J series September 30 2000 September 30 2007 F2 series September 30 1995 September 30 2002 FX0 series June 30 2002 June 30 2009 FX0S series ...

Page 44: ...42 Appendix 1 Discontinued Models Programmable Controller MEMO ...

Page 45: ... the programmable controller 09R516 FX3UC SERIES USER S MANUAL Hardware Edition JY997D28701 Hardware such as I O specifications wiring and installation of the programmable controller 09R519 Manual name Manual number Description Model code THE FX SERIES OF PRO GRAMMABLE CONTROL LER FX0 FX0S FX0N FX FX2C FX2N FX2NC JY992D48301J Description of basic instruction application instruction and each device...

Page 46: ...nternational standards have been obtained for models meant for use in countries outside Japan that are not in the FX3G and FX3U series Can the built in expansion board of the programmable controller and mount type special adapters be used at the same time In the FX1S FX1N and FX2N series only expansion boards for connecting with special adapters can be used at the same time In the FX3G FX3U and FX...

Page 47: ...e built in power supply of the programmable controller in the input terminal of the programmable controller Do not connect the 24 terminal of the external 24VDC power supply to the 24 terminal of the programmable controller Can the power of the 24VDC input sink input of the program mable controller be supplied from externally In the FX series only DC power supply type programmable con trollers can...

Page 48: ... and surge absorbers C R for AC load as protection for relay con tacts Can the vacant terminal of input and output terminals be used as a relay terminal Do not use vacant terminals Q A What do I need to configure when mounting a memory cassette to a programmable controller Turn off the programmable controller mount the memory cassette and turn the programmable controller back on to automatically i...

Page 49: ...n for the period in which you want to perform high speed count Do not use the input number X0 to X7 of counters as the contact point to run the OUT coil of high speed counters Do I need to adjust the input filter when I use a high speed counter or an external interrupt instruc tion If the coils of high speed counters and interrupt pointers are pro grammed the filter constant of the corresponding i...

Page 50: ... because of the voltage drop in the capacitor and the data cannot be stored correctly If the data register and auxiliary relay are not used as latched battery backed area use the initial pulse to clear the required scope with the ZRST instruction when the program mable controller is running To store the value for a long period of time install an FX1N BAT type battery unit optional for FX1N The fir...

Page 51: ...sion modify unconvertible instructions and pro grams for which temporary numbers have been set according to conversion rules If you have programming software GX Works2 for FX program mable controllers and personal computers it is more efficient to write the converted programs into the FX programmable controller and load them on the computer for editing What program editing equipment can I purchase...

Page 52: ...50 REVISIONS Japanese manual number JY997D40601 B Revision date Version Description April 2022 A First edition REVISIONS ...

Page 53: ......

Page 54: ...SH 082484ENG A FX Series Micro Programmable Controller F F1 F1J F2 FX3 series Replacement Guidance New publication effective April 2022 Specifications are subject to change without notice ...

Reviews: