Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MELSEC FX Series
Programmable Logic Controllers
User's Manual
(Data Communication)
FX1S/FX1N/FX2N(C)/FX3U
Interface Modules
MITSUBISHI ELECTRIC
INDUSTRIAL AUTOMATION
Safety Precautions
(Read these precautions before use.)
Before installation, operation, maintenance or inspection of this product, thoroughly read through and understand
this manual and all of the associated manuals. Also, take care to handle the module properly and safely.
This manual classifies the safety precautions into two categories:
and
1. DESIGN PRECAUTIONS
Make sure to have the following safety circuits outside of the PLC to ensure safe system operation even during
external power supply problems or PLC failure.
Otherwise, malfunctions may cause serious accidents.
1) Most importantly, have the following: an emergency stop circuit, a protection circuit, an interlock circuit for
opposite movements (such as normal vs. reverse rotation), and an interlock circuit (to prevent damage to the
equipment at the upper and lower positioning limits).
2) Note that when the PLC CPU detects an error, such as a watchdog timer error, during self-diagnosis, all
outputs are turned off. Also, when an error that cannot be detected by the PLC CPU occurs in an input/output
control block, output control may be disabled.
External circuits and mechanisms should be designed to ensure safe machinery operation in such a case.
3) Note that the output current of the service power supply for sensors varies depending on the model and the
absence/presence of extension blocks. If an overload occurs, the voltage automatically drops, inputs in the
PLC are disabled, and all outputs are turned off.
External circuits and mechanisms should be designed to ensure safe machinery operation in such a case.
4) Note that when an error occurs in a relay, triac or transistor output device, the output could be held either on or off.
For output signals that may lead to serious accidents, external circuits and mechanisms should be designed to
ensure safe machinery operation in such a case.
Do not bundle the control line together with or lay it close to the main circuit or power line. As a guideline, lay the
control line at least 100mm (3.94") or more away from the main circuit or power line.
Noise may cause malfunctions.
Install module so that excessive force will not be applied to the built-in programming port, power connectors, I/O
connectors, communication connectors, or communication cables.
Failure to do so may result in wire damage/breakage or PLC failure.
(1)
Safety Precautions
(Read these precautions before use.)
2. WIRING PRECAUTIONS
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work.
Failure to do so may cause electric shock or damage to the product.
Make sure to attach the terminal cover, offered as an accessory, before turning on the power or initiating operation
after installation or wiring work.
Failure to do so may cause electric shock.
Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents due
to abnormal data written to the PLC under the influence of noise:
1) Do not bundle the main circuit line together with or lay it close to the main circuit, high-voltage line or load line.
Otherwise, noise disturbance and/or surge induction are likely to take place. As a guideline, lay the control line
at least 100mm (3.94") or more away from the main circuit or high-voltage line.
2) Ground the shield wire or shield of the shielded cable at one point on the PLC. However, do not use grounding
with heavy electrical systems.
Make sure to properly wire the FX0N/FX2N Series extension equipment in accordance with the following
precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should follow the specifications in this manual.
Make sure to properly wire to the European terminal board in accordance with the following precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should be follow the specifications in this manual.
- Twist the end of strand wire and make sure that there are no loose wires.
- Do not solder-plate the electric wire ends.
- Do not connect more than the specified number of wires or electric wires of unspecified size.
- Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed.
(2)
Manual number
JY997D16901
Manual revision
Date
11/2007
Foreword
This manual explains the "serial communication" provided for MELSEC-F FX Series Programmable
Controllers and should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
the term 'completed equipment' refers to a third party constructed device that contains or uses the
product associated with this manual
This product has been manufactured as a general-purpose part for general industries, and has not been
designed or manufactured to be incorporated in a device or system used in purposes related to human life.
Before using the product for special purposes such as nuclear power, electric power, aerospace, medicine
or passenger movement vehicles, consult with Mitsubishi Electric.
This product has been manufactured under strict quality control. However when installing the product
where major accidents or losses could occur if the product fails, install appropriate backup or failsafe
functions into the system.
When combining this product with other products, please confirm the standards and codes of regulation to
which the user should follow. Moreover, please confirm the compatibility of this product with the system,
machines, and apparatuses to be used.
If there is doubt at any stage during installation of the product, always consult a professional electrical
engineer who is qualified and trained in the local and national standards. If there is doubt about the
operation or use, please consult the nearest Mitsubishi Electric distributor.
Since the examples within this manual, technical bulletin, catalog, etc. are used as reference; please use it
after confirming the function and safety of the equipment and system. Mitsubishi Electric will not accept
responsibility for actual use of the product based on these illustrative examples.
The content, specification etc. of this manual may be changed for improvement without notice.
The information in this manual has been carefully checked and is believed to be accurate; however, if you
notice any doubtful point, error, etc., please contact the nearest Mitsubishi Electric distributor.
Registration
Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
The company name and the product name to be described in this manual are the registered trademarks or
trademarks of each company.
Table of Contents
Table of Contents
SAFETY PRECAUTIONS .................................................................................................. (1)
Common Items
1. Introduction
A-1
A-17
A-47
Table of Contents
A-55
A-60
Table of Contents
N:N Network
1. Outline
B-3
2. Specifications
B-9
B-12
4. Wiring
B-16
B-21
B-24
7. Creating Programs
7.1
7.2
7.3
7.4
Table of Contents
B-28
B-35
9. Troubleshooting
9.1
9.2
9.3
9.4
9.5
9.6
B-42
B-46
Table of Contents
Parallel Link
1. Outline
C-3
2. Specifications
C-9
C-13
4. Wiring
C-21
C-29
Table of Contents
C-32
7. Creating Programs
C-35
C-44
9. Troubleshooting
9.1
9.2
9.3
9.4
9.5
C-46
C-48
Table of Contents
Computer Link
1. Outline
D-3
2. Specifications
D-9
D-14
4. Wiring
D-23
D-32
Table of Contents
D-37
7. Commands
D-49
8. Troubleshooting
8.1
8.2
8.3
8.4
8.5
D-76
10
9. Related Data
Table of Contents
D-80
11
Table of Contents
Inverter Communication
1. Outline
E-3
2. Specifications
E-7
E-9
4. Wiring
E-14
4.4
4.5
4.6
4.7
4.8
12
Table of Contents
E-28
5.7 F700 and A700 Series (when built-in RS-485 terminal is connected)........................................E-43
5.7.1 Contents of parameter setting ....................................................................................................E-43
5.7.2 Parameter setting method (reference)........................................................................................E-44
E-46
E-51
13
Table of Contents
E-63
E-72
E-89
14
11. Troubleshooting
11.1
11.2
11.3
11.4
Table of Contents
E-98
E-102
12.1 Related Device List for FX2N and FX2NC PLCs ....................................................................E-102
12.2 Details of Related Devices for FX2N and FX2NC PLCs .........................................................E-103
12.2.1 Instruction execution complete [M8029] .................................................................................E-103
12.2.2 Extension ROM cassette check [M8104]................................................................................E-103
12.2.3 Communication port busy [M8155].........................................................................................E-103
12.2.4 Communication error or parameter error [M8156]..................................................................E-103
12.2.5 Communication error latch [M8157] .......................................................................................E-104
12.2.6 Extension ROM cassette type code [D8104]..........................................................................E-104
12.2.7 Extension ROM cassette version [D8105]..............................................................................E-104
12.2.8 Inverter response waiting time [D8154] ..................................................................................E-104
12.2.9 Step number of instruction using communication port [D8155] ..............................................E-104
12.2.10 Error code [D8156] ...............................................................................................................E-105
12.2.11 Error occurrence step number latch [D8157]........................................................................E-106
12.3 Related Device List for FX3U and FX3UC PLCs ....................................................................E-107
12.4 Details of Related Devices for FX3U and FX3UC PLCs .........................................................E-108
12.4.1 Instruction execution complete [M8029] .................................................................................E-108
12.4.2 Serial communication error [M8063 and M8438]....................................................................E-108
12.4.3 Inverter communication ON [M8151 and M8156]...................................................................E-108
12.4.4 Inverter communication error [M8152, M8153, M8157 and M8158].......................................E-109
12.4.5 IVBWR instruction error [M8154 and M8159].........................................................................E-109
12.4.6 Serial communication error code [D8063 and D8438]............................................................E-109
12.4.7 Inverter response waiting time [D8150 and D8155] ...............................................................E-109
12.4.8 Step number of instruction using communication port [D8151 and D8156] ...........................E-110
12.4.9 Inverter communication error code [D8152 and D8157].........................................................E-110
12.4.10 Inverter communication error occurrence step [D8153 and D8158].....................................E-111
12.4.11 IVBWR instruction error parameter number [D8154 and D8159] .........................................E-111
15
Table of Contents
F-3
2. Specifications
F-10
F-13
4. Wiring
F-21
F-28
16
Table of Contents
F-33
F-45
F-47
F-62
F-64
10.3 When Combined with Computer Link Communication (Only in FX3U and FX3UC) .................F-67
10.4 When Combined with Programming Communication (FX3U and FX3UC only)........................F-68
10.5 Using RS2 Instruction and Computer Link Communication Together
(FX3U and FX3UC only).........................................................................................................F-69
10.6 Communication Setting Method Using Sequence Program.....................................................F-70
10.6.1 Communication setting for RS instruction ................................................................................F-70
10.6.2 Communication setting for RS2 instruction ..............................................................................F-71
17
11. Troubleshooting
11.1
11.2
11.3
11.4
Table of Contents
F-72
11.4.1 Checking communication port settings (in FX3U and FX3UC PLCs) ........................................F-73
F-75
18
Table of Contents
G-3
2. Specification
G-8
G-9
4. Wiring
G-12
5. Creating Programs
G-14
19
Table of Contents
G-33
7. Troubleshooting
G-41
20
Table of Contents
Programming Communication
1. Outline
H-3
H-9
H-18
H-24
H-29
21
Table of Contents
H-32
7. Troubleshooting
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
22
H-37
Table of Contents
Remote Maintenance
1. Outline
I-3
2. Specifications
I-11
I-12
4. Wiring
I-18
I-19
6. How to Setup Modems on the Personal Computer Side for Remote Access
I-31
23
7. Connecting Line
Table of Contents
I-39
8. Troubleshooting
8.1
8.2
8.3
8.4
8.5
8.6
I-47
9. Related Information
I-52
Apx.-1
Warranty...................................................................................................................................... i
Revised History ......................................................................................................................... ii
24
1 Introduction
1.1 Communication Types
A
Common Items
1.
Introduction
1.1
B
N:N Network
Communication Types
C
Reference
subsection
Link
Function
CC-Link
N:N Network
Parallel link
Function
Application
Function
Application
Function
Application
Function
Application
Non-protocol
communication
Application
1.2.5
Reference
subsection
1.2.6
Function
Adds an RS-232C and an RS-422 port in addition to the provided RS422 port in PLCs.
Application
Function
Application
1.2.7
1.2.8
H
Programming
Communication
Remote
maintenance
1.2.4
Reference
subsection
Sequence program
Programming
communication
1.2.3
Non-Protocol
Communication
(FX2N-232IF)
Function
1.2.2
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
communication
Inverter
Communication
Computer link
1.2.1
Computer Link
Application
Parallel Link
The table below shows the communication types supported by the FX Series.
I
Remote
Maintenance
Apx.
Discontinued
models
A-1
1 Introduction
1.1 Communication Types
Reference
subsection
I/O link
Function
CC-Link/LT
(built in
FX3UC-32MT-LT) Application
AS-i system
Function
Application
Function
Application
Short mail
A-2
1.2.10
Reference
subsection
Application
Function
Application
Internet mail
1.2.9
1.2.11
1.2.12
1 Introduction
Common Items
A
Outline and Features of Communication Types
Common Items
1.2
1.2.1
CC-Link Network
1. Outline
1) When the master station is an A/QnA/Q PLC
Master
station
Parallel Link
ACPU,
QnACPU,
QCPU
Terminal resistor
Terminal resistor
Remote
device
station
Inverter,
AC servo, etc.
Remote I/O
for CC-Link
D
Computer Link
FXCPU
E
Inverter
Communication
FXCPU
Master
station
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Terminal resistor
Terminal resistor
Remote
device
station
Inverter,
AC servo, etc.
Remote I/O
for CC-Link
Non-Protocol
Communication
(FX2N-232IF)
FXCPU
7 maximum
8 maximum
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
FX2(FX),FX2C FX0N FX1S
FX1NC
FX2N,FX2NC
FX3U,FX3UC
I
(Ver.1.10 or later)
(Ver.2.20 or later)
Remote
Maintenance
Master station
FX1N
Programming
Communication
2. Applicable PLCs
PLC
N:N Network
3. Communication targets
Equipment operating in accordance with the CC-Link standard
Apx.
This network allows connection of inverters, AC servos, sensors, solenoid valves, etc. supporting the CC-Link
network to achieve data link.
FX PLCs are classified as master stations or remote device stations.
A-3
Discontinued
models
4. Function
1 Introduction
Common Items
5. Applications
Decentralized or centralized control of the line, reception and sending of information from/to the host network,
etc.
1.2.2
N:N Network
Refer to the "N:N Network" section.
1. Outline
...........
FX CPU
Station
No. 1
RS-485
RS-485
RS-485
Terminal
resistor
FX CPU
Station
No. 0
FX CPU
Station
No. 7
Terminal
resistor
...
Station No. 1
M1000 to M1063
D0 to D7
M1064 to M1127
D10 to D17
...
...
Station No. 0
M1000 to M1063
D0 to D7
M1064 to M1127
D10 to D17
M1448 to M1511
D70 to D77
M1448 to M1511
D70 to D77
M1448 to M1511
D70 to D77
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
Communication
applicability
FX2(FX),FX2C
FX0N
(Ver.2.00 or later)
FX1S,FX1N,FX1NC
FX2N
FX2NC FX3U,FX3UC
(Ver.2.00 or later)
3. Communication targets
Between FX1S, FX0N, FX1N, FX2N, FX3U, FX1NC, FX2NC, and FX3UC Series PLCs
4. Function
This network allows up to eight connected FX PLCs to automatically transfer data among the connected
PLCs.
In the network, data can be transferred among PLCs for devices determined in the refresh range, and those
devices can be monitored by every PLC.
5. Applications
By this network, data link can be achieved in a small-scale system, and the machine information can be
transferred between machines.
A-4
1 Introduction
1.2 Outline and Features of Communication Types
A
Parallel Link
Refer to the "Parallel Link" section.
1. Outline
FX CPU
Slave
station
N:N Network
RS-485
RS-485
Terminal
resistor
FX CPU
Master
station
Terminal
resistor
Slave station
M800 to M899
D490 to D499
M900 to M999
D500 to D509
C
Parallel Link
Master station
M800 to M899
D490 to D499
M900 to M999
D500 to D509
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
FX2(FX),FX2C
(Ver.1.20 or later)
FX1S,FX1N,FX1NC
FX2N
FX2NC
FX3U,FX3UC
E
Inverter
Communication
Communication
applicability
FX0N
Computer Link
2. Applicable PLCs
PLC
Common Items
1.2.3
(Ver.1.04 or later)
3. Communication targets
Between FX2(FX), FX2C, FX1S, FX0N, FX1N, FX2N, FX3U, FX1NC, FX2NC, and FX3UC Series PLCs
4. Function
5. Applications
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
This network automatically transfers data for 100 bit devices (M) and 10 data registers (D) between two PLCs
of the same series.
Between PLCs in the FX0N or FX1S Series, data can be transferred for 50 bit devices (M) and 10 data
registers (D).
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-5
1 Introduction
Common Items
1.2.4
Computer Link
Refer to the "Computer Link" section.
1. Outline
1) 1-to-N connection (RS-485)
A computer link
FXCPU
ACPU
RS-485
FXCPU
RS-485
RS-485
Terminal
RS-232C resistor
Terminal
resistor
RS-485
Personal computer
FX-485PC-IF
RS-232C
FXCPU
Personal computer
Number of connectable FX PLCs : 1
Total extension distance
: 15 m (49' 2")
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
Communication
applicability
FX2(FX),FX2C
FX0N
FX1S,FX1N,FX1NC
FX2N
FX2NC FX3U,FX3UC
(Ver.1.06 or later)
3. Communication targets
Between FX2(FX), FX2C, FX1S, FX0N, FX1N, FX2N, FX3U, FX1NC, FX2NC, FX3UC Series PLCs, A Series PLCs
and personal computers
4. Function
This link allows connection of up to sixteen FX or A (including A1FX CPU) PLCs to a personal computer for
data transfer when the personal computer directly specifies devices in the connected PLCs.
5. Applications
By this link, production, inventory, etc. can be controlled.
A-6
1 Introduction
Common Items
A
Inverter Communication
Refer to the "Inverter Communication" section.
1. Outline
Common Items
1.2.5
Terminal
resistor
Inverter
N:N Network
RS-485
FXCPU
Inverter
Inverter
Terminal
resistor
C
Parallel Link
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
FX2(FX),FX2C
FX0N
FX1S,FX1N,FX1NC
FX2N
FX2NC
FX3U,FX3UC
3. Communication targets
E
Inverter
Communication
F700 and A700 Series inverters are supported in FX3U and FX3UC PLCs Ver. 2.20 and later.
*2.
E700 Series inverters are supported in FX3U and FX3UC PLCs Ver. 2.32 and later.
Computer Link
PLC
Communication
applicability
This communication allows the connection of inverters (computer link) in accordance with RS-485 to control
operations and change parameters.
Non-Protocol
Communication
(RS/RS2 Instruction)
4. Function
5. Applications
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-7
1 Introduction
Common Items
1.2.6
Non-protocol Communication
Refer to the "Non-protocol Communication (RS/RS2 instruction)" section.
Refer to the "Non-protocol Communication (FX2N-232IF)" section.
1. Outline
Bar code
reader
Printer
Printer
15 m (49' 2")
maximum
FXCPU
RS-232C
Personal computer
Bar code
reader
RS-485
Personal computer
FXCPU
2. Applicable PLCs
1) Non-protocol communication (RS instruction)
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
Communication
applicability
FX2(FX),FX2C
FX0N
(Ver.3.00
or later)
(Ver.1.20
or later)
FX1S,FX1N,FX1NC
FX2N
FX2NC
FX3U,FX3UC
(Ver.1.06
or later)
FX2(FX),FX2C
FX0N
FX1S,FX1N,FX1NC
FX2N
FX2NC
Communication
applicability
FX3U,FX3UC
FX2(FX),FX2C
FX0N
FX1S,FX1N,FX1NC
Communication
applicability
FX2N
FX2NC
FX3U,FX3UC
3. Communication targets
Bar code readers, printers, personal computers (micro computer boards), measuring instruments, etc.
4. Function
This communication allows non-protocol serial communication between equipment with an RS-232C or RS422/RS-485 interface.
5. Applications
Communication with a bar code reader, printer, personal computer (micro computer board), measuring
instrument, etc.
A-8
1 Introduction
Common Items
A
Programming Communication
Refer to the "Programming Communication" section.
1. Outline
Common Items
1.2.7
USB
N:N Network
Programming tool
FXCPU
Cable
USB
Personal computer
Programming tool
Parallel Link
P/I
Computer Link
Cable
RS-422
FX-10P(-E)/FX-20P(-E), etc.
RS-232C
RS-232CRS-422
converter
Personal
computer
Cable
FXCPU
Inverter
Communication
Cable
FX-232AWC-H
FX-232AWC
FX-232AW
RS-422
Programming
tool
FX-USB-AW
USBRS-422
converter
Non-Protocol
Communication
(RS/RS2 Instruction)
USB
Cable
Cable
Non-Protocol
Communication
(FX2N-232IF)
RS-232C
RS-232C
FXCPU
Personal computer
4) Standard built-in port in accordance with RS422 (programming tool or personal computer)
Programming tool
H
Programming
Communication
P/I
Cable
RS-422
FX-10P(-E)/FX-20P(-E), etc.
Programming
tool
RS-232C
RS-232CRS-422
converter
I
Remote
Maintenance
Cable
FX-232AWC-H
FX-232AWC
FX-232AW
FXCPU
Cable
Standard built-in port
(RS-422)
Apx.
Personal
computer
USB
Discontinued
models
FX-USB-AW
Cable
USBRS-422
converter
A-9
1 Introduction
Common Items
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
FX2(FX),
FX0N
FX2C
PLC
Communication equipment
operating in accordance with
FX1S,
FX1N
USB(-BD)*1
Communication equipment
operating in accordance with
RS-422(-BD)
Communication
equipment operating
in accordance with
RS-232C
(-BD)
(ADP)
*1.
When using USB communication with a model that does not support USB communication equipment
(-BD), use the FX-USB-AW.
However, FX2 (FX) and FX2C PLCs do not support the FX-USB-AW.
3. Communication targets
Personal computer and programming tool
4. Function
This communication allows connection of a personal computer or programming tool to a standard port built in
a PLC or optional connector to execute sequence programs.
5. Applications
1) Programs can be changed and monitored using a personal computer or programming tool.
2) A personal computer (for changing programs) can be directly connected in accordance with RS-232C.
3) While the standard programming connector built in an FX PLC is used for connecting a display unit, a
personal computer or programming tool can be connected at the same time for monitoring and
transferring data.
A-10
1 Introduction
Common Items
A
Remote Maintenance
Refer to the "Remote Maintenance" section.
1. Outline
RS-232C
Line
(such as general subscriber's
telephone line)
..........
Modem
Personal computer
FXCPU
Modem
Programming
tool
Line
(such as general subscriber's
telephone line)
..........
D
Modem
Personal computer
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
FX2(FX),FX2C
FX0N
FX1S,FX1N,FX1NC
FX2N
FX2NC
FX3U,FX3UC
3. Communication target
Personal computer (GX Developer or FXGP/WIN)
E
Inverter
Communication
PLC
Communication applicability
Computer Link
Modem
Personal computer
Parallel Link
N:N Network
Programming tool
Common Items
1.2.8
This communication allows connection between a modem on the PLC side and a modem on the personal
computer side through a line (cellular phone or general subscribers telephone line) for PLC monitoring or
transferring from the personal computer.
The FXGP/WIN allows transfer of file data between personal computers.
Non-Protocol
Communication
(RS/RS2 Instruction)
4. Function
5. Applications
Non-Protocol
Communication
(FX2N-232IF)
By this communication, programs in a PLC located in a remote location can be changed and maintained.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-11
1 Introduction
Common Items
1.2.9
CC-Link/LT Network
For FX3UC-32MT-LT built-in CC-Link/LT master, refer to FX3UC Hardware Edition.
For the FX2N-64CL-M, refer to the product manual.
1. Outline
Main line length
Master
FXCPU
Terminal resistor
Terminal
resistor
Remote
I/O
Remote
I/O
Remote
I/O
Remote
I/O
Remote
I/O
Branch line
length
Remote
I/O
Number of connectable units : 64 (stations)
Total extension length
: 500 m (1640' 5") (main line length)
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
FX2(FX),FX2C
FX0N
FX1S
Communication applicability
FX1N,FX1NC
FX2N
FX2NC
FX3U,FX3UC
3. Communication target
Equipment operating in accordance with the CC-Link/LT network standard
4. Function
This network allows remote control of I/O information for sensors, lamps, etc.
Input (X) numbers and output (Y) numbers can be handled, and I/O points can be assigned continuously even
if 2-point or 4-point type remote I/O units are being used.
5. Applications
Wire conservation for inputs and outputs.
A-12
1 Introduction
Common Items
A
For details, refer to the FX2N-32ASI-M User's Manual.
1. Outline
N:N Network
FXCPU
AS-i
master
Slave
Repeater
Slave
C
AS-i power
supply
Slave
Parallel Link
AS-i power
supply
Slave
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Communication applicability
*1.
FX0N
FX1S
FX1N,FX1NC
FX2N
FX2NC
FX3U,FX3UC
E
Inverter
Communication
FX2(FX),FX2C
Computer Link
2. Applicable PLCs
PLC
Common Items
*1
3. Communication targets
This network allows remote control of I/O information for sensors and actuators (slave units). The automatic
address assignment function enables easy replacement of a slave unit when it has failed.
5. Applications
Non-Protocol
Communication
(RS/RS2 Instruction)
4. Function
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-13
1 Introduction
Common Items
1. Outline
FX-232DOPA
RS-232C
FXCPU
Antenna
Provider
In accordance with DoPa
Internet
Cellular phone
Personal computer
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
FX2(FX),FX2C
FX0N
Communication applicability
FX1S
FX1N,FX1NC
FX2N
FX2NC
FX3U,FX3UC
3. Communication targets
Personal computer and cellular phone which can receive internet mails
4. Function
This setting sends an electronic mail from a PLC to notify the facility operation status, etc. to a personal
computer or cellular phone which can receive electronic mails.
This function is applicable through dial-up connection to a mail server using a combination of FX-232DOPA
and DoPa Mobile Ark9601D by NTT DoCoMo.
5. Applications
Monitoring of unmanned facilities, monitoring of facilities located in distant places, monitoring of facilities
inside factories and distribution of logging data
A-14
1 Introduction
Common Items
A
For details, refer to the FX1S/FX1N/FX2N/FX1NC/FX2NC PLC PROGRAMMING MANUAL II.
1. Outline
N:N Network
RS-232C
Line
(such as general subscriber's NTT DoCoMo
telephone line)
Short Mail Center
FXCPU
Common Items
Modem
C
Parallel Link
Cellular phone
2. Applicable PLCs
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Communication
applicability
FX2N
FX2NC
FX3U,FX3UC
D
Computer Link
PLC
3. Communication targets
Cellular phones by NTT DoCoMo with a contract for i-mode or short mail
This function sends a short mail from a PLC to notify the facility operation status, etc. to a cellular phone by
NTT DoCoMo which can receive short mails.
This function is applicable through connection in a line to a Short Mail Center of NTT DoCoMo.
Inverter
Communication
4. Function
5. Applications
Non-Protocol
Communication
(RS/RS2 Instruction)
Monitoring of unmanned facilities, monitoring of facilities located in distant places and monitoring of facilities
in factories
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-15
MEMO
A-16
1 Introduction
2.1
Built-in port
Parallel Link
The figure below shows the relationship between communication equipment and communication types:
Communication adapter
B
N:N Network
This chapter explains which communication types are supported by serial ports of communication equipment
and connectors of networks.
For the communication equipment required in the system configuration, refer to a description later.
Refer to "2.3 Combination of Communication Equipment (Block Diagram)".
Common Items
2.
I/O link
Link
CC-Link/LT
(built in for FX3UC-32MT-LT)
Sequence program
Programming communication
Computer Link
N:N Network
Parallel link
Computer link
Inverter communication
General-purpose serial communication
Non-protocol communication
(RS/RS2 instruction)
Sequence program
Programming communication
Remote maintenance
Electronic mail sending
Internet mail
Short mail
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Communication types
FX PLC main unit
G
Link
Non-Protocol
Communication
(FX2N-232IF)
Expansion board
Link
N:N Network
Parallel link
Computer link
Inverter communication
CC-Link
General-purpose serial communication
CC-Link/LT
AS-i system
MELSEC I/O LINK
Remote
Maintenance
Programming communication
Remote maintenance
Electronic mail sending
I/O link
H
Programming
Communication
Non-protocol communication
(FX2N-232IF)
Internet mail
Internet mail
Short mail
Apx.
Discontinued
models
A-17
Common Items
2.2
2.2.1
PLC
Communication equipment
Product inside ( ) is essential.
Communication
specifications
CC-Link
N:N Network
Parallel link
Computer
link
Product
manual
This
manual
This
manual
This
manual
USB
FX3U-232-BD
FX3U-232ADP(-MB)
(expansion board)
RS-232C
FX2N-232IF
FX3U-485-BD
FX3U
PLC
FX3U-485ADP(-MB)
(expansion board)
FX3U-422-BD
Standard built-in port
RS-485
RS-422
*1
*1
*1
*1
*4
FX2N-16CCL-M
FX2N-32CCL
FX2N-64CL-M
FX2N-32ASI-M
FX2N-16LNK-M
FX3U-232ADP(-MB)
FX2N-232IF
(FX2NC-CNV-IF or FX3UC-1PS-5V)
RS-232C
FX3U-485ADP(-MB)
RS-485
RS-422
FX2N-16CCL-M
(FX2NC-CNV-IF or FX3UC-1PS-5V)
FX2N-32ASI-M
(FX2NC-CNV-IF or FX3UC-1PS-5V)
FX2N-16LNK-M
(FX2NC-CNV-IF or FX3UC-1PS-5V)
*1.
*2.
*3.
A-18
*3
FX3UC
(D,DSS)
FX2N-32CCL
PLC
(FX2NC-CNV-IF or FX3UC-1PS-5V)
FX2N-64CL-M
(FX2NC-CNV-IF or FX3UC-1PS-5V)
*1
Two channels cannot be set at the same time in N:N Network and parallel link.
N:N Network and parallel link cannot be used together.
Two channels cannot be set at the same time in remote maintenance.
The FX2N-16CCL-M and FX2N-32ASI-M cannot be used at the same time.
*1
Common Items
A
Common Items
Inverter
communication
Non-protocol
communication
CC-Link/LT
AS-i system
MELSEC-I/O
LINK
Programming
Remote
maintenance
Internet mail
sending
This
manual
This
manual
Product
manual
Product
manual
Product
manual
This
manual
This
manual
FX-232DOPA
User's Manual
I/O link
Sequence program
*2
*2
*3
H
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
*3
E
Inverter
Communication
Computer Link
*2
Mail sending
Parallel Link
Generalpurpose
communication
N:N Network
Link
Remote
Maintenance
Apx.
Discontinued
models
A-19
Common Items
2.2.2
FX3UC-32MT-LT PLCs
Link
PLC
Communication equipment
Product inside ( ) is essential.
Communication
specifications
CC-Link
N:N Network
Parallel link
Computer
link
Product
manual
This
manual
This
manual
This
manual
USB
FX3U-232-BD
FX3U-232ADP(-MB)
(expansion board)
RS-232C
FX2N-232IF
(FX2NC-CNV-IF or FX3UC-1PS-5V)
FX3U-485-BD
FX3UC32MTLT PLC
FX3U-485ADP(-MB)
(expansion board)
FX3U-422-BD
Standard built-in port
RS-485
RS-422
FX2N-16CCL-M
(FX2NC-CNV-IF or FX3UC-1PS-5V)
*1
*1
*1
*1
*4
FX2N-32CCL
(FX2NC-CNV-IF or FX3UC-1PS-5V)
FX2N-64CL-M
(FX2NC-CNV-IF or FX3UC-1PS-5V)
FX2N-32ASI-M
(FX2NC-CNV-IF or FX3UC-1PS-5V)
*1.
*2.
*3.
*4.
A-20
Two channels cannot be set at the same time in N:N Network and parallel link.
N:N Network and parallel link cannot be used together.
For the FX2N-64CL-M, refer to FX2N-64CL-M User's Manual.
For FX3UC built-in CC-Link/LT master, refer to FX3UC Hardware Edition.
Two channels cannot be set at the same time in remote maintenance.
The FX2N-16CCL-M and FX2N-32ASI-M cannot be used at the same time.
Common Items
Inverter
communication
Non-protocol
communication
CC-Link/LT
AS-i system
MELSEC-I/O
LINK
Programming
Remote
maintenance
Internet mail
sending
This
manual
This
manual
Product
manual
Product
manual
Product
manual
This
manual
This
manual
FX-232DOPA
User's Manual
I/O link
Sequence program
*3
*3
*2
*2
*4
E
Inverter
Communication
D
Computer Link
Parallel Link
Mail sending
N:N Network
Generalpurpose
communication
Common Items
Link
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-21
Common Items
2.2.3
Link
PLC
Communication equipment
Product inside ( ) is essential.
Communication
specifications
CC-Link
N:N Network
Parallel link
Computer
link
Product
manual
This
manual
This
manual
This
manual
FX2N-232-BD
FX2NC-232ADP(FX2N-CNV-BD)
FX0N-232ADP(FX2N-CNV-BD)
RS-232C
FX2N-232IF
*1
FX2N-485-BD
FX2NC-485ADP(FX2N-CNV-BD)
FX2N
PLC
RS-485
FX0N-485ADP(FX2N-CNV-BD)
FX2N-422-BD
Standard built-in port
RS-422
*3
FX2N-16CCL-M
FX2N-32CCL
FX2N-64CL-M
FX2N-32ASI-M
FX2N-16LNK-M
FX2NC-232ADP
FX0N-232ADP
RS-232C
FX2N-232IF(FX2NC-CNV-IF)
FX2NC-485ADP
FX0N-485ADP
FX2NC
PLC
*1
RS-485
RS-422
*3
FX2N-16CCL-M(FX2NC-CNV-IF)
FX2N-32CCL(FX2NC-CNV-IF)
FX2N-64CL-M(FX2NC-CNV-IF)
A-22
FX2N-32ASI-M(FX2NC-CNV-IF)
FX2N-16LNK-M(FX2NC-CNV-IF)
*1.
*2.
The FX2NC Series main unit does not support connection of the FX2NC- MT-D/UL and FX2NC- M DSS(-T-DS).
*3.
Common Items
This
manual
Non-protocol CC-Link/
communication
LT
This
manual
Sequence
program
I/O link
Product
manual
Mail sending
AS-i
system
MELSEC-I/O
LINK
Programming
Remote
maintenance
Internet mail
sending
Short mail
sending
Product
manual
Product
manual
This
manual
This
manual
FX-232DOPA
User's Manual
*1
*1
*1
*1
*1
*3
E
Inverter
Communication
D
Computer Link
*1
*1
*2*3
*1
*1
G
Non-Protocol
Communication
(FX2N-232IF)
*1
Non-Protocol
Communication
(RS/RS2 Instruction)
C
Parallel Link
N:N Network
Inverter
communication
Generalpurpose
communication
Common Items
Link
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-23
Common Items
2.2.4
Link
PLC
Communication equipment
Product inside ( ) is essential.
Communication
specifications
CC-Link
N:N Network
Parallel link
Computer
link
Product
manual
This
manual
This
manual
This
manual
FX1N-232-BD
FX2NC-232ADP(FX1N-CNV-BD)
RS-232C
FX0N-232ADP(FX1N-CNV-BD)
FX1S
PLC
*1
FX1N-485-BD
FX2NC-485ADP(FX1N-CNV-BD)
RS-485
FX0N-485ADP(FX1N-CNV-BD)
FX1N-422-BD
Standard built-in port
RS-422
FX1N-232-BD
FX2NC-232ADP(FX1N-CNV-BD)
RS-232C
FX0N-232ADP(FX1N-CNV-BD)
*1
FX1N-485-BD
FX2NC-485ADP(FX1N-CNV-BD)
RS-485
FX0N-485ADP(FX1N-CNV-BD)
FX1N
PLC
FX1N-422-BD
Standard built-in port
RS-422
*2
FX2N-16CCL-M
FX2N-32CCL
FX2N-64CL-M
FX2N-32ASI-M
FX2N-16LNK-M
FX2NC-232ADP
FX0N-232ADP
FX2NC-485ADP
FX0N-485ADP
FX1NC
PLC
RS-232C
RS-485
RS-422
*2
FX2N-16CCL-M(FX2NC-CNV-IF)
FX2N-32CCL(FX2NC-CNV-IF)
FX2N-64CL-M(FX2NC-CNV-IF)
A-24
*1
FX2N-32ASI-M(FX2NC-CNV-IF)
FX2N-16LNK-M(FX2NC-CNV-IF)
*1.
*2.
Common Items
A
Generalpurpose
communication
This
manual
This
manual
Sequence program
CC-Link/LT
AS-i system
MELSEC-I/O
LINK
Product
manual
Product
manual
Product
manual
Mail sending
Programming
Remote
maintenance
Internet mail
sending
This
manual
This
manual
FX-232DOPA
User's Manual
C
*1
*1
*1
*1
*1
*1
*1
*1
*2
*1
*1
*1
*1
*2
H
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
D
Computer Link
Parallel Link
N:N Network
Inverter
Non-protocol
communicacommunication
tion
I/O link
Common Items
Link
Remote
Maintenance
Apx.
Discontinued
models
A-25
Common Items
2.2.5
FX0N PLCs
Link
PLC
Communication equipment
Product inside ( ) is essential.
Communication
specifications
CC-Link
N:N Network
Parallel link
Computer
link
Product
manual
This
manual
This
manual
This
manual
FX2NC-232ADP
FX0N-232ADP
FX2NC-485ADP
FX0N-485ADP
FX0N
PLC
RS-232C
*1
RS-485
RS-422
FX2N-16CCL-M
FX2N-32CCL
FX2N-64CL-M
2.2.6
FX2N-32ASI-M
FX2N-16LNK-M
*1.
*2.
Link
PLC
Communication equipment
Product inside ( ) is essential.
Communication
specifications
CC-Link
N:N Network
Parallel link
Computer
link
Product
manual
This
manual
This
manual
This
manual
FX0
PLC
RS-422
FX0S
PLC
RS-422
RS-232C
RS-485
FX-232ADP
FX-485ADP
FX2C
PLC
FX-40AW
FX2(FX)
FX-40AP
PLC
FX1
PLC
Optical
communication
RS-422
RS-422
*1.
A-26
Common Items
A
Generalpurpose
communication
Inverter
communication
Non-protocol
communication
CC-Link/LT
This
manual
This
manual
Product
manual
I/O link
Sequence program
Mail sending
B
Remote
maintenance
Internet mail
sending
Product
manual
Product
manual
This
manual
This
manual
FX-232DOPA
User's Manual*2
*1
D
Computer Link
C
Parallel Link
Programming
N:N Network
AS-i system
MELSEC-I/O
LINK
Common Items
Link
E
Inverter
Communication
F
Generalpurpose
communication
Inverter
communication
Non-protocol
communication
CC-Link/LT
AS-i system
MELSEC-I/O
LINK
Programming
Remote
maintenance
Internet mail
sending
This
manual
This
manual
Product
manual
Product
manual
Product
manual
This
manual
This
manual
FX-232DOPA
User's Manual*1
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
Link
I/O link
Sequence program
Mail sending
Programming
Communication
Remote
Maintenance
Apx.
Discontinued
models
A-27
2.3
2.3.1
FX1N Series
A
FX PLC main
unit mounting
position
RS-485
European
terminal block
FX1N-485-BD
N:N Network
Parallel link
Selection
example
European
terminal block
FX1N-CNV-BD
FX2NC-485ADP
Computer link
Non-protocol
communication
A
M3 terminal
block
FX0N-485ADP
RS-422
Connection
condition
8-pin MINI-DIN,
female
Programming
communication
FX1N-422-BD
A
European
terminal block
FX1N-CNV-BD
FX2NC-485ADP
Non-protocol
communication
A
M3 terminal
block
FX0N-485ADP
RS-232C
9-pin D-Sub,
male
FX1N-232-BD
Computer link
Non-protocol
communication
9-pin D-Sub,
male
FX1N-CNV-BD
FX2NC-232ADP
Remote
maintenance
A
25-pin
D-Sub,
female
FX0N-232ADP
A-28
Programming
communication
A
For FX0N Series
Common Items
FX0N Series
A
RS-485
FX2NC-485ADP
A
M3 terminal block
D
Computer Link
FX0N-485ADP
A
RS-422
C
Parallel Link
N:N Network
Parallel link
Computer link
Non-protocol
communication
N:N Network
FX2NC-485ADP
E
Non-protocol
communication
Inverter
Communication
2.3.2
M3 terminal block
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX0N-485ADP
A
RS-232C
G
FX2NC-232ADP
A
25-pin D-Sub, female
Non-Protocol
Communication
(FX2N-232IF)
Computer link
Non-protocol
communication
H
Programming
Communication
FX0N-232ADP
I
Remote
Maintenance
Apx.
Discontinued
models
A-29
FX0N Series
A
C
For remote device station
M3 terminal block
CC-Link
FX2N-32CCL
C
U
ASI
ASI
ACTIVE
POWE
R
ADDRESS/
ERROR
M3 terminal block
FX2N-32ASI-M
MOD
E
SE
T
AS-i system
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M
C
M3 terminal block
MELSEC-I/O LINK
FX2N-16LNK-M
A-30
Common Items
A
For FX1S Series
Common Items
FX1S Series
A
B
N:N Network
RS-485
European
terminal block
N:N Network
A
European
terminal block
FX2NC-485ADP
A
M3 terminal
block
FX0N-485ADP
8-pin MINI-DIN,
female
Programming
communication
FX1N-422-BD
Non-Protocol
Communication
(RS/RS2 Instruction)
A
European
terminal block
FX1N-CNV-BD
FX2NC-485ADP
Non-protocol
communication
FX0N-485ADP
Programming
Communication
RS-232C
FX1N-232-BD
FX2NC-232ADP
Programming
communication
Remote
maintenance
I
Remote
Maintenance
Computer link
Non-protocol
communication
A
9-pin D-Sub, male
FX1N-CNV-BD
G
Non-Protocol
Communication
(FX2N-232IF)
M3 terminal
block
Inverter
Communication
RS-422
D
Computer Link
FX1N-CNV-BD
Parallel link
Computer link
Non-protocol
communication
Parallel Link
FX1N-485-BD
2.3.3
Apx.
Discontinued
models
25-pin
D-Sub,
female
FX0N-232ADP
A-31
Common Items
2.3.4
RS-485
European
terminal block
FX1N-485-BD
B
N:N Network
A
European
terminal block
FX1N-CNV-BD
FX2NC-485ADP
Parallel link
Computer link
Non-protocol
communication
A
M3 terminal
block
FX0N-485ADP
RS-422
8-pin MINI-DIN,
female
Programming
communication
FX1N-422-BD
B
A
European
terminal block
FX1N-CNV-BD
FX2NC-485ADP
Non-protocol
communication
A
M3 terminal
block
FX0N-485ADP
RS-232C
FX1N-232-BD
B
Computer link
Non-protocol
communication
A
9-pin D-Sub, male
FX1N-CNV-BD
FX2NC-232ADP
A
25-pin
D-Sub,
female
FX0N-232ADP
A-32
Programming
communication
Remote
maintenance
A
Common Items
FX1N Series
A
B
N:N Network
C
For master station
FX2N-16CCL-M
Parallel Link
CC-Link
E
R
R
O
R
FX2N-16CCL-M*1
CC-Link
Computer Link
FX2N-32CCL
C
Dedicated connector
CC-Link/LT
M3 terminal block
AS-i system
M3 terminal block
MELSEC-I/O LINK
Inverter
Communication
M3 terminal block
FX2N-64CL-M
C
U
ASI
ASI
ACTIVE
POWE
R
ADDRESS/
ERROR
FX2N-32ASI-M
SE
T
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M*1
C
G
Non-Protocol
Communication
(FX2N-232IF)
FX2N-16LNK-M
*1.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
MOD
E
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-33
2.3.5
RS-485
FX2NC-485ADP
A
M3 terminal block
FX0N-485ADP
RS-422
FX2NC-485ADP
Non-protocol
communication
A
M3 terminal block
FX0N-485ADP
A
RS-232C
FX2NC-232ADP
A
25-pin D-Sub, female
FX0N-232ADP
A-34
Computer link
Non-protocol
communication
Programming
communication
Remote
maintenance
C
For master
station
FX2N-16CCL-M
CC-Link
Parallel Link
E
R
R
O
R
FX2NC-CNV-IF
FX2N-16CCL-M*1
B
N:N Network
Common Items
FX1NC Series
CC-Link
M3 terminal block
Computer Link
FX2N-32CCL
C
Dedicated connector
CC-Link/LT
M3 terminal block
AS-i system
M3 terminal block
MELSEC-I/O LINK
Inverter
Communication
For remote
device station
FX2N-64CL-M
C
U
ASI
ASI
ACTIVE
POWE
R
ADDRESS/
ERROR
FX2N-32ASI-M
SE
T
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M*1
C
G
Non-Protocol
Communication
(FX2N-232IF)
FX2N-16LNK-M
*1.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
MOD
E
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-35
Common Items
2.3.6
RS-485
FX2N-485-BD
B
A
European
terminal block
FX2N-CNV-BD
FX2NC-485ADP
A
M3 terminal
block
N:N Network
Parallel link
Computer link
Non-protocol
communication
Inverter
communication
FX0N-485ADP
FX2N-ROM-E1
RS-422
8-pin MINI-DIN,
female
Programming
communication
FX2N-422-BD
B
A
European
terminal block
FX2N-CNV-BD
FX2NC-485ADP
Non-protocol
communication
A
M3 terminal
block
FX0N-485ADP
RS-232C
FX2N-232-BD
B
A
9-pin D-Sub, male
FX2N-CNV-BD
FX2NC-232ADP
A
25-pin
D-Sub,
female
FX0N-232ADP
A-36
Computer link
Non-protocol
communication
Programming
communication
Remote
maintenance
Short mail
sending
A
Common Items
FX2N Series
B
N:N Network
CC-Link
Parallel Link
FX2N-16CCL-M
E
R
R
O
R
FX2N-16CCL-M*1
CC-Link
Computer Link
FX2N-32CCL
POWER
SD
RD
Non-protocol
communication
FX2N-232IF
C
CC-Link/LT
M3 terminal block
AS-i system
M3 terminal block
MELSEC-I/O LINK
Non-Protocol
Communication
(RS/RS2 Instruction)
Dedicated connector
FX2N-64CL-M
C
U
ASI
ASI
ACTIVE
POWE
R
ADDRESS/
ERROR
FX2N -32ASI-M
SE
T
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M*1
C
H
Programming
Communication
FX2N-16LNK-M
*1.
G
Non-Protocol
Communication
(FX2N-232IF)
MOD
E
E
Inverter
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-37
2.3.7
RS-485
FX2NC-485ADP
A
M3 terminal block
FX0N-485ADP
N:N Network
Parallel link
Computer link
Non-protocol
communication
Inverter
communication
FX2NC-ROM-CE1
RS-422
FX2NC-485ADP
Non-protocol
communication
A
M3 terminal block
FX0N-485ADP
A
RS-232C
FX2NC-232ADP
A
25-pin D-Sub, male
FX0N-232ADP
D
FX2NC-ROM-CE1
A-38
Computer link
Non-protocol
communication
Programming
communication
Short mail
sending
A
Common Items
FX2NC Series
A
B
N:N Network
C
For master
station
Parallel Link
FX2N-16CCL-M
CC-Link
E
R
R
O
R
FX2NC-CNV-IF
FX2N-16CCL-M*1
C
CC-Link
For remote
device
station
M3 terminal block
Computer Link
FX2N-32CCL
POWER
SD
RD
Non-protocol
communication
FX2N-232IF
C
CC-Link/LT
M3 terminal block
AS-i system
M3 terminal block
MELSEC-I/O LINK
Non-Protocol
Communication
(RS/RS2 Instruction)
Dedicated connector
FX2N-64CL-M
C
U
ASI
ASI
ACTIVE
POWE
R
ADDRESS/
ERROR
FX2N-32ASI-M
SE
T
G
Non-Protocol
Communication
(FX2N-232IF)
MOD
E
E
Inverter
Communication
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M*1*2
C
Programming
Communication
FX2N-16LNK-M
*1.
*2.
Remote
Maintenance
Apx.
Discontinued
models
A-39
2.3.8
FX3U Series
A , B , and C indicate the mounting position. (For the mounting procedure, refer to the
respective communication equipment manual.)
Either FX3UB
ch1
232ADP(-MB) or
FX3U-485ADP(-MB)
can be selected.
European terminal
block
N:N Network
A
ch2
Parallel link
FX3U-485-BD
Computer link
European terminal
Non-protocol
block
communication
B
A
Inverter
ch1
FX3U-485ADP
communication
(-MB)
European terminal
block
RDA
RS-485
RD
RDB
SDA
SD
SDB
SG
FX3U-CNV-BD
B
FX3U-485ADP
(-MB)
ch1
RS-422
8-pin MINI-DIN,
female
FX3U-422-BD
Programming
communication
ch2
European terminal
block
FX3U-CNV-BD
B
RS232C
ch1
FX3U-485ADP
(-MB)
Non-protocol
communication
European terminal
block
FX3U-485ADP
(-MB)
ch1
RD
SD
Computer link
ch2
FX3U-232-BD
9-pin D-Sub, male
B
ch1
FX3U-232ADP
(-MB)
Non-protocol
communication
Programming
communication
Remote
maintenance
FX3U-CNV-BD
B
USB
ch1
RD
SD
FX3U-USB-BD
A-40
FX3U-232ADP
(-MB)
MINI-USB B plug,
female
Programming
communication
B
N:N Network
Common Items
FX3U Series
CC-Link
Parallel Link
FX2N-16CCL-M
E
R
R
O
R
FX2N-16CCL-M*1
CC-Link
Computer Link
M3 terminal block
C
POW
ER
SD
RD
Non-protocol
communication
FX2N-232IF
C
CC-Link/LT
M3 terminal block
AS-i system
M3 terminal block
MELSEC-I/O LINK
Non-Protocol
Communication
(RS/RS2 Instruction)
Dedicated connector
FX2N-64CL-M
C
U
ASI
ASI
ACTIVE
POWE
R
ADDRESS/
ERROR
FX2N-32ASI-M
SE
T
G
Non-Protocol
Communication
(FX2N-232IF)
MOD
E
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M*1
C
H
Programming
Communication
FX2N-16LNK-M
*1.
E
Inverter
Communication
FX2N-32CCL
I
Remote
Maintenance
Apx.
Discontinued
models
A-41
2.3.9
RS-485
ch1
Either FX3U232ADP(-MB) or
FX3U-485ADP(-MB)
can be selected.
European
terminal block
ch2
European
terminal block
FX3U-485ADP
(-MB)
FX3U-485ADP
(-MB)
RS-422
ch1
N:N Network
Parallel link
Computer link
Non-protocol
communication
Inverter
communication
European
terminal block
A
ch2
European
terminal block
FX3U-485ADP
(-MB)
Non-protocol
communication
FX3U-485ADP
(-MB)
RS-232C
ch1
9-pin D-Sub,
male
A
ch2
9-pin D-Sub,
male
FX3U-232ADP
(-MB)
FX3U-232ADP
(-MB)
A-42
Computer link
Non-protocol
communication
Programming
communication
Remote
maintenance
Common Items
A
Common Items
N:N Network
B
For master
station
FX2N-16CCL-M
CC-Link
FX2NC-CNV-IF
B
CC-Link
For remote
device
station
M3 terminal block
Computer Link
FX3UC-1PS-5V
FX2N-16CCL-M*1
Parallel Link
E
R
R
O
R
FX2N-32CCL
B
SD
RD
9-pin D-Sub,
male
Non-protocol
communication
FX2N-232IF
B
CC-Link/LT
M3 terminal block
AS-i system
M3 terminal block
MELSEC-I/O LINK
Non-Protocol
Communication
(RS/RS2 Instruction)
Dedicated
connector
FX2N-64CL-M
B
U
ASI
ASI
ACTIVE
POWE
R
ADDRESS/
ERROR
FX2N-32ASI-M
MOD
E
SE
T
G
Non-Protocol
Communication
(FX2N-232IF)
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M*1
C
H
Programming
Communication
FX2N-16LNK-M
*1.
E
Inverter
Communication
POWER
Remote
Maintenance
Apx.
Discontinued
models
A-43
Either FX3U232ADP(-MB) or
FX3U-485ADP(-MB)
can be selected.
ch1
RD A
RD
RS-485
RD B
SD A
SD
SD B
SG
FX3U-485-BD
European
terminal block
ch2
European
terminal block
FX3U-CNV-BD
B
ch1
FX3U-485ADP
(-MB)
N:N Network
Parallel link
Computer link
Non-protocol
communication
Inverter
communication
European
terminal block
FX3U-485ADP
(-MB)
ch1
RS-422
8-pin MINI-DIN,
female
Programming
communication
FX3U-422-BD
A
ch2
European
terminal block
FX3U-CNV-BD
B
RS232C
ch1
FX3U-485ADP
(-MB)
Non-protocol
communication
European
terminal block
FX3U-485ADP
(-MB)
ch1
RD
9-pin D-Sub,
male
SD
Computer link
ch2
FX3U-232-BD
9-pin D-Sub,
male
B
FX3U-CNV-BD
B
USB
FX3U-232ADP
(-MB)
9-pin D-Sub,
male
FX3U-232ADP
(-MB)
ch1
RD
SD
FX3U-USB-BD
A-44
ch1
Non-protocol
communication
Programming
communication
Remote
maintenance
MINI-USB B plug,
female
Programming
communication
Common Items
A
Common Items
FX3UC-32MT-LT
N:N Network
C
For master
station
FX2N-16CCL-M
CC-Link
FX2NC-CNV-IF
CC-Link
For remote
device
station
M3 terminal block
Computer Link
FX3UC-1PS-5V
FX2N-32CCL
C
POWER
SD
RD
9-pin D-Sub,
male
Non-protocol
communication
FX2N-232IF
For FX3UC-32MT-LT built-in.
Dedicated
connector
Non-Protocol
Communication
(RS/RS2 Instruction)
CC-Link/LT
Dedicated
connector
FX2N-64CL-M
C
U
ASI
ASI
ACTIVE
M3 terminal block
FX2N-32ASI-M
MOD
E
Non-Protocol
Communication
(FX2N-232IF)
POWE
R
ADDRESS/
ERROR
SE
T
AS-i system
PRJ
MODE
PRG
ENABLE
FROM/
TO
CONFIG
ERR
FX2N-32ASI-M*1
*1.
E
Inverter
Communication
FX2N-16CCL-M*1
Parallel Link
E
R
R
O
R
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-45
RS-485
Computer link
Computer link
Non-protocol
communication
FX-485ADP
RS-232C
FX-232ADP
A
Dedicated
Parallel link
Connector for
optical fiber
Parallel link
FX2-40AW
A
Dedicated
FX2-40AP
A-46
Common Items
A
Common Items
3.
3.1
Setting Method
1. Setting methods
1) Specify the settings using parameters in the sequence programming software
Register the settings in parameters, transfer it to the PLC and turn the PLC's power OFF and then ON.
(This method is not available in FX2(FX), FX2C, and FX0N PLCs.)
Caution
Regardless of the method chosen above, a PLC operates the same way. If both methods are selected,
priority is given to the method using parameters.
FX Series
FX2(FX),FX2C
FX0N
Parameter method
FX1S
FX1N,FX1NC
FX2N,FX2NC
FX3U,FX3UC
Program method
F
Transferred
when power
is turned ON
PLC memory
Setting window
Parameter area
Parameter
method
Program area
D8120] Written by
program
D8121]
D8129]
Written by
D8400] program
D8409]
[MOV H
[MOV K
[MOV K
D8420]
D8421]
D8429]
Written by
program
H
Programming
Communication
[MOV H
[MOV K
Non-Protocol
Communication
(FX2N-232IF)
[MOV H
[MOV K
[MOV K
Non-Protocol
Communication
(RS/RS2 Instruction)
3. Setting flow
Sequence
program for
set values
E
Inverter
Communication
D
Computer Link
C
Parallel Link
The following two communication setting methods are available for FX PLCs. Either method can be used, but
the method using parameters is recommended.
B
N:N Network
This chapter describes which communication parameters can be changed for each communication type and
provides methods on how to change them.
When both methods are selected at the same time, priority is given to
the contents set using the parameter method.
A-47
Apx.
Discontinued
models
Remote
Maintenance
3.2
3.2.1
Operating procedure
With GX Developer open, follow the steps in this section for activating the serial communication setting
method.
If the project tree is not displayed, select [View] - [Project data list] from the toolbar (to display a
check mark on the left side).
A-48
Common Items
A
Correspondence between parameter setting and each communication type
Common Items
Remote maintenance
Programming communication
AS-i system
CC-Link/LT network
Inverter communication
Computer link
Parallel link
N:N Network
CC-Link network
Inverter
Communication
7-bit
Data length
Dedicated protocol
8-bit
None
2400
600
300
Invalid/valid
Invalid/valid
Control cable
Invalid/valid
Regular/RS-232C
Hardware type
RS-485
Control mode
Invalid
Invalid/valid
Transmission control
procedure
Format 1
Format 4
00 to 0F
1 to 255
Not selectable
I
Remote
Maintenance
Sum check
Reference page
G H
Programming
Communication
Header
Terminator
Non-Protocol
Communication
(FX2N-232IF)
1200
4800
Transmission speed
(bps)
9600
19200
2-bit
Stop bit
Non-Protocol
Communication
(RS/RS2 Instruction)
1-bit
Even
Odd
This communication is not executed in this setting.
Parity
Computer Link
Non-protocol
communication
Protocol
Remarks
Parallel Link
Contents
B
N:N Network
Set item
The table below shows the communication types and set items which can be set using parameters:
3.2.2
Apx.
Discontinued
models
A-49
3.3
3.3.1
Operating procedure
This subsection explains the serial communication setting method. Suppose that FXGP/WIN is already
started up.
A-50
A
There is communication setting. Confirm the setting contents.
When using programming communication, parallel link, N:N Network or remote maintenance, click the [Clear]
button.
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
A-51
Common Items
3.3.2
CC-Link/LT network
AS-i system
Programming communication
Remote maintenance
Remarks
Dedicated protocol
7-bit
Data length
Non-protocol
communication
Protocol
Computer link
Parallel link
N:N Network
Contents
CC-Link network
Set item
Inverter communication
The table below shows the communication types and items which can be set using parameters:
8-bit
None
2-bit
19200
9600
4800
2400
1200
600
300
Header
Invalid/valid
Terminator
Invalid/valid
Control cable
Invalid/valid
Regular/RS-232C
Hardware type
RS-485
Control mode
Invalid
Sum check
Invalid/valid
Transmission control
procedure
Format 1
Format 4
00 to 0F
1 to 255
Reference page
A-52
Stop bit
1-bit
Even
Odd
This communication is not executed in this setting.
Parity
Not selectable
G H
Common Items
A
Extension of Ports (FX3U, FX3UC)
*1.
FX 3U -4AD-ADP
P O WE R
P O WE R
P O WE R
Communication
special adapter
(ch1)
Communication
special adapter
(ch2)
FX 3U -4AD-ADP
FX 3U -4AD-ADP FX 3U -4AD-ADP
FX3U-CNV-BD
C
Parallel Link
Communication
expansion board
(ch1)
Communication
special adapter
(ch2)
B
N:N Network
In FX3U and FX3UC PLCs, up to two channels of communication ports can be connected to the main unit.
When a communication expansion board and communication special adapter are used, the board is handled
as ch 1 and the adapter is handled as ch 2.
When connecting two communication special adapters using the FX3U-CNV-BD*1, the one closer to the main
unit is handled as ch 1 and the farther one is handled as ch 2.
Common Items
3.4
FX 3U -4AD-ADP
P O WE R
P O WE R
P O WE R
P O WE R
P O WE R
D
Computer Link
RDA
R
D
RDB
SDA
S
D
SDB
SG
Analog special
adapter
Analog special
adapter
When using high speed special input/output adapters, make sure to connect them to the PLC main
unit first before connecting communication special adapters and analog special adapters.
Communication
special adapter
(ch2)
FX3U-4AD-ADP FX3U-4AD-ADP
POWER
POWER
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX3U-4AD-ADP
Communication
special adapter
(ch1)
FX3U-4AD-ADP
POWER
Inverter
Communication
*1.
POWER
G
Non-Protocol
Communication
(FX2N-232IF)
Up to 6 units
Communication
special adapter
(ch2)
Analog
special
adapter
POWER
POWER
Communication
special adapter
(ch2)
Communication
special adapter
(ch1)
FX3U-CNV-BD
FX3U-4AD-ADP
POWER
Analog
special
adapter
POWER
FX3U-4AD-ADP FX3U-4AD-ADP
POWER
POWER
I
Remote
Maintenance
FX3U-4AD-ADP
Communication
expansion board
(ch1)
Programming
Communication
FX3U-4AD-ADP
POWER
RDA
RD
RDB
SDA
SD
SDB
SG
Apx.
1 unit
Discontinued
models
Up to 5 units
Up to 6 units
A-53
Common Items
3.4.1
Limitation when ch1 and ch2 are used at the same time
When using ch1 and ch2 at the same time, available communication type combinations are limited. For
details, refer to the table below.
Communication
channel: ch2
RDA
RD
RDB
SDA
SD
SDB
SG
Communication
special adapter
Communication
special adapter
Expansion
board
FX3U/FX3UC PLC
Computer
link
Inverter
Non-protocol
Non-protocol
Programcommunica- communication communication ming comtion
(RS instruction) (RS2 instruction) munication
N:N Network
Parallel link
(Example 1) (Example 2)
Computer link
Inverter communication
Non-protocol communication (RS
instruction)*1
Non-protocol communication (RS2
instruction)
Programming communication
Remote maintenance*2
*1.
*2.
When using remote maintenance on ch2, use the GX Developer Ver. 8.18U or later.
Example 1:
When "parallel link" is set for ch1, the "N:N Network" cannot be set for ch2.
Example 2:
When "computer link" is set for ch1, the "N:N Network" can be set for ch2.
A-54
Remote
maintenance
Common Items
A
Common Items
4.
B
N:N Network
This chapter specifies the manuals related to PLC main units for each communication type.
4.1
When communication equipment is connected, an FX PLC can offer various communication options.
Parallel Link
PLC
Wiring and installation of PLC
Supplied with
Separate manual
D
Computer Link
HARDWARE MANUAL
(which is supplied with each product)
Sequence program
Separate manual
PROGRAMMING MANUAL
E
Inverter
Communication
Communication equipment
Installation and name of each part
Supplied with
Non-Protocol
Communication
(RS/RS2 Instruction)
INSTALLATION MANUAL
(which is supplied with each product)
Manuals supplied with each communication equipment are shown at the end of this
manual. This information is provided for convenience to offer the terminal layout,
external dimensions, etc., and may not be up-to-date.
G
Non-Protocol
Communication
(FX2N-232IF)
Communication types
Non-protocol
communication
Parallel link
Computer link
Inverter
communication
N:N Network
Other
communication
This
User's Manual manual
Communication Control Edition
Programming
Communication
This manual specifies the setting method, cable connection, program examples and
troubleshooting for each communication type.
I
Remote
Maintenance
Apx.
Discontinued
models
A-55
Common Items
4.2
4.2.1
Contents
JY997D16901
Separate manual
(this manual)
Separate manual
Manual name
Manual number
FX Series
FX Series Users Manual Data Communication
Edition
4.2.2
Manual number
Included/separate
document
Contents
FX3U Series
FX3U Series
Hardware Manual
JY997D18801
Included
FX3U Series
User's Manual - Hardware
Edition
JY997D16501
Separate manual
FX3U/FX3UC
Programming Manual - Basic & JY997D16601
Applied Instruction Edition
Separate manual
FX3UC Series
Describes the contents of the FX3UC(D, DSS)
PLC main unit hardware including the
specifications, wiring and installation procedure.
JY997D28601
Included
FX3UC Series
User's Manual - Hardware
Edition
JY997D28701
Separate manual
FX3U/FX3UC
Programming Manual - Basic & JY997D16601
Applied Instruction Edition
Separate manual
FX2NC Series
FX2NC
HARDWARE MANUAL
JY992D76401
FX1S,FX1N,FX2N,FX1NC,FX2NC
JY992D88101
PROGRAMMING MANUAL
A-56
Included
Separate manual
Common Items
A
Included/separate
document
Contents
Included
Separate manual
Included
Separate manual
Parallel Link
Manual number
Included
Separate manual
Included
Separate manual
Included
Separate manual
Included
Separate manual
Included
Separate manual
FX1NC Series*1
FX1NC
HANDY MANUAL
JY992D92101
FX2N Series
FX2N
HARDWARE MANUAL
JY992D66301
FX1S,FX1N,FX2N,FX1NC,FX2NC
JY992D88101
PROGRAMMING MANUAL
FX1N Series
FX1N
HARDWARE MANUAL
JY992D89301
FX1S Series
FX1S
HARDWARE MANUAL
JY992D83901
FX0N Series
FX0N
HARDWARE MANUAL
JY992D47501
FX2(FX) Series
JY992D47401
FX0,FX0S,FX0N,FX1,FX2(FX),FX2C
JY992D48301
PROGRAMMING MANUAL
FX2C Series*2
JY992D59001
FX0,FX0S,FX0N,FX1,FX2(FX),FX2C
JY992D48301
PROGRAMMING MANUAL
H
Programming
Communication
FX2C
HANDY MANUAL
G
Non-Protocol
Communication
(FX2N-232IF)
FX2(FX)
HARDWARE MANUAL
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX0,FX0S,FX0N,FX1,FX2(FX),FX2C
JY992D48301
PROGRAMMING MANUAL
E
Inverter
Communication
FX1S,FX1N,FX2N,FX1NC,FX2NC
JY992D88101
PROGRAMMING MANUAL II
Computer Link
FX1S,FX1N,FX2N,FX1NC,FX2NC
JY992D88101
PROGRAMMING MANUAL II
B
N:N Network
FX1S,FX1N,FX2N,FX1NC,FX2NC
JY992D88101
PROGRAMMING MANUAL
Common Items
Manual name
Remote
Maintenance
Apx.
Discontinued
models
A-57
Common Items
4.2.3
Manual number
Included/separate
document
Contents
Included
Included
Included
Included
Included
Included
Included
Included
Included
FX3U-232ADP
INSTALLATION MANUAL
FX3U-232ADP-MB
INSTALLATION MANUAL
FX-232ADP
USER'S GUIDE
FX0N-232ADP
INSTALLATION MANUAL
FX2NC-232ADP
INSTALLATION MANUAL
FX2N-232-BD
USER'S GUIDE
FX1N-232-BD
USER'S GUIDE
FX2N-232IF
HARDWARE MANUAL
JY997D12901
JY997D13701
JY997D26401
JY992D48801
JY992D51201
JY997D01101
JY992D63201
JY992D84401
JY992D73501
JY997D13101
Included
FX2N-422-BD
USER'S GUIDE
JY992D66101
Included
FX1N-422-BD
USER'S MANUAL
JY992D84101
Included
A-58
Common Items
A
Manual number
Included/separate
document
Contents
Included
FX3U-485ADP
INSTALLATION MANUAL
JY997D13801
Included
FX0N-485ADP
INSTALLATION MANUAL
JY992D53101
Included
FX2NC-485ADP
INSTALLATION MANUAL
JY997D01201
Included
FX2N-485-BD
HARDWARE MANUAL
JY992D73401
Included
FX1N-485-BD
USER'S GUIDE
JY992D84201
Included
Included
Describes
the
contents
of
the
USB
communication expansion board, FX3U-USB-BD
hardware including the specifications and
installation procedure.
Non-Protocol
Communication
(RS/RS2 Instruction)
JY997D13501
D
Computer Link
Included
Parallel Link
JY997D26301
Inverter
Communication
FX3U-485ADP-MB
INSTALLATION MANUAL
B
N:N Network
FX3U-485-BD
INSTALLATION MANUAL
Common Items
Manual name
G
Related options for communication
The table below specifies the manuals for products required to use the options above in the system
configuration.
Manual name
Manual number
Contents
Included
FX2N-CNV-BD
JY992D63601
Included
FX1N-CNV-BD
JY992D84701
Included
Included
Apx.
Describes the contents of the FX-485-PC-IF-SET
interface
unit
hardware
including
the
specifications and installation procedure.
A-59
Discontinued
models
FX-485-PC-IF-SET
HARDWARE MANUAL
I
Remote
Maintenance
FX3U-CNV-BD
INSTALLATION MANUAL
Programming
Communication
Included/separate
document
Non-Protocol
Communication
(FX2N-232IF)
4.2.4
Common Items
5.
1. Programmable controllers
Abbreviation/
generic name
Name
Programmable controllers
FX PLC or FX CPU
Generic name of FX0, FX0S, FX1S, FX0N, FX1N, FX1, FX2(FX), FX2C, FX2N, FX3U,
FX1NC, FX2NC, and FX3UC Series PLCs
FX3U Series
FX3UC PLC or main unit Generic name of FX3UC Series PLC main units
FX2N Series
FX2N PLC or main unit
FX2NC Series
FX2NC- M (-T)
PLC
FX2NC- MT-D/UL
PLC
FX2NC- M -DSS
(-T-DS) PLC
FX1N Series
FX1N PLC or main unit
FX1NC Series
FX1NC PLC or main unit
FX1S Series
FX1S PLC or main unit
FX2(FX) Series
FX2(FX) PLC or main
unit
FX2C Series
FX2C PLC or main unit
FX1 Series
FX1 PLC or main unit
FX0N Series
FX0N PLC or main unit
FX0 Series
FX0 PLC or main unit
A-60
Common Items
A
FX0S Series
FX0S PLC or main unit
Q PLC
QCPU (A mode)
QnA PLC
Name
Generic name of FX0S Series PLCs
Generic name of FX0S Series PLC main units
Generic name of CPU units QCPU (Q mode) and QCPU (A mode)
Generic name of CPU units Q00JCPU, Q00CPU, Q01CPU, Q02CPU, Q02HCPU,
Q06HCPU, Q12HCPU, and Q25HCPU
Generic name of CPU units Q02CPU-A, Q02HCPU-A, and Q06HCPU-A
Generic name of CPU units QnACPU (large type) and QnACPU (small type)
Generic name of CPU units Q2ACPU, Q2ACPU-S1, Q3ACPU, Q4ACPU, and
Q4ARCPU
A PLC
Generic name of CPU units ACPU (large type), ACPU (small type), and A1FXCPU
A1FXCPU
D
Computer Link
Name
Expansion board
Generic name of communication expansion boards and special adapter connection
boards
Communication expansion
board or communication
board
422BD
USBBD
FX3U-USB-BD
F
Non-Protocol
Communication
(RS/RS2 Instruction)
485BD
Special adapter
4HSX-ADP
FX3U-4HSX-ADP
Communication special
adapter or communication
adapter
H
Programming
Communication
FX3U-2HSY-ADP
485ADP
I
Remote
Maintenance
232ADP
Non-Protocol
Communication
(FX2N-232IF)
Special adapters
2HSY-ADP
E
Inverter
Communication
Expansion board
232BD
C
Parallel Link
B
N:N Network
QCPU (Q mode)
Common Items
Abbreviation/
generic name
Apx.
Discontinued
models
A-61
Common Items
3. Extension equipment
Abbreviation/
generic name
Name
Extension equipment
Extension equipment
Generic name of extension blocks, powered extension units, special function blocks
and special function units
232IF
4. Networks
Abbreviation/
generic name
Name
Generic name of CC-Link master station and CC-Link remote device stations
CC-Link/LT equipment
Generic name of CC-Link/LT master station, CC-Link/LT remote I/O stations, power
supply adapters, and dedicated power supplies
CC-Link/LT master
Generic name of built-in type CC-Link/LT master and (additional) CC-Link/LT master
(Additional) CC-Link/LT
master
Generic name of units connecting the power supply to the CC-Link/LT system
AS-i system
AS-i master
Generic name of AS-i system master station with model name FX2N-32ASI-M
Generic name of MELSEC I/O LINK master station with model name FX2N-16LNK-M
5. Peripheral equipment
Abbreviation/
generic name
Name
Peripheral equipment
Peripheral equipment
Programming tools
A-62
Programming tool
Programming software
GX Developer
FXGP/WIN
RS-232C/RS-422 converter
RS-232C/RS-485 converter
Common Items
A
Common Items
Abbreviation/
generic name
Name
Display units
Generic name of GT15, GT11 and GT10
GOT-900 Series
GOT-A900 Series
GOT-F900 Series
B
N:N Network
GOT1000 Series
C
Parallel Link
6. Others
Abbreviation/
generic name
Name
Inverters
Generic name of Mitsubishi F700, A700, V500, F500, A500, E500, and S500 Series
inverters
Communication
Communication equipment
Communication
equipment operating in
accordance with RS232C
Communication
equipment operating in
accordance with RS-422
Communication
equipment operating in
accordance with RS-485
Communication
equipment operating in
accordance with USB
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Windows98,
WindowsMe,
WindowsNT4.0,
Windows95
Windows98
WindowsMe
WindowsNT4.0
Windows2000
WindowsXP
H
Programming
Communication
Windows
Non-Protocol
Communication
(FX2N-232IF)
Personal computers
Personal computer
E
Inverter
Communication
Computer Link
FREQROL inverter
I
Remote
Maintenance
Apx.
Discontinued
models
A-63
MEMO
A-64
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
B-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
Remote
Maintenance
This manual explains the "N:N Network" provided for the MELSEC-F FX Series Programmable Controllers
and should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
B-2
1 Outline
N:N Network
A
Common Items
1.
Outline
N:N Network
Outline of System
The N:N Network allows connection of up to eight FX PLCs via mutually linked devices through
communication in accordance with RS-485.
FX PLC
Slave station No. 2
.......
+
Communication
equipment operating
in accordance with
RS-485
+
Communication
equipment operating
in accordance with .......
RS-485
F
For selection,
refer to Chapter 3.
Non-Protocol
Communication
(RS/RS2 Instruction)
+
Communication
equipment operating
in accordance with
RS-485
For wiring,
Bit devices
M1000 to M1063
M1064 to M1127
M1128 to M1191
M1448 to M1511
Word devices
D0 to D7
D10 to D17
D20 to D27
M1448 to M1511
Word devices
D0 to D7
D10 to D17
D20 to D27
D70 to D77
D70 to D77
D70 to D77
H
Programming
Communication
...
M1448 to M1511
Word devices
D0 to D7
D10 to D17
D20 to D27
...
...
Transfer
direction
...
Bit devices
M1000 to M1063
M1064 to M1127
M1128 to M1191
...
Transfer
direction
Non-Protocol
Communication
(FX2N-232IF)
Bit devices
M1000 to M1063
M1064 to M1127
M1128 to M1191
Inverter
Communication
FX PLC
Master station
D
Computer Link
C
Parallel Link
1) One of three patterns can be selected according to the number of devices to be linked (except FX1S and
FX0N PLCs).
...
1.1
The figure above shows the maximum number of linked devices. There are differences in the specifications and
limitations depending on the selected link pattern and FX Series.
I
Remote
Maintenance
Apx.
Discontinued
models
B-3
1.2
1 Outline
1.2 Procedures Before Operation
N:N Network
Refer to Chapter 1.
Outline of system
Applicable PLC versions
Applicable programming tools
Outline
Refer to Chapter 2.
Check communication specifications.
Refer to Chapter 3.
Determine system configuration and selection.
Communication specifications
Number of link points and time
Number of system devices
System configuration
Select communication equipment.
Refer to Chapter 4.
Perform wiring.
Wiring procedure
One-pair wiring using twisted cables
Wiring example
Programming tool
Connect PLC.*1
Refer to Chapter 5.
Perform PLC communication setting
(initialization).
Turn ON power.
Refer to Chapter 6.
Communication test
Create test programs.
Refer to Chapter 7.
Create programs.
*1 For the method to connect a programming tool to a PLC, refer to the "Programming Communication" section in this
manual or the respective programming tool manual.
For details on operating procedures, refer to the respective programming tool manual.
B-4
1 Outline
N:N Network
A
Communication Type Applicability in PLC
1.3.1
Applicable versions
Common Items
1.3
PLC
Remarks
B
N:N Network
FX2NC Series
Parallel Link
FX2N Series
FX1NC Series
FX1N Series
FX1S Series
FX0S Series
FX0 Series
FX2C Series
FX2(FX) Series
FX1 Series
Applicable in products manufactured in October, 1997 and later (manufacturers serial No.: 7X**** and
later).
1. Version check
The D8001(decimal) special data register contains information for determining the PLC version.
Non-Protocol
Communication
(RS/RS2 Instruction)
D8001
MITSUBISHI
MODEL
FX3U-48MR/ES
Programming
Communication
SERIAL
G
Non-Protocol
Communication
(FX2N-232IF)
The year and month of production of product can be seen from the Manufacturers serial number "SERIAL"
indicated on the label adhered to the right side of the product.
Right side
Inverter
Communication
*1.
Computer Link
FX0N Series
Control number
Month (Example: 7=July) (1 to 9 = January to September,
X = October, Y = November, Z = December)
Year (Example: 5 = 2005) ... last digit of year
Remote
Maintenance
Apx.
Discontinued
models
B-5
1 Outline
N:N Network
1.3.2
Remarks
FX0 Series
FX2C Series
FX2(FX) Series
FX1 Series
1.4
1.4.1
1. Japanese versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS-KIT/98
SW1PC-FXGP/98(-3,-5)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-PCS-KIT/V-3
SW1-PC-FXGP/V3
FX-A7PHP-KIT
SW1RX-GPPFX
FX-20P(-SET0)
FX-20P-MFXC
FX-10P(-SET0)
B-6
1 Outline
1.4 Programming Tool Applicability
A
Applicability
(applicable version)
Common Items
Model name
(Software name)
Remarks
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-20P(-SET0)
FX-20P-MFXD
FX-10P(-SET0)
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
E
Inverter
Communication
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXC-E
FX-10P-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXD-E
FX-10P-E
B-7
Apx.
Discontinued
models
Remote
Maintenance
H
Programming
Communication
GX Developer
SW D5C(F)-GPPW-E
Non-Protocol
Communication
(FX2N-232IF)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
GX Developer
SW D5C(F)-GPPW-E
D
Computer Link
2. English versions
Parallel Link
N:N Network
FX-PCS/WIN
SW0PC-FXGP/WIN
1 Outline
N:N Network
1.4.2
FX3UC
FX3U Series
FX3UC, FX3U
FX2NC Series
FX2NC, FX2N
FX2N Series
FX3UC Series
FX2N
FX2(FX)
FX2N
FX2(FX)
FX2(FX)
FX2N
FX2(FX)
FX1NC Series
FX1NC, FX1N
FX2N
FX2(FX)
FX1N Series
FX1N
FX2N
FX2(FX)
FX1S Series
FX1S
FX2(FX)
FX0N Series
FX0N
FX2(FX)
FX0S Series
FX0S
FX2(FX)
FX0 Series
FX0
FX2(FX)
FX2C Series
FX2C, FX2(FX)
FX2(FX)
FX2(FX)
FX2(FX)
FX2(FX) Series
FX1 Series
B-8
Model to be set
FX1
2 Specifications
2.1 Communication Specifications (Reference)
A
Common Items
2.
Specifications
N:N Network
2.1
Control procedure
Communication method
Baud rate
Remarks
8 maximum
RS-485 standard
500 m (1640' 5") or less
[50 m (164' 0") or less when 485BD is
included in system]
D
Computer Link
Protocol type
Specifications
Parallel Link
Item
N:N Network
E
Inverter
Communication
Character format
Start bit
Data bit
Fixed
Parity bit
Stop bit
Terminator
F
Fixed
Control line
Sum check
Fixed
Non-Protocol
Communication
(RS/RS2 Instruction)
Header
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-9
2 Specifications
N:N Network
2.2
Link Specifications
2.2.1
Pattern 0
Pattern 1
Pattern 2
FX1S Series
FX0N Series
FX3UC Series
FX3U Series
FX2NC Series
FX2N Series
FX1NC Series
FX1N Series
Pattern 0
Slave
stations
B-10
Pattern 2
Bit
device (M)
Word
device (D)
Bit
device (M)
Word
device (D)
Bit
device (M)
Word
device (D)
4 in each
station
32 in each
station
4 in each
station
64 in each
station
8 in each
station
Station
No. 0
D 0 to D 3
M1000 to M1031
D 0 to D 3
M1000 to M1063
D 0 to D 7
Station
No. 1
D10 to D13 M1064 to M1095 D10 to D13 M1064 to M1127 D10 to D17
Station
No. 2
D20 to D23 M1128 to M1159 D20 to D23 M1128 to M1191 D20 to D27
Station
No. 3
D30 to D33 M1192 to M1223 D30 to D33 M1192 to M1255 D30 to D37
Station
No. 4
D40 to D43 M1256 to M1287 D40 to D43 M1256 to M1319 D40 to D47
Station
No. 5
D50 to D53 M1320 to M1351 D50 to D53 M1320 to M1383 D50 to D57
Station
No. 6
D60 to D63 M1384 to M1415 D60 to D63 M1384 to M1447 D60 to D67
Station
No. 7
D70 to D73 M1448 to M1479 D70 to D73 M1448 to M1511 D70 to D77
Station No.
Master
station
Pattern 1
2 Specifications
N:N Network
A
Link time
The link time indicates the cycle time in which link devices are updated.
The link time varies depending on the number of linked units (master station and slave stations) and the
number of linked devices as shown in the table below.
Unit: ms
Pattern 1
Pattern 2
32 bit-devices
4 word-devices
64 bit-devices
8 word-devices
18
22
34
26
32
50
33
42
66
41
52
83
49
62
99
57
72
115
65
82
131
C
Parallel Link
Pattern 0
0 bit-devices
4 word-devices
B
N:N Network
Number of
linked
stations
Common Items
2.2.2
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-11
N:N Network
3.
3.1
System Configuration
This section outlines the system configuration required to use the N:N Network.
Connect (optional) equipment operating in accordance with RS-485 to the FX PLC main unit.
1 , 2 and 3 indicate the communication equipment combination patterns.
Total extension
distance
50 m
(164' 0")
500 m
(1640' 5")
500 m
(1640' 5")
FX PLC
Communication
board
+
Communication
adapter
For communication equipment combinations for each FX Series, refer to the next page.
B-12
N:N Network
A
Applicable FX PLC and Communication Equipment
FX Series
Total extension
distance
Check
B
N:N Network
Select a (optional) communication equipment combination, and put a check mark in the "Check" column.
During selection, pay attention to the following:
- In the table below, only the external dimensions are different between the units shown in "FX2NC485ADP/FX0N-485ADP". Select either one.
- N:N Network is not provided for the FX0, FX0S, FX1, FX2(FX) and FX2C Series.
Common Items
3.2
C
Parallel Link
500 m
(1640' 5")
FX0N
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
D
Computer Link
50 m
(164' 0")
FX1N-485-BD
(European terminal block)
FX1N-CNV-BD
FX2NC-485ADP
FX1N-CNV-BD
Inverter
Communication
FX1S
500 m
(1640' 5")
FX0N-485ADP
(Terminal block)
Non-Protocol
Communication
(RS/RS2 Instruction)
50 m
(164' 0")
FX1N-485-BD
FX2NC-485ADP
FX1N-CNV-BD
500 m
(1640' 5")
FX0N-485ADP
Programming
Communication
FX1N-CNV-BD
Non-Protocol
Communication
(FX2N-232IF)
FX1N
(Terminal block)
50 m
(164' 0")
FX2N
FX2NC-485ADP
(European terminal block)
500 m
(1640' 5")
Apx.
Discontinued
models
FX2N-CNV-BD
Remote
Maintenance
FX2N-485-BD
FX2N-CNV-BD FX0N-485ADP
(Terminal block)
B-13
N:N Network
FX Series
Total extension
distance
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
ch1
+
FX3U-CNV-BD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
FX3U
ch2
RD
SD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
ch1
+
FX3U-CNV-BD
ch2
500 m
(1640' 5")
FX3U- ADP(-MB)
FX3U-485ADP(-MB)
(Where represents
232 and 485).
500 m
(1640' 5")
FX1NC
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
500 m
(1640' 5")
FX2NC
B-14
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
Check
N:N Network
A
Total extension
distance
Check
Common Items
FX Series
ch1
B
N:N Network
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
Parallel Link
ch1
FX3UC
(D, DSS)
ch2
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Computer Link
FX3U- ADP(-MB)
E
Inverter
Communication
RD A
RD
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
ch1
FX3U-485ADP(-MB)
Non-Protocol
Communication
(FX2N-232IF)
FX3U-CNV-BD
500 m
(1640' 5")
ch2
FX3UC-32MT-LT
SD
Programming
Communication
RD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
+
FX3U-CNV-BD
ch2
Remote
Maintenance
ch1
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Apx.
Discontinued
models
FX3U- ADP(-MB)
B-15
4 Wiring
N:N Network
4.
Wiring
This chapter explains the wiring.
WIRING PRECAUTIONS
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work.
Failure to do so may cause electric shock or damage to the product.
Make sure to attach the terminal cover, offered as an accessory, before turning on the power or initiating
operation after installation or wiring work.
Failure to do so may cause electric shock.
WIRING PRECAUTIONS
Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents
due to abnormal data written to the PLC under the influence of noise:
1) Do not bundle the main circuit line together with or lay it close to the main circuit, high-voltage line or load line.
Otherwise, noise disturbance and/or surge induction are likely to take place. As a guideline, lay the control line
at least 100mm (3.94") or more away from the main circuit or high-voltage line.
2) Ground the shield wire or shield of the shielded cable at one point on the PLC. However, do not use grounding
with heavy electrical systems.
Make sure to properly wire the FX0N/FX2N Series extension equipment in accordance with the following
precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should follow the specifications in this manual.
Make sure to properly wire to the European terminal board in accordance with the following precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should be follow the specifications in this manual.
- Twist the end of strand wire and make sure that there are no loose wires.
- Do not solder-plate the electric wire ends.
- Do not connect more than the specified number of wires or electric wires of unspecified size.
- Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed.
4.1
Wiring Procedure
Preparing for wiring
Prepare cables and terminal resistors required for wiring.
For details, refer to Section 4.2.
B-16
4 Wiring
4.2 Selecting Cables and Terminal Resistors
A
Selecting Cables and Terminal Resistors
Common Items
4.2
4.2.1
B
N:N Network
Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS485.
The table below shows recommended model names and manufacturers of cables used for wiring.
1. Recommended cables
Manufacturer
Model name
SPEV(SB)-MPC-0.2 3P
SPEV(SB)-0.5-2P
DPEV SB 0.3 3P
DPEV SB 0.5 3P
D-KPEV-SB 0.2 3P
D-KPEV-SB 0.5 3P
E
Inverter
Communication
Fujikura Ltd.
Computer Link
SPEV(SB)-0.2-2P
Parallel Link
Remarks
Pair
Non-Protocol
Communication
(RS/RS2 Instruction)
Shield
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-17
4 Wiring
N:N Network
4.2.2
Connecting cables
1. European type terminal block
Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS485.
The table below shows applicable cables and tightening torques.
Cable size when Cable size when
one cable is
two cables are
connected
connected
FX3U-485-BD
FX3U-485ADP
(-MB)
AWG22 to
AWG20
FX2N-485-BD
FX1N-485-BD
FX2NC-485ADP
AWG22
Tightening
torque
AWG22 to AWG20
AWG26 to AWG16
AWG26 to
AWG16
AWG26 to
AWG20
Tool size
A
0.22 to 0.25
Nm
0.4 (0.01")
2.5 (0.09")
0.6 Nm
0.6 (0.03")
3.5 (0.14")
0.4 to 0.5
Nm
0.6 (0.03")
3.5 (0.14")
With regard to the cable end treatment, use a stranded cable or solid cable as it is, or use a bar terminal with
insulating sleeve.
When using a stranded cable or solid cable as it is
- Twist the end of a stranded cable so that wires do not get barbed.
- Do not plate the end of the cable.
FX3U-485-BD, FX3U-485ADP(-MB)
FX1N-485-BD, FX2N-485-BD
Approx. 9 mm
(0.35")
FX2NC-485ADP
Approx. 6 mm
(0.23")
Model name
Caulking tool
AI 0.5-8WH
CRIMPFOX ZA 3
(or CRIMPFOX UD 6)
Approx. 8 mm
(0.31")
Insulating sleeve
Contact area
(Crimp area)
8 mm (0.31")
2.6 mm
(0.1")
14 mm
(0.55")
Tool
- When tightening a terminal on the European terminal block, use a small commercial straight shape
screwdriver whose tip is shown in the figure to the right.
Note:
If the diameter of screwdriver grip is too small, tightening torque will
not be able to be achieved. Use the following recommended
screwdriver or an appropriate replacement (grip diameter:
approximately 25mm).
Manufacturer
Phoenix Contact
B-18
Model name
SZS 0.4 2.5
Select a
screwdriver
with a
straight tip.
4 Wiring
N:N Network
A
Common Items
2. Terminal block
In the FX0N-485ADP and FX-485ADP, the terminal screw size is "M3".
Make sure to use a crimp-style terminal with the following sizes.
Make sure that the tightening torque is 0.5 to 0.8 Nm.
When wiring one cable to one terminal
6.2 mm (0.24")
or less
B
Terminal
screw
Crimp-style
terminal
N:N Network
3.2 (0.13")
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
Terminal
Parallel Link
6.3 mm (0.25")
or more
Terminal
screw
Crimp-style
terminal
D
Computer Link
6.2 mm (0.24")
or less
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
E
Inverter
Communication
4.2.3
Terminal
6.3 mm (0.25")
or more
Brown
Precision
1 1 1
=110
(101)
G
Non-Protocol
Communication
(FX2N-232IF)
330
OPEN
OPEN
110
110
Terminal
resistor selector
switch
330
OPEN
110
Terminal
resistor selector
switch
H
Programming
Communication
330
F
Non-Protocol
Communication
(RS/RS2 Instruction)
I
Remote
Maintenance
Apx.
Discontinued
models
B-19
4 Wiring
N:N Network
4.3
Connection Diagram
Use one-pair wiring for an N:N Network.
Communication
equipment in
accordance
RS-485
Terminal
resistor:
110
*3
FX3U-485-BD
FX2N-485-BD
FX1N-485-BD
FX3U-485ADP(-MB)
FX0N-485ADP
FX2NC-485ADP
SDA
SDA
SDA
SDA
SDB
SDB
SDB
SDB
RDA
RDA
RDA
RDA
RDB
RDB
RDB
RDB
LINK
SG
LINK
SG
SG
FG*2
Terminal
resistor:
110
*3
SG
Class-D grounding
(resistance: 100 or less)*1
Class-D grounding
(resistance: 100 or less)*1
*1 Make sure to perform Class-D grounding to the shield of a twisted pair cable connected to the FX2N-485-BD, FX1N-485-BD,
FX3U-485-BD, FX2NC-485-ADP or FX3U-485ADP(-MB).
*2 Make sure to connect the FG terminal to the
(grounding) terminal in the PLC requiring Class-D grounding.
If the grounding terminal is not provided in the PLC, perform Class-D grounding directly.
*3 Make sure to provide a terminal resistor at the end of each line.
The FX3U-485-BD and FX3U-485ADP(-MB) have a built-in terminal resistor. Set the terminal resistor selector switch accordingly.
The FX0N-485ADP, FX2NC-485ADP, FX2N-485-BD and FX1N-485-BD are supplied together with terminal resistors.
4.4
Grounding
Grounding should be performed as stated below.
The grounding resistance should be 100 or less.
Independent grounding should be performed for best results.
When independent grounding can not be performed, perform "shared grounding" as shown in the following
figure.
For details, refer to the Hardware Edition of each series.
PLC
Other
equipment
Independent grounding
Best condition
PLC
Other
equipment
Shared grounding
Good condition
PLC
Other
equipment
Common grounding
Not allowed
B-20
N:N Network
A
Common Items
5.
B
N:N Network
The communication setting is not required in FX PLCs for the N:N network.
Using the following procedure, verify that the communication setting is not specified for another
communication type and verify that the setting is correct.
When using the N:N Network in ch2 in an FX3U or FX3UC PLC, check D8420 using the following procedure.
Parallel Link
5.1
Check Procedure
Monitoring D8120
D
Computer Link
Turn ON the power to the PLC while it is in STOP mode, and monitor D8120.
1. When the value of D8120 is "0"
The communication setting is not provided.
Inverter
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
FNC 12
MOV
H23F6
D8120
Program example
M8002
Initial pulse
FNC 12
MOV
H0000
D8120
Programming
Communication
Changed program
I
Remote
Maintenance
Apx.
Discontinued
models
B-21
5.2
5.2.1
Operating procedure
With GX Developer open, follow the steps in this section for activating the serial communication setting
method.
If the project tree is not displayed, select [View] - [Project data list] from the toolbar.
B-22
A
Communication Settings Using Parameter Method (FXGP/WIN)
Communication setting may be changed using the parameter method with GX Developer and FXGP/WIN for
Windows. This section describes how to change parameters with FXGP/WIN.
Ch2 cannot be set using FXGP/WIN.
Operating procedure
This subsection explains the serial communication setting method. Suppose that FXGP/WIN is already
started up.
B
N:N Network
5.3.1
Common Items
5.3
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Remote
Maintenance
Select [PLC] - [Transfers] - [Write] from the toolbar, and click [OK].
Apx.
Discontinued
models
B-23
N:N Network
6.
6.1
Test Procedure
Creating programs for the communication test
Create new programs for the communication test for the master station and slave stations.
For program examples, refer to Section 6.2.
Confirming flashing of the communication status indicator lamps (SD and RD)
Confirm that the built-in SD and RD lamps of the communication equipment are flashing.
If they are off, take proper action while referring to the troubleshooting procedures described later.
Master station
B-24
N:N Network
A
Confirming the link of slave stations
Set the PLC inputs (X000 to X003) to ON or OFF in each slave station, and confirm that the outputs
(Y004 to Y007, Y010 to Y013, Y014 to Y017... Y030 to Y033) turn ON or OFF in each slave station.
Master station
N:N Network
Common Items
C
Confirm that the inputs (X000 to
X003) in the slave station No. 2
turn ON or OFF according to the
outputs (Y010 to Y013)
respectively.
Parallel Link
E
Output (Y)
X000 to X003
D0
Y000 to Y003
X000 to X003
D10
Y004 to Y007
X000 to X003
D20
Y010 to Y013
X000 to X003
D30
Y014 to Y017
X000 to X003
D40
Y020 to Y023
X000 to X003
D50
Y024 to Y027
X000 to X003
D60
Y030 to Y033
X000 to X003
D70
Y034 to Y037
G
Non-Protocol
Communication
(FX2N-232IF)
Link device
Master station
Non-Protocol
Communication
(RS/RS2 Instruction)
Input (X)
Inverter
Communication
Computer Link
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-25
6.2
6.2.1
FNC 12
MOV
K0
D8176
FNC 12
MOV
K2
D8177
FNC 12
MOV
K0
D8178
FNC 12
MOV
K3
D8179
FNC 12
MOV
K5
D8180
M8179
M8000
28
M8000
34
FNC 12
MOV
K1X000
D0
FNC 12
MOV
D10
K1Y004
FNC 12
MOV
D20
K1Y010
FNC 12
MOV
D70
K1Y034
Link device
D10
D20
D30
D40
D50
D60
D70
Output (Y)
Y004 to Y007
Y010 to Y013
Y014 to Y017
Y020 to Y023
Y024 to Y027
Y030 to Y033
Y034 to Y037
Cautions
1) When using a PLC (such as an FX1S Series PLC) with a small number of outputs, transfer information
from slave stations to auxiliary relays (M), etc., and then monitor the auxiliary relays using a programming
tool. (Example: Change "K1Y004" to "K1M4".)
2) In the circuit from step 34, create a program for link devices (MOV instruction) for all connected slave
stations.
B-26
N:N Network
A
Creating a program for each slave station.
M8038
0
FNC 12
MOV
K1
D8176
M8179
B
N:N Network
Create the program shown below for the communication test. (This program is not required during actual
operation.)
Determine the station number of each slave station, and then transfer a program corresponding to the station
number to each slave station.
Assign station numbers from "1" in the ascending order. (Use one station number only once. Do not skip
station numbers.)
Common Items
6.2.2
FNC 12
MOV
K1X000
D10
D0
K1Y000
FNC 12
MOV
D20
K1Y010
D70
K1Y014
K1Y034
Link device
D10
D20
D30
D40
D50
D60
D70
Output (Y)
Y004 to Y007
Y010 to Y013
Y014 to Y017
Y020 to Y023
Y024 to Y027
Y030 to Y033
Y034 to Y037
H
Programming
Communication
FNC 12
MOV
D30
Non-Protocol
Communication
(FX2N-232IF)
FNC 12
MOV
Non-Protocol
Communication
(RS/RS2 Instruction)
FNC 12
MOV
Inverter
Communication
M8000
14
Computer Link
Parallel Link
M8000
I
Remote
Maintenance
END
Cautions
2) In the circuit from step 14, specify link devices for other slave stations.
B-27
Apx.
Discontinued
models
1) When using a PLC (such as an FX1S Series PLC) with a small number of outputs, transfer information
from slave stations to auxiliary relays (M), etc., and then monitor the auxiliary relays using a programming
tool. (Example: Change "K1Y004" to "K1M4".)
7 Creating Programs
N:N Network
7.
Creating Programs
This chapter explains how to set the N:N Network and how to create programs.
In N:N Network, pattern 0, 1 or 2 can be set according to the refresh range value. The number of used
devices varies depending on the pattern.
In N:N Network using (including) the FX0N or FX1S Series, only pattern 0 is applicable.
7.1
Description
Set value
Parameter
setting
M8179
Channel setting
Set the channel of the communication port to be used (in the FX3U and
FX3UC).
When "OUT M8179" program does not exist: ch 1
When "OUT M8179" program exists: ch 2
D8176
Station number
settings
0 to 7
D8177
Slave station
quantity setting
1 to 7
D8178
Refresh range
setting
0 to 2
D8179
Number of
retries
0 to 10
D8180
Monitoring time
Set the time (50 to 2550 ms) for communication error in 10 ms units.
This setting is not required in PLCs working as slave stations.
[Initial value: 5]
5 to 255
M8038
B-28
Name
7 Creating Programs
N:N Network
A
These devices are used for determining errors in the N:N Network. Use them to output link errors to the
outside and interlock sequence programs.
Different devices are used between the FX1S/FX0N Series and the FX1N/FX2N/FX3U/FX1NC/FX2NC/FX3UC
Series. Use devices according to the PLCs used.
FX0N
FX1S
M504
M8183
Description
Data transfer
sequence ON
3. Link devices
D0 to D3
D10 to
D13
D20 to
D23
D30 to
D33
D40 to
D43
D50 to
D53
D60 to
D63
D70 to
D73
0 (master
station)
Bit devices
(32 points for
each station)
M1000 to
M1031
M1064 to
M1095
M1128 to
M1159
M1192 to
M1223
M1256 to
M1287
M1320 to
M1351
M1384 to
M1415
M1448 to
M1479
Word device
(4 points for
each station)
D0 to D3
D10 to
D13
D20 to
D23
D30 to
D33
D40 to
D43
D50 to
D53
D60 to
D63
D70 to
D73
0 (master
station)
Bit devices
(64 points for
each station)
M1000 to
M1063
M1064 to
M1127
M1128 to
M1191
M1192 to
M1255
M1256 to
M1319
M1320 to
M1383
M1384 to
M1447
M1448 to
M1511
Word device
(8 points for
each station)
D0 to D7
D10 to
D17
D20 to
D27
D30 to
D37
D40 to
D47
D50 to
D57
D60 to
D67
D70 to
D77
B-29
Apx.
Discontinued
models
Caution
When creating a program, do not change the information in devices used by other stations. If such
information is changed, other stations will not operate normally.
Remote
Maintenance
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
0 (master
station)
Word device
(4 points for
each station)
Inverter
Communication
These devices are used for sending and receiving information among the PLCs. The device numbers used
and number of devices vary depending on the station number set in D8176 (station number settings) and the
pattern set in D8178 (refresh range setting).
Station No.
Computer Link
*1.
Name
Parallel Link
M503
N:N Network
Device
M505 to M511*1
Common Items
7 Creating Programs
N:N Network
7.2
Parameter setting
M8038
FNC 12
MOV
K0
D8176
FNC 12
MOV
K2
D8177
FNC 12
MOV
K1
D8178
FNC 12
MOV
K3
D8179
FNC 12
MOV
K5
D8180
Channel
setting
M8179
Make sure to start the program for setting the N:N Network
from step 0.
Station number setting: 0 (master station)
Station number "0" indicates the master station.
Station No. 1
Data transfer sequence error
M8184
Y001
Y010
Station No. 2
Data transfer sequence error
M8185
B-30
7 Creating Programs
7.2 Creating Programs for Master Station (Station No. 0)
M1001
M1002
X002
B
N:N Network
M1000
X000
Common Items
M10
K4M100
K4M1010
FNC 12
MOV
D100
D0
M1064
M1065
The information from M1065 (link device) is read to Y011.
M15
M1066
K4M1070
K4Y020
FNC 12
MOV
D10
D110
M1128
M1
G
Non-Protocol
Communication
(FX2N-232IF)
Station No. 2
Data transfer
sequence error
M8148
FNC 12
MOV
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Y011
E
Inverter
Communication
M0
D
Computer Link
Station No. 1
Data transfer
sequence error
M8147
FNC 12
MOV
Parallel Link
M8000
M1129
The information from M1129 (link device) is read to Y012.
M18
M1130
K4M1140
K4M20
FNC 12
MOV
D20
D200
I
Remote
Maintenance
FNC 12
MOV
Programming
Communication
Y012
Apx.
Discontinued
models
B-31
7.3
7 Creating Programs
7.3 Creating Programs for Slave Station (Station No. "n")
Make sure to start the program for setting the N:N Network
from step 0.
Parameter setting
M8038
FNC 12
MOV
K1
D8176
Channel
setting
M8179
Y000
Y001
Station No. 2
Data transfer sequence error
M8185
M1065
M1066
X002
M10
M8000
FNC 12
MOV
K4M100
K4M1070
FNC 12
MOV
D100
D10
B-32
7 Creating Programs
7.3 Creating Programs for Slave Station (Station No. "n")
M1000
M0
M1001
The information from M1001 (link device) is read to Y011.
M15
M1002
K4Y020
FNC 12
MOV
D0
D110
D
Computer Link
K4M1010
E
M1128
M1
M1129
The information from D1129 (link device) is read to Y012.
M18
M1130
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Y012
Inverter
Communication
Station No. 2
Data transfer
sequence error
M8185
FNC 12
MOV
C
Parallel Link
Y011
B
N:N Network
Station No. 0
Data transfer
sequence error
M8183
Common Items
FNC 12
MOV
K4M1140
K4M20
FNC 12
MOV
D20
D200
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-33
7.4
7 Creating Programs
7.4 Cautions on Program Creation
B-34
N:N Network
A
Common Items
8.
N:N Network
8.1
Parallel Link
8.1.1
FX2N PLC
FX2N PLC
FX2N-485-BD
Computer Link
FX2N-485-BD
FX2N-485-BD
E
Station No. 1 (slave station)
Inverter
Communication
Data source
Master station
[2]
Master station
[3]
Master station
Data register D1
Programming
Communication
[7]
[8]
Master station
Data register D2
Output Y005
Output Y006
Master station
Apx.
Discontinued
models
[6]
Remote
Maintenance
[5]
Master station
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
8.1.2
Data register D0
Data register D0
B-35
N:N Network
8.1.3
Setting contents
The program examples shown later adopt the following communication parameters:
8.1.4
System device
Master station
Station No. 1
Station No. 2
D8176
K0
K1
K2
Contents
D8177
K2
D8178
K2
D8179
K5
Number of retries: 5
D8180
K7
Monitoring time: 70 ms
Parameter setting
M8038
FNC 12
MOV
K 0
D8176
FNC 12
MOV
K 2
D8177
FNC 12
MOV
K 2
D8178
FNC 12
MOV
K 5
D8179
FNC 12
MOV
K 7
D8180
B-36
N:N Network
A
Common Items
3. Operation program
RUN monitor
M8000
MOV
K1X000 K1M1000
Operation [1]
N:N Network
M8184
MOV
K1M1064 K1Y014
Operation [2]
MOV
K1M1128 K1Y020
Operation [3]
M8185
C
Parallel Link
M8184
MOV
K 10
D 1
Operation [4]
Computer Link
M1070
Y005
Data transfer sequence error
in slave station No. 2
M8185
K 10
D 2
Inverter
Communication
MOV
Operation [5]
M1140
Y006
Data transfer
sequence error
in slave station
No. 2
M8184
M8185
F
ADD
D 20
D 3
Operation [6]
MOV
K 10
D 0
Operation [7]
Operation [8]
G
Non-Protocol
Communication
(FX2N-232IF)
D 10
Non-Protocol
Communication
(RS/RS2 Instruction)
Data transfer
sequence
error in slave
station No. 1
END
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-37
8.1.5
Parameter setting
M8038
FNC 12
MOV
K 1
D8176
B-38
N:N Network
A
Common Items
3. Operation program
Counter reset
X001
RST
C 1
B
K1M1000 K1Y010
Operation [1]
MOV
K1X000 K1M1064
Operation [2]
MOV
K1M1128 K1Y020
Operation [3]
C
Parallel Link
MOV
N:N Network
Master station
Data transfer sequence error
M8183
Data transfer
sequence error in
slave station No. 2
M8185
D
Computer Link
Counter input
X000
C1
D1
C1
Y005
Operation [4]
E
Data transfer
sequence
error in slave Slave station No. 2
station No. 2 C2 contact
M8185
M1140
Y006
Operation [5]
K 10
D 10
Operation [6]
Operation [8]
D 0
D 20
D 11
Operation [7]
F
Non-Protocol
Communication
(RS/RS2 Instruction)
MOV
Data transfer
sequence
error in slave
station No. 2
M8185
ADD
Inverter
Communication
M1070
G
Non-Protocol
Communication
(FX2N-232IF)
END
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-39
8.1.6
Parameter setting
M8038
FNC 12
MOV
K 2
D8176
B-40
N:N Network
A
Common Items
3. Operation program
Counter reset
X001
RST
C 2
B
MOV
K1M1000 K1Y010
N:N Network
Master station
Data transfer sequence error
M8183
Operation [1]
Data transfer
sequence error in
slave station No. 1
M8184
MOV
K1M1064 K1Y014
Operation [2]
MOV
K1X000 K1M1128
Operation [3]
Parallel Link
Computer Link
Data transfer
sequence
error in slave
station No. 1
M8184
Operation [4]
Counter input
X000
E
Inverter
Communication
C2
D2
C2
Y006
Operation [5]
F
MOV
K 10
D 20
Data transfer
sequence
error in slave
station No. 1
M8184
Non-Protocol
Communication
(RS/RS2 Instruction)
M1140
Operation [6]
Operation [7]
G
D 0
D 10
D 21
Non-Protocol
Communication
(FX2N-232IF)
ADD
Operation [8]
H
Programming
Communication
END
I
Remote
Maintenance
Apx.
Discontinued
models
B-41
9 Troubleshooting
N:N Network
9.
Troubleshooting
This chapter explains troubleshooting.
9.1
9.2
Operation status
RD
SD
Flashing
Flashing
Flashing
Off
Off
Flashing
Off
Off
While the N:N Network is executed normally, both LEDs flash brightly.
If they do not flash, check the wiring and the communication setting in the master and slave stations.
9.3
3. Wiring
Verify that the wiring to all communication equipment is correct. If the communication equipment is wired
incorrectly, communication is not possible.
For wiring method check, refer to Chapter 4.
9.4
B-42
9 Troubleshooting
N:N Network
A
Verify that the communication settings using parameters are suitable for use. Do not set parameters for the
N:N Network. If the communication settings are not suitable for use, communication will not function correctly.
After changing a setting, make sure to reboot the PLCs power.
For the communication setting, refer to Chapter 5.
Common Items
B
N:N Network
3. Presence of VRRD and VRSC instructions (except FX3U and FX3UC PLCs)
Verify that the VRRD and VRSC instructions are not used in the program.
If these instructions are used, delete them, reboot the PLCs power.
C
Parallel Link
7. Presence of IVCK, IVDR, IVRD, IVWR, and IVBWR instructions (in FX3U and FX3UC PLCs)
Verify that the IVCK, IVDR, IVRD, IVWR and IVBWR instructions are not being used for the same channel.
If these instructions are used for the same channel, delete them, reboot the PLCs power.
Computer Link
E
Checking Setting Contents and Errors
Inverter
Communication
9.5
Device
Name
Description
D8173
D8174
D8175
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
If the correct contents are not stored in the devices above, check the sequence program.
Name
Description
M8063
M8438
Programming
Communication
Device
I
Remote
Maintenance
Apx.
Discontinued
models
B-43
9 Troubleshooting
9.6 Checking Absence/Presence of Data Transfer Errors
2) Error codes
When the serial communication error flag turns ON, the error code is stored in the device specified in the
table below.
Device
9.6
Name
Error code
D8063
6308
D8438
3808
Description
N:N Network parameter setting error
9.6.1
9.6.2
FX Series
Device
M8191
FX0N, FX1S
M503
Name
Description
9.6.3
FX Series
Master
station
Slave
station
No. 1
Slave
station
No. 2
Slave
station
No. 3
Slave
station
No. 4
Slave
station
No. 5
Slave
station
No. 6
Slave
station
No. 7
M8183
M8184
M8185
M8186
M8187
M8188
M8189
M8190
FX0N, FX1S
M504
M505
M506
M507
M508
M509
M510
M511
B-44
FX Series
Master
station
Slave
station
No. 1
Slave
station
No. 2
Slave
station
No. 3
Slave
station
No. 4
Slave
station
No. 5
Slave
station
No. 6
Slave
station
No. 7
D8211
D8212
D8213
D8214
D8215
D8216
D8217
D8218
FX0N, FX1S
D211
D212
D213
D214
D215
D216
D217
D218
9 Troubleshooting
9.6 Checking Absence/Presence of Data Transfer Errors
A
The data register for storing the data transfer error code stores the corresponding error code. When a data
transfer sequence error occurs, refer to the error code list shown below, and confirm the check points.
Error
code
Error name
Contents of error
Check point
01H
Monitoring timeout
02H
Station number
error
03H
Counter error
04H
Message format
error
M, L
Wiring, power
The message given by the slave station
supply and station
is incorrect.
number settings
11H
Monitoring timeout
14H
Message format
error
Wiring, power
The message from the master station is
supply and station
incorrect.
number settings
21H
Slave station no
response error
L*1
Wiring, power
The specified slave station does not exist. supply and station
number settings
22H
Station number
error
*1
23H
Counter error
L*1
31H
Parameter not
received
L*2
C
Parallel Link
Computer Link
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
*2.
E
Inverter
Communication
Any slave station other than the slave station in which error occurred
B
N:N Network
Station
Station
in which
which
error
detected
occurred
error
Common Items
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-45
10 Related Data
N:N Network
10.1.1 For FX1N, FX2N, FX3U, FX1NC, FX2NC, and FX3UC PLCs
1. Bit devices
Device
number
Name
Description
Initial
value
Detection
R/W
Parameter setting
M, L
M8179
Channel setting
M, L
R/W
M, L
M8438
M, L
M8183
Data transfer
sequence error
M8184
to M8190
Data transfer
sequence error
M, L
Data transfer
sequence ON
M, L
M8191
R
R/W
M
L
B-46
10 Related Data
N:N Network
A
Common Items
B
N:N Network
C
Slave station
No. 1
Slave station
No. 2
Slave station
No. 3
Slave station
No. 4
Slave station
No. 5
Slave station
No. 6
Slave station
No. 7
Parallel Link
Master
station
D
Computer Link
E
Inverter
Communication
F
M8185
M8186
M8187
M8188
M8189
M8190
Non-Protocol
Communication
(RS/RS2 Instruction)
M8184
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-47
10 Related Data
N:N Network
Name
Description
Initial
value
Detection
R/W
Corresponding station
number settings status
M, L
D8174
M, L
D8175
M, L
D8063
Serial communication
error code 1 (ch 1)
M, L
D8438
Serial communication
error code 2 (ch 2)
M, L
Corresponding station
number settings
M, L
R/W
D8177
R/W
D8178
R/W
D8179
Number of retries
R/W
D8180
Monitoring time
R/W
D8202
Maximum link scan time Maximum value of the network cycle time
D8203
D8204
to D8210
M, L
D8211
D8212
to D8218
M, L
R
R/W
M
L
B-48
10 Related Data
N:N Network
A
Slave station
No. 1
Slave station
No. 2
Slave station
No. 3
Slave station
No. 4
Slave station
No. 5
Slave station
No. 6
Slave station
No. 7
Common Items
Master
station
B
N:N Network
C
Parallel Link
Inverter
Communication
Computer Link
F
D8206
D8207
D8208
D8209
D8210
D8212
D8213
D8214
D8215
D8216
D8217
D8218
G
Non-Protocol
Communication
(FX2N-232IF)
D8205
Non-Protocol
Communication
(RS/RS2 Instruction)
D8204
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-49
10 Related Data
N:N Network
Initial
value
Detection
R/W
M, L
M, L
M, L
Initial
value
Detection
R/W
M, L
Name
Description
Parameter setting
M503
Name
Description
Corresponding station
number settings status
D8174
M, L
D8175
M, L
Corresponding station
number settings
M, L
R/W
D8177
R/W
D8178
R/W
D8179
Number of retries
R/W
D8180
Monitoring time
R/W
D202
D203
Data transfer sequence error Stores the amount of data sequence errors
count
that occurred in the master station.
M, L
D211
Data transmission error code Stores the error code for the master station.
M, L
B-50
10 Related Data
N:N Network
Slave station Slave station Slave station Slave station Slave station Slave station Slave station
No. 1
No. 2
No. 3
No. 4
No. 5
No. 6
No. 7
Common Items
Master
station
B
N:N Network
C
M506
M507
M508
M509
M510
M511
Parallel Link
M505
D
Slave station Slave station Slave station Slave station Slave station Slave station Slave station
No. 1
No. 2
No. 3
No. 4
No. 5
No. 6
No. 7
Computer Link
Master
station
E
Inverter
Communication
D204
D205
D206
D207
D208
D209
D210
D212
D213
D214
D215
D216
D217
D218
I
Remote
Maintenance
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
Apx.
Discontinued
models
B-51
10.2
10 Related Data
10.2 Details of Related Devices
2. Detailed contents
"LD M8038" provided in step 0 starts the parameter setting, and the last instruction in this circuit block finishes
the setting.
(This sequence program is not executed in every scan cycle.)
3. Cautions on use
Do not set this device to ON using a program or programming tool.
2. Detailed contents
When using ch 2 as the communication port, set this device to ON in the sequence program.
When using ch 1, the sequence program is not required.
2. Detailed contents
M8063 turns ON when an error is included in the parameters used to set N:N Network using ch 1.
M8438 turns ON when an error is included in the parameters used to set N:N Network using ch 2.
3. Cautions on use
Do not set these devices to ON using a program or programming tool.
B-52
10 Related Data
N:N Network
A
These devices turn ON when a data transfer sequence error occurs in the master station or a slave station.
B
N:N Network
2. Detailed contents
A used device varies depending on the FX Series.
Master
station
Slave
station
No. 1
Slave
station
No. 2
Slave
station
No. 3
Slave
station
No. 4
Slave
station
No. 5
Slave
station
No. 6
Slave
station
No. 7
M8183
M8184
M8185
M8186
M8187
M8188
M8189
M8190
FX0N, FX1S
M504
M505
M506
M507
M508
M509
M510
M511
3. Cautions on use
D
Computer Link
E
Inverter
Communication
2. Detailed contents
The device used varies depending on the FX Series.
M8191
FX0N, FX1S
M503
F
Non-Protocol
Communication
(RS/RS2 Instruction)
C
Parallel Link
FX Series
FX Series
Common Items
3. Cautions on use
Non-Protocol
Communication
(FX2N-232IF)
Programming
Communication
Setting is required for the master station and slave stations to check the error code.
2. Detailed contents
The error code of the serial communication error that occurred in ch 1 is stored in D8063.
If an error is included in the parameters used for the N:N Network, "6308" is stored.
The error code of the serial communication error that occurred in ch 2 is stored in D8438.
If an error is included in the parameters used for the N:N Network, "3808" is stored.
Serial communication errors are not cleared even after communication has recovered its normal status. To
clear them, switch the PLC mode from STOP to RUN.
Remote
Maintenance
3. Cautions on use
Apx.
Discontinued
models
B-53
10 Related Data
N:N Network
2. Detailed contents
The contents stored in the corresponding station number settings device D8176 are stored in D8173.
3. Cautions on use
Do not change the preset numeric value using a program or programming tool.
2. Detailed contents
The contents stored in the slave station quantity setting device D8177 in the master station are stored in
D8174.
3. Cautions on use
Do not change a preset numeric value using a program or programming tool.
2. Detailed contents
The contents stored in the refresh range setting device D8178 in the master station are stored in D8175.
3. Cautions on use
Do not change a preset numeric value using a program or programming tool.
2. Detailed contents
Set value
0
1 to 7
B-54
Description
Master station
Slave station number
Examples: "1" Station No. 1, "5" Station No. 5
10 Related Data
N:N Network
A
Common Items
B
N:N Network
2. Detailed contents
Set value
Description
Set value
Description
Not applicable
Set a value ranging from 0 to 2 to the special data register D8178 (initial value: 0).
Computer Link
Pattern 0 (0)
Pattern 2 (2)
FX0N PLC
Not applicable
Not applicable
FX1S PLC
Not applicable
Not applicable
E
Inverter
Communication
Pattern 1 (1)
FX1N PLC
FX2N PLC
FX3U PLC
Non-Protocol
Communication
(RS/RS2 Instruction)
FX1NC PLC
FX2NC PLC
FX3UC PLC
Pattern 0
Pattern 1
Pattern 2
Word device
(D)
Bit device
(M)
Word device
(D)
Bit device
(M)
Word device
(D)
4 in each
station
32 in each
station
4 in each
station
64 in each
station
8 in each
station
D 0 to D 3
M1000 to M1031
D 0 to D 3
M1000 to M1063
D 0 to D 7
D10 to D13
M1064 to M1095
D10 to D13
M1064 to M1127
D10 to D17
D20 to D23
M1128 to M1159
D20 to D23
M1128 to M1191
D20 to D27
D30 to D33
M1192 to M1223
D30 to D33
M1192 to M1255
D30 to D37
D40 to D43
M1256 to M1287
D40 to D43
M1256 to M1319
D40 to D47
D50 to D53
M1320 to M1351
D50 to D53
M1320 to M1383
D50 to D57
D60 to D63
M1384 to M1415
D60 to D63
M1384 to M1447
D60 to D67
D70 to D73
M1448 to M1479
D70 to D73
M1448 to M1511
D70 to D77
I
Remote
Maintenance
H
Programming
Communication
Bit device
(M)
G
Non-Protocol
Communication
(FX2N-232IF)
The number of link devices varies depending on the selected pattern, but the head device number remains
the same.
It is recommended to leave unused numbers in the unused status to enable pattern change in the future.
Station
No.
C
Parallel Link
Apx.
Discontinued
models
B-55
10 Related Data
10.2 Details of Related Devices
4. Cautions on use
1) Cautions on using FX1S and FX0N PLCs
When FX1S and/or FX0N PLCs are included in the system, make sure to set the refresh range to pattern
0.
If any other pattern is selected, data transfer error will occur in all FX1S and FX0N PLCs included in the
system, and the link time will become longer.
2) Occupied devices
The devices used in each pattern are occupied for the N:N Network in all stations.
Make sure that such devices are not used in general programs.
2. Detailed contents
When any response is not given after the specified number of retries, the irresponsive station is regarded as
having a data transfer sequence error by other stations.
2. Detailed contents
If data transfer between the master station and a slave station requires time longer than the monitoring time
set here, the master station or slave station is regarded as abnormal.
2. Detailed contents
The device used varies depending on the FX Series.
FX Series
D8201
FX0N, FX1S
D201
3. Cautions on use
Do not change the preset numeric value using a program or programming tool.
B-56
10 Related Data
N:N Network
A
Common Items
B
N:N Network
2. Detailed contents
The device used varies depending on the FX Series.
FX Series
D8202
FX0N, FX1S
D202
C
Parallel Link
3. Cautions on use
Do not change the preset numeric value using a program or programming tool.
10.2.17 Data transfer sequence error count [D8203 to D8210] [D203 to D210]
Computer Link
These devices store the amount of data transfer sequence errors that occurred in the master station and
slave stations.
2. Detailed contents
The device used varies depending on the FX Series.
Master
station
Slave
station
No. 1
Slave
station
No. 2
Slave
station
No. 3
Slave
station
No. 4
Slave
station
No. 5
Slave
station
No. 6
Slave
station
No. 7
D8203
D8204
D8205
D8206
D8207
D8208
D8209
D8210
FX0N, FX1S
D203
D204
D205
D206
D207
D208
D209
D210
3. Cautions on use
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX Series
Inverter
Communication
G
Non-Protocol
Communication
(FX2N-232IF)
Data transfer sequence errors that occurred within the station itself cannot be detected.
Do not change a preset numeric value using the program or programming tool.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
B-57
10 Related Data
N:N Network
2. Detailed contents
1) The device used varies depending on the FX Series.
FX Series
Master
station
Slave
station
No. 1
Slave
station
No. 2
Slave
station
No. 3
Slave
station
No. 4
Slave
station
No. 5
Slave
station
No. 6
Slave
station
No. 7
D8211
D8212
D8213
D8214
D8215
D8216
D8217
D8218
FX0N, FX1S
D211
D212
D213
D214
D215
D216
D217
D218
Error name
Station
Station
in which
which
error
detected
occurred
error
Contents of error
01H
Monitoring timeout
02H
Station number
error
03H
Counter error
04H
Message format
error
M, L
Wiring, power
The message given by the slave station
supply and station
is incorrect.
number settings
11H
Monitoring timeout
14H
Message format
error
Wiring, power
The message from the master station is
supply and station
incorrect.
number settings
21H
Slave station no
response error
L*1
Wiring, power
The specified slave station does not exist. supply and station
number settings
22H
Station number
error
L*1
23H
Counter error
L*1
31H
Parameter not
received
L*2
Any slave station other than the slave station in which error occurred
*2.
3. Cautions on use
Data transfer sequence errors that occurred within the station itself cannot be detected.
Do not change the preset numeric value using a program or programming tool.
B-58
Check point
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
C-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
Remote
Maintenance
This manual explains "parallel link" provided for the MELSEC-F FX Series Programmable Controllers and
should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
C-2
1 Outline
Parallel Link
A
Common Items
1.
Outline
N:N Network
1.1
Outline of System
The parallel link allows connection between two FX PLCs of the same series to mutually link devices.
2 units
500 m (1640' 5") [50 m (164' 0") when 485BD is used]
FX PLC
For specifications,
refer to Chapter 2.
FX PLC
Inverter
Communication
To check applicable
....... PLC models,
+
Communication
equipment operating
in accordance with
RS-485
Master station
Bit devices
.......
For selection,
refer to Chapter 3.
.......
For wiring,
refer to Chapter 4.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
+
Communication
equipment operating
in accordance with
RS-485
Slave station
Transfer direction
Bit devices
D
Computer Link
System
C
Parallel Link
1) According to the number of devices to be linked, either pattern can be selected between the regular mode
and the high speed mode.
M900 to M999
M900 to M999
Word devices
Word devices
D490 to D499
D490 to D499
D500 to D509
D500 to D509
The figure above shows the maximum number of linked devices. There are differences in the specifications and
limitation depending on the selected link pattern and FX Series.
Non-Protocol
Communication
(FX2N-232IF)
M800 to M899
Programming
Communication
M800 to M899
I
Remote
Maintenance
Apx.
Discontinued
models
C-3
1.2
1 Outline
1.2 Procedures Before Operation
Parallel link
Refer to Chapter 1.
Outline
Refer to Chapter 2.
Check communication specifications.
Refer to Chapter 3.
Determine system configuration and selection.
Outline of system
Applicable PLC versions
Applicable programming tools
Communication specifications
Number of link points and link time
Number of system devices
System configuration
Select communication equipment.
Refer to Chapter 4.
Perform wiring.
Wiring procedure
Wiring using twisted cables
Wiring example
Programming tool
Connect PLC*1
Refer to Chapter 5.
Perform PLC communication setting
(initialization).
Turn ON power.
Refer to Chapter 6.
Communication test
Create test programs.
Refer to Chapter 7.
Create programs.
*1 For the programming tool to PLC connection procedure, refer to the "Programming Communication" section in this
manual or the respective programming tool manual.
For details on operating procedures, refer to the respective programming tool manual.
C-4
1 Outline
Parallel Link
A
Communication Type Applicability in PLC
1.3.1
Applicable versions
Common Items
1.3
PLC
Remarks
B
N:N Network
FX2NC Series
Parallel Link
FX2N Series
FX1NC Series
FX1N Series
FX1S Series
FX0N Series
FX0 Series
FX2C Series
FX2(FX) Series
1. Version check
The D8001(decimal) special data register contains information for determining the PLC version.
D8001
Non-Protocol
Communication
(RS/RS2 Instruction)
1.3.2
Remarks
FX0 Series
FX2C Series
FX1 Series
H
Programming
Communication
FX2(FX) Series
Non-Protocol
Communication
(FX2N-232IF)
The table below shows FX series whose production (main unit, communication equipment, etc.) was stopped.
Use the description on system configuration, etc. in this manual for maintenance.
PLC
E
Inverter
Communication
FX1 Series
Computer Link
FX0S Series
I
Remote
Maintenance
Apx.
Discontinued
models
C-5
1 Outline
1.4 Programming Tool Applicability
1.4
1.4.1
1. Japanese versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS/WIN
SW0PC-FXGP/WIN
FX-PCS-KIT/98
SW1PC-FXGP/98(-3,-5)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-PCS-KIT/V-3
SW1-PC-FXGP/V3
FX-A7PHP-KIT
SW1RX-GPPFX
FX-20P(-SET0)
FX-20P-MFXC
FX-10P(-SET0)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-20P(-SET0)
FX-20P-MFXD
FX-10P(-SET0)
C-6
1 Outline
1.4 Programming Tool Applicability
A
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
N:N Network
GX Developer
SW D5C(F)-GPPW-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXC-E
FX-10P-E
D
F940WGOT-TWD-E (Ver. 1.00 or later)
(Refer to right column.) F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later)
F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver. 1.00 or later)
F940GOT-LBD-RH-E, F940GOT-SBD-RH-E (Ver. 1.00 or later)
Computer Link
C
Parallel Link
GX Developer
SW D5C(F)-GPPW-E
Common Items
2. English versions
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXD-E
FX-10P-E
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
GX Developer
SW D5C(F)-GPPW-E
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-7
1 Outline
Parallel Link
1.4.2
FX3UC
FX3U Series
FX3UC, FX3U
FX2NC Series
FX2NC, FX2N
FX2N Series
FX3UC Series
FX2N
FX2(FX)
FX2N
FX2(FX)
FX2(FX)
FX2N
FX2(FX)
FX1NC Series
FX1NC, FX1N
FX2N
FX2(FX)
FX1N Series
FX1N
FX2N
FX2(FX)
FX1S Series
FX1S
FX2(FX)
FX0N Series
FX0N
FX2(FX)
FX0S Series
FX0S
FX2(FX)
FX0 Series
FX0
FX2(FX)
FX2C Series
FX2C, FX2(FX)
FX2(FX)
FX2(FX)
FX2(FX)
FX2(FX) Series
FX1 Series
C-8
Model to be set
FX1
2 Specifications
Parallel Link
A
Common Items
2.
Specifications
This chapter explains the communication specifications and performance of the parallel link.
N:N Network
2.1
2 maximum (1:1)
Transmission standard
Parallel Link
Item
Remarks
FX3UC Series
Computer Link
FX3U Series
FX2NC Series
FX2N Series
FX1NC Series
FX1N Series
Inverter
Communication
FX1S Series
FX0N Series
FX2C Series
FX2(FX) Series
Communication method
Half-duplex,
bidirectional communication
Baud rate
Fixed
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Protocol type
Control procedure
Character format
Data bit
Non-Protocol
Communication
(FX2N-232IF)
Start bit
Fixed
Parity bit
Stop bit
Header
Fixed
Control line
Sum check
Fixed
Programming
Communication
Terminator
I
Remote
Maintenance
Apx.
Discontinued
models
C-9
2 Specifications
Parallel Link
2.2
Link Specifications
2.2.1
FX3UC Series
FX3U Series
FX2NC Series
FX2N Series
FX1NC Series
FX1N Series
FX1S Series
FX0N Series
FX0S Series
FX0
2.2.2
Series
FX2C Series
FX2(FX) Series
Link time
The link time indicates the cycle time in which link devices are updated.
The link time varies depending on the link mode as shown in the tables below.
Time
15 ms + Master station operation cycle (ms) + Slave station operation cycle (ms)
5 ms + Master station operation cycle (ms) + Slave station operation cycle (ms)
2. For FX2(FX), FX2C, FX0N, FX1S, FX1N, FX2N, FX1NC and FX2NC Series
Link mode
C-10
Time
70 ms + Master station operation cycle (ms) + Slave station operation cycle (ms)
20 ms + Master station operation cycle (ms) + Slave station operation cycle (ms)
2 Specifications
Parallel Link
A
Link Device Numbers and Number of Points
2.3.1
Mode
Type
50 in each station
10 in each station
2 in each station
Master station
M400 to M449
D230 to D239
D230, D231
Slave station
M450 to M499
D240 to D249
D240, D241
FX1S, FX0N
FX1S, FX0N
M400 to M449
M450 to M499
M8070
RUN
monitor
D240 to D249
Automatic update
M400 to M449
M450 to M499
D230 to D239
D240 to D249
M8000
M8071
RUN
monitor
Master station
FX1S, FX0N
M8000
M8070
RUN
monitor
Master station
M8162
M8071
D230, D231
D240, D241
Automatic update
D240, D241
Slave station
M8162
G
Non-Protocol
Communication
(FX2N-232IF)
D230, D231
RUN
monitor
F
Non-Protocol
Communication
(RS/RS2 Instruction)
M8000
E
Inverter
Communication
Slave station
Computer Link
D230 to D239
M8000
Automatic update
C
Parallel Link
N:N Network
Common Items
2.3
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-11
2 Specifications
Parallel Link
2.3.2
For FX2(FX), FX2C, FX1N, FX2N, FX3U, FX1NC, FX2NC and FX3UC Series
Regular parallel link mode
Mode
Type
10 in each station
2 in each station
Master station
M800 to M899
D490 to D499
D490, D491
Slave station
M900 to M999
D500 to D509
D500, D501
M800 to M899
M900 to M999
D490 to D499
M8000
M8070
RUN
monitor
D500 to D509
Automatic update
Automatic update
FX3U, FX3UC
FX2N, FX2NC
FX1N, FX1NC
FX2(FX), FX2C
M800 to M899
M900 to M999
D490 to D499
D500 to D509
M8000
M8071
RUN
monitor
Master station
Slave station
FX3U, FX3UC
FX2N, FX2NC
FX1N, FX1NC
FX2(FX), FX2C
M8000
M8070
RUN
monitor
Master station
M8162
M8071
D490, D491
D500, D501
Automatic update
C-12
D490, D491
D500, D501
RUN
monitor
Slave station
M8162
Parallel Link
A
Common Items
3.
3.1
System Configuration
3.1.1
C
Parallel Link
This section outlines the system configuration required to use the parallel link.
Add (optional) communication equipment operating in accordance with RS-485 to an FX PLC main unit.
B
N:N Network
This chapter explains the configuration of communication equipment operating in accordance with RS-485
and the system selection required by FX PLCs.
When using the parallel link, PLCs in the same group can be connected as shown in the table below.
Group
PLC Series
FX1S Series
FX0N Series
Computer Link
E
Inverter
Communication
1
2
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-13
Parallel Link
3.2
FX PLC
Total extension
distance
1
RDA
RD
RDB
SDA
SD
SDB
SG
Communication
board
FX3U Series
50 m
(164' 0")
500 m
(1640' 5")
500 m
(1640' 5")
RDA
RD
RDB
SDA
SD
SDB
SG
Communication
board
FX3UC Series
+
Communication
adapter
+
Communication
adapter
FX3U Series
Expansion
board
+
Expansion
board
FX3UC-32MT-LT
+
Communication
adapter
FX3UC Series
(D, DSS)
For communication equipment combinations for each FX Series, refer to the next section.
C-14
Parallel Link
A
Communication equipment operating
in accordance with RS-485
FX PLC
Total extension
distance
Communication
board
FX2N Series
+
Special adapter
connection board
500 m
(1640' 5")
500 m
(1640' 5")
FX2N Series
+
FX2NC Series
For communication equipment combinations for each FX Series, refer to the next section.
50 m
(164' 0")
500 m
(1640' 5")
500 m
(1640' 5")
FX1N Series
Total extension
distance
FX1N Series
+
FX1NC Series
For communication equipment combinations for each FX Series, refer to the next section.
H
Programming
Communication
Communication
adapter
Non-Protocol
Communication
(FX2N-232IF)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Communication
board
Inverter
Communication
Computer Link
Communication
adapter
Parallel Link
Communication
adapter
50 m
(164' 0")
N:N Network
Common Items
I
Remote
Maintenance
Apx.
Discontinued
models
C-15
Parallel Link
FX PLC
Total extension
distance
+
Communication
board
50 m
(164' 0")
500 m
(1640' 5")
FX1S Series
FX1S Series
For communication equipment combinations for each FX Series, refer to the next section.
FX PLC
Total extension
distance
500 m
(1640' 5")
+
FX0N Series
Communication
adapter
For communication equipment combinations for each FX Series, refer to the next section.
FX PLC
+
Communication
adapter
Total extension
distance
50 m
(164' 0")
FX2(FX)/FX2C Series
+
Communication
adapter
10 m
(32' 9")
FX2(FX)/FX2C Series
For communication equipment combinations for each FX Series, refer to the next section.
C-16
Parallel Link
A
Applicable FX PLC and Communication Equipment
FX Series
Total extension
distance
Check
B
N:N Network
Select a (optional) communication equipment combination, and put a check mark in the "Check" column.
During selection, pay attention to the following:
- In the table below, only the external dimensions are different between the units shown in "FX2NC485ADP/FX0N-485ADP". Select either one.
- The parallel link is not provided for the FX0, FX0S and FX1 Series.
Common Items
3.3
C
Parallel Link
500 m
(1640' 5")
FX0N
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
D
Computer Link
50 m
(164' 0")
FX1N-485-BD
(European terminal block)
FX1N-CNV-BD
FX2NC-485ADP
FX1N-CNV-BD
Inverter
Communication
FX1S
500 m
(1640' 5")
FX0N-485ADP
(Terminal block)
Non-Protocol
Communication
(RS/RS2 Instruction)
50 m
(164' 0")
FX1N-485-BD
FX2NC-485ADP
FX1N-CNV-BD
500 m
(1640' 5")
FX0N-485ADP
Programming
Communication
FX1N-CNV-BD
Non-Protocol
Communication
(FX2N-232IF)
FX1N
(Terminal block)
50 m
(164' 0")
FX2N
FX2NC-485ADP
(European terminal block)
500 m
(1640' 5")
Apx.
Discontinued
models
FX2N-CNV-BD
Remote
Maintenance
FX2N-485-BD
FX2N-CNV-BD FX0N-485ADP
(Terminal block)
C-17
Parallel Link
FX Series
Total extension
distance
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
ch1
+
FX3U-CNV-BD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
ch2
FX3U
RD
SD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
ch1
+
FX3U-CNV-BD
ch2
500 m
(1640' 5")
FX3U- ADP(-MB)
FX3U-485ADP(-MB)
(Where represents
232 and 485).
500 m
(1640' 5")
FX1NC
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
500 m
(1640' 5")
FX2NC
C-18
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
Check
Parallel Link
A
Total extension
distance
Check
Common Items
FX Series
ch1
B
N:N Network
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
Parallel Link
ch1
FX3UC
(D, DSS)
ch2
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Computer Link
FX3U- ADP(-MB)
ch1
Inverter
Communication
RD A
RD
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
ch1
FX3U-485ADP(-MB)
Non-Protocol
Communication
(FX2N-232IF)
FX3U-CNV-BD
500 m
(1640' 5")
ch2
FX3UC-32MT-LT
SD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
FX3U-CNV-BD
ch2
Remote
Maintenance
ch1
Programming
Communication
RD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Apx.
Discontinued
models
FX3U- ADP(-MB)
C-19
FX Series
Total extension
distance
50 m
(164' 0")
FX2-40AP
(for optical fiber)
FX2(FX)
10 m
(32' 9")
FX2-40AW
(for wire link)
50 m
(164' 0")
FX2-40AP
(for optical fiber)
FX2C
10 m
(32' 9")
FX2-40AW
(for wire link)
C-20
Check
4 Wiring
Parallel Link
A
Common Items
4.
Wiring
N:N Network
WIRING PRECAUTIONS
WIRING PRECAUTIONS
Programming
Communication
Before starting any wiring work, make sure that the power to the PLC is OFF.
Remote
Maintenance
Apx.
C-21
Discontinued
models
Computer Link
G
Non-Protocol
Communication
(FX2N-232IF)
Wiring Procedure
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents
due to abnormal data written to the PLC under the influence of noise:
1) Do not bundle the main circuit line together with or lay it close to the main circuit, high-voltage line or load line.
Otherwise, noise disturbance and/or surge induction are likely to take place. As a guideline, lay the control line
at least 100mm (3.94") or more away from the main circuit or high-voltage line.
2) Ground the shield wire or shield of the shielded cable at one point on the PLC. However, do not use grounding
with heavy electrical systems.
Make sure to properly wire the FX0N/FX2N Series extension equipment in accordance with the following
precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should follow the specifications in this manual.
Make sure to properly wire to the European terminal board in accordance with the following precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should be follow the specifications in this manual.
- Twist the end of strand wire and make sure that there are no loose wires.
- Do not solder-plate the electric wire ends.
- Do not connect more than the specified number of wires or electric wires of unspecified size.
- Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed.
4.1
C
Parallel Link
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work.
Failure to do so may cause electric shock or damage to the product.
Make sure to attach the terminal cover, offered as an accessory, before turning on the power or initiating
operation after installation or wiring work.
Failure to do so may cause electric shock.
4.2
4 Wiring
4.2 Selecting Cables and Terminal Resistors
4.2.1
1. Recommended cables
Manufacturer
Model name
Fujikura Ltd.
SPEV(SB)-0.2-2P
SPEV(SB)-MPC-0.2 3P
SPEV(SB)-0.5-2P
DPEV SB 0.3 3P
DPEV SB 0.5 3P
D-KPEV-SB 0.2 3P
D-KPEV-SB 0.5 3P
C-22
Remarks
4 Wiring
Parallel Link
A
Connecting cables
1. European type terminal block
Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS485.
The table below shows applicable cables and tightening torques.
FX3U-485-BD
FX3U-485ADP
(-MB)
AWG22 to
AWG20
FX2NC-485ADP
Tightening
torque
AWG22 to AWG20
AWG26 to AWG16
AWG26 to
AWG16
AWG26 to
AWG20
Tool size
A
0.22 to 0.25
Nm
0.4 (0.01")
2.5 (0.09")
0.6 Nm
0.6 (0.03")
3.5 (0.14")
0.4 to 0.5
Nm
0.6 (0.03")
3.5 (0.14")
FX1N-485-BD, FX2N-485-BD
Approx. 6 mm
(0.23")
Manufacturer
Phoenix Contact
Model name
Caulking tool
AI 0.5-8WH
CRIMPFOX ZA 3
(or CRIMPFOX UD 6)
Approx. 8 mm
(0.31")
Insulating sleeve
Contact area
(Crimp area)
8 mm (0.31")
2.6 mm
(0.1")
14 mm
(0.55")
Manufacturer
Model name
SZS 0.4 2.5
Select a
screwdriver
with a
straight tip.
H
Programming
Communication
Note:
If the diameter of screwdriver grip is too small, tightening torque will
not be able to be achieved. Use the following recommended
screwdriver or an appropriate replacement (grip diameter:
approximately 25mm).
Non-Protocol
Communication
(FX2N-232IF)
Tool
- When tightening a terminal on the European terminal block, use a small commercial straight shape
screwdriver whose tip is shown in the figure to the right.
Phoenix Contact
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
Approx. 9 mm
(0.35")
FX2NC-485ADP
D
Computer Link
With regard to the cable end treatment, use a stranded cable or solid cable as it is, or use a bar terminal with
insulating sleeve.
C
Parallel Link
FX2N-485-BD
FX1N-485-BD
AWG22
B
N:N Network
Common Items
4.2.2
I
Remote
Maintenance
Apx.
Discontinued
models
C-23
4 Wiring
4.2 Selecting Cables and Terminal Resistors
2. Terminal block
In the FX0N-485ADP and FX-485ADP, the terminal screw size is "M3".
Make sure to use a crimp-style terminal with the following sizes.
Make sure that the tightening torque is 0.5 to 0.8 Nm.
When wiring one cable to one terminal
3.2 (0.13")
Terminal
screw
6.2 mm (0.24")
or less
Crimp-style
terminal
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
Terminal
6.3 mm (0.25")
or more
Terminal
screw
Crimp-style
terminal
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
4.2.3
Terminal
6.3 mm (0.25")
or more
1. Cable types
Cable
F-OFC-M10
Length
Remarks
10 m (32' 9")
F-OFC-M30
30 m (98' 5")
F-OFC-M50
50 m (164' 0")
2. Cautions on wiring
Separate the optical connector from strong electric cables as much as possible.
Connect devices with the smallest load to the output terminals Y000 to Y003 which are located near the
optical connector.
C-24
4 Wiring
4.2 Selecting Cables and Terminal Resistors
A
Connecting terminal resistors
In the case of one-pair wiring, connect a terminal resistor to the RDA-RDB signal
terminal of the communication equipment.
In the case of two-pair wiring, connect a terminal resistor to the RDA-RDB signal
terminal and SDA-SDB terminal of the communication equipment.
In the case of one-pair wiring, use two terminal resistors of 110 , 1/2 W.
In the case of two-pair wiring, use four terminal resistors of 330 , 1/4 W.
Among the terminal resistors supplied with the communication equipment, select
ones with the color codes shown to the right.
OPEN
110
110
330
OPEN
110
Terminal
resistor selector
switch
D
Computer Link
OPEN
Terminal
resistor selector
switch
Parallel Link
330
1 1 1
=110
(101)
3 3 1
=330
(101)
330
Precision
N:N Network
Brown
Common Items
4.2.4
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-25
4 Wiring
Parallel Link
4.3
Connection Diagram
4.3.1
Terminal
resistor
110
FX3U-485-BD
FX3U-485ADP(-MB)
SDA
SDA
SDB
SDB
RDA
RDA
RDB
RDB
SG
SG
Termina
l resistor
110
*2
*2
FX3U-485-BD
FX3U-485ADP(-MB)
SDA
SDA
SDB
SDB
RDA
RDA
*2
*2
*2
*2
Terminal
resistor
330
2
RDB
SG
RDB
SG
Termina
l resistor
330
2
C-26
4 Wiring
Parallel Link
A
For FX1S, FX1N, FX1NC, FX2N and FX2NC PLCs
Common Items
4.3.2
SDA
SDA
SDA
SDA
SDB
SDB
SDB
SDB
SDB
SDB
RDA
RDA
RDA
RDA
RDA
RDA
RDB
RDB
RDB
RDB
RDB
RDB
SG
LINK
SG
LINK
SG
SG
FG
FG*2
D
SG
Computer Link
SG
Terminal
resistor
110
Parallel Link
SDA
SDA
SDA
SDA
SDA
SDA
SDA
SDB
SDB
SDB
SDB
SDB
SDB
RDA
RDA
RDA
RDA
RDA
RDA
RDB
RDB
RDB
RDB
RDB
RDB
SG
LINK
SG
LINK
SG
SG
FG
FG*2
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX2N-485-BD
FX0N-485ADP FX1N-485-BD FX2NC-485ADP
E
Inverter
Communication
*1 Make sure to perform Class-D grounding to the shield of a twisted pair cable connected to the FX2N-485-BD, FX1N-485-BD or
FX2NC-485-ADP.
*2 Make sure to connect the FG terminal to the
(grounding) terminal in the PLC requiring Class-D grounding.
If the grounding terminal is not provided in the PLC, perform Class-D grounding directly.
FX2N-485-BD
FX2NC-485ADP FX1N-485-BD FX0N-485ADP
B
N:N Network
Terminal
resistor
110
FX2N-485-BD
FX0N-485ADP FX1N-485-BD FX2NC-485ADP
H
Programming
Communication
SG
Terminal
resistor
330
2
Non-Protocol
Communication
(FX2N-232IF)
Terminal
resistor
330
2
SG
I
Remote
Maintenance
*1 Make sure to perform Class-D grounding to the shield of a twisted pair cable connected to the FX2N-485-BD, FX1N-485-BD or
FX2NC-485-ADP.
*2 Make sure to connect the FG terminal to the
(grounding) terminal in the PLC requiring Class-D grounding.
If the grounding terminal is not provided in the PLC, perform Class-D grounding directly.
Apx.
Discontinued
models
C-27
4 Wiring
Parallel Link
4.3.3
4.4 Grounding
FX2-40AW
FX2-40AW
FX2-40AP
SA
SA
SB
SB
SG*1
SG*1
4.4
Grounding
Grounding should be performed as stated below.
The grounding resistance should be 100 or less.
Independent grounding should be performed for best results.
When independent grounding can not be performed, perform "shared grounding" as shown in the following
figure.
For details, refer to the Hardware Edition of each series.
PLC
Other
equipment
Independent grounding
Best condition
PLC
Other
equipment
Shared grounding
Good condition
PLC
Other
equipment
Common grounding
Not allowed
C-28
Parallel Link
A
Common Items
5.
Check Procedure
Monitoring D8120
D
Computer Link
Turn ON the power to the PLC while it is in STOP mode, and monitor D8120.
1. When the value of D8120 is "0"
The communication setting is not provided.
E
Inverter
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
FNC 12
MOV
H23F6
D8120
Program example
Initial pulse
FNC 12
MOV
H0000
D8120
Programming
Communication
Changed program
I
Remote
Maintenance
C
Parallel Link
5.1
N:N Network
Apx.
Discontinued
models
C-29
5.2
5.2.1
Operating procedure
With GX Developer open, follow the steps in this section to utilize the serial communication setting method.
If the project tree is not displayed, select [View] - [Project data list] from the toolbar.
C-30
A
Communication Setting Using Parameter Method (FXGP/WIN)
Communication settings may be changed using the parameter method with GX Developer and FXGP/WIN for
Windows. This section describes how to change parameters with FXGP/WIN.
Ch2 cannot be set using FXGP/WIN.
Operating procedure
This subsection explains the serial communication setting method. Suppose that FXGP/WIN is already
started up.
B
N:N Network
5.3.1
Common Items
5.3
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Remote
Maintenance
Select [PLC] - [Transfers] - [Write] from the toolbar, and click [OK].
Apx.
Discontinued
models
C-31
Parallel Link
6.
6.1
Test Procedure
Creating programs for the communication test
Create new programs for the communication test for the master station and slave station.
For program examples, refer to Section 6.2.
Confirming flashing of the communication status indicator lamps (SD and RD)
Confirm that the built-in SD and RD lamps of the communication equipment are flashing.
If they are off, take proper action while referring to the troubleshooting procedures described later.
Master station
C-32
A
Confirming the link of the slave station
Set the PLC inputs (X000 to X003) to ON or OFF in the slave station, and confirm that the outputs
(Y000 to Y003) turn ON or OFF in the master station.
Common Items
B
N:N Network
C
Parallel Link
Slave station
Computer Link
6.2
6.2.1
For FX2(FX), FX2C, FX1N, FX2N, FX3U, FX1NC, FX2NC or FX3UC Series
Create the program shown below for the communication test. (This program is not required during actual
operation.)
M8000
K500
D8070
M8000
M8178
Non-Protocol
Communication
(RS/RS2 Instruction)
M8070
MOV
G
Non-Protocol
Communication
(FX2N-232IF)
M8000
11
K1X000
K1M800
MOV
K1M900
K1Y000
END
Programming
Communication
22
MOV
Inverter
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-33
0
MOV
K500
D8070
M8000
M8178
M8000
11
MOV
K1X000
K1M900
MOV
K1M800
K1Y000
END
22
6.2.2
0
MOV
K500
D8070
MOV
K1X000
K1M400
MOV
K1M450
K1Y000
M8000
8
END
19
0
MOV
K500
D8070
MOV
K1X000
K1M450
MOV
K1M400
K1Y000
M8000
8
19
C-34
END
7 Creating Programs
7.1 Regular Parallel Link Mode
A
Common Items
7.
Creating Programs
7.1
N:N Network
The parallel link has two modes, regular parallel link mode and high speed parallel link mode.
Program settings and the number of device to be used are different in each mode.
When connecting FX PLCs in the parallel link, use the same mode in both PLCs.
7.1.1
Parallel Link
This section explains the program setting method in the regular parallel link mode.
Device
Name
Description
Set this device to ON when linking a PLC as the master station.
M8071
Channel setting
Set the channel of communication port to be used (in the FX3U and
FX3UC).
When this device is OFF: ch1
When this device is ON: ch2
Set the time for judging error in the parallel link data communication.
[Initial value: 500]
M8178
D8070
Description
M8072
Parallel link ON
M8073
M8063
Link error
G
Non-Protocol
Communication
(FX2N-232IF)
Device
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
M8070
Computer Link
These devices are used for setting the parallel link. The setting of these devices is essential to use the
parallel link.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-35
7 Creating Programs
7.1 Regular Parallel Link Mode
3. Link devices
1) Sending devices for the master station
These devices are used for sending the information from the master station to the slave station.
To prevent malfunctions, do not change the setting of these devices in the slave station.
The device numbers used and number of devices vary depending on the PLC type. For applicable
devices, refer to the tables below.
a) For FX2(FX), FX2C, FX1N, FX2N, FX3U, FX1NC, FX2NC or FX3UC Series
Device
Number of
devices
Bit device
M800 to M899
100
Word device
D490 to D499
10
Description
The devices in the slave station are automatically updated
to the status of devices in the master station.
Number of
devices
Bit device
M400 to M449
50
Word device
D230 to D239
10
Description
The devices in the slave station are automatically updated
to the status of devices in the master station.
Number of
devices
Bit device
M900 to M999
100
Word device
D500 to D509
10
Description
The devices in the master station are automatically updated
to the status of devices in the slave station.
C-36
Number of
devices
Bit device
M450 to M499
50
Word device
D240 to D249
10
Description
The devices in the master station are automatically updated
to the status of devices in the slave station.
7 Creating Programs
7.1 Regular Parallel Link Mode
A
Creating programs for master station
Common Items
7.1.2
M8178
Master/
slave station
setting error
M8073
D
Program for writing link devices (master station slave
station)
FNC 12
MOV
K1X000
Link device
X010
E
Inverter
Communication
C0
K100
FNC 12
MOV
C0
Link device
FNC 12
MOV
Link device
K1Y000
D10
X010
C1
Non-Protocol
Communication
(FX2N-232IF)
FNC 12
MOV
Link device
Non-Protocol
Communication
(RS/RS2 Instruction)
RUN monitor
M8000
Computer Link
RUN monitor
M8000
Parallel Link
Parallel link ON
M8072
N:N Network
Channel setting
D10
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-37
7.1.3
7 Creating Programs
7.1 Regular Parallel Link Mode
Parallel link ON
M8072
Master/
slave station
setting error
M8073
RUN monitor
M8000
FNC 12
MOV
K1X000
Link device
X010
C0
K100
FNC 12
MOV
C0
Link device
RUN monitor
M8000
FNC 12
MOV
FNC 12
MOV
Link device
Link device
K1Y000
D10
X010
C1
D10
C-38
7 Creating Programs
Parallel Link
A
High Speed Parallel Link Mode
Common Items
7.2
This section explains the program setting method in the high speed parallel link mode.
7.2.1
Description
Set this device to ON when linking a PLC as the master station.
M8071
M8162
Set this device to ON when using the high speed parallel link mode.
M8178
Channel setting
Set the channel of communication port to be used (in the FX3U and
FX3UC).
When this device is OFF: ch1
When this device is ON: ch2
D8070
Set the time for judging error in the parallel link data communication.
[Initial value: 500]
Name
D
Computer Link
E
Inverter
Communication
M8070
Parallel Link
Device
N:N Network
Description
Parallel link ON
M8073
M8063
Link error
Non-Protocol
Communication
(RS/RS2 Instruction)
M8072
3. Link devices
Word device
D490, D491
Number of
devices
Description
Device
Word device
D230, D231
I
Remote
Maintenance
H
Programming
Communication
Device
Non-Protocol
Communication
(FX2N-232IF)
Number of
devices
Description
Apx.
Discontinued
models
C-39
7 Creating Programs
7.2 High Speed Parallel Link Mode
D500, D501
Number of
devices
Description
Number of
devices
Description
C-40
D240, D241
7 Creating Programs
7.2 High Speed Parallel Link Mode
A
Creating programs for master station
Common Items
7.2.2
M8162
Channel setting
Parallel link ON
M8072
Parallel Link
M8178
M8073
RUN monitor
M8000
K1X000
Link device
C0
K100
C0
Link device
Non-Protocol
Communication
(RS/RS2 Instruction)
FNC 12
MOV
Link device
K1Y000
D10
X010
C1
H
Programming
Communication
FNC 12
MOV
Link device
Non-Protocol
Communication
(FX2N-232IF)
FNC 12
MOV
E
Inverter
Communication
FNC 12
MOV
X010
RUN monitor
M8000
D
Computer Link
Master/
slave station
setting error
N:N Network
D10
I
Remote
Maintenance
Apx.
Discontinued
models
C-41
7.2.3
7 Creating Programs
7.2 High Speed Parallel Link Mode
Parallel link ON
M8072
Master/
slave station
setting error
M8073
RUN monitor
M8000
FNC 12
MOV
K1X000
Link device
X010
C0
K100
FNC 12
MOV
C0
Link device
RUN monitor
M8000
FNC 12
MOV
FNC 12
MOV
Link device
Link device
K1Y000
D10
X010
C1
D10
C-42
7 Creating Programs
7.3 Cautions on Program Creation
A
Cautions on Program Creation
Common Items
7.3
C
Parallel Link
2) Do not use the N:N Network and the parallel link at the same time.
(For example, it is not allowed to use ch1 for the N:N Network and simultaneously use ch2 for the parallel
link.)
B
N:N Network
2) When a link error occurs, the link device information remains the same as the status just before the error.
Create a fail-safe program which does not cause abnormality even if a link error occurs.
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-43
8.
8.1
8.1.1
FX2N PLC
FX2N-485-BD
FX2N-485-BD
Master station
Slave station
- Link range: 100-bit devices and 10-word devices (regular parallel link mode)
- Error judgement time: 500 ms
8.1.2
Setting contents
The program examples shown later adopt the following communication parameters:
Device
M8070
C-44
Description
Parallel link master station setting
M8071
D8070
Parallel Link
A
Program for master station
Common Items
8.1.3
M8070
FNC 20
ADD
FNC 12
MOV
K2X000 K2M800
D0
D490
K2M900 K2Y000
X010
T0
8.1.4
Inverter
Communication
RUN monitor
M8000
M8071
RUN monitor
M8000
D490
K2M800 K2Y000
K100
M10
M10
Y010
K2M0
K2M900
FNC 12
MOV
D10
D500
G
The ON/OFF status of M0 to M7 in the slave station is
output to Y000 to Y007 in the master station.
Non-Protocol
Communication
(FX2N-232IF)
X010
FNC 12
MOV
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FNC 10
CMP
FNC 12
MOV
D
Computer Link
D500
Parallel Link
FNC 12
MOV
D2
N:N Network
RUN monitor
M8000
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-45
9 Troubleshooting
Parallel Link
9.
Troubleshooting
This chapter explains troubleshooting.
9.1
9.2
Operation status
RD
SD
Flashing
Flashing
Flashing
Off
Off
Flashing
Off
Off
While the parallel link is executed normally, both LEDs flash brightly.
If they do not flash, check the wiring and the communication setting in the master and slave stations.
9.3
3. Wiring
Verify that the wiring to all communication equipment is correct. If the communication equipment is wired
incorrectly, communication is not possible.
For wiring method check, refer to Chapter 4.
9.4
C-46
9 Troubleshooting
Parallel Link
A
Common Items
3. Presence of VRRD and VRSC instructions (except FX3U and FX3UC PLCs)
Verify that the VRRD and VRSC instructions are not used in the program.
If these instructions are used, delete them, reboot the PLCs power.
B
N:N Network
7. Presence of IVCK, IVDR, IVRD, IVWR, and IVBWR instructions (in FX3U and FX3UC PLCs)
Verify that the IVCK, IVDR, IVRD, IVWR and IVBWR instructions are not being used for the same channel.
If these instructions are used for the same channel, delete them, reboot the PLCs power.
Non-Protocol
Communication
(RS/RS2 Instruction)
1) Checking the error flags M8063 and M8438 (in the FX3U and FX3UC)
If a communication error occurs in the parallel link, the serial communication error flag turns ON.
When ch1 is used, M8063 turns ON. When ch2 is used in the FX3U and FX3UC, M8438 turns ON.
When the serial communication error flag turns ON, the error code is stored in D8063 or D8438.
2) Checking the error code
When a communication error occurs in parallel link using ch 1, the error code is stored in D8063.
When a communication error occurs in parallel link using ch 2, the error code is stored in D8438.
The table below shows the details of error codes.
Description
No error
6312
6313
6314
0000
No error
3812
3813
3814
Action
H
Verify that the parallel link
setting programs are set
correctly. Check the wiring
also.
I
Remote
Maintenance
0000
Programming
Communication
D8438
(in FX3U and FX3UC)
Error code
G
Non-Protocol
Communication
(FX2N-232IF)
D8063
Inverter
Communication
Device
Computer Link
9.5
Parallel Link
Caution
The devices for checking link errors are not cleared even after communication errors are reset.
They are cleared when the PLC mode is changed from STOP to RUN.
Apx.
Discontinued
models
C-47
10 Related Data
Parallel Link
Name
Initial DetecR/W
value
tion
Description
M8071
M8162
M8178
M, L
Channel setting
M, L
Parallel link ON
M, L
M8073
M, L
M8063
occurs
in
serial
M, L
M8438
M, L
Name
Initial DetecR/W
value
tion
Description
for
data
500
M, L
Serial communication Stores the error code when an error occurs in serial
error code (ch 1)
communication using ch 1.
0000
M, L
D8438
Serial communication Stores the error code when an error occurs in serial
error code (ch 2)
communication using ch 2 (in the FX3U and FX3UC).
0000
M, L
C-48
10 Related Data
Parallel Link
A
Details of Related Devices
Common Items
10.2
B
N:N Network
When this device is set to ON, the PLC is handled as the master station in the parallel link.
1. Applicable stations
The master station requires program setting.
2. Detailed contents
C
Parallel Link
In the FX PLC to be handled as the master station, set M8070 to "normally ON" using M8000.
3. Cautions on use
Set this device to ON in a sequence program.
D
Computer Link
This device works as the channel setting flag (in the FX3U and FX3UC).
1. Applicable stations
The master and slave station require program setting.
2. Detailed contents
E
Inverter
Communication
When using ch 2 as the communication port, set this device to ON in the sequence program.
When using ch 1, the sequence program is not required.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
1. Applicable stations
The slave station requires program setting.
2. Detailed contents
In the FX PLC to be handled as a slave station, set M8071 to "normally ON" using M8000.
3. Cautions on use
Non-Protocol
Communication
(FX2N-232IF)
Programming
Communication
1. Applicable stations
The master and slave station require program setting.
2. Detailed contents
10 in each station
2 in each station
FX1S, FX0N
10 in each station
2 in each station
50 in each station
Remote
Maintenance
PLC
Apx.
Discontinued
models
3. Cautions on use
Set this device to ON using a sequence program.
C-49
10 Related Data
10.2 Details of Related Devices
1. Applicable stations
The master and slave station may check parallel link status.
2. Detailed contents
M8072 remains ON while the parallel link is being executed normally, and remains OFF while the parallel link
is not being executed normally.
1. Applicable stations
The master and slave station may check parallel link status.
2. Detailed contents
M8073 remains OFF when the setting is correct in the master station or slave station, and turns ON when the
setting is incorrect.
1. Applicable stations
The master and slave station may check parallel link status.
2. Detailed contents
M8063 turns ON when an error occurs using parallel link on ch 1. When M8063 turns ON, the error code is
stored in D8063.
M8438 turns ON when an error occurs using parallel link on ch 2. When M8438 turns ON, the error code is
stored in D8438.
3. Cautions on use
These devices do not turn OFF even after the communication error is reset. They turn OFF when the PLC
mode is changed from STOP to RUN.
1. Applicable stations
The master and slave station may check parallel link status.
2. Detailed contents
When data transmission requires more time than the time set here, it is regarded as error.
C-50
10 Related Data
10.2 Details of Related Devices
A
These devices store the serial communication error code. (D8438 is available only in the FX3U and FX3UC.)
1. Applicable stations
The master and slave station may check the serial communication error code.
B
N:N Network
2. Detailed contents
The table below shows the details of error codes.
Device
D8438
(ch 2)
Description
0000
No error
6312
6313
6314
0000
No error
3812
3814
C
Verify that the parallel link
setting programs are
correct, and check the wiring
also.
D
Computer Link
3813
Action
Parallel Link
D8063
(ch 1)
Error code
Common Items
3. Cautions on use
The error code is not cleared after the communication error is reset.
It is only cleared when the PLC mode is changed from STOP to RUN.
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
C-51
MEMO
C-52
10 Related Data
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
D-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
Remote
Maintenance
This manual explains "computer link" provided for the MELSEC-F FX Series Programmable Controllers and
should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
D-2
1 Outline
Computer Link
A
Common Items
1.
Outline
N:N Network
1.1
Outline of System
Computer link allows connection of up to sixteen FX PLCs and A PLCs to a personal computer working as the
master station to link data.
2) Applicable computer link protocols are the same as dedicated supported computer link protocols units in
the A Series PLC. (But the supported formats and commands are limited.)
Important points and reference
chapter/section
System
FX PLC
Station No. 0 (00H)
FX PLC
Station No. 15 (0FH)
FX-485PC-IF
Communication
equipment operating
in accordance with
RS-485
Communication
equipment operating
in accordance with
RS-485
.......
.......
For selection,
refer to Chapter 3.
.......
For wiring,
refer to Chapter 4.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
FX PLC
Station No. 0 (00H)
Non-Protocol
Communication
(FX2N-232IF)
Personal computer
Inverter
Communication
...
D
Computer Link
16 units
C
Parallel Link
Programming
Communication
Communication
equipment operating
in accordance with
RS-232C
The number of devices handled all at once varies depending on the command and the types of devices.
Remote
Maintenance
Apx.
Discontinued
models
D-3
1 Outline
Computer Link
1.2
Computer link
Refer to Chapter 1.
Outline of system
Applicable PLC versions
Applicable programming tools
Outline
Refer to Chapter 2.
Check communication specifications.
Refer to Chapter 3.
Determine system configuration and selection.
Communication specifications
Link time
Number of devices
System configuration
Select communication equipment.
Refer to Chapter 4.
Perform wiring.
Wiring procedure
Wiring example
Programming tool
Connect PLC*1
Refer to Chapter 5.
Perform PLC communication setting.
Refer to Chapter 6.
Computer link
Refer to Chapter 7.
Commands
Computer link
Dedicated protocol format
Transfer sequence time chart and
communication time
Commands
Applicable command list
Specification method
On-demand function
D-4
1 Outline
Computer Link
A
Communication Type Applicability in PLC
1.3.1
Applicable versions
Common Items
1.3
PLC
Remarks
B
N:N Network
FX2NC Series
(Ver. 1.06 or later)
Parallel Link
FX2N Series
FX1NC Series
FX1N Series
FX1S Series
FX0N Series
FX0 Series
*1
FX2(FX) Series
Applicable in products manufactured in June, 1996 and later (manufacturers serial No.: 66**** and
later).
1. Version check
The D8001(decimal) special data register contains information for determining the PLC version.
Non-Protocol
Communication
(RS/RS2 Instruction)
D8001
MITSUBISHI
MODEL
FX3U-48MR/ES
Programming
Communication
SERIAL
Control number
Month (Example: 7=July) (1 to 9 = January to September,
X = October, Y = November, Z = December)
Year (Example: 5 = 2005) ... last digit of year
Remote
Maintenance
G
Non-Protocol
Communication
(FX2N-232IF)
The year and month of production of product can be seen from the Manufacturer's serial number "SERIAL"
indicated on the label adhered to the right side of the product.
Right side
Inverter
Communication
*1.
FX2C Series
FX1 Series
D
Computer Link
FX0S Series
Apx.
Discontinued
models
D-5
1 Outline
Computer Link
1.3.2
Remarks
FX0 Series
FX2C Series
FX2(FX) Series
FX1 Series
1.4
1.4.1
1. Japanese versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS-KIT/98
SW1PC-FXGP/98(-3,-5)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-PCS-KIT/V-3
SW1-PC-FXGP/V3
FX-A7PHP-KIT
SW1RX-GPPFX
FX-20P(-SET0)
FX-20P-MFXC
FX-10P(-SET0)
D-6
1 Outline
1.4 Programming Tool Applicability
A
Applicability
(applicable version)
Common Items
Model name
(Software name)
Remarks
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-20P(-SET0)
FX-20P-MFXD
FX-10P(-SET0)
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Applicability
(applicable version)
Remarks
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXC-E
FX-10P-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXD-E
FX-10P-E
D-7
Apx.
Discontinued
models
Remote
Maintenance
H
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
GX Developer
SW D5C(F)-GPPW-E
E
Inverter
Communication
Model name
(Software name)
D
Computer Link
2. English versions
Parallel Link
N:N Network
FX-PCS/WIN
SW0PC-FXGP/WIN
1 Outline
Computer Link
1.4.2
FX3UC
FX2N
FX2(FX)
FX3U Series
FX3U, FX3UC
FX2N
FX2(FX)
FX2NC Series
FX2NC, FX2N
FX2(FX)
FX2N Series
FX2N
FX2(FX)
FX1NC Series
FX1NC, FX1N
FX2N
FX2(FX)
FX1N Series
FX1N
FX2N
FX2(FX)
FX1S Series
FX1S
FX2(FX)
FX0N Series
FX0N
FX2(FX)
FX0S Series
FX0S
FX2(FX)
FX0
FX2(FX)
FX2C, FX2
FX2(FX)
FX2(FX)
FX2(FX)
FX0
Series
FX2C Series
FX2(FX) Series
FX1 Series
D-8
Model to be set
FX1
2 Specifications
Computer Link
A
Common Items
2.
Specifications
N:N Network
2.1
Protocol type
Control procedure
Communication method
Character format
Start bit
Data bit
16 maximum
RS-485 or RS-232C standard
RS-485: 500 m (1640' 5") or less
[50 m (164' 0") or less when 485BD is included in
system]
RS-232C: 15 m (49' 2") or less
Computer link (dedicated protocol)
Inverter
Communication
Baud rate
Remarks
Computer Link
Specifications
Parallel Link
Item
Fixed
7 or 8-bit
None, odd or even
Stop bit
1 or 2-bit
Header
Fixed
Terminator
Fixed
Control line
Fixed
Sum check
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Parity bit
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-9
2 Specifications
Computer Link
2.2
Link Specifications
2.2.1
Command
Name
Symbol
Unit:
Bit
ASCII
code
Contents of processing
FX1S, FX0N
BR
WR
57H, 52H
Unit:
Word
QR*1
Device memory
Unit:
Bit
BW
Unit:
Bit
Test
(random
writing)
PLC
64*2
64*2
32 words
512 points
64*2
46
160
160
BT
WT
11*5
64*2
64*2
10 words
160 points
64*2
42H, 54H
10
20
20
6 words
96 points
57H, 54H
Unit:
Word
6*3
10*3
10*3
10 words
160 points
10*3
Remote RUN
RR
Remote STOP
RS
PLC model
name reading
PC
GW
Global
10 words
10 words
10 words
160 points 160 points 160 points
51H, 57H
10 words
10 words
160 points 160 points
On-demand
Loop-back test
TT
54H, 54H
*1.
*2.
*3.
*4.
*5.
D-10
13*4
WW 57H, 57H
QW
256
13 words
32 words
32 words
208 points 512 points 512 points
51H, 52H
Unit:
Word
*1
256
54
FX2(FX),
FX2C, FX2N,
FX3U, FX3UC
FX1N, FX2NC,
FX1NC
2 Specifications
Computer Link
A
Applicable device ranges
Common Items
2.2.2
The tables below show devices and device number ranges applicable for the device memory access.
Construct each of the BR, BW, BT, WR, WW, and WT commands in five characters.
Device
Device number
4 characters
3 characters for timer or counter
Device number
= 7 characters
6 characters
5 characters for timer or counter
C
Parallel Link
1 character
2 characters for timer or counter
B
N:N Network
1 character
2 characters for timer or counter
= 5 characters
1. Bit devices
FX PLCs do not support timer coils (TC) and counter coils (CC).
Device number range (character)
Output
relay
(Y)
FX3U,
FX3UC
X0000 to
X0337
X0000 to
X0377
X000000
to
X000377
Y0000 to
Y0337
M0000 to M1535
Octal
M000000
to
M007679
S0000 to S0999
M8000 to M8255
TS000 to TS255
CS000 to CS255
CS000 to
CS255
CS00000
to
CS00255
Apx.
D-11
Discontinued
models
TS000 to
TS511
TS00000
to
TS00511
CS000 to CS000 to
CS031
CS031
Counter CS235 to CS235 to
CS255
CS254
contact
(C)
M8000 to
M8511
M008000
Decimal
to
M008511
TS000 to TS063
S0000 to
S4095
S000000
to
S004095
M8000 to M8254
M0000 to M0000 to
M3071
M7679
S0000 to S0127
Y000000
to
Y000377
M0000 to M0511
Y0000 to
Y0377
Remote
Maintenance
Timer
contact
(T)
FX2N,
FX2NC
Programming
Communication
Special
auxiliary
relay
(M)
FX1N,
FX1NC
Non-Protocol
Communication
(FX2N-232IF)
State
relay
(S)
FX2(FX),
FX2C
Non-Protocol
Communication
(RS/RS2 Instruction)
Auxiliary
relay
(M)
FX0N
Inverter
Communication
Input
relay
(X)
FX1S
D
Computer Link
Device
Device
Available commands
number
expression
BR,
WR,
QR,
Decimal/ BW, BT WW, WT QW, QT
Octal
2 Specifications
Computer Link
2. Word devices
Device number range (character)
Device
Timer
current
value
(T)
FX1S
FX0N
TN000 to TN063
File
register
(D)
RAM
file
register
(D)
D0000 to D0255
*1.
FX2N,
FX2NC
TN000 to TN255
D1000 to
D2499
CN000 to CN255
TN000 to
TN511
D0000
to
D0999
CN000 to
CN255
*1
D0000 to D7999
D0000 to
D7999
R0000 to
R9999
R000000
to
R032767
D8000 to D8255
*1
Decimal
D6000
to
D7999
D000000
to
D007999
D1000
to
D2999
D8000 to D8255
CN00000
to
CN00255
FX3U,
FX3UC
TN00000
to
TN00511
Extension
register
(R)
Special
data
register
(D)
FX1N,
FX1NC
CN000 to CN000 to
CN031
CN031
Counter CN235 to CN235 to
current
CN255
CN254
value
(C)
Data
register
(D)
FX2(FX),
FX2C
Device
Available commands
number
expression
BR,
WR,
QR,
Decimal/ BW, BT WW, WT QW, QT
Octal
D8000 to
D8511
D008000
to
D008511
Cautions
1) When using bit devices in a command requiring specification in 1-word units, make sure that the head
device number is a multiple of "8".
2) Special auxiliary relays and special data registers are classified into ones for read only, write only and
ones for system only.
If data is written to any range in which writing is not allowed, an error may occur in the PLC.
For details on special auxiliary relays and special data registers, refer to the manual of the PLC.
3) In FX1S, FX1N, FX2N, FX3U, FX1NC, FX2NC and FX3UC PLCs, the PLCs cannot access the program area
(in the built-in RAM and memory cassette) when users set file registers (D).
In FX3U and FX 3UC PLCs, extension registers (R) cannot access extension file registers (ER) in a
mounted memory cassette.
D-12
2 Specifications
Computer Link
A
Link time
Common Items
2.2.3
1. Data transfer
Data transfer
Data transfer
Interval time
Time to read continuous word devices (timers, counters or data registers) in one station = (21*1 + 4 Number
of read points*2) Time to send or receive 1 character (ms) + Interval time + Maximum scan time (special
data register D8012) in PLC 3 + Message waiting time
*1.
300
33.34
600
16.67
1200
8.34
2400
4.17
4800
2.08
9600
1.04
19200
0.52
Number of stations
1
16
Number of
data points
Number of stations
1
16
G
Non-Protocol
Communication
(FX2N-232IF)
Number of
data points
Non-Protocol
Communication
(RS/RS2 Instruction)
The tables below show the data transfer times depending on the number of continuously read or written word
devices at the transmission speeds of 9600 bps and 19200 bps when the message waiting time is 0 ms*1, the
maximum scan time is 20 ms, and the interval time is 100 ms.
<When the transmission speed is 9600 bps> Unit: sec
E
Inverter
Communication
D
Computer Link
*2.
This is the number of characters when the protocol format 1 is used and the sum check is not
provided.
When the protocol format 4 is used, add "4" to this value.
When the sum check is provided, add "4" to this value also.
C
Parallel Link
Time to write continuous word devices (timers, counters or data registers) in one station = (20*1 + 4 Number
of written points*2) Time to send or receive 1 character (ms) + Interval time + Maximum scan time (special
data register D8012) in PLC + Message waiting time
N:N Network
10
0.3
1.9
3.7
10
0.2
1.6
3.2
32
0.4
2.6
5.2
32
0.3
2.0
3.9
64
0.5
3.7
7.3
64
0.4
2.5
5.0
Programming
Communication
The message waiting time is "0" when the RS-485 interface and two-pair wiring are used.
The message waiting time is "0" also when the RS-232C interface is used.
When one-pair wiring is adopted, a message waiting time of 70 to 150 ms is required for each transfer.
Add this message waiting time.
*2.
The maximum number of points is 64 for the FX2(FX), FX2C, FX1N, FX2N, FX3U, FX1NC, FX2NC and
FX3UC Series. The maximum number of points is as follows for the FX0N and FX1S Series:
Maximum number of read points : 13
Maximum number of written points: 11
D-13
Apx.
Discontinued
models
*1.
I
Remote
Maintenance
When the types of read or written devices increase, "Data transfer time shown in above table Number of
device types" is required.
When the number of read or written points exceeds "64"*2, the transfer time increase.
Accordingly, for achieving efficient data transfer, it is recommended to decrease the number of types of
transferred devices and use as many continuous device numbers as possible.
Computer Link
3.
3.1
System Configuration
This section outlines the system configuration required to use computer link.
Connect (optional) equipment operating in accordance with RS-485 or RS-232C to the FX PLC main unit.
1 , 2 and 3 indicate the communication equipment combination patterns.
Communication equipment operating
in accordance with RS-485 or
RS-232C
Total extension
distance
RS-485: 50 m
(164' 0")
RS-232C: 15 m
(49' 2")
RS-485: 500 m
(1640' 5")
RS-232C: 15 m
(49' 2")
RS-485: 500 m
(1640' 5")
RS-232C: 15 m
(49' 2")
FX PLC
Communication
board
Communication
adapter
Special adapter
connection
board
+
Communication
adapter
For communication equipment combinations for each FX Series, refer to the next page.
D-14
Computer Link
A
Applicable FX PLC and Communication Equipment
Select a (optional) communication equipment combination, and put a check mark in the "Check" column.
During selection, pay attention to the following:
- Computer link is not provided for the FX0, FX0S, or FX1 Series.
Total extension
distance
Check
B
N:N Network
3.2.1
Common Items
3.2
C
Parallel Link
15 m
(49' 2")
FX0N
FX2NC-232ADP
FX0N-232ADP
D
Computer Link
15 m
(49' 2")
FX1N-232-BD
(9-pin D-Sub, male)
+
FX1N-CNV-BD FX2NC-232ADP FX1N-CNV-BD
FX0N-232ADP
Inverter
Communication
FX1S
15 m
(49' 2")
F
Non-Protocol
Communication
(RS/RS2 Instruction)
15 m
(49' 2")
FX1N-232-BD
FX0N-232ADP
15 m
(49' 2")
H
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
FX1N
15 m
(49' 2")
I
Remote
Maintenance
FX2N-232-BD
(9-pin D-Sub, male)
FX2N
+
(9-pin D-Sub, male)
FX2N-CNV-BD
15 m
(49' 2")
Apx.
Discontinued
models
FX2N-CNV-BD FX2NC-232ADP
+
FX0N-232ADP
(25-pin D-Sub, female)
D-15
Computer Link
FX Series
Total extension
distance
RD
15 m
(49' 2")
SD
FX3U-232-BD
(9-pin D-Sub, male)
ch1
+
FX3U-CNV-BD
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
FX3U
ch2
RD
SD
15 m
(49' 2")
FX3U- -BD
FX3U-232ADP(-MB)
(Where represents
232, 422, 485 and USB)
ch1
ch2
+
FX3U-CNV-BD
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
15 m
(49' 2")
FX1NC
FX2NC-232ADP
FX0N-232ADP
15 m
(49' 2")
FX2NC
D-16
FX2NC-232ADP
FX0N-232ADP
Check
Computer Link
A
Total extension
distance
Check
Common Items
FX Series
B
N:N Network
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
Parallel Link
ch1
FX3UC
(D, DSS)
ch2
15 m
(49' 2")
FX3U-232ADP(-MB)
(Where represents
232 and 485)
D
Computer Link
FX3U- ADP(-MB)
E
Inverter
Communication
RD
15 m
(49' 2")
SD
FX3U-232-BD
(9-pin D-Sub, male)
+
FX3U-CNV-BD
Non-Protocol
Communication
(RS/RS2 Instruction)
ch1
15 m
(49' 2")
FX3U-232ADP(-MB)
Non-Protocol
Communication
(FX2N-232IF)
ch2
FX3UC-32MT-LT
RD
15 m
(49' 2")
FX3U- -BD
FX3U-232ADP(-MB)
(Where represents
232, 422, 485 and USB)
+
FX3U-CNV-BD
ch2
Remote
Maintenance
ch1
Programming
Communication
SD
15 m
(49' 2")
FX3U-232ADP(-MB)
(Where represents
232 and 485)
Apx.
Discontinued
models
FX3U- ADP(-MB)
D-17
FX Series
Total extension
distance
15 m
(49' 2")
FX2(FX)
FX-232ADP
(25-pin D-Sub, female)
15 m
(49' 2")
FX2C
D-18
FX-232ADP
(25-pin D-Sub, female)
Check
Computer Link
A
For communication in accordance with RS-485.
FX Series
Total extension
distance
Check
Common Items
3.2.2
B
N:N Network
500 m
(1640' 5")
FX0N
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
C
Parallel Link
50 m
(164' 0")
FX1N-485-BD
(European terminal block)
FX1N-CNV-BD
FX2NC-485ADP
FX1N-CNV-BD
Computer Link
FX1S
500 m
(1640' 5")
FX0N-485ADP
(Terminal block)
Inverter
Communication
50 m
(164' 0")
FX1N-485-BD
FX2NC-485ADP
FX1N-CNV-BD
500 m
(1640' 5")
FX0N-485ADP
Non-Protocol
Communication
(FX2N-232IF)
FX1N-CNV-BD
Non-Protocol
Communication
(RS/RS2 Instruction)
FX1N
(Terminal block)
50 m
(164' 0")
H
Programming
Communication
FX2N-485-BD
FX2N
FX2NC-485ADP
(European terminal block)
500 m
(1640' 5")
I
Remote
Maintenance
FX2N-CNV-BD
+
FX2N-CNV-BD FX0N-485ADP
(Terminal block)
Apx.
Discontinued
models
D-19
Computer Link
FX Series
Total extension
distance
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
ch1
+
FX3U-CNV-BD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
FX3U
ch2
RD
SD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
ch1
+
FX3U-CNV-BD
ch2
500 m
(1640' 5")
FX3U- ADP(-MB)
FX3U-485ADP(-MB)
(Where represents
232 and 485).
500 m
(1640' 5")
FX1NC
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
500 m
(1640' 5")
FX2NC
D-20
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
Check
Computer Link
A
Total extension
distance
Check
Common Items
FX Series
ch1
B
N:N Network
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
Parallel Link
ch1
FX3UC
(D, DSS)
ch2
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Computer Link
FX3U- ADP(-MB)
ch1
Inverter
Communication
RD A
RD
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
ch1
FX3U-485ADP(-MB)
Non-Protocol
Communication
(FX2N-232IF)
FX3U-CNV-BD
500 m
(1640' 5")
ch2
FX3UC-32MT-LT
SD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
FX3U-CNV-BD
ch2
Remote
Maintenance
ch1
Programming
Communication
RD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Apx.
Discontinued
models
FX3U- ADP(-MB)
D-21
FX Series
Total extension
distance
500 m
(1640' 5")
FX2
FX-485ADP
(Terminal block)
500 m
(1640' 5")
FX2C
D-22
FX-485ADP
(Terminal block)
Check
4 Wiring
3.2 Applicable FX PLC and Communication Equipment
A
Common Items
4.
Wiring
N:N Network
WIRING PRECAUTIONS
WIRING PRECAUTIONS
C
Parallel Link
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work.
Failure to do so may cause electric shock or damage to the product.
Make sure to attach the terminal cover, offered as an accessory, before turning on the power or initiating
operation after installation or wiring work.
Failure to do so may cause electric shock.
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents
due to abnormal data written to the PLC under the influence of noise:
1) Do not bundle the main circuit line together with or lay it close to the main circuit, high-voltage line or load line.
Otherwise, noise disturbance and/or surge induction are likely to take place. As a guideline, lay the control line
at least 100mm (3.94") or more away from the main circuit or high-voltage line.
2) Ground the shield wire or shield of the shielded cable at one point on the PLC. However, do not use grounding
with heavy electrical systems.
Make sure to properly wire the FX0N/FX2N Series extension equipment in accordance with the following
precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should follow the specifications in this manual.
Make sure to properly wire to the European terminal board in accordance with the following precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should be follow the specifications in this manual.
- Twist the end of strand wire and make sure that there are no loose wires.
- Do not solder-plate the electric wire ends.
- Do not connect more than the specified number of wires or electric wires of unspecified size.
- Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-23
4 Wiring
Computer Link
4.1
Wiring Procedure
Selecting the connection method
Select the wiring method suitable to the application.
For details, refer to Section 4.2.
D-24
4 Wiring
Computer Link
A
Selecting Connection Method
When using computer link, communication can be achieved in accordance with RS-232C or RS-485 (422).
In FX3U and FX3UC PLCs, computer link is applicable in up to two channels at the same time. In such a case,
communication can be achieved in accordance with RS-232C on both channels, in accordance with RS-485
on both channels, or in accordance with RS-232C on one channel and RS-485 on the other channel.
B
N:N Network
4.2.1
Common Items
4.2
FX PLC
Parallel Link
D
Computer Link
FX PLC
Station No. 0
FX-485PC-IF
F
Non-Protocol
Communication
(RS/RS2 Instruction)
RS-232C/RS-485
communication
converter
FX PLC
Station No. 15
...
+
Communication equipment
operating in accordance
with RS-485
Communication equipment
operating in accordance
with RS-485
Two-pair
wiring
*3
H
Programming
Communication
One-pair
wiring
Non-Protocol
Communication
(FX2N-232IF)
One-pair wiring and two-pair wiring are applicable for communication in accordance with RS-485 (RS-422).
The wiring method is determined for each application. Refer to the table below, and perform suitable wiring.
*1
Inverter
Communication
4.2.2
When computer link is added to an existing system, adopt the wiring method used in the existing
system.
*2.
*3.
"Echo transfer" is generated when the FX-485PC-IF is used in the one-pair wiring.
Take proper countermeasures in the computer so that the echo transfer can be ignored.
Remote
Maintenance
*1.
Apx.
Discontinued
models
D-25
4.3
4 Wiring
4.3 Selecting Cables and Terminal Resistors (RS-485)
4.3.1
1. Recommended cables
Manufacturer
Model name
Fujikura Ltd.
SPEV(SB)-0.2-2P
SPEV(SB)-MPC-0.2 3P
SPEV(SB)-0.5-2P
DPEV SB 0.3 3P
DPEV SB 0.5 3P
D-KPEV-SB 0.2 3P
D-KPEV-SB 0.5 3P
D-26
Remarks
4 Wiring
Computer Link
A
Connecting cables
1. European type terminal block
Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS485.
The table below shows applicable cables and tightening torques.
FX3U-485-BD
FX3U-485ADP
(-MB)
AWG22 to
AWG20
FX2NC-485ADP
Tightening
torque
AWG22 to AWG20
AWG26 to AWG16
AWG26 to
AWG16
AWG26 to
AWG20
Tool size
A
0.22 to 0.25
Nm
0.4 (0.01")
2.5 (0.09")
0.6 Nm
0.6 (0.03")
3.5 (0.14")
0.4 to 0.5
Nm
0.6 (0.03")
3.5 (0.14")
FX1N-485-BD, FX2N-485-BD
Approx. 6 mm
(0.23")
Manufacturer
Phoenix Contact
Model name
Caulking tool
AI 0.5-8WH
CRIMPFOX ZA 3
(or CRIMPFOX UD 6)
Approx. 8 mm
(0.31")
Insulating sleeve
Contact area
(Crimp area)
8 mm (0.31")
2.6 mm
(0.1")
14 mm
(0.55")
Manufacturer
Model name
SZS 0.4 2.5
Select a
screwdriver
with a
straight tip.
H
Programming
Communication
Note:
If the diameter of screwdriver grip is too small, tightening torque will
not be able to be achieved. Use the following recommended
screwdriver or an appropriate replacement (grip diameter:
approximately 25mm).
Non-Protocol
Communication
(FX2N-232IF)
Tool
- When tightening a terminal on the European terminal block, use a small commercial straight shape
screwdriver whose tip is shown in the figure to the right.
Phoenix Contact
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
Approx. 9 mm
(0.35")
FX2NC-485ADP
D
Computer Link
With regard to the cable end treatment, use a stranded cable or solid cable as it is, or use a bar terminal with
insulating sleeve.
C
Parallel Link
FX2N-485-BD
FX1N-485-BD
AWG22
B
N:N Network
Common Items
4.3.2
I
Remote
Maintenance
Apx.
Discontinued
models
D-27
4 Wiring
4.3 Selecting Cables and Terminal Resistors (RS-485)
2. Terminal block
In the FX0N-485ADP and FX-485ADP, the terminal screw size is "M3".
Make sure to use a crimp-style terminal with the following sizes.
Make sure that the tightening torque is 0.5 to 0.8 Nm.
When wiring one cable to one terminal
3.2 (0.13")
6.2 mm (0.24")
or less
Terminal
screw
Crimp-style
terminal
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
Terminal
6.3 mm (0.25")
or more
Terminal
screw
Crimp-style
terminal
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
4.3.3
Terminal
6.3 mm (0.25")
or more
Brown
Precision
1 1 1
=110
(101)
Orange Brown Precision
3 3 1
=330
(101)
330
330
OPEN
OPEN
110
110
Terminal
resistor selector
switch
330
OPEN
110
D-28
Terminal
resistor selector
switch
4 Wiring
Computer Link
A
Connection Diagram for RS-232C
Representative wiring examples are shown in this section. When pin numbers in the external equipment are
different, wire the pins as shown below.
4.4.1
FX2NC232ADP
FX0N- FX-232ADP
232ADP
1
RD(RXD)
RD(RXD)
SD(TXD)
SD(TXD)
SD(TXD)
ER(DTR)
20
RS(RTS)
ER(DTR)
20
SG(GND)
SG(GND)
SG(GND)
DR(DSR)
CS(CTS)
DR(DSR)
Personal computer
Signal name
SD (TXD)
SD (TXD)
RD (RXD)
RD (RXD)
RS (RTS)
RS (RTS)
CS (CTS)
CS (CTS)
DR (DSR)
DR (DSR)
SG (GND)
SG (GND)
ER (DTR)
20
ER (DTR)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Pin No.
Inverter
Communication
Signal name
D
Computer Link
RD(RXD)
C
Parallel Link
FG
1
FG
1
FG
N:N Network
FX3U-232-BD
FX2N-232-BD
FX1N-232-BD
FX3U-232ADP(-MB)
Name
4.4.2
Common Items
4.4
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-29
4 Wiring
Computer Link
4.5
4.5.1
One-pair wiring
Communication
equipment operating
in accordance with
RS-485
FX0N-485ADP
FX3U-485-BD
FX2N-485-BD
FX1N-485-BD
FX3U-485ADP(-MB)
FX2NC-485ADP
SDA
SDA
SDA
SDA
Terminal
resistor:
110
SDB
SDB
SDB
SDB
*3
RDA
RDA
RDA
RDA
RDB
RDB
RDB
RDB
LINK
SG
LINK
SG
SG
FG*2
Terminal
resistor:
110
*3
SG
Class-D grounding
(resistance: 100 or less)*1
Class-D grounding
(resistance: 100 or less)*1
*1 Make sure to perform Class-D grounding to the shield of a twisted pair cable connected to the FX2N-485-BD, FX1N-485-BD,
FX3U-485-BD, FX2NC-485-ADP or FX3U-485ADP(-MB).
(grounding) terminal in the PLC requiring Class-D grounding.
*2 Make sure to connect the FG terminal to the
If the grounding terminal is not provided in the PLC, perform Class-D grounding directly.
*3 Make sure to provide a terminal resistor at the end of each line.
The FX3U-485-BD and FX3U-485ADP(-MB) have a built-in terminal resistor.
Set the terminal resistor selector switch accordingly.
The FX0N-485ADP, FX2NC-485ADP, FX2N-485-BD and FX1N-485-BD are supplied together with terminal resistors.
4.5.2
Two-pair wiring
Communication
equipment operating
in accordance with
RS-485/RS-422
*3
*3
Terminal
resistor:
330
2
FX0N-485ADP
FX3U-485-BD
FX2N-485-BD
FX1N-485-BD
FX3U-485ADP(-MB)
FX2NC-485ADP
SDA
SDA
SDA
SDA
SDB
SDB
SDB
SDB
RDA
RDA
RDA
RDA
RDB
RDB
RDB
RDB
LINK
SG
LINK
SG
FG*2
SG
Class-D grounding
(resistance: 100 or less)*1
*1 Make sure to perform Class-D grounding to the shield of a twisted pair cable connected to the FX2N-485-BD, FX1N-485-BD,
FX3U-485-BD, FX2NC-485-ADP or FX3U-485ADP(-MB).
(grounding) terminal in the PLC requiring Class-D grounding.
*2 Make sure to connect the FG terminal to the
If the grounding terminal is not provided in the PLC, perform Class-D grounding directly.
*3 Make sure to provide a terminal resistor at the end of each line.
The FX3U-485-BD and FX3U-485ADP(-MB) have a built-in terminal resistor.
Set the terminal resistor selector switch accordingly.
The FX0N-485ADP, FX2NC-485ADP, FX2N-485-BD and FX1N-485-BD are supplied together with terminal resistors.
D-30
*3
Terminal
resistor:
330
2
SG
Class-D grounding
(resistance: 100 or less)*1
*3
4 Wiring
Computer Link
4.6 Grounding
A
Grounding
Common Items
4.6
PLC
Other
equipment
PLC
Other
equipment
PLC
Other
equipment
B
N:N Network
C
Shared grounding
Good condition
Common grounding
Not allowed
Parallel Link
Independent grounding
Best condition
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-31
Computer Link
5.
5.1
(Recommended)
FX3U(ch2), FX3UC(ch2)
For the detailed contents of special data registers, refer to Section 9.2.
Setting data write method to special data registers, refer to Section 9.3.
Transferred
when power
is turned ON
Program area
[MOV H
[MOV H
[MOV K
D8120]
D8121]
D8129]
Written by
program
In FX3U and FX3UC
ch2: Computer link
Sequence
program for
set values
Program
method
D-32
5.2
Operating procedure
C
Parallel Link
Communication settings may be changed via the parameter method with GX Developer and FXGP/WIN for
Windows. This section describes how to change parameters with GX Developer.
5.2.1
B
N:N Network
Common Items
With GX Developer open, follow the steps in this section to use the serial communication setting method.
Computer Link
E
Inverter
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
If the project tree is not displayed, select [View] - [Project data list] from the toolbar (to display a
check mark on the left side).
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-33
Adjust the settings on the personal computer to match those set here.
D-34
A
Communication Settings Using Parameter Method (FXGP/WIN)
Communication settings may be changed by the parameter method with GX Developer and FXGP/WIN for
Windows. This section describes how to change parameters with FXGP/WIN.
Ch2 cannot be set using FXGP/WIN.
Operating procedure
This subsection explains the serial communication setting method. Suppose that FXGP/WIN is already
started up.
B
N:N Network
5.3.1
Common Items
5.3
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-35
Adjust the settings on the personal computer to match those set here.
D-36
Computer Link
[10] [11]
485PC-IF
RS-485
[3]
485ADP
PLC CPU
[4]
[8]
[7]
[12] Response
[13]
[14]
Device
memory
information
(read)
PLC CPU
information
(read)
Sequence
program
OS*1
[5] Read
[6] Data
Interface for
signal
conversion
Device
memory, etc.
E
Inverter
Communication
RS-232C
[2] Command,
data, etc.
485PC-IF
RS-485
[3]
485ADP
[1] Request
Device
memory
information
(written)
PLC CPU
information
(written)
[5] Write
Device
memory, etc.
G
Non-Protocol
Communication
(FX2N-232IF)
[7]
Write
RS-485
[5]
PLC CPU
[4] Data
OS*1
Sequence
program
[2]
[3] Data
Read [1] Sending
request
Device
+
memory, etc. Data writing
The OS (standing for "Operating System") indicates the software used to efficiently operate the
resources including the CPUs, memories, terminals, files, and networks using user programs, etc.
I
Remote
Maintenance
*1.
On-demand
data
485ADP
Programming
Communication
OS*1
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Sequence
program
OS*1
[6]
[7]
[8] Response
PLC CPU
[4]
OS*1
Computer
D
Computer Link
[1] Request
OS*1
RS-232C
[2] Command
C
Parallel Link
N:N Network
6.1
Common Items
6.
Apx.
Discontinued
models
D-37
Computer Link
6.2
6.2.1
D-38
Computer Link
A
How to Understand Control Procedure
This section explains how to understand the transfer data shown in the later description of each function.
1. When the computer reads data from the PLC (computer PLC)
E
N
Q
A
C
K
Data
S
T
X
PLC side
N:N Network
Computer side
Data
Data
A
E
N
Q
Data
A
C
K
PLC side
Data
Control code CR LF
Character
Command
PLC number
*1.
Whether or not the sum check code is added can be specified using a parameter.
*2.
Whether or not the control code is added can be specified by selecting the protocol type.
I
Remote
Maintenance
Station number
*2
Programming
Communication
Control code
*1
G
Non-Protocol
Communication
(FX2N-232IF)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
6.4
D
Computer Link
Parallel Link
[1] Parts A and C indicate transfer from the computer to the PLC.
[2] Part B indicates transfer from the PLC to the computer.
[3] Create a program in the computer so that each data is transferred in turn from the left to the right, and
that the data is transferred in the order "A B C" as a whole.
(Example: In the part A, data is transferred in turn from the right starting from "ENQ".)
Computer side
Common Items
6.3
Apx.
Discontinued
models
D-39
Computer Link
6.4.1
PLC No.
A
C
K
or
or
Character
area B T
Sum check
code
PLC No.
S
T
X
N
A
K
Station
No.
PLC No.
A
C
K
Station
No.
PLC No.
Station
No.
PLC No.
*
Error
code
PLC side
Station
No.
Character
area A
Sum check
code
Message
wait time
Command
E
N
Computer side Q
PLC No.
When
computer
reads data
from PLC
Station
No.
PLC No.
Transfer order
N
A
K
Station
No.
Station
No.
Description
When
computer
writes data to
PLC
PLC side
Transfer order
Character
area C
Sum check
code
Message
wait time
Command
PLC No.
E
N
Computer side Q
Station
No.
N
A
K
Remarks
Error
code
or
1) The sum check code is added only when "sum check code provided" is selected.
The sum check code is not added when "sum check code not provided" is selected.
2) When "sum check code provided" is selected, the sum check is executed only to the character
areas marked with "*" in the figure above.
3) The contents of "Character area A", "Character area B" and "Character area C" vary depending
on the contents of transfer, but do not vary depending on the control procedure format.
D-40
Computer Link
A
Control procedure format 4
Common Items
PLC No.
C L
or
A
C
K
C L
or
RF
C L
RF
PLC No.
Station
No.
*
C L
RF
CL
C L
RF
Non-Protocol
Communication
(RS/RS2 Instruction)
PLC No.
A
C
K
PLC No.
RF
Station
No.
Sum check
code
Message
wait time
Command
Transfer order
Character
area C
Station
No.
PLC side
E
Inverter
Communication
When
computer
writes data to
PLC
PLC No.
*
E
N
Computer side Q
N
A
K
Error
code
or
C L
RF
1) The sum check code is added only when "sum check code provided" is selected.
The sum check code is not added when "sum check code not provided" is selected.
2) When "sum check code provided" is selected, the sum check is executed only to the character
areas marked with "*" in the figure above.
3) The contents of "Character area A", "Character area B" and "Character area C" vary depending
on the contents of transfer, but do not vary depending on the control procedure format.
Non-Protocol
Communication
(FX2N-232IF)
Remarks
Computer Link
N
A
K
Character
area B T
Sum check
code
S
T
X
Error
code
PLC side
PLC No.
RF
Station
No.
Character
area A
Sum check
code
Message
wait time
Command
PLC No.
E
N
Computer side Q
RF
Parallel Link
When
computer
reads data
from PLC
Station
No.
PLC No.
Transfer order
C L
N:N Network
N
A
K
Station
No.
Station
No.
Description
Station
No.
6.4.2
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-41
Computer Link
6.4.3
1. Control codes
The table below shows control codes.
Signal name
Code
STX
02H
Start of Text
Description
Signal name
Code
LF
0AH
Line Feed
ETX
03H
EOT
04H
End of Text
CL
0CH
Clear
End of Transmission
CR
0DH
Carriage Return
NAK
15H
Negative Acknowledge
ENQ
05H
Enquiry
ACK
06H
Acknowledge
Description
1) When the PLC receives ENQ or ACK, it initializes the transfer sequence and begins receiving.
2) When the PLC receives EOT or CL as shown below, it initializes the transfer sequence.
At this time, the PLC gives no response.
For format 1
For format 4
E
O
T
EC L
O
TRF
or
or
C
CC L
Computer side L
Computer side L R F
PLC side
PLC side
2. Station number
The station number indicates a number provided in each PLC to determine to which PLC the computer
accesses.
The station number is specified in hexadecimal.
In FX Series PLCs, set the station number using parameters. The setting range is from 00H to 0FH.
For the station number setting method in A Series PLCs, refer to the respective A Series PLC manual.
Computer
FX
Series
485PC-IF
FX
Series
485 ADP
Station No. 0
(00H)
485 ADP
Station No. 1
(01H)
FX
Series
485 ADP
Station No. 2
(02H)
FX
Series
485 ADP
Station No. 15
(0FH)
H0
D8121
Initial pulse
D-42
Computer Link
4. Command
A command specifies the contents of access executed by the computer to a PLC.
A command is converted into a two-digit ASCII code.
For an explanation of commands, refer to Chapter 7.
E
Inverter
Communication
"A"
Computer side
PLC side
PLC
No.
FF
Remote
Maintenance
Computer side
E Station
No.
N
Q
00
05H 30H 30H 46H 46H 42H 52H 33H 41H 42H 43H 44H 42H 44H
PLC side
30H+30H+46H+46H+42H+52H+33H+41H+42H+43H+44H=2BDH
Last two
digits
S
T
X
00
FF
...
Apx.
30 ms
(Message waiting time)
Discontinued
models
H
Programming
Communication
Example: When the station number "0", PLC number "FF", command "BR (device memory batch read),"
message waiting time "30 ms" and data "ABCD" are transferred in format 1, the sum check code
value is as shown below:
G
Non-Protocol
Communication
(FX2N-232IF)
The sum check code indicates a two-digit ASCII code converted from the least significant byte (8-bit) of the
sum check target data added as hexadecimal data.
Using the FX PLC parameters, set whether or not the sum check code is added in the message.
- When "sum check code provided" is selected, the sum check code is added in the message during
sending. During receiving, the sum check code is compared with the value calculated from the received
data to check the received data.
- When "sum check code not provided" is selected, the sum check code is not added, so the received
data is not checked either. A calculation example of the sum check code is shown below.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
*1.
D
Computer Link
The message waiting time should be specified because some computers require more time before receiving
additional data. Set the waiting time according to the specifications of each computer.
Set the waiting time within the range from 0 to 150 ms in 10-ms units. 10 ms is handled as "1H", and a value
ranging from "0H (0)" to "FH (15)" is converted into a one-digit ASCII code.
When executing communication using the 485PC-IF in a 1-to-N system adopting the one-pair wiring, make
sure to set the message waiting time to 70 ms (7) or more. When the scan time of a PLC in the system
exceeds 70 ms, set the message waiting time to the maximum scan time or higher.
C
Parallel Link
B
N:N Network
The PLC number is used to identify a PLC to be accessed when computer link is combined with the
MELSECNET (II) or MELSECNET/B in A Series PLCs. The PLC number of each FX Series PLC is fixed to
"FFH", and converted into two-digit ASCII code.
When the on-demand function is used, however, the PLC number is automatically changed to "FEH" by the
PLC.
For the PLC number of an A Series PLC used together with the MELSECNET (II) or MELSECNET/B, refer to
the respective A Series PLC manual.
Common Items
3. PLC number
D-43
Computer Link
6.4.4
FX2(FX), FX2C
Not applicable
FX0N
Not applicable
FX2N, FX2NC
FX3U, FX3UC
ch1
ch2
K6
D8129
2. Caution on programming
The time-out time setting is not updated until the next character data is received. Set a time to receive a
character according to the transmission speed (baud rate).
For one character (12-bit), the minimum set value of the time-out time setting is as shown below:
Baud rate (bps)
300
D-44
40
50 ms (5)
600
20
30 ms (3)
1200
10
20 ms (2)
2400
10 ms (1)
4800
2.5
10 ms (1)
9600
1.25
10 ms (1)
19200
0.625
10 ms (1)
Computer Link
A
Transfer Sequence Time Chart and Communication Time
This section explains the communication time chart between the computer and the PLC.
As shown in the figures below, communication between the computer and the PLC is always executed after
"END". The scan time is extended by the communication time.
Computer
A
C
K
Interface
T3
T4
PLC
T0
T1
Computer Link
Reading
processing
S
T
X
T5
Parallel Link
Waiting time
(TW)
T2
Sequence
program
Step 0
END
Computer
Non-Protocol
Communication
(RS/RS2 Instruction)
E
N
Q
T3
Non-Protocol
Communication
(FX2N-232IF)
Waiting time
(TW)
Interface
Data is
written.
PLC
T0
Programming
Communication
Writing
processing
6.5.2
Step 0
Step 0
END
END
END
The PLC watches the time elapse. When it reaches the
transmission time, the PLC starts the transmission. If not,
the PLC evaluate the time elapse in the END process of
the next step.
Inverter
Communication
*1.
T1 T2
Sequence
program
Step 0
END
Step 0
END
Step 0
END
B
N:N Network
6.5.1
Common Items
6.5
END
Remote
Maintenance
Apx.
Discontinued
models
D-45
Computer Link
6.5.3
1
Number of bits in one character (1 + 7 (8) + 0 (1) + 1 (2))
Baud rate
Number of characters
Start
bit
Data length
(7 or 8)
Parity bit
(0 or 1)
Stop bit
(1 or 2)
T1: Maximum one scan time (Because data is read from the PLC during the END processing while the
PLC is in RUN mode, reading requires up to one scan time depending on the sending timing.
Reading requires about 1 ms while the PLC is in STOP mode.)
T2: END processing time in the PLC executing data transfer
T4: Scan time or longer (In the case of wiring in the 1-to-N configuration, T4 should be longer than the
time-out time setting (D8129) extended by one scan time.)
TW: Message waiting time
1
Number of bits in one character (1 + 7 (8) + 0 (1) + 1 (2))
Baud rate
Number of characters
Start
bit
Data length
(7 or 8)
Parity bit
(0 or 1)
Stop bit
(1 or 2)
T1: Maximum one scan time (Because data is written to the PLC during the END processing while the
PLC is in RUN mode, writing requires up to one scan time depending on the sending timing. Writing
requires about 1 ms while the PLC is in STOP mode.)
T2: END processing time in the PLC executing data transfer
TW: Message waiting time
D-46
Computer Link
A
Transfer Data in Character Area
6.6.1
4DH 30H 30H 31H 30H 30H 35H 31H 30H 31H 30H 31H
E
Inverter
Communication
Data
2
G
D
Non-Protocol
Communication
(FX2N-232IF)
Data
4DH 30H 30H 31H 36H 30H 32H 41H 42H 31H 32H 33H 34H 43H 44H
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Head device
D
Computer Link
Number
of
devices
Parallel Link
B
N:N Network
This section explains the transfer data in the character area sent and received between the computer and a
PLC using each command.
The transfer data explained below is handled as the character area B in reading and the character area C in
writing.
For character areas, refer to Subsections 6.4.1 and 6.4.2.
Common Items
6.6
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
1 0 1 0 1 0 1 1 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 0 1 1 0 1
Programming
Communication
M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
I
Remote
Maintenance
Apx.
Discontinued
models
D-47
Computer Link
6.6.2
Head device
D
0 2
Data
5
Data
B
44H 30H 33H 35H 30H 30H 32H 35H 36H 41H 42H 31H 37H 30H 46H
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 1
Indicates that D350 stores "56ABH ("22187"
in decimal)".
Example 2: When indicating the contents stored in the 32-bit counter C200*1
Number
of
devices
Head device
C N
Data
Data
44H 4EH 32H 30H 30H 30H 31H 31H 32H 33H 34H 35H 36H 37H 38H
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0
Indicates that C200 stores "12345678H ("305,419,896" in decimal)".
*1.
D-48
7 Commands
Computer Link
A
Common Items
7.
Commands
Applicable PLC
Command
Contents of processing
FX3U,
FX3UC
Reference
section
7.1
WR
7.2
QR
BW
7.4
WW
7.5
QW
BT
C
Parallel Link
BR
B
N:N Network
This chapter explains specification methods and specification examples of commands in dedicated protocols
used in computer link communication type.
For control procedures in dedicated protocols, refer to "6. Control Procedures and Setting Methods".
The table below shows a reference section for each command.
7.3
D
Computer Link
7.7
WT
7.8
QT
RR
RS
Inverter
Communication
7.6
7.10
Non-Protocol
Communication
(RS/RS2 Instruction)
7.9
7.11
GW
7.12
7.13
Non-Protocol
Communication
(FX2N-232IF)
TT
7.14
H
Programming
Communication
PC
I
Remote
Maintenance
Apx.
Discontinued
models
D-49
7 Commands
Computer Link
7.1
1. Specification method
The specification method in the control procedure format 1 is shown below:
S
T
X
E
T
X
PLC No.
A
C
K
Sum check
code
PLC No.
PLC side
Station
No.
Head device
(5 characters)
Sum check
code
BR
Message
wait time
PLC No.
Station
No.
E
N
Computer side Q
Station
No.
Character area B
* Data on specified number of device points
(Characters of specified number of device points)
1) Specify the device point range while satisfying the following conditions:
- 1 Number of device points 256*1 (Use "00H" to specify 256 points.)
- Head device number + Number of device points -1 Maximum device number
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
*1.
2. Specification example
When reading the contents of five devices X040 to X044 in the PLC whose station number is 5 (while the
message waiting time is set to 100 ms)
(When X040 and X043 are OFF and X041, X042 and X044 are ON)
E
N 0 5 F F B R A X 0 0 4 0 0 5 4 7
Q
Computer side
PLC side
05H 30H 35H 46H 46H 42H 52H 41H 58H 30H 30H 34H 30H 30H 35H 34H 37H
A
C 0 5 F F
K
06H 30H 35H 46H 46H
S
E
T 0 5 F F 0 1 1 0 1 T 0 5
X
X
02H 30H 35H 46H 46H 30H 31H 31H 30H 31H 03H 30H 35H
Important point
The message wait time is specified in 10-ms units within the range from 0 to 150 ms, and expressed in
hexadecimal within the range from 0 to FH. For example, "100 ms" is expressed as "A".
D-50
7 Commands
Computer Link
A
WR Command [Reads Device Memory in 1-Word Units]
This section explains the control procedure specification method and specification examples when the word
device memory is read all at once or when the bit device memory is read (in 16-point units) all at once.
1. Specification method
S
T
X
E
T
X
A
C
K
Sum check
code
PLC side
PLC No.
Head device
(5 characters)
Station
No.
Sum check
code
Message
wait time
PLC No.
Station
No.
WR
PLC No.
1) Specify the device point range while satisfying the following conditions:
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
*1.
*2.
Example 1: When reading the contents of thirty-two devices from X040 to X077 in the PLC whose station
number is 5 (while the message waiting time is set to 0 ms)
G
Non-Protocol
Communication
(FX2N-232IF)
E
N 0 5 F F W R 0 X 0 0 4 0 0 2 4 8
Q
05H 30H 35H 46H 46H 57H 52H 30H 58H 30H 30H 34H 30H 30H 32H 34H 38H
PLC side
H
Programming
Communication
S
T 0 5 F F
X
E
A B C D T 0 8
X
1 2 3 4
02H 30H 35H 46H 46H 31H 32H 33H 34H 41H 42H 43H 44H 03H 30H 38H
Remote
Maintenance
0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1
X
0
5
7
X
0
5
2
X
0
5
1
X
0
5
0
X
0
4
7
X
0
4
3
X
0
4
2
X
0
4
1
X
0
4
0
X
0
7
7
Non-Protocol
Communication
(RS/RS2 Instruction)
2. Specification examples
Computer side
E
Inverter
Communication
D
Computer Link
Character area B
* Data on specified number of device points
(Characters of specified number of device points)
C
Parallel Link
E
N
Q
Computer side
N:N Network
Common Items
7.2
X
0
7
2
X
0
7
1
X
0
7
0
X
0
6
7
X
0
6
3
X
0
6
2
X
0
6
1
X
0
6
0
Apx.
Discontinued
models
D-51
7 Commands
Computer Link
Important point
The WR command handles data in 1-word units. When reading thirty-two devices from X040 to X077, specify
the number of device points as "02" (One point specifies 16 devices.)
Example 2: When reading the present value of two devices from T123 and T124 in the PLC whose station
number is 5 (while the message waiting time is set to 0 ms)
E
N 0 5 F F W R 0 T N 1 2 3 0 2 6 4
Q
Computer side
PLC side
05H 30H 35H 46H 46H 57H 52H 30H 54H 4EH 31H 32H 33H 30H 32H 36H 34H
S
T 0 5 F F
X
7 B C 9
1 2 3 4
E
T B 3
X
02H 30H 35H 46H 46H 37H 42H 43H 39H 31H 32H 33H 34H 03H 42H 33H
A
C 0 5 F F
K
06H 30H 35H 46H 46H
D-52
7 Commands
Computer Link
A
QR Command [Reads Device Memory in 1-Word Units]
This section explains the control procedure specification method and specification examples when the word
device memory is read all at once or when the bit device memory is read (in 16-point units) all at once.
1. Specification method
N:N Network
Data on
E
specified
number of T
device points X
PLC No.
Station
No.
Sum check
code
S
T
X
PLC No.
PLC side
K
Station
No.
Head device
(7 characters)
Sum check
code
Message
wait time
PLC No.
QR
Parallel Link
Station
No.
Character area A
E
N
Computer side Q
Character area B
3) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
2. Specification examples
E
N 0 5 F F Q R 0 X 0 0 0 0 4 0 0 2 A 2
Q
05H 30H 35H 46H 46H 51H 52H 30H 58H 30H 30H 30H 30H 34H 30H 30H 32H 41H 32H
PLC side
G
Non-Protocol
Communication
(FX2N-232IF)
1 2 3 4
E
A B C D T C 8
X
Programming
Communication
S
T 0 5 F F
X
02H 30H 35H 46H 46H 31H 32H 33H 34H 41H 42H 43H 44H 03H 43H 38H
0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1
X
0
5
0
X
0
4
7
X
0
4
1
X
0
4
0
X
0
7
7
X
0
7
0
X
0
6
7
X
0
6
1
X
0
6
0
Remote
Maintenance
X
0
5
7
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Example 1: When reading the contents of thirty-two devices from X040 to X077 in the PLC whose station
number is 5 (while the message waiting time is set to 0 ms)
E
Inverter
Communication
2) Specify the device point range while satisfying the following conditions:
- 1 Number of device points 64 (32 for bit devices)
- Head device number + Number of device points ("Number of devices 16" for bit devices) -1
Maximum device number
- When 32-bit devices (CN00200 to CN00255) are read, one device point is handled as two word data.
Accordingly, up to 32 device points can be specified.
Computer Link
Computer side
Common Items
7.3
Apx.
Discontinued
models
D-53
7 Commands
Computer Link
Example 2: When reading the contents of two devices from R30000 to R30001 in the PLC whose station
number is 5 (while the message waiting time is set to 0 ms)
E
N 0 5 F F Q R 0 R 0 3 0 0 0 0 0 2 9 B
Q
Computer side
PLC side
05H 30H 35H 46H 46H 51H 52H 30H 52H 30H 33H 30H 30H 30H 30H 30H 32H 39H 42H
S
T 0 5 F F
X
7 B C 9
1 2 3 4
E
T B 3
X
02H 30H 35H 46H 46H 37H 42H 43H 39H 31H 32H 33H 34H 03H 42H 33H
D-54
7 Commands
Computer Link
A
BW Command [Writes Device Memory in 1-Bit Units]
This section explains the control procedure specification method and shows a specification example when the
bit device memory is written all at once.
1. Specification method
PLC side
C
A
C
K
PLC No.
Station
No.
Head device
(5 characters)
Sum check
code
Message
wait time
PLC No.
Station
No.
BW
Parallel Link
E
N
Q
Computer side
N:N Network
D
Computer Link
1) Specify the device point range while satisfying the following conditions:
- 1 Number of device points 160*1
- Head device number + Number of device points -1 Maximum device number
2. Specification example
05H 30H 30H 46H 46H 42H 57H 30H 4DH 30H 39H 30H 33H 30H 35H 30H 31H 31H 30H 31H 32H 36H
Non-Protocol
Communication
(FX2N-232IF)
PLC side
F
Non-Protocol
Communication
(RS/RS2 Instruction)
When writing data to five devices from M903 to M907 in the PLC whose station number is 0 (while the
message waiting time is set to 0 ms)
E
Inverter
Communication
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal
respectively.
*1.
Common Items
7.4
A
C 0 0 F F
K
06H 30H 30H 46H 46H
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-55
7 Commands
Computer Link
7.5
1. Specification method
The specification method in the control procedure format 1 is shown below:
PLC side
A
C
K
Written device
range specification
PLC No.
Station
No.
Head device
(5 characters)
Sum check
code
W W
Character area C
Message
wait time
Station
No.
E
N
Q
Computer side
PLC No.
1) Specify the device point range while satisfying the following conditions:
- 1 Number of device points 64*1 (10 in case of bit devices)
- Head device number + Number of device points ("Number of devices x 16" in case of bit devices) -1
Maximum device number
- When 32-bit devices (CN200 to CN255) are written, one device point is handled as two word data.
Accordingly, up to 32 device points*2 can be specified.
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
*1.
*2.
2. Specification examples
Example 1: When writing data to thirty-two devices from M640 to M671 in the PLC whose station number is
0 (while the message waiting time is set to 0 ms)
E
N 0 0 F F W W 0 M 0 6 4 0 0 2
Q
Computer side
2 3 4 7
A B 9 6
0 5
05H 30H 30H 46H 46H 57H 57H 30H 4DH 30H 36H 34H 30H 30H 32H 32H 33H 34H 37H 41H 42H 39H 36H 30H 35H
PLC side
A
C 0 0 F F
K
0 0 1 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 0
M
6
5
5
M
6
5
4
M
6
5
3
M
6
4
3
M
6
4
2
M
6
4
1
M
6
4
0
M
6
7
1
M
6
7
0
M
6
6
9
M
6
5
9
M
6
5
8
M
6
5
7
M
6
5
6
Important point
The WW command handles data in 1-word units. When writing data to thirty-two devices from M640 to M671,
specify the number of device points as "02" (One point specifies 16 devices.)
D-56
7 Commands
Computer Link
A
E
N 0 0 F F W W 0 D 0 0 0 0 0 2
Q
Computer side
1 2 3 4
A C D 7 F 9
05H 30H 30H 46H 46H 57H 57H 30H 44H 30H 30H 30H 30H 30H 32H 31H 32H 33H 34H 41H 43H 44H 37H 46H 39H
N:N Network
PLC side
Common Items
Example 2: When writing data to two devices D0 and D1 in the PLC whose station number is 0 (while the
message waiting time is set to 0 ms)
A
C 0 0 F F
K
06H 30H 30H 46H 46H
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-57
7 Commands
Computer Link
7.6
1. Specification method
The specification method in the control procedure format 1 is shown below:
Batch write command
(unit: word)
A
C
K
PLC No.
PLC side
Station
No.
Data on
specified
number of
device points
Head device
(7 characters)
Sum check
code
QW
Message
wait time
PLC No.
E
N
Computer side Q
Station
No.
Character area C
2. Specification examples
Example 1: When writing data to thirty-two devices from M640 to M671 in the PLC whose station number is
5 (while the message waiting time is set to 0 ms)
E
N 0 5 F F Q W 0 M 0 0 0 6 4 0 0 2 2 3 4 7 A B 9 6 6 4
Q
Computer side
05H 30H 35H 46H 46H 51H 57H 30H 4DH 30H 30H 30H 36H 34H 30H 30H 32H 32H 33H 34H 37H 41H 42H 39H 36H 36H 34H
PLC side
A
C 0 5 F F
K
0 0 1 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 0
M
6
5
6
D-58
M
6
4
8
M
6
4
7
M
6
4
1
M
6
4
0
M
6
7
1
M
6
6
4
M
6
6
3
M
6
5
7
M
6
5
6
7 Commands
7.6 QW Command [Writes Device Memory in 1-Word Units]
A
E
N 0 5 F F Q W 0 R 0 3 0 0 0 0 0 2 7 B C 9 1 2 3 4 5 F
Q
Computer side
05H 30H 35H 46H 46H 51H 57H 30H 52H 30H 33H 30H 30H 30H 30H 30H 32H 37H 42H 43H 39H 31H 32H 33H 34H 35H 46H
N:N Network
PLC side
Common Items
Example 2: When writing data to two devices from R30000 to R30001 in the PLC whose station number is 5
(while the message waiting time is set to 0 ms)
A
C 0 5 F F
K
06H 30H 35H 46H 46H
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-59
7.7
7 Commands
7.7 BT Command [Tests Device Memory in 1-Bit Units (by Writing Arbitrarily)]
1. Specification method
The specification method in the control procedure format 1 is shown below:
A
C
K
1 character
"0 (30H)" indicates reset (setting to OFF).
"1 (31H)" indicates set (setting to ON).
PLC No.
PLC side
Station
No.
Device
(5 characters)
Sum check
code
Device
(5 characters)
Set or reset
Character area A
Set or reset
BT
Message
wait time
PLC No.
Computer side
E
N
Q
Station
No.
Important points
1) Specify the device point range while satisfying the following conditions:
- 1 Number of device points 20*1
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
*1.
2. Specification example
When writing data for setting M50 to ON, S100 to OFF and Y001 to ON in the PLC whose station number is 5
(while the message waiting time is set to 0 ms)
This range is regarded as the sum check target.
E
N 0 5 F F B T 0 0 3 M 0 0 5 0 1 S 0 1 0 0 0 Y 0 0 0 1 1 E C
Q
Computer side 05H 30H 35H 46H 46H 42H 54H 30H 30H 33H 4DH 30H 30H 35H 30H 31H 53H 30H 31H 30H 30H 30H 59H 30H 30H 30H 31H 31H 45H 43H
PLC side
Set (ON)
Reset (OFF)
Set (ON)
A
C 0 5 F F
K
06H 30H 35H 46H 46H
D-60
7 Commands
7.8 WT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
A
WT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
This section explains the control procedure specification method and shows a specification example when the
word device memory and bit device memory (in 16-point units) are specified arbitrarily and written all at once.
Word devices and bit devices (in 16-point units) can be specified together. However, the WT command
cannot handle 32-bit word devices C200 to C255 (CN200 to CN255).
Message
wait time
PLC No.
Station
No.
WT
Number of
device points
(2 characters
(hexadecimal))
Character area A
Device
Data
(5 characters) (4 characters)
Device
Data
(5 characters) (4 characters)
PLC side
PLC No.
Station
No.
A
C
K
- 1 Number of device points 10*1 (in unit of 10*1 in case of bit devices (One unit indicates 16 points.))
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
3) The WT command cannot handle 32-bit word devices C200 to C255 (CN200 to CN255).
Inverter
Communication
1) Specify the device point range while satisfying the following conditions:
*1.
D
Computer Link
Sum check
code
C
Parallel Link
Computer side
E
N
Q
B
N:N Network
1. Specification method
Test (write arbitrarily) command (unit: word)
Common Items
7.8
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-61
7 Commands
7.8 WT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
2. Specification example
When writing data for setting the current value of D500 to "1234H", Y100 to Y117 to "BCA9H" and the current
value of C100 to "64H" in the PLC whose station number is 5 (while the message waiting time is set to 0 ms)
This range is regarded as the sum check target.
E
N 0 5 F F W T 0 0 3 D 0 5 0 0 1 2 3 4 Y 0 1 0 0 B C A 9
Q
Computer side
05H 30H 35H 46H 46H 57H 54H 30H 30H 33H 44H 30H 35H 30H 30H 31H 32H 33H 34H 59H 30H 31H 30H 30H 42H 43H 41H 39H
PLC side
B
Indicates that "1234H (which is "4660"
in decimal)" is written to D500.
1 0 1 1 1 1 0 0 1 0 1 0 1 0 0 1
Y
1
1
7
Y
1
1
6
Y
1
1
5
Y
1
1
4
Y
1
1
3
Y
1
1
2
Y
1
1
1
Y
1
1
0
Y
1
0
7
Y
1
0
6
Y
1
0
5
Y
1
0
4
Y
1
0
3
Y
1
0
2
Y
1
0
1
Y
1
0
0
A
C 0 5 F F
K
Indicates that "64H (which is "100" in decimal)"
is written to the current value of C100.
D-62
7 Commands
7.9 QT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
A
QT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
This section explains the control procedure specification method and shows a specification example when the
word device memory and bit device memory (in 16-point units) are specified arbitrarily and written all at once.
Word devices and bit devices (in 16-point units) can be specified together. However, the QT command cannot
handle 32-bit word devices C200 to C255 (CN00200 to CN00255).
Number of
device points
(2 characters)
Message
wait time
PLC No.
Station
No.
QT
Character area A
Data on
devices
(4 characters)
Device
(7 characters)
Device
(7 characters)
Parallel Link
Computer side
E
N
Q
Sum check
code
PLC side
PLC No.
A
C
K
Station
No.
D
Computer Link
Data on
devices
(4 characters)
2) Specify the device point range while satisfying the following conditions:
- 1 Number of device points 10 (in unit of 10 in case of bit devices (One unit indicates 16 points.))
3) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
4) Word devices and bit devices (in 16-point units) can be specified together.
2. Specification example
When writing data for setting the current value of R12000 to "1234H" and Y100 to Y117 to "BCA9H" in the
PLC whose station number is 5 (while the message waiting time is set to 0 ms)
Non-Protocol
Communication
(FX2N-232IF)
E
N 0 5 F F Q T 0 0 2 R 0 1 2 0 0 0 1 2 3 4
Q
05H 30H 35H 46H 46H 51H 57H 30H 30H 32H 52H 30H 31H 32H 30H 30H 30H 31H 32H 33H 34H
H
Programming
Communication
Y 0 0 0 1 0 0 B C A 9 E 3
59H 30H 30H 30H 31H 30H 30H 42H 43H 41H 39H 45H 33H
A
C 0 5 F F
K
C
I
Remote
Maintenance
1 0 1 1 1 1 0 0 1 0 1 0 1 0 0 1
Y
1
1
0
Y
1
0
7
Y
1
0
1
Y
1
0
0
Apx.
Discontinued
models
Y
1
1
7
Non-Protocol
Communication
(RS/RS2 Instruction)
5) The QT command cannot handle 32-bit word devices C200 to C255 (CN00200 to CN00255).
PLC side
Inverter
Communication
Computer side
B
N:N Network
1. Specification method
Command for test (by writing arbitrarily in 1-word units)
Common Items
7.9
D-63
7.10
7 Commands
7.10 RR/RS Command [Remotely Sets PLC to RUN/STOP Mode]
NO
YES
Special auxiliary relay
M8037 is set to ON.
D-64
7 Commands
Computer Link
A
This subsection explains the control procedure specification method and specification examples when remote
RUN or STOP mode control is executed.
1. Specification method
B
N:N Network
Sum check
code
A
C
K
PLC No.
PLC side
C
Station
No.
Message
wait time
Station
No.
RR
or
RS
Parallel Link
Computer side
PLC No.
2. Specification examples
Example 1: When remotely setting the PLC whose station number is 5 to RUN mode (while the message
waiting time is set to 0 ms)
Inverter
Communication
E
N 0 5 F F R R 0 C 5
Q
05H 30H 35H 46H 46H 52H 52H 30H 43H 35H
PLC side
Example 2: When remotely setting the PLC whose station number is 0 to STOP mode (while the message
waiting time is set to 0 ms)
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
A
C 0 5 F F
K
Computer side
D
Computer Link
Express the station number, PLC number, number of device points and sum check code in hexadecimal
respectively.
Computer side
Common Items
05H 30H 30H 46H 46H 52H 53H 30H 43H 31H
H
Programming
Communication
A
C 0 0 F F
K
06H 30H 30H 46H 46H
I
Remote
Maintenance
Apx.
Discontinued
models
D-65
7 Commands
Computer Link
7.11
F2H
A2USCPU
FX0N
8EH
A2CPU-S1, A2USCPU-S1
83H
FX2(FX), FX2C
8DH
A3CPU, A3NCPU
A3H
FX1S
82H
FX1N, FX1NC
9EH
A3ACPU
94H
FX2N, FX2NC
9DH
A3HCPU, A3MCPU
A4H
FX3U, FX3UC
F3H
A3UCPU
84H
A0J2HCPU
98H
A4UCPU
85H
A1CPU, A1NCPU
A1H
A52GCPU
9AH
A1SCPU, A1SJCPU
98H
A73CPU
A3H
A2H
A7LMS-F
A3H
A2ACPU
92H
AJ72P25/R25
ABH
A2ACPU-S1
93H
AJ72LP25/BR15
8BH
A2CCPU
9AH
PLC model
name
(2 characters)
E
T
X
PLC No.
Sum check
code
PLC No.
S
T
X
Station
No.
A
C
K
Character area B
Station
No.
PLC side
Sum check
code
PC
Message
wait time
PLC No.
Computer side
E
N
Q
Station
No.
Express the station number, PLC number, number of device points and sum check code in hexadecimal
respectively.
2. Specification example
When reading the model name of the PLC whose station number is 15 (while the message waiting time is set
to 0 ms)
This range is regarded as
the sum check target.
E
N 0 F F F P C 0 C 5
Q
Computer side
PLC side
05H 30H 46H 46H 46H 50H 43H 30H 43H 35H
A
C 0 F F F
K
06H 30H 46H 46H 46H
S
E
T 0 F F F 8 D T 8 1
X
X
02H 30H 46H 46H 46H 38H 44H 03H 38H 31H
The example above indicates that the model name of the target PLC is the FX2(FX) or FX2C Series.
D-66
7 Commands
7.12 GW Command [Offers Global Function]
A
GW Command [Offers Global Function]
In the control procedure, specify the station number "FFH" so that all stations are handled as targets.
If any value other than "FFH" is specified, a special auxiliary relay is set to ON or OFF only in a station with
the specified station number.
When the PLC power is turned OFF or when the PLC is set to STOP mode, the special auxiliary relay
M8126 or M8426 is set to OFF and the processing request in the global function is cleared.
7.12.2 Global function control procedure specification method and specification example
1. Specification method
The specification method in the control procedure format 1 is shown below:
Factor
number
(1 character)
PLC side
Sum check
code
Message
wait time
PLC No.
GW
Character area A
Non-Protocol
Communication
(RS/RS2 Instruction)
E
N
Q
Computer side
Station
No.
GW command to execute
the global command
When the data value is "1 (31H)", M8126 or M8426 is set to ON.
When the data value is "0 (30H)", M8126 or M8426 is set to OFF.
2. Specification example
When setting to ON the special auxiliary relay M8126 of M8426 in all FX PLCs (In all of A Series PLCs in
computer link, however, Xn2 is set to ON.)
H
Programming
Communication
05H 46H 46H 46H 46H 47H 57H 30H 31H 31H 37H
Remote
Maintenance
PLC side
G
Non-Protocol
Communication
(FX2N-232IF)
Express the station number, PLC number, number of device points and sum check code in hexadecimal
respectively.
Computer side
E
Inverter
Communication
This subsection explains the control procedure specification method and specification example when the
global function is executed from the computer.
D
Computer Link
In this function, PLCs do not give any response to the GW command from the computer.
C
Parallel Link
The global function sets a special auxiliary relay to ON or OFF in all FX Series PLCs linked to the computer.
M8126 is set to ON or OFF in PLCs except the FX3U and FX3UC Series.
In FX3U and FX3UC PLCs, M8126 is set to ON or OFF in computer link using ch1, and M8426 is set to ON or
OFF in computer link using ch2.
In A Series PLCs, Xn2 is set to ON or OFF for all PLCs linked to the computer.
B
N:N Network
The global function executed in the computer sets a special auxiliary relay to ON or OFF in all PLCs linked to
the computer in the multi-drop link method. For A Series PLCs, however, refer to the respective A Series PLC
manual.
This section explains the control procedure specification method and specification example when the global
function is used.
Common Items
7.12
Apx.
Discontinued
models
D-67
7 Commands
Computer Link
7.13
On-demand Function
When there is data to be sent from a PLC to the computer, the on-demand function can specify the data
register area storing the data to be sent, and let the PLC start sending.
When data is sent between the computer and a PLC, only the computer can start data transmission.
When there is emergency data to be sent from a PLC to the computer, the on-demand function is applicable
to let the PLC begin sending data to the computer.
PLC
D8127
D8128
Sequence
program
Computer
D(n)
D(n+m-1)
Important point
This function is applicable when the computer and the PLC CPU have the 1-to-1 configuration.
7.13.1 Special data registers and special auxiliary relays used in on-demand function
The tables below show the special data registers and special auxiliary relays used in the on-demand function.
1. In all PLCs except FX3U and FX3UC PLCs and when ch1 is used in FX3U and FX3UC PLCs
Device
Name
On-demand send
M8127*1 processing
Description
Remains ON while the on-demand function is being executed.
ON: On-demand data is being sent.
OFF: Sending of on-demand data is completed.
M8128
Turns ON when an error is included in a specified value to be sent in the ondemand function.
ON: Error is included.
OFF: Error is not included.
M8129
On-demand byte/word
changeover
Specifies the unit (byte or word) of data handled in the on-demand function.
ON: Unit = Byte (8-bit)
OFF: Unit = Word (16-bit)
D8127
Sets the head data register device number containing the data to be sent
using the on-demand function in a sequence program.
D8128
*1.
FX0N, FX1S, FX1N and FX1NC PLCs do not support this device.
D-68
Device
Name
Description
M8427
On-demand send
processing
M8428
Turns ON when an error is included in a specified value to be sent in the ondemand function.
ON: Error is included.
OFF: Error is not included.
M8429
On-demand byte/word
changeover
Specifies the unit (byte or word) of data handled in the on-demand function.
ON: Unit = Byte (8-bit)
OFF: Unit = Word (16-bit)
D8427
Sets the head data register device number containing the data to be sent
using the on-demand function in a sequence program.
D8428
7 Commands
7.13 On-demand Function
A
The on-demand send processing signal (M8127 or M8427) turns ON when the PLC gives a request to
send data to the computer, and turns OFF when sending of the specified data is completed. Use this signal
for interlock to prevent giving two or more on-demand requests at the same time.
Amount of on-demand data and number of data registers used for sending according to the unit
specification (word or byte)
When the specified unit is a word:
The amount of on-demand data is equivalent to the number of data registers to be sent.
B
N:N Network
While the on-demand send processing signal is ON, the PLC cannot receive commands sent from the
computer.
Common Items
Important points
Example: When the amount of on-demand data is "5", the number of data registers for sending is "3".
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-69
7 Commands
Computer Link
M8127*1
M8427
M8128
M8428
M8129
*1.
M8429
D8127
D8427
D8128
D8428
FX0N, FX1S, FX1N and FX1NC PLCs do not support this device.
........ The head device (data register) number storing the ondemand data is written to D8127, and the amount of data is
written to D8128.
When a request is accepted, M8127 is set to ON.
When sending is complete, M8127 turns OFF.
When there is
no error
Sending is completed
D-70
........ If the on-demand error flag M8128 is ON, it means that data
was not sent due to an error in the specified value to be sent.
7 Commands
Computer Link
A
Common Items
C
Parallel Link
Completion of receiving
D
A
C
K
PLC side
Computer Link
Computer side
S
T
X
E
Inverter
Communication
[1]
On-demand send processing
M8127
[1] As soon as an on-demand request is given, the on-demand send processing signal M8127 turns ON.
[2] After receiving of command data (ENQ ~) from the computer is completed, the PLC sends on-demand
data.
[3] After the sending of on-demand data is complete, the PLC sends response data (STX ~) to the
command data (ENQ ~).
[3]
PLC side
S
T
X
I
Remote
Maintenance
A
C
K
Programming
Communication
Computer side
On-demand data
G
Non-Protocol
Communication
(FX2N-232IF)
E
N
Q
Non-Protocol
Communication
(RS/RS2 Instruction)
PLC
B
N:N Network
Judges whether receive data is ........ To the on-demand data, the PLC adds "FE" as the PLC
on-demand data or data given
number. Only when the PLC number of the received data is
by command execution.
[2]
[1]
D-71
Apx.
Discontinued
models
[1] As soon as an on-demand request is given, the on-demand send processing signal M8127 turns ON.
[2] After the sending of response data (STX ~) to the command data (ENQ ~) from the computer is
completed, the PLC sends on-demand data.
[3] After the receiving of on-demand data is complete, the computer sends response data (ACK ~) to the
sending of the response data (STX ~) from the PLC.
7 Commands
Computer Link
M8127*1
M8427
M8128
M8428
M8129
*1.
M8429
D8127
D8427
D8128
D8428
FX0N, FX1S, FX1N and FX1NC PLCs do not support this device.
1. Specification method
The specification method in the control procedure format 1 is shown below:
Added by PLC
Data to be
sent
E
T
X
Sum check
code
S
T
X
PLC No.
PLC side
Station
No.
Computer side
ON
OFF
Write the head device number (data register)
storing the data to be sent to the special data
register D8127.
Write the amount of data to the special data
register D8218.
1) Specify the data quantity specification range while satisfying the following condition:
- Amount of data 40H (= 64 in decimal)
2) The PLC adds "FE" as the PLC number.
3) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
D-72
7 Commands
Computer Link
A
Do not use the on-demand function when the system configuration is not 1-to-1 type.
If the on-demand function is used in the multi-drop link system in which the computer and PLC CPUs have
the 1-to-N configuration, the transfer data and on-demand send data in the control procedure format 1 or 4
are destroyed, and normal data sending is not possible.
When sending the data stored in the data registers D100 and D101 by a trigger from a sequence program
(when the station number is 0 and the data unit to be sent is set to "word")
B
N:N Network
2. Specification example 1
Common Items
IMPORTANT
Computer side
PLC side
1 2 3 4
5 6 7 8
E
T 9 2
X
Parallel Link
S
T 0 0 F E
X
02H 30H 30H 46H 45H 31H 32H 33H 34H 35H 36H 37H 38H 03H 39H 32H
M8127
Writes data to be
sent and amount of
data to be sent.
On-demand
command [1]
D8127
D8128
100
2
D
It turns ON when an error is
included in the specified
value for sending.
M8128 ON/OFF
M8129
OFF
[2]
D100
D101
1234H
5678H
E
Inverter
Communication
M0
M8129
M8002
H1234
D100
MOV
H5678
D101
RST
M8128
RST
Y000
RST
Y001
MOV
K100
D8127
MOV
K2
D8128
SET
Y000
SET
Y001
M8127 M8128
M8128
40
END
M8128
H
Programming
Communication
MOV
Non-Protocol
Communication
(FX2N-232IF)
M0
M8127
33
PLS
Non-Protocol
Communication
(RS/RS2 Instruction)
X000
Computer Link
PLC
I
Remote
Maintenance
Apx.
Discontinued
models
D-73
7 Commands
Computer Link
3. Specification example 2
When sending the data stored in the data registers D100 and D101 by a trigger from a sequence program
(when the station number is 0 and the data unit to be sent is set to "byte")
The PLC number "FE" is automatically added by the PLC.
Computer side
PLC side
S
T 0 0 F E
X
3 4 1 2
7 8 5 6
E
T 9 2
X
02H 30H 30H 46H 45H 31H 32H 33H 34H 37H 38H 35H 36H 03H 39H 32H
M8127
PLC
Writes data to be
sent and amount of
data to be sent.
On-demand
command [1]
D8127
D8128
100
4
[2]
D100
D101
1234H
5678H
M8129
X000
M8002
M0
M8127
PLS
M0
MOV
H1234
D100
MOV
H5678
D101
RST
M8128
RST
Y000
RST
Y001
MOV
K100
D8127
MOV
K4
D8128
SET
Y000
SET
Y001
33
M8127 M8128
M8128
40
........ and the amount of data are specified, and the on-
END
M8128
D-74
7 Commands
Computer Link
A
TT Command [Loop-back Test]
The loop-back test function checks whether or not communication between the computer and a PLC is normal.
This section explains the control procedure specification method and specification example when the loopback test function is used.
Data
(Data for
character
length)
E
T
X
Sum check
code
Character
length
S
T
X
2 characters (hexadecimal)
PLC No.
PLC side
C
2 characters (hexadecimal)
Station
No.
Data
(Data for
character
length)
Sum check
code
Character
length
Message
wait time
PLC No.
TT
Character area A
Parallel Link
E
N
Q
Computer side
Station
No.
Character area B
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal
respectively.
When executing the loop-back test to the PLC whose station number is 0 using the data "ABCDE" (while the
message waiting time is set to 0 ms)
This range is regarded as the
sum check target.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
N 0 0 F F T T 0 0 5 A B C D E 7 8
Q
PLC side
E
Inverter
Communication
2. Specification example
Computer Link
1) Specify the character length specification range while satisfying the following condition:
- 1 Character length 254
Computer side
B
N:N Network
1. Specification method
Common Items
7.14
05H 30H 30H 46H 46H 54H 54H 30H 30H 35H 41H 42H 43H 44H 45H 37H 38H
S
E
T 0 0 F F 0 5 A B C D E T A 3
X
X
G
Non-Protocol
Communication
(FX2N-232IF)
02H 30H 30H 46H 46H 30H 35H 41H 42H 43H 44H 45H 03H 41H 33H
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-75
8 Troubleshooting
Computer Link
8.
Troubleshooting
This chapter explains troubleshooting.
8.1
8.2
Operation status
RD(RXD)
SD(TXD)
Flashing
Flashing
Flashing
Off
Off
Flashing
Off
Off
8.3
3. Wiring
Verify that the wiring to all communication equipment is correct. If the communication equipment is wired
incorrectly, communication is not possible.
For wiring method check, refer to Chapter 4.
D-76
8 Troubleshooting
8.4 Checking Sequence Program
A
Checking Sequence Program
1. Communication setting in the sequence program
C
Parallel Link
3. Presence of VRRD and VRSC instructions (in FX3U and FX3UC PLCs)
B
N:N Network
Verify that the parallel link and N:N Network are not set. Verify that the communication format (D8120 and
D8420) is set correctly. Communication is not possible if a communication port is set twice or more.
After changing any setting, make sure to reboot the PLCs power.
Common Items
8.4
Verify that the VRRD and VRSC instructions are not used in the program.
If these instructions are used, delete them, reboot the PLCs power.
D
Computer Link
7. Presence of IVCK, IVDR, IVRD, IVWR, and IVBWR instructions (in FX3U and FX3UC PLCs)
Verify that the IVCK, IVDR, IVRD, IVWR and IVBWR instructions are not being used for the same channel.
If these instructions are used for the same channel, delete them, reboot the PLCs power.
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-77
8 Troubleshooting
8.5 Checking Error Codes
8.5
8.5.1
Contents of error
Sum check error has occurred.
The sum check code included in the
received data is different from the sum
value calculated from the received data.
Action
Check the data sent from the computer
and the contents of the sum check.
Modify either one, and then execute
communication again.
02H
Sum check
error
03H
06H
Character
area error
07H
Character
error
0AH
10H
18H
D-78
Error item
PLC number
error
Remote
control error
PLC number
error
8 Troubleshooting
8.5 Checking Error Codes
A
Error codes in PLC
6301
Parity, overrun or
framing error
6305
Command error
6306
Monitoring timeout
3801
Parity, overrun or
framing error
3805
Command error
Monitoring timeout
Action
Error codes are not cleared even if communication errors are reset. They are cleared when the PLC mode is
changed from STOP to RUN.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
3806
Contents of error
Inverter
Communication
D8438
(ch2)
Error item
Parallel Link
D8063
(ch1)
Error
code
Computer Link
Device
B
N:N Network
When an error is included in a message sent from the computer to a PLC, an error occurs in the PLC.
When such an error occurs, the serial communication error flag turns ON.
When PLCs other then FX3U and FX3UC PLCs are used or when ch1 is used in an FX3U or FX3UC PLC, the
special auxiliary relay M8063 turns ON as an error flag. When ch2 is used in an FX3U or FX3UC PLC, the
special auxiliary relay M8438 turns ON as an error flag.
When a serial communication error occurs, the error code is stored in D8063 if M8063 turns ON, or stored in
D8438 if M8438 turns ON.
The error code list is shown below:
Common Items
8.5.2
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-79
9 Related Data
Computer Link
9.
9.1
Related Data
Related Device List
1. Bit devices
Device
Name
Description
R/W
M8063
M8120
Global function ON
M8128
M8129
Specifies the unit (byte or word) of data handled in the ondemand function (for ch 1).
ON: Unit = Byte (8-bit)
OFF: Unit = Word (16-bit)
R/W
M8426
Global function ON
M8427
M8428
M8429
Specifies the data unit (byte or word) handled in the ondemand function (for ch 2).
ON: Unit = Byte (8-bit)
OFF: Unit = Word (16-bit)
M8438
M8126
M8127
*1
R: Read only
R/W: Read or Write
*1.
D-80
FX0N, FX1S, FX1N and FX1NC PLCs do not support this device.
R/W
R/W
9 Related Data
Computer Link
A
Device
Name
Description
Stores the error code when an error occurs in serial
communication using ch 1.
R/W
R/W
R/W
D8127
On-demand data head device Sets the head data register device number containing the data
number specification
to be sent using the on-demand function (for ch 1).
R/W
D8128
R/W
D8129
Sets the evaluation time for error when the receiving of data
from the computer is interrupted (for ch 1).
R/W
D8420
R/W
D8421
R/W
D8427
On-demand data head device Sets the head data register device number containing the data
number specification
to be sent using the on-demand function (for ch 2).
R/W
D8428
R/W
D8429
Sets the evaluation time for error when the receiving of data
from the computer is interrupted (for ch 2).
R/W
D8438
R: Read only
R/W: Read or Write
D
Computer Link
D8121
Parallel Link
D8120
N:N Network
D8063
Common Items
2. Word devices
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
D-81
9.2
9 Related Data
9.2 Details of Related Devices
9.2.1
1. Detailed contents
These devices work as the serial communication error flags.
M8063 turns ON when an error occurs in serial communication in any PLC other than FX3U and FX3UC PLCs
or in an FX3U or FX3UC PLC using communication port ch1.
M8438 turns ON when an error occurs in serial communication in an FX3U or FX3UC PLC using
communication port ch2.
When serial communication error flags turn ON, a corresponding error code is stored in D8063 and D8438.
9.2.2
Cautions on use
The serial communication error flag does not turn OFF even after communication recovers its normal status.
Clear it by switching the PLC mode from STOP to RUN.
9.2.3
1. Detailed contents
In an FX0N PLC, set M8120 to ON in a sequence program so that the communication format setting and
station number settings are kept.
2. Cautions on use
In an FX0N PLC, the communication setting status is kept only when M8120 is set to ON.
In any PLC other than FX0N PLCs, setting of M8120 is not required.
9.2.4
1. Detailed contents
When the computer sends the global command, the global ON flag turns ON or OFF in all connected stations.
In all PLCs except FX3U and FX3UC PLCs using communication port ch1, M8126 turns ON or OFF.
In FX3U and FX3UC PLCs using communication port ch2, M8426 turns ON or OFF.
2. Cautions on use
The global ON flag turns OFF from ON when the PLC power is turned OFF or when the PLC mode is
changed to STOP.
9.2.5
1. Detailed contents
When a PLC gives data sending request using the on-demand function, the on-demand send processing flag
turns ON.
In FX2(FX), FX2C and FX2N(C) PLCs and in FX3U and FX3UC PLCs using the communication port ch2, M8127
turns ON/OFF.
In FX3U and FX3UC PLCs using the communication port ch.2, M8427 turns ON/OFF.
2. Cautions on use
Use these devices for interlock to prevent generation of two or more on-demand requests at the same time.
D-82
9 Related Data
Computer Link
A
On-demand error flag [M8128 and M8428]
These devices turn ON when an error is included in a specified value for data sending used with the ondemand function.
1. Detailed contents
B
N:N Network
When the amount of on-demand data is incorrect, the on-demand error flag turns ON.
In all PLCs except FX3U and FX3UC PLCs using communication port ch1, M8128 turns ON.
In FX3U and FX3UC PLCs using communication port ch2, M8428 turns ON.
2. Cautions on use
While the on-demand error flag is ON, data sending is disabled for the on-demand function.
When sending data from a PLC using the on-demand function, set to OFF the on-demand error flag.
C
Parallel Link
9.2.7
1. Detailed contents
D
Computer Link
Use this device to specify the data unit sent using the on-demand function.
Set these devices to ON to specify "byte" (8-bit). Set these devices to OFF to specify "word" (16-bit).
In all PLCs except FX3U and FX3UC PLCs using communication port ch1, use M8129.
In FX3U and FX3UC PLCs using communication port ch2, use M8429.
2. Cautions on use
1. Detailed contents
6301
Parity, overrun or
framing error
6305
Command error
When the station number was FF, any command other than "GW"
was received.
6306
Monitoring timeout
3801
Parity, overrun or
framing error
3805
Command error
When the station number was FF, any command other than "GW"
was received.
3806
Monitoring timeout
Contents of error
I
Remote
Maintenance
D8438
(ch2)
Error item
Programming
Communication
D8063
(ch1)
Error
code
G
Non-Protocol
Communication
(FX2N-232IF)
When the serial communication error flag (M8063 or M8438) turns ON, a corresponding error code is stored
in these devices.
In all PLCs except FX3U and FX3UC PLCs using communication port ch1, an error code is stored in D8063.
In FX3U and FX3UC PLCs using communication port ch2, an error code is stored in D8438.
The error code list is shown below:
Non-Protocol
Communication
(RS/RS2 Instruction)
Device
E
Inverter
Communication
When the unit is set to "word", the amount of on-demand data units is equivalent to the number of data
registers for sending.
When the unit is set to "byte", two on-demand data units use one data register for sending.
Example: When the amount of on-demand data is "5", the amount of data registers for sending is "3".
9.2.8
Common Items
9.2.6
Apx.
Discontinued
models
2. Cautions on use
Error codes are not cleared even after communication recovers its normal status.
Clear them by switching the PLC mode from STOP to RUN.
D-83
9 Related Data
Computer Link
9.2.9
1. Detailed contents
These devices set the serial communication format. In FX1S, FX1N, FX2N, FX3U, FX1NC, FX2NC and FX3UC
PLCs, the contents set in parameters are transferred to these devices when the power is turned ON.
In FX0N, FX2(FX) and FX2C PLCs, set the communication format using a sequence program, and then turn
ON the power.
In all PLCs except FX3U and FX3UC PLCs using communication port ch1, use D8120.
Set the communication format using parameters when using the communication port ch2 in FX3U and FX3UC
PLCs.
Use D8420 for confirmation.
The tables below show the setting details.
Contents of D8120
Bit No.
Name
b0
Data length
b1
b2
Parity
b3
Stop bit
b4
b5
b6
b7
Baud rate
(bps)
b8
Header
b9
Terminator
b10
b11
Control line
Contents
0 (bit = OFF)
1 (bit = ON)
7-bit
8-bit
b2, b1
(0, 0): Not provided
(0, 1): Odd
(1, 1): Even
1-bit
b7, b6, b5, b4
(0, 0, 1, 1): 300
(0, 1, 0, 0): 600
(0, 1, 0, 1): 1200
(0, 1, 1, 0): 2400
Computer
link
Not provided
Not provided
b11, b10
(0, 0): RS-485/RS-422 interface
(1, 0): RS-232C interface
b12
D-84
2-bit
b7, b6, b5, b4
(0, 1, 1, 1): 4800
(1, 0, 0, 0): 9600
(1, 0, 0, 1): 19200
Not applicable
b13
Sum check
Not added
Added
b14
Protocol
Not used
Used
b15
Control
procedure
Format 1
Format 4
9 Related Data
Computer Link
A
Bit No.
Name
b0
Data length
Parity
b3
Stop bit
Baud rate
(bps)
1 (bit = ON)
7-bit
8-bit
b2, b1
(0, 0): Not provided
(0, 1): Odd
(1, 1): Even
1-bit
b7, b6, b5, b4
(0, 0, 1, 1): 300
(0, 1, 0, 0): 600
(0, 1, 0, 1): 1200
(0, 1, 1, 0): 2400
2-bit
b7, b6, b5, b4
(0, 1, 1, 1): 4800
(1, 0, 0, 0): 9600
(1, 0, 0, 1): 19200
b8
Header
Not provided
Provided
b9
Terminator
Not provided
Provided
b10
b11
b12
Control line
b13
Sum check
Not added
Added
b14
Protocol
Not used
Used
b15
Control
procedure
Format 1
Format 4
D
Computer Link
Computer
link
Parallel Link
b4
b5
b6
b7
Contents
0 (bit = OFF)
N:N Network
b1
b2
Common Items
Contents of D8420
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Do not use both the parameters and communication format setting devices (D8120 or D8420) at the same
time. If the communication format is set using both methods at the same time, priority is given to the setting
using parameters.
When setting the communication format device (D8120) in an FX0N PLC, set the communication setting
latched (battery backed) device (M8120) to ON.
When using computer link, make sure to set the header (b8) and terminator (b9) to "not provided". And set the
protocol (b14) to "used".
If the communication format is set using the special data register, the setting becomes valid when the power
is turned ON after the setting is written to the special data register.
Inverter
Communication
2. Cautions on use
1. Detailed contents
Do not use both the parameters and station number settings device (D8121 or D8421) at the same time. If the
station number is set using both methods at the same time, priority is given to the setting using a parameter.
When setting the station number settings device (D8121) in an FX0N PLC, set the communication setting
latched (battery backed) device (M8120) to ON.
I
Remote
Maintenance
2. Cautions on use
H
Programming
Communication
Set the station number of each PLC used in computer link. The applicable setting range is from 0 to 15 (from
H00 to H0F).
In FX1S, FX1N, FX2N, FX3U, FX1NC, FX2NC and FX3UC PLCs, the contents set using parameters are stored
when the power is turned ON.
In FX0N, FX2(FX), and FX2C PLCs, set the station number using a sequence program, and then turn ON the
power.
In all PLCs except FX3U and FX3UC PLCs and in FX3U and FX3UC PLCs using communication port ch1, use
D8121.
Set the station number using parameters when using the communication port ch2 in FX3U and FX3UC PLCs.
Use D8421 for confirmation.
Non-Protocol
Communication
(FX2N-232IF)
Apx.
Discontinued
models
D-85
9 Related Data
Computer Link
9.2.11 On-demand data head device number specification [D8127 and D8427]
These devices set the head data register device number containing the data to be sent using the on-demand
function in a sequence program.
1. Detailed contents
These devices set the head data register device number containing the data to be sent using the on-demand
function.
In all PLCs except FX3U and FX3UC PLCs and in FX3U and FX3UC PLCs using communication port ch1, use
D8127.
In FX3U and FX3UC PLCs using communication port ch2, use D8427.
If there is an error in the set data, the on-demand error flag (M8128 or M8428) turns ON.
2. Cautions on use
When setting the on-demand data head device number specification device (D8127 or D8427), set the flag
using the pulse operation type.
While the on-demand send processing flag (M8127 or M8427) is ON, do not write data.
1. Detailed contents
These devices set the amount of data to be sent using the on-demand function. Set the amount of data 64 or
less.
In all PLCs except FX3U and FX3UC PLCs using communication port ch1, use D8128.
In FX3U and FX3UC PLCs using communication port ch2, use D8428.
If an error is included in the set data, the on-demand error flag (M8128 or M8428) turns ON.
2. Cautions on use
When setting the on-demand data quantity specification device (D8128 or D8428), set the flag using the pulse
operation type.
While the on-demand send processing flag (M8127 or M8427) is ON, do not write data.
1. Detailed contents
These devices set the error evaluation time in 10-ms units used when the receiving of data from the computer
is interrupted.
In all PLCs except FX3U and FX3UC PLCs using communication port ch1, use D8129.
Set the time-out time setting using parameters when using the communication port ch2 in FX3U and FX3UC
PLCs.
Use D8429 for confirmation.
The table below shows the setting range.
FX Series
FX0N, FX1S, FX1N,
FX1NC
Setting range
1 to 255 (10 to 2550 ms) (When "0" is set, it is handled as "100 ms.")
2. Cautions on use
When setting the time-out time setting device (D8129) in an FX0N PLC, set the communication setting latched
(battery backed) device (M8120) to ON.
Make sure that the time-out time setting is not shorter than the time required to receive one character at the
set baud rate.
D-86
9 Related Data
Computer Link
A
Communication Setting Method Using Sequence Program
When adjuting the communication setting using a sequence program, transfer values to D8120
(communication format), D8121 (station number settings) and D8129 (time-out time setting), and then turn
the power ON.
This section explains the communication setting method using a sequence program.
Setting procedure
Perform the following procedure to set the communication using a sequence program.
Parallel Link
M8002
FNC 12
MOV
H6082
D8120
FNC 12
MOV
H0
D8121
FNC 12
MOV
K1
D8129
Computer Link
Initial pulse
M8120
F
Non-Protocol
Communication
(RS/RS2 Instruction)
H
Programming
Communication
Do not set the communication using a sequence program and parameters at the same time.
If the communication is set using both methods at the same time, priority is given to the setting using
parameters.
Non-Protocol
Communication
(FX2N-232IF)
Turn OFF the PLC power, and then turn it to ON so that the communication setting becomes valid.
9.3.2
Inverter
Communication
B
N:N Network
9.3.1
Common Items
9.3
I
Remote
Maintenance
Apx.
Discontinued
models
D-87
9.4
*1.
D-88
9 Related Data
9.4 ASCII Code Table
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
E-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
Remote
Maintenance
This manual explains "inverter communication" provided for the MELSEC-F FX Series Programmable
Controllers and should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
E-2
1 Outline
Inverter Communication
A
Common Items
1.
Outline
N:N Network
1.1
Outline of System
1) Mitsubishi general-purpose inverters FREQROL F700, A700, E700, V500, F500, A500, E500 and S500
(containing the communication type) Series can be linked.
(F700, A700, E700, V500 and F500 Series inverters can be connected only to FX3U and FX3UC PLCs.)
2) Inverter operations can be monitored, various command can be given to inverters, and parameters can
be read or written in inverters.
System
Up to eight inverters
500m (1640' 5") [50m (164' 0") when 485BD is included]
Inverter
Inverter
......
+
Built-in PU port
in accordance
with RS-485
Master station
Station No. 1
+
Built-in PU port
For selection,
in accordance ....... refer to Chapter 3.
with RS-485
wiring,
....... For
refer to Chapter 4.
Non-Protocol
Communication
(FX2N-232IF)
+
Communication
equipment
operating in
accordance with
RS-485
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
FX PLC
D
Computer Link
3) The total extension distance is 500m (1640' 5") maximum (for the system configured with 485ADP only).
C
Parallel Link
Inverter communication allows connection between an FX PLC and up to eight inverters to monitor operations
of inverters, give various commands to inverters and read and write inventer parameters through
communication via RS-485 .
Station No. n
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-3
1.2
1 Outline
1.2 Procedures Before Operation
Inverter Communication
Refer to Chapter 1
Outline
Refer to Chapter 2
Check communication specifications
Refer to Chapter 3
Determine system configuration and selection
Outline of system
Available PLC versions
Available programming tools
Communication specifications
Applicable inverters
Operation commands and parameters
System configuration
Select communication equipment
Refer to Chapter 4
Perform wiring
Refer to Chapter 5
Set inverter communication
Refer to Chapter 6
Perform PLC communication setting
Wiring procedure
Selection of cables and connection
equipment
Wiring example
Parameter communication
Programming tool
Connect PLC*1
Refer to Chapter 7, 9
Create programs
Refer to Chapter 8, 10
Practical program examples
*1 For the programming tool to PLC connection procedure, refer to the "Programming Communication" section in
this manual or the respective programming tool manual.
For details on operation method, refer to the respective programming tool manual.
E-4
1 Outline
Inverter Communication
A
Communication Type Applicability in PLC
1.3.1
Common Items
1.3
PLC
Remarks
*1*3
FX3UC Series
*3
FX3U Series
FX2N Series
FX1NC Series
FX1N Series
FX0N Series
FX0S Series
FX0 Series
FX2C Series
FX2(FX) Series
FX1 Series
F700 and A700 Series inverters are supported in Ver. 2.20 and later.
Product manufactured in May, 2005 (manufacturer's serial number: 55****)
*2.
Applicable in products manufactured in May, 2001 (manufacturers serial No.: 15****) and later.
*3.
E
Inverter
Communication
*1.
D
Computer Link
FX1S Series
F
Non-Protocol
Communication
(RS/RS2 Instruction)
1. Version check
The D8001(decimal) special data register contains information for determining the PLC version.
D8001
1
Version information (Example: Ver. 2.51)
The year and month of production of product can be seen from the Manufacturer's serial number "SERIAL"
indicated on the label adhered to the right side of the product.
MODEL
Programming
Communication
PROGRAMMABLE
CONTROLLER
MITSUBISHI
FX3U-48MR/ES
570001
Remote
Maintenance
Non-Protocol
Communication
(FX2N-232IF)
Right side
C
Parallel Link
FX2NC Series
B
N:N Network
E-5
Apx.
Discontinued
models
Control number
Month (Example: 7=July) (1 to 9 = January to September,
X = October, Y = November, Z = December)
Year (Example: 5 = 2005) ... last digit of year
1 Outline
Inverter Communication
1.4
1.4.1
1. Japanese versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS/WIN
SW0PC-FXGP/WIN
FX-20P(-SET0)
FX-20P-MFXD
FX-10P(-SET0)
2. English versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXD-E
FX-10P-E
1.4.2
E-6
2 Specifications
Inverter Communication
A
Common Items
2.
Specifications
Specifications
8 maximum
Remarks
RS-485 standard
Control procedure
Asynchronous system
Communication method
Baud rate
Character format
ASCII
Data bit
7-bit
Parity bit
Even
Stop bit
1-bit
E
Inverter
Communication
Start bit
FR-A5NR (option)
FREQROL S500
FREQROL E500
Remarks
Only models containing the RS-485
communication type can be connected.
FREQROL A500
They can only be connected to FX3U and
FX3UC PLCs.
Series
Built-in PU connector
FREQROL E700
FREQROL F700
Remarks
They can only be connected to FX3U*1 and
FX3UC*1 PLCs.
H
Programming
Communication
FREQROL A700
*1.
Non-Protocol
Communication
(FX2N-232IF)
FREQROL F500
FREQROL V500
Non-Protocol
Communication
(RS/RS2 Instruction)
Series
Computer Link
Protocol type
Parallel Link
Transmission standard
2.2
N:N Network
2.1
F700 and A700 Series inverters are supported in Ver. 2.20 and later.
E700 Series inverter is supported in Ver. 2.32 and later.
I
Remote
Maintenance
Apx.
Discontinued
models
E-7
2 Specifications
Inverter Communication
2.3
Link Specifications
The tables below show applicable parameters and operation commands.
2.3.1
2.3.2
Read contents
H7B
Operation mode
H6F
H70
Output current
H71
Output voltage
H72
Special monitor
H73
H74
Alarm definition
H75
Alarm definition
H76
Alarm definition
H77
Alarm definition
H79
H7A
H6E
H6D
2.3.3
Applicable inverter
Written contents
Applicable inverter
F700 A700 E700 V500 F500 A500 E500 S500
Operation mode
HF3
HF9
HFA
Run command
HEE
HED
HFD
Inverter reset
HF4
HFC
HFC
User clear
E-8
Inverter Communication
A
Common Items
3.
3.1
System Configuration
This section outlines the system configuration required to use inverter communication.
Connect (optional) equipment operating in accordance with RS-485 to the FX PLC main unit.
2
C
Parallel Link
FX PLC
Total extension
distance
50 m
(164' 0")
FX2N PLC
Communication board
D
Computer Link
B
N:N Network
This chapter explains the system configuration and communication equipment selection operating in
accordance with RS-485 required by FX PLCs.
E
Inverter
Communication
500 m
(1640' 5")
FX2N PLC
Communication Special adapter
adapter
connection board
3
Attach the communication adapter
to the left side of the main unit.
500 m
(1640' 5")
H
Programming
Communication
FX2NC PLC
Non-Protocol
Communication
(FX2N-232IF)
Communication adapter
F
Non-Protocol
Communication
(RS/RS2 Instruction)
I
Remote
Maintenance
Apx.
Discontinued
models
E-9
Inverter Communication
FX PLC
Total extension
distance
50 m
(164' 0")
500 m
(1640' 5")
4
RDA
RD
RDB
SDA
SD
SDB
SG
FX3U PLC
Communication board
RDA
RD
RDB
SDA
SD
SDB
SG
Communication board
FX3UC-32MT-LT
+
Communication
adapter
+
Communication
adapter
FX3U PLC
Expansion
board
Expansion
board
FX3UC-32MT-LT
+
Communication
adapter
FX3UC(D, DSS)
500 m
(1640' 5")
For communication equipment combinations for each FX Series, refer to the next section.
E-10
Inverter Communication
A
Applicable FX PLC and Communication Equipment
FX Series
Total
extension Check
distance
FX2N-485-BD
FX2N-ROM-E1
(Function extension
memory cassette)
FX2N-CNV-BD
FX2NC-485ADP
500 m
(1640' 5")
FX2N-CNV-BD FX0N-485ADP
(Terminal block)
Inverter
Communication
Computer Link
+
+
C
Parallel Link
50 m
(164' 0")
FX2N
B
N:N Network
Select a (optional) communication equipment combination, and put a check mark in the "Check" column.
During selection, pay attention to the following:
- In the table below, only the external dimensions are different between the units shown in "FX2NC-485ADP/
FX0N-485ADP".
Select either one.
- Inverter communication is not provided for the FX0, FX0S, FX0N, FX1, FX2(FX), FX2C, FX1S, FX1N, and
FX1NC Series.
Common Items
3.2
FX2NC
+
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
Non-Protocol
Communication
(RS/RS2 Instruction)
500 m
(1640' 5")
G
Non-Protocol
Communication
(FX2N-232IF)
FX2NC-ROM-CE1
(Function extension
memory board)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-11
Inverter Communication
FX Series
Total
extension Check
distance
50 m
(164' 0")
RD
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
ch1
+
FX3U-CNV-BD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
ch2
FX3U
RD
SD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
ch1
ch2
+
FX3U-CNV-BD
500 m
(1640' 5")
FX3U- ADP(-MB)
FX3U-485ADP(-MB)
(Where represents
232 and 485).
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
ch1
ch2
E-12
500 m
(1640' 5")
FX3U- ADP(-MB)
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Inverter Communication
A
Total
extension Check
distance
B
N:N Network
RD A
50 m
(164' 0")
RD
RD B
SD A
SD
Common Items
FX Series
SD B
SG
FX3U-485-BD
(European terminal block)
C
Parallel Link
ch1
FX3U-485ADP(-MB)
Computer Link
FX3U-CNV-BD
500 m
(1640' 5")
ch2
FX3UC-32MT-LT
RD
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
ch1
FX3U-CNV-BD
ch2
Non-Protocol
Communication
(RS/RS2 Instruction)
500 m
(1640' 5")
Inverter
Communication
SD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
G
Non-Protocol
Communication
(FX2N-232IF)
FX3U- ADP(-MB)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-13
4.
4 Wiring
3.2 Applicable FX PLC and Communication Equipment
Wiring
This chapter explains the wiring.
WIRING PRECAUTIONS
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work.
Failure to do so may cause electric shock or damage to the product.
Make sure to attach the terminal cover, offered as an accessory, before turning on the power or initiating
operation after installation or wiring work.
Failure to do so may cause electric shock.
WIRING PRECAUTIONS
Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents
due to abnormal data written to the PLC under the influence of noise:
1) Do not bundle the main circuit line together with or lay it close to the main circuit, high-voltage line or load line.
Otherwise, noise disturbance and/or surge induction are likely to take place. As a guideline, lay the control line
at least 100mm (3.94") or more away from the main circuit or high-voltage line.
2) Ground the shield wire or shield of the shielded cable at one point on the PLC. However, do not use grounding
with heavy electrical systems.
Make sure to properly wire the FX0N/FX2N Series extension equipment in accordance with the following
precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should follow the specifications in this manual.
Make sure to properly wire to the European terminal board in accordance with the following precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should be follow the specifications in this manual.
- Twist the end of strand wire and make sure that there are no loose wires.
- Do not solder-plate the electric wire ends.
- Do not connect more than the specified number of wires or electric wires of unspecified size.
- Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed.
E-14
4 Wiring
Inverter Communication
Wiring Procedure
Common Items
4.1
B
N:N Network
D
Computer Link
F
For details, refer to Section 4.5.
Non-Protocol
Communication
(RS/RS2 Instruction)
Connect terminal resistors to the communication equipment of the PLC and the RDA-RDB signal
terminal in the last inverter.
Inverter
Communication
Connect communication equipment with communication port of inverters (PU port, built-in terminal
for RS-485, FR-A5NR).
C
Parallel Link
G
For details, refer to Section 4.6.
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-15
4 Wiring
Inverter Communication
4.2
PU connector
(RJ45 connector)
4.2.1
Non-stranded cable
(10BASE-T cable for LAN)
Terminal resistor
(which is supplied with communication equipment for the
FX PLC side, and should be arranged by the user for the
inverter side)
S500, E500, A500, F500, V500 and E700 Series (PU connector)
1. In the case of 1-to-1 connection
When a distributor is not used
10BASE-T cable
Terminal resistor
RS-485 connector
(PU connector)
10BASE-T cable
Terminal resistor
RS-485 connector
(PU connector)
Distributor
10BASE-T
cable
10BASE-T cable
Distributor
10BASE-T
cable
10BASE-T cable
10BASE-T cable
Terminal resistor
RS-485 connector
PU
connector
PU
connector
E-16
Terminal
resistor
Distributor
10BASE-T cable
4 Wiring
4.2 Selecting Cables and Connection Devices
A
A500, F500 and V500 Series (FR-A5NR)
Common Items
4.2.2
B
N:N Network
C
Parallel Link
FR-A5NR
Twisted pair cable
Terminal
resistor
Terminal resistor
Computer Link
E
Twisted pair cable
Inverter
Communication
Terminal
resistor
FR-A5NR
FR-A5NR
FR-A5NR
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Terminal resistor
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-17
4 Wiring
Inverter Communication
4.2.3
Built-in
RS-485
terminal
E-18
Built-in
RS-485
terminal
Built-in
RS-485
terminal
4 Wiring
Inverter Communication
A
Connection Cables
4.3.1
Common Items
4.3
Ethernet cables used in the LAN wiring for a personal computer can be connected.
N:N Network
2) Connection specifications
: Straight type
3) Connector
: RJ45 connector
C
Parallel Link
4.3.2
Computer Link
The table below shows recommended model names and manufacturers of cables used in wiring.
Use commercial three-pair type twisted pair cables of 0.3 mm2 or more.
Model name
Remarks
DPEV SB 0.3 3P
DPEV SB 0.5 3P
D-KPEV-SB 0.5 3P
Inverter
Communication
Manufacturer
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
3. Point of contact
Programming
Communication
For details on cables such as specifications and price, contact each cable manufacturer.
I
Remote
Maintenance
Apx.
Discontinued
models
E-19
4 Wiring
Inverter Communication
4.3.3
Connecting cables
1. European type terminal block
Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS485.
The table below shows applicable cables and tightening torques.
Cable size when Cable size when
one cable is
two cables are
connected
connected
FX3U-485-BD
FX3U-485ADP
(-MB)
AWG22 to
AWG20
FX2N-485-BD
FX2NC-485ADP
AWG22
Tightening
torque
AWG22 to AWG20
AWG26 to AWG16
AWG26 to
AWG16
AWG26 to
AWG20
Tool size
A
0.22 to 0.25
Nm
0.4 (0.01")
2.5 (0.09")
0.6 Nm
0.6 (0.03")
3.5 (0.14")
0.4 to 0.5
Nm
0.6 (0.03")
3.5 (0.14")
With regard to the cable end treatment, use a stranded cable or solid cable as it is, or use a bar terminal with
insulating sleeve.
When using a stranded cable or solid cable as it is
- Twist the end of a stranded cable so that wires do not get barbed.
- Do not plate the end of the cable.
FX3U-485-BD, FX3U-485ADP(-MB)
FX1N-485-BD, FX2N-485-BD
Approx. 9 mm
(0.35")
FX2NC-485ADP
Approx. 6 mm
(0.23")
Model name
Caulking tool
AI 0.5-8WH
CRIMPFOX ZA 3
(or CRIMPFOX UD 6)
Approx. 8 mm
(0.31")
Insulating sleeve
Contact area
(Crimp area)
8 mm (0.31")
2.6 mm
(0.1")
14 mm
(0.55")
Tool
- When tightening a terminal on the European terminal block, use a small commercial straight shape
screwdriver whose tip is shown in the figure to the right.
Note:
If the diameter of screwdriver grip is too small, tightening torque will
not be able to be achieved. Use the following recommended
screwdriver or an appropriate replacement (grip diameter:
approximately 25mm).
Manufacturer
Phoenix Contact
E-20
Model name
SZS 0.4 2.5
Select a
screwdriver
with a
straight tip.
4 Wiring
Inverter Communication
A
Common Items
2. Terminal block
In the FX0N-485ADP, the terminal screw size is "M3".
Make sure to use a crimp-style terminal with the following sizes.
Make sure that the tightening torque is 0.5 to 0.8 Nm.
When wiring one cable to one terminal
B
Terminal
screw
6.2 mm (0.24")
or less
Crimp-style
terminal
N:N Network
3.2 (0.13")
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
Terminal
Parallel Link
6.3 mm (0.25")
or more
Crimp-style
terminal
Computer Link
6.2 mm (0.24")
or less
Terminal
screw
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
Inverter
Communication
4.4
Terminal
6.3 mm (0.25")
or more
Product name
Model name
Distributor
Check
BMJ-8
Modular rosette
Do not use a plug with terminal resistor HACHIKO ELECTRIC CO., LTD
supplied together with the modular rosette
above.
G
Non-Protocol
Communication
(FX2N-232IF)
4.5
Manufacturer
Brown
Precision
I
1 1 1
=110
(101)
Brown Black Brown Precision
Apx.
1 0 1 =100
(101)
E-21
Discontinued
models
Remote
Maintenance
H
Programming
Communication
Connect a terminal resistor to both the communication equipment of the FX PLC and the RDA-RDB signal
terminal in the last inverter.
For details on connection, refer to each wiring diagram.
Non-Protocol
Communication
(RS/RS2 Instruction)
4 Wiring
4.6 Wiring a Shielding Wire (Class-D grounding)
330
330
OPEN
OPEN
110
110
Terminal
resistor selector
switch
330
OPEN
110
Terminal
resistor selector
switch
OPEN
Terminal
resistor
switch
100
4.6
1. When the
Connect the
2. When the
FG
FG
FG
E-22
4 Wiring
Inverter Communication
A
Connector in Inverter
Common Items
4.7
Signal name
P5S
RDB
SDA
SDB
RDA
P5S
SG
(8)
(1)
Modular jack
Not used
The pins Nos. 2 and 8 (P5S) are provided for the power supply of the operation panel or parameter unit.
Do not wire them into inverter communication.
Computer Link
E
SDA SDB RDA RDB RDR SG
Inverter
Communication
Terminal
block
Screw size:
M3
Parallel Link
SG
N:N Network
Remarks
Not used
Terminal
symbol
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
Terminal
symbol
Connect them to the communication equipment
operating in accordance with RS-485 of the PLC.
European
terminal block
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-23
4 Wiring
Inverter Communication
4.8
Connection Diagram
4.8.1
FX3U-485-BD
FX2N-485-BD
FX2NC-485ADP
FX0N-485ADP FX3U-485ADP(-MB)
RDA
RDB
SDA
SDB
24V
LINK
DC
50mA SG
24+
24G
FG
Class-D grounding
RDA
RDB
SDA
SDB
SG
PLC
10BASE-T
cable
5
4
3
6
1
5
4
3
6
1
Connect a terminal
resistor of 100 , 1/2 W
(not supplied).
When seen from inverter front
(receptacle side)
54361
PU (RS-485) S S R R
S
connector
D D D DG
ABAB
Inverter
54361
Modular jack
FX3U-485-BD
FX2N-485-BD
FX2NC-485ADP
FX0N-485ADP FX3U-485ADP(-MB)
RDA
RDB
SDA
SDB
24V
LINK
DC
50mA SG
24+
24G
FG
Class-D grounding
RDA
RDB
SDA
SDB
SG
PLC
10BASE-T
cable
5
4
3
6
1
Distributor
5
4
3
6
1
5
4
3
6
1
Distributor
5
4
3
6
1
5
4
3
6
1
5
4
3
6
1
54361
5 43 6 1
54361
PU (RS-485) S S R R S
connector D D D D G
PU (RS-485) S S R R S
connector D D D D G
PU (RS-485) S S R R S
connector D D D D G
Inverter
ABAB
54361
Inverter
ABAB
5 43 6 1
...
Inverter
ABAB
54361
E-24
4 Wiring
Inverter Communication
A
For A500 Series (FR-A5NR)
Common Items
4.8.2
Class-D grounding
RDA
RDB
SDA
SDB
SG
S SS
G DD
AB
Terminal
arrangement
RRR
DDD
A BR
Terminal
block
Screw size:
M3
FR-A5NR
Inverter
PLC
C
Parallel Link
RDA
RDB
SDA
SDB
24V
DC
LINK
50mA
SG
24+
24G
FG
B
N:N Network
FX3U-485-BD
FX2N-485-BD
FX2NC-485ADP
FX0N-485ADP FX3U-485ADP(-MB)
D
Computer Link
Terminal
symbol
SG
0.3mm2 or more
Class D
grounding
S
S SD
G D
AB
PLC
RRR
DDD
A BR
FR-A5NR
Inverter
S
S SD
G D
AB
Class D
grounding
RRR
DDD
ABR
FR-A5NR
Inverter
....
S
S SD
G D
AB
RRR
DDD
ABR
Non-Protocol
Communication
(FX2N-232IF)
Class-D grounding
RDA
RDB
SDA
SDB
SG
Non-Protocol
Communication
(RS/RS2 Instruction)
RDA
RDB
SDA
SDB
24V
LINK
DC
50mA SG
24+
24G
FG
Inverter
Communication
FX3U-485-BD
FX2N-485-BD
FX2NC-485ADP
FX0N-485ADP FX3U-485ADP(-MB)
FR-A5NR
Inverter
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-25
4 Wiring
Inverter Communication
4.8.3
RDA
RDB
SDA
SDB
SG
PLC
0.3mm2 or more
SS
S DD
G AB
11
Class-D
grounding
RR
DD
AB
11
Inverter
FX3U-485-BD
FX3U-485ADP(-MB)
RDA
RDB
SDA
SDB
SG
0.3mm2 or more
Class-D
grounding
Class-D
grounding
Class-D
SS SS
grounding S D D DD
G BA BA
1122
PLC
SS SS
S DD D D
G BA BA
1122
R R RR
D D DD S
B ABA G
1122
Inverter
R R RR
D D DD S
BA BA G
1122
Inverter
Connect them
to SDA and
SDB in PLC.
Connect them
to RDA and
RDB in PLC.
Connect it to
SG in PLC.
E-26
RXD
+ - + - RXD
TXD + - + -
TXD + - + -
SG
SG
SG VCC
SG VCC
Connect them to
RDA1 and RDB1 in
next inverter.
Connect them to
SDA1 and SDB1 in
next inverter.
Connect it to SG in
next inverter.
....
SS
S DD
G BA
11
RR
DD
BA
11
Inverter
4 Wiring
Inverter Communication
4.9 Grounding
A
Grounding
Common Items
4.9
PLC
Other
equipment
PLC
Other
equipment
PLC
Other
equipment
B
N:N Network
C
Shared grounding
Good condition
Common grounding
Not allowed
Parallel Link
Independent grounding
Best condition
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-27
5.
5.1
E500 Series
Remove the operation panel.
PU
connector
Remove the
surface cover
RS-485 port
(PU connector)
E700 Series
Open the PU connector cover
PU connector
RS-485 terminal
Model
Model classification
S500 Series Only models with built-in RS-485 port RS-485 port
Pr79,n1 to n12
5.2
PU port
Pr79,Pr117 to Pr124
5.3
PU port
Pr79,Pr117 to Pr124
5.4
A500 Series
F500 Series
Option
Pr79,Pr331 to Pr342
5.5
PU port
Pr79,Pr117 to Pr124
5.4
Option
Pr79,Pr331 to Pr342
5.5
PU port
Pr79,Pr117 to Pr124
5.4
Option
Pr79,Pr331 to Pr342
5.5
PU port
Pr79,Pr117 to Pr124,
Pr.340, Pr549
5.6
5.7
5.7
V500 Series
E-28
Inverter connection
destination
Inverter Communication
A
S500 Series (When Connected to RS-485 Port)
5.2.1
Common Items
5.2
The table below shows parameters which should be set in all cases.
Parameter No.
Parameter item
Set value
n2
Communication speed
n3
00 to 31
Setting contents
Up to eight inverters can be connected.
48
4800 bps
96
9600 bps
192
10
C
Parallel Link
n1
N:N Network
n4
n7
---
n11
CR/LF selection
Pr79
n10
n6
---
Computer Link
2. Parameters which should be adjusted between test operation and actual operation
n5
Parameter item
Number of
communication retries
Set value
Setting contents
---
Parameter No.
Parameter item
Set value
Setting contents
n12
0 or 1
n8
Operation command
write
0 or 1
0: PLC
1: External
n9
0 or 1
0: PLC
1: External
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
The table below shows parameters to be considered when using various system configuration and inverters.
For the method of use, refer to the respective inverter manual.
Inverter
Communication
Parameter No.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-29
Inverter Communication
5.2.2
MODE key
Changes over the setting mode.
Setting dial
Changes the set value of
the frequency and
parameters.
SET key
Sets each setting.
The operating procedure example below shows a case in which the baud rate is set to 19,200 bps.
When the set value and parameter number are displayed alternately, the setting is completed.
E-30
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
When the set value and parameter number are displayed alternately, the setting is completed.
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-31
Inverter Communication
5.3
5.3.1
Parameter item
Set value
Pr117
00 to 31
Setting contents
Pr118
Communication speed
Pr119
Pr120
Pr123
Pr124
CR LF presence/absence
selection
Pr79
Pr122
48
4800 bps
96
9600 bps
192
10
9999
9999
2. Parameters which should be adjusted between test operation and actual operation
Parameter No.
Pr121
Parameter item
Number of
communication retries
Set value
Setting contents
9999
Pr146
Pr342
*1.
E-32
Parameter item
Frequency setting
command selection*1
EEPROM write selection
(only in 400 V class)
Set value
Setting contents
0, 1, 9999
0
: The built-in frequency setting knob is valid.
1
: The built-in frequency setting knob is invalid.
9999 : The built-in frequency setting knob is valid when
the frequency is set to "0 Hz" by the keys.
0 or 1
0: EEPROM is written.
1: RAM is written.
When changing the frequency from the PLC, set "1" or "9999".
A
Parameter setting method (reference)
Common Items
5.3.2
This subsection explains the parameter setting method using the operation panel.
For details on the operation panel, refer to the respective inverter manual.
When the cover is closed
B
N:N Network
C
Display LED 4 digits
Displays the frequency,
parameter number, etc.
Unit indicator
Operation status indication
The LEDs light and flash according
to the mode and operation status.
Setting key
Sets each setting.
MODE key
Changes over the mode.
The operating procedure example below shows a case in which the baud rate is set to 19200 bps.
Inverter
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
Press the MODE key, and select the parameter setting mode.
Monitoring mode
D
Computer Link
UP/DOWN key
Change the set value of the
frequency and parameters.
Parallel Link
Non-Protocol
Communication
(FX2N-232IF)
*1.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-33
b) Press the SET key to flash the middle digit. Set a numeric value using the UP and DOWN keys.
c) Press the SET key to flash the least significant digit. Set a numeric value using the UP and DOWN
keys.
2. Press and hold the SET key for 1.5 seconds to set "192".
E-34
Inverter Communication
A
V500, F500 and A500 Series (Connection to PU Port)
5.4.1
Common Items
5.4
The table below shows parameters which should be set in any case.
Parameter No.
Parameter item
Set value
00 to 31
Setting contents
Pr117
Pr118
Communication speed
Pr119
Pr120
Pr123
Pr124
CR LF presence/absence
selection
Pr79
Pr122
48
4800 bps
96
9600 bps
10
2: Even parity
Set in communication data
2. Parameters which should be adjusted between test operation and actual operation
Pr121
Parameter item
Number of
communication retries
Set value
Setting contents
9999
Parameter No.
Parameter item
Set value
Pr342
0 or 1
Setting contents
0: EEPROM are written.
1: RAM is written.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
The table below shows parameters to be considered when using various system configuration and inverters.
For the method of use, refer to the respective inverter manual.
Inverter
Communication
Parameter No.
Computer Link
9999
Parallel Link
192
9999
N:N Network
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-35
5.4.2
Mode key
Changes over the mode.
UP.down key
Change the set value of
the frequency and
parameters.
Set key
Sets each setting.
The operating procedure example below shows a case in which the baud rate is set to 19200 bps.
*1.
The frequency setting mode is displayed only during the PU operation mode.
E-36
A
Common Items
b) Press the SET key to flash the middle digit. Set a numeric value using the UP and DOWN keys.
B
N:N Network
c) Press the SET key to flash the least significant digit. Set a numeric value using the UP and DOWN
keys.
C
Parallel Link
D
Computer Link
1. Press the SET key to read the currently set value. Change the set value using the UP and
DOWN keys.
E
Inverter
Communication
2. Press and hold the SET key for 1.5 seconds to set "192".
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-37
Inverter Communication
5.5
5.5.1
Parameter item
Set value
Pr331
00 to 31
Pr332
Communication speed
Pr333
Pr334
Pr337
Pr341
48
4800 bps
96
192
19200 bps
10
2: Even parity
9999
Pr79
Pr340
Pr336
Setting contents
Up to eight inverters can be connected.
1
9999
Computer link
Communication check is stopped.
2. Parameters which should be adjusted between test operation and actual operation
Parameter No.
Pr335
Parameter item
Set value
Setting contents
9999
Number of communication
retries
5.5.2
Parameter item
Set value
Setting contents
Pr342
0 or 1
0: EEPROM is written.
1: RAM is written.
Pr338
0 or 1
0: PLC
1: Outside
Pr339
0 or 1
0: PLC
1: Outside
E-38
Inverter Communication
A
E700 Series (when PU port is connected)
5.6.1
Common Items
5.6
B
N:N Network
Parameter item
Set value
Pr118
PU communication speed
Pr119
Pr120
Pr123
Pr124
Pr79
Pr549
Protocol selection
Mitsubishi
inverter
operation) protocol
48
4800 bps
96
9600 bps
192
10
2: Even parity
9999
(computer
link
Setting contents
9999
9999
Set value
G
Non-Protocol
Communication
(FX2N-232IF)
Pr122
Set value
Non-Protocol
Communication
(RS/RS2 Instruction)
Pr121
Parameter item
2. Parameters which should be adjusted between test operation and actual operation
Parameter No.
Computer Link
1 or 10
C
Parallel Link
Inverter
Communication
Pr340
00 to 31
Setting contents
Pr117
9999
0 (Initial Value)
Programming
Communication
During adjustment or when communication with the PLC is not executed periodically
I
Remote
Maintenance
Apx.
Discontinued
models
E-39
Inverter Communication
E-40
Parameter item
Speed display*1
Set value
Setting contents
Pr146
0 or 1
Pr342
0 or 1
0: EEPROM is written.
1: RAM is written.
*1.
*2.
Set Pr146 to "1" when changing the frequency from the PLC.
Inverter Communication
A
Parameter setting method (reference)
Common Items
5.6.2
This subsection explains the parameter setting method using the operation panel.
For details on the operation panel, refer to the respective inverter manual.
Operating status display
Lit or flicker during inverter operation
B
N:N Network
Monitor
(4-digit LED)
Show the frequency,
parameter number, etc.
Setting dial
Used to change
the frequency setting
and parameter values.
MODE key
Used to change each setting mode
Parallel Link
SET key
Determines each setting
The operating procedure example below shows a case in which the baud rate is set to 19200 bps.
D
Computer Link
Confirm that the operation is stopped (that the RUN indicator is off).
E
Inverter
Communication
Monitor/frequency
setting mode
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
3. Turn the setting dial, and change the set value to "0".
I
Remote
Maintenance
Apx.
Discontinued
models
E-41
The set value and parameter number are displayed alternately, and the setting is completed.
Turn the setting dial, and change the set value to "192".
The set value and parameter number are displayed alternately, and the setting is completed.
E-42
A
F700 and A700 Series (when built-in RS-485 terminal is connected)
5.7.1
The table below shows parameters which should be set in all cases.
Parameter item
Set value
00 to 31
Setting contents
Pr331
Pr332
192
19200 bps
Pr333
10
Pr334
RS-485 communication
selection
2: Even parity
Pr337
Pr341
Pr79
Pr340
Computer link
Pr336
Pr549
Protocol selection
check
48
4800 bps
96
9999
Computer Link
9999
C
Parallel Link
parity
N:N Network
Common Items
5.7
Parameter No.
Parameter item
Set value
Setting contents
Inverter
Communication
Pr335
9999
*1.
The RS-485 communication speed set value "38400 bps" is not supported by FX PLCs.
2. Parameters which should be adjusted between test operation and actual operation
The table below shows parameters to be considered when using various system configuration and inverters.
For the method of use, refer to the respective inverter manual.
Parameter No.
Parameter item
Set value
Setting contents
0 or 1
0: EEPROM is written.
1: RAM is written.
Pr338
0 or 1
0: PLC
1: Outside
Pr339
0 or 1
0: PLC
1: Outside
G
Non-Protocol
Communication
(FX2N-232IF)
Pr342
Non-Protocol
Communication
(RS/RS2 Instruction)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-43
5.7.2
Setting dial
Used to change the
frequency setting and
parameter values.
MODE key
Changes over the mode.
SET key
Sets each setting.
The operating procedure example below shows a case in which the baud rate is set to 19200 bps.
3. Turn the setting dial, and change the set value to "0".
E-44
Inverter Communication
A
Common Items
N:N Network
The set value and parameter number are displayed alternately, and the setting is completed.
Parallel Link
D
Computer Link
Turn the setting dial, and change the set value to "192".
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
The set value and parameter number are displayed alternately, and the setting is completed.
H
Programming
Communication
5.8
Non-Protocol
Communication
(FX2N-232IF)
Cautions on Setting
1. Setting of the "communication check time interval"
Description
When communication with the PLC is not executed
Apx.
Discontinued
models
I
Remote
Maintenance
During adjustment or when communication with the PLC is not executed periodically
Set value
E-45
Inverter Communication
6.
6.1
2. Setting flow
PLC memory
Setting window
Parameter area
Transferred
when
power is
turned ON
Parameter
method
Program area
In FX3U and FX3UC
Inverter communication using
ch2
D8420 Communication format
E-46
A
Communication Setting Using Parameter Method (GX Developer)
Two software packages, GX Developer and FXGP/WIN for Windows, are applicable to the parameter
method. This section explains the parameters using GX Developer.
Operating procedure
This subsection explains the serial communication setting method. Suppose that GX Developer is already
started up.
Parallel Link
N:N Network
6.2.1
Common Items
6.2
D
Computer Link
E
Inverter
Communication
If the project tree is not displayed, select [View] - [Project data list] from the toolbar.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-47
[1]
[2]
[3]
[5]
[4]
[1] Set the channel to be used. (This parameter can be set only in the FX3U and FX3UC PLCs.)
[2] Check the "Operate communication setting" box.
[3] Set "Protocol" to "Non-procedural," "Data length" to "7bit," "Parity" to "Even," and "Stop bit" to
"1bit."
[4] Set "Transmission speed" to either "4800," "9600" or "19200," and make sure that the set value
here is the same as the set value in the inverters.
[5] Ignore these items.
E-48
A
Communication Setting Using Parameter Method (FXGP/WIN)
Two software packages, GX Developer and FXGP/WIN for Windows, are applicable to the parameter
method. This section explains the parameters using FXGP/WIN.
Operating procedure
This subsection explains the serial communication setting method. Suppose that FXGP/WIN is already
started up.
Parallel Link
N:N Network
6.3.1
Common Items
6.3
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-49
[1]
[2]
[3]
[1] Set "Protocol" to "RS instruction," "Data bits" to "7," "Parity" to "Even," and "Stop bits" to "1".
[2] Set "Transfer speed [bps]" to either "4800," "9600" or "19200," and make sure that the set value
here is the same as the set value in the inverters.
[3] Ignore these items.
E-50
Inverter Communication
A
Common Items
7.
7.1
B
N:N Network
This chapter explains how to create programs which change inventer parameters and give operation
commands to inverters.
As explanation, a program example is shown for each applied instruction.
1. Bit devices
Device No.
Name
Description
R/W
M8104
Extension ROM
cassette check
Unused
M8155
Communication port
busy
M8156
Communication error
Turns ON when a communication error is caused by AN extr instruction.
or parameter error
M8157
Communication error
latch*1
2. Word devices
Device No.
Name
Description
R/W
D8105
Extension ROM
cassette version
D8154
Inverter response
waiting time
D8155
Step number of
instruction using
communication port
Stores the step number of the EXTR instruction using the communication
port.
D8156
Error code*1
D8157
Error occurrence
step number latch*1
R/W
*1.
I
Remote
Maintenance
R: Read only
R/W: Read or Write
Programming
Communication
Extension ROM
cassette type code
Non-Protocol
Communication
(FX2N-232IF)
D8104
Non-Protocol
Communication
(RS/RS2 Instruction)
*1.
E
Inverter
Communication
M8154
D
Computer Link
M8029
Parallel Link
The tables below show the devices used in inverter communication in FX2N and FX2NC PLCs.
Apx.
Discontinued
models
E-51
Inverter Communication
7.2
7.2.1
S1
S2
S3
Inverter
instruction code
Read/
Write
Instruction
EXTR(FNC180)
7.2.2
Function
number (S)
Function
Control direction
Detailed
explanation
K10
PLC inverter
7.3
K11
PLC inverter
7.4
K12
PLC inverter
7.5
K13
PLC inverter
7.6
FNC180
EXTR
(1)
M8155
ONOFF
FNC180
EXTR
M8155
ONOFF
(2)
M8155
ONOFF
FNC180
EXTR
E-52
(3)
Inverter Communication
M0
......[1]
FNC180
EXTR
......[2]
B
N:N Network
M1
FNC180
EXTR
Common Items
- Even if the drive condition turns ON, the PLC does not start execution of EXTR instruction until the
communication port busy flag M8155 turns OFF from ON if M8155 was set to ON by another EXTR
instruction.
The PLC waits for 15 ms after freeing the communication port, and then executes EXTR instructions
driven in the next step and so on.
C
M0
Parallel Link
Note 2
Note 1
EXTR
instruction [1]
M1
Computer Link
EXTR
instruction [2]
M8155
15ms
15ms
Inverter
Communication
15ms
Note 1: If the drive contact is OFF in 15 ms after M8155 turned OFF from ON, the instruction cannot
be executed.
Note 2: When two or more instructions are driven at the same time during communication, the EXTR
instruction in the next step is executed after the current communication with an inverter is
finished.
SET
M0
M0
M8029
Command is latched
Communication is
executed
FNC180
EXTR
M0
Command is reset
Programming
Communication
RST
G
Non-Protocol
Communication
(FX2N-232IF)
X001
Non-Protocol
Communication
(RS/RS2 Instruction)
2) Cautions on programming
When the drive contact for another EXTR instruction is driven by a pulse signal during communication
with an inverter, the communication is not executed.
When communicating with inverters for two or more items, let the drive contact for EXTR instruction
remain ON until sending is completed. After communication with all inverters is finished, set the drive
contact to OFF using the instruction execution complete flag M8029.
Instruction execution
complete
I
Remote
Maintenance
When communication with an inverter is finished, the instruction execution complete flag M8029 turns ON,
and remains ON for 1 scan.
For details on using M8029 method, refer to program examples shown below.
Apx.
Discontinued
models
E-53
7.2.3
Description
Instruction execution complete
M8156
D8156
Error code
M0 (OFF)
M1 (ON)
M2 (OFF)
Operation of
instruction execution
complete flag
M8029 : OFF
M8029 : ON
M8029 : OFF
FNC180
EXTR
Operation of
communication
error flag
M8156 : ON
Error code
status
D8156: K1
Error code is
stored
M8156 : OFF
D8156: K1
Error code is not
changed
M8156 : ON
D8156: K268
Error code is
stored
E-54
A
X000
SET
Common Items
3. Program examples
M0
Start command
M0
M8156
SET
Communication error
M8029
X001
M50
Error in the 1st
instruction
D8156
D50
RST
M0
SET
M1
SET
M51
D50
C
Parallel Link
Instruction
execution
complete
FNC 12
MOV
M50
N:N Network
FNC180
EXTR
M1
Computer Link
Start command
FNC180
EXTR
M8156
M51
Communication error
Instruction
execution
complete
FNC 12
MOV
D8156
D51
RST
M1
Inverter
Communication
M8029
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-55
Inverter Communication
7.2.4
Cautions on programming
1. Using EXTR instruction together with another instruction
EXTR instruction cannot be used together with RS instruction.
EXTR instruction cannot be used together with EXTR K0 instruction.
SET
M0
S0
S999
RST
M0
Reset input
M0
M8155
Communication
port busy
FNC 40
ZRST
Remarks
Conditional jump
Repeat
Subroutine
Interrupt routine
E-56
Inverter Communication
A
Inverter Operation Monitoring Instruction (PLCInverter) [EXTR K10]
EXTR K10 instruction reads the operation status of an inverter to the PLC.
7.3.1
1. Applicable devices
Bit device
Word device
System/
User
Digit specification
Index
V
Constant Pointer
Modification
C
Parallel Link
System/User
Others
N:N Network
When an "instruction code" specified for computer link operation in inverters is specified in EXTR instruction,
a value in the inverter is read to D .
Operand
type
Common Items
7.3
S1
S2
Computer Link
2. Program example
S
M0
K10
K6
S2
H6F
Command
contact
Function number: K10
Inverter station number: 0 to 31
7.3.2
D100
Inverter
Communication
FNC180
EXTR
S1
Applicable inverter
S2
Inverter instruction
code (hexadecimal)
A500
E500
S500
Operation mode
Output frequency [speed]
H70
Output current
H71
Output voltage
H72
Special monitor
H73
H74
Alarm definition
H75
Alarm definition
H76
Alarm definition
Alarm definition
Inverter status monitor
Set frequency read (EEPROM)
Set frequency read (RAM)
H7F
H6C
E-57
Apx.
Discontinued
models
H6E
H6D
Remote
Maintenance
H77
H7A
Programming
Communication
H6F
G
Non-Protocol
Communication
(FX2N-232IF)
H7B
Read contents
Non-Protocol
Communication
(RS/RS2 Instruction)
The table below shows inverter instruction codes which can be specified in S2 .
For the instruction codes, refer to the pages explaining computer link in detail in each inverter manual.
Inverter Communication
7.4
7.4.1
1. Applicable devices
Bit device
Operand
type
Word device
System/User
X
System/
User
Digit specification
Others
Index
V
Constant Pointer
Modification
S
S1
S2
S3
2. Program example
S
M0
S1
FNC180
EXTR
K11
K6
Command
contact
Function number: K11
Inverter station number: 0 to 31
7.4.2
S2
S3
HFA
K2M50
Value written to inverter
Inverter instruction code (hexadecimal)
S2
Read contents
Inverter instruction
code (hexadecimal)
HFB
*1.
E-58
E500
S500
Operation mode
HF3
HFA
Run command
HEE
HED
HFD*1
A500
Inverter reset
HF4
HFC
HFC
User clear
The instruction code "HFD (inverter reset)" does not request response from the inverter. Accordingly,
even if inverter reset is executed to a station number in which an inverter is not connected, error does
not occur.
It takes about 2.2 seconds to complete execution of inverter reset.
Inverter Communication
A
Inverter Parameter Reading Instruction (PLCInverter) [EXTR K12]
Common Items
7.5
7.5.1
1. Applicable devices
Bit device
System/User
X
System/
User
Digit specification
Others
Index
V
Constant Pointer
Modification
C
Parallel Link
Operand
type
Word device
N:N Network
When a parameter number of an inverter is specified in EXTR instruction, the value of the parameter in the
inverter is read to D .
S1
S2
Computer Link
2. Program example
S
M0
K12
K6
S2
K7
Command
contact
Function number: K12
Inverter station number: 0 to 31
7.5.2
D150
Inverter
Communication
FNC180
EXTR
S1
Non-Protocol
Communication
(RS/RS2 Instruction)
7.5.3
X001
SET
Read
command
Drive
contact
S
FNC180
EXTR
K12
S1
K6
S2
K2201
S3
D100
Programming
Communication
M0
M0
Function number
Inverter station number:
0 to 31
G
Non-Protocol
Communication
(FX2N-232IF)
In the program example shown below, the parameter number 201 (frequency: 201, time: 1201, motor rotation
direction: 2201) is read from the A500 inverter whose station number is 6.
Read devices: D100 = Motor rotation direction, D101 = Frequency, D102 = Time
K12
K6
K201
D101
FNC180
EXTR
K12
K6
K1201
D102
I
Remote
Maintenance
FNC180
EXTR
FrequencyD101
TimeD102
The unit is specified by Pr. 200.
Apx.
M8029
M0
Discontinued
models
RST
Execution complete flag
E-59
Inverter Communication
7.6
7.6.1
is written to the
1. Applicable devices
Bit device
Operand
type
Word device
System/User
X
System/
User
Digit specification
Others
Index
V
Constant Pointer
Modification
S
S1
S2
S3
2. Program example
S
M0
S1
FNC180
EXTR
K13
K6
Command
contact
Function number: K13
Inverter station number: 0 to 31
7.6.2
S2
K7
S3
D160
Value written to inverter
Inverter parameter number (decimal)
7.6.3
S
FNC180
EXTR
K13
S1
K6
S2
K2201
Function
number: K13
Inverter station number:
0 to 31
M0
S3
FNC180
EXTR
K13
K6
K201
H14
FNC180
EXTR
K13
K6
K1201
H100
RST
Execution complete flag
Frequency: 20Hz
Time: 1:00
The unit is specified by Pr. 200.
M8029
E-60
H1
M0
Inverter Communication
A
Second Parameter Specification Codes
7.7.1
S500 Series
1. Second parameter specification codes for parameter numbers C2 to C7
Name
C2
902
C3
1902
903
C5
904
C6
1904
C7
905
D
Computer Link
C4
E500 Series
Terminal analog
value (H02)
902
902
1902
2902
903
903
1903
2903
904
904
1904
2904
905
905
1905
2905
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Offset/Gain
(H00)
Inverter
Communication
Parameter
No.
Parallel Link
7.7.2
Parameter
No.
B
N:N Network
When handling the following parameters in computer link operation, it is necessary to select second
parameters.
In EXTR K12 and EXTR K13 instructions, when a value shown in the tables below is set to S2 , the
extension parameter and second parameter are automatically overwritten, and the parameter values are then
read or written.
Common Items
7.7
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-61
Inverter Communication
7.7.3
A500 Series
1. Second parameter specification codes for parameter numbers 201 to 230
Second parameter specification code
Parameter
No.
Name
Operation frequency
read/write
Time read/write
Rotation direction
write/read
201
Program set 1
201
1201
2201
202
Program set 1
202
1202
2202
203
Program set 1
203
1203
2203
204
Program set 1
204
1204
2204
205
Program set 1
205
1205
2205
206
Program set 1
206
1206
2206
207
Program set 1
207
1207
2207
208
Program set 1
208
1208
2208
209
Program set 1
209
1209
2209
210
Program set 1
210
1210
2210
211
Program set 2
211
1211
2211
212
Program set 2
212
1212
2212
213
Program set 2
213
1213
2213
214
Program set 2
214
1214
2214
215
Program set 2
215
1215
2215
216
Program set 2
216
1216
2216
217
Program set 2
217
1217
2217
218
Program set 2
218
1218
2218
219
Program set 2
219
1219
2219
220
Program set 2
220
1220
2220
221
Program set 3
221
1221
2221
222
Program set 3
222
1222
2222
223
Program set 3
223
1223
2223
224
Program set 3
224
1224
2224
225
Program set 3
225
1225
2225
226
Program set 3
226
1226
2226
227
Program set 3
227
1227
2227
228
Program set 3
228
1228
2228
229
Program set 3
229
1229
2229
230
Program set 3
230
1230
2230
Analog
(H01)
Terminal analog
value (H02)
902
1902
2902
903
903
1903
2903
904
904
1904
2904
905
905
1905
2905
902
E-62
Name
Inverter Communication
N:N Network
8.1
Practical Example 1
This fundamental program example monitors operations of an inverter, controls operations of an inverter and
writes parameters to an inverter.
C
Parallel Link
8.1.1
Common Items
8.
Inverter
D
Computer Link
System memory
Terminal resistor
Distributor
Contents of operation
F
Non-Protocol
Communication
(RS/RS2 Instruction)
As an example of operation control, an inverter can be stopped (X000), rotated forward (X001) and rotated
reverse (X002).
By changing the contents of D10, the speed can be changed.
The contents of D10 can be changed from a sequence program or display unit.
Inverter
Communication
8.1.2
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-63
Inverter Communication
8.1.3
Program example
1. Writing parameters to an inverter while the PLC is in RUN mode
M8002
SET
Initial pulse
The write
instruction
is driven
M10
Driving of
write
instruction
FNC180
EXTR
K11
K0
H0FD
H9696
FNC180
EXTR
K11
K0
H0FB
H0*1
Computer link
operation is specified
FNC180
EXTR
K13
K0
K1
K12000
FNC180
EXTR
K13
K0
K2
K500
FNC180
EXTR
K13
K0
K7
K10
FNC180
EXTR
K13
K0
K8
K10
RST
M10
M8029
Instruction execute
complete
*1.
M10
The write
instruction
is driven
When using an E500 Series inverter, use "H2" to specify computer link operation.
FNC 12 K6000
MOVP
RUN
monitor
D10
Operation
speed
M17
FNC 12 K4000
MOVP
Command for
switching to speed 1
FNC 12 K2000
MOVP
Command for
switching to speed 2
D10
Operation
speed
K11
K0
H0ED
D10
Operation
speed
E-64
Operation
speed
M18
FNC 180
EXTR
D10
Inverter Communication
A
X000
SET
Operation stop
command input
Operation
stop
X000
RST
Forward
Operation stop
rotation
command input
command
input
X002
M15
B
N:N Network
X001
M15
Common Items
Operation
stop
M15
Operation
stop
X001
X002
M21
Forward
Reverse rotation
rotation
command input
command
input
X002
X001
M22
FNC180
EXTR
b2 of H0FA is set to ON
Reverse rotation
command
K11
K0
H0FA
K2M20
Computer Link
RUN monitor
b1 of H0FA is set to ON
Forward rotation
command
Reverse
Forward rotation
rotation
command input
command
input
M8000
Parallel Link
Reverse rotation
command input
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-65
Inverter Communication
FNC180
EXTR
RUN
monitor
K10
K0
H07A
K2M100
Invereter
running
M100
Y000
Invereter
running
Indicator
lamp, etc.
M101
Y001
Forward
rotation
Indicator
lamp, etc.
M102
Y002
Reverse
rotation
Indicator
lamp, etc.
M103
Y003
Up to
frequency
Indicator
lamp, etc.
M104
Contents of status
(according to
necessity)
Y004
Overload
is applied
Indicator
lamp, etc.
M106
Y006
Frequency
is detected
Indicator
lamp, etc.
M107
Y007
Alarm
occurrence
Indicator
lamp, etc.
FNC180
EXTR
K10
K0
H06F
D50
Frequency
monitor
value
END
E-66
Output frequency
monitor
Inverter Communication
A
Practical Example 2
Common Items
8.2
This program executes the same control as practical example 1 shown above.
8.2.1
FX2N, FX2NC
N:N Network
C
Parallel Link
System memory
Terminal resistor
Distributor
8.2.2
The differences from practical example 1 are that the inverter status is not read while data is written to an
inverter, and that the contents to be written are detected and written to an inverter only when the contents to
be written are changed.
Because communication between the PLC and the inverter is minimum in this program, the communication
time is reduced and the response time is improved.
Computer Link
Contents of operation
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-67
Inverter Communication
8.2.3
Program example
1. Writing parameters to an inverter while the PLC is in RUN mode
M8002
SET
M10
Initial pulse
The write
instruction
is driven
M10
Driving of
write
instruction
FNC180
EXTR
K11
K0
H0FD
H9696
FNC180
EXTR
K11
K0
H0FB
H0*1
FNC180
EXTR
K13
K0
K1
K12000
The maximum
frequency is set to
"120Hz"
FNC180
EXTR
K13
K0
K2
K500
The minimum
frequency is set to
"5Hz"
FNC180
EXTR
K13
K0
K7
K10
FNC180
EXTR
K13
K0
K8
K10
RST
M10
M8029
Instruction execute
complete
*1.
E-68
Computer link
operation is specified
The write
instruction
is driven
When using an E500 Series inverter, use "H2" to specify computer link operation.
Inverter Communication
A
M8000
FNC 12 K6000
MOVP
RUN
monitor
D10
Operation
speed
FNC 12 K4000
MOVP
Command for
switching to speed 1
D10
FNC 12 K2000
MOVP
Command for
switching to speed 2
D10
D10
D80
Operation Operation
speed
speed is
withdrawn
SET
FNC180
EXTR
K11
Change in the
operation speed
(D10) is
detected
M11
Computer Link
D80
The write
instruction
is driven
Parallel Link
FNC 12
MOV
Initial pulse
M11
Operation
speed
M8002
D10
Operation
speed
M18
FNC228
LD<>
N:N Network
M17
Common Items
The write
instruction
is driven
K0
H0ED
D10
M8029
Instruction execute
complete
RST
Inverter
Communication
Operation
speed
M11
The write
instruction
is driven
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-69
Inverter Communication
SET
M15
Operation stop
command input
X001
Operation
stop
X000
RST
M15
Forward
Operation stop
rotation
command input
command
input
X002
Operation
stop
Reverse rotation
command input
M15
X001
X002
Operation
stop
Forward
rotation
command
input
X002
Reverse
rotation
command
input
X001
Forward
rotation
command
Forward
rotation
command
input
Reverse
rotation
command
Reverse
rotation
command
input
M8002
M21
M22
FNC 12
K2M20
MOV
Initial pulse
D81
SET
Operation
command is
withdrawn
M12
M8029
Instruction execute
complete
E-70
Changes in the
operation commands
(M28 to M20) are
detected
M12
Driving of
write
instruction
FNC180
EXTR
Driving of
write
instruction
b2 of H0FA is set to ON
D81
Operation
command is
withdrawn
FNC228
LD<> K2M20
b1 of H0FA is set to ON
K11
K0
H0FA
K2M20
RST
M12
Driving of
write
instruction
Operation commands
are written
M27 to M20H0FA
Inverter Communication
A
M10
M11
M12
MC
N0
M70
B
N:N Network
N0
Common Items
M70
M8000
FNC180
EXTR
RUN
monitor
K10
K0
H07A
K2M100
M100
Parallel Link
Invereter
running
Y000
Invereter
running
Indicator
lamp, etc.
M101
Forward
rotation
Computer Link
Y001
Indicator
lamp, etc.
M102
Y002
Reverse
rotation
Indicator
lamp, etc.
Y003
Up to
frequency
Contents of status
(according to necessity)
Indicator
lamp, etc.
M104
Y004
Overload
is applied
Non-Protocol
Communication
(RS/RS2 Instruction)
Indicator
lamp, etc.
M106
Y006
Frequency
is detected
Indicator
lamp, etc.
M107
G
Non-Protocol
Communication
(FX2N-232IF)
Y007
Alarm
occurrence
Indicator
lamp, etc.
FNC180
EXTR
K10
K0
H06F
D50
H
Programming
Communication
Frequency
monitor
value
MCR
Inverter
Communication
M103
N0
END
I
Remote
Maintenance
Apx.
Discontinued
models
E-71
9.
9.1
FX2N,FX2NC
FX3U,FX3UC
EXTR(K10)
IVCK
EXTR(K11)
IVDR
EXTR(K12)
IVRD
EXTR(K13)
IVWR
IVBWR
2. Related devices
1) Bit devices
Function
FX3U,FX3UC
ch1
ch2
M8029
M8029
M8029
Communication error
(shared by all communication)
M8063*1
M8063
M8438
Inverter communicating
M8155
M8151
M8156
M8156
M8152
M8157
M8157
M8153
M8158
M8154
M8159
*1.
FX2N,FX2NC
In the FX2N and FX2NC PLCs, M8063 does not turn ON when an inverter communication error occurs.
2) Word devices
Function
Error code (shared by all communication)
D8063
FX3U,FX3UC
ch1
ch2
D8063
D8438
D8154
D8150
D8155
D8155
D8151
D8156
D8156
D8152
D8157
D8157
D8153
D8158
D8154
D8159
E-72
FX2N,FX2NC
Inverter Communication
A
Contents of Related Devices
Common Items
9.2
The tables below show devices used for inverter communication in FX3U and FX3UC PLCs.
1. Bit devices
Device No.
R/W
ch2
M8029
R/W
Inverter
Communication
*1.
2. Word devices
Device No.
ch1
Name
ch2
Description
D8063 D8438 Error code for serial communication*1 Stores a communication error code.
D8151 D8156
D8152 D8157
D8154 D8159
Step number of instruction executing Stores the step number of an instruction during
inverter communication
inverter communication.
Error code for inverter
R/W
R
communication*1
instruction*1
H
Programming
Communication
R: Read only
R/W: Read or Write
*1.
G
Non-Protocol
Communication
(FX2N-232IF)
D8153 D8158
Non-Protocol
Communication
(RS/RS2 Instruction)
D
Computer Link
C
Parallel Link
latch*1
B
N:N Network
Description
ch1
Name
I
Remote
Maintenance
Apx.
Discontinued
models
E-73
Inverter Communication
9.3
9.3.1
Inverter
station
number
S2
Inverter
instruction
code
S3
Read/
Write
Used
channel
Control direction
Detailed
explanation
PLC inverter
9.4
IVDR(FNC271)
PLC inverter
9.5
IVRD(FNC272)
PLC inverter
9.6
IVWR(FNC273)
PLC inverter
9.7
IVBWR(FNC274)
PLC inverter
9.8
Instruction
IVCK(FNC270)
9.3.2
K1:ch1
K2:ch2
Read value storage destination
or value written to inverter
Function
FNC273
IVWR
(1)
M8151
ONOFF
FNC271
IVDR
(2)
M8151
ONOFF
FNC270
IVCK
E-74
(3)
M0
B
N:N Network
FNC273
IVWR
M1
Common Items
- Even if the drive condition turns ON, the PLC does not start execution of an inverter communication
instruction until the communication port busy flag M8151 turns OFF from ON, if M8151 is already set to
ON by another inverter communication instruction.
The PLC waits for 15 ms after freeing the communication port, and then executes the inverter
communication instructions driven in the next step and so on.
FNC270
IVCK
C
M0
Parallel Link
Note 2
Note 1
IVWR
instruction
M1
Computer Link
IVCK
instruction
M8151
15ms
15ms
Inverter
Communication
15ms
Note 1: If the drive contact is OFF in 15 ms after M8151 is turned OFF from ON, the instruction
cannot be executed.
Note 2: When two or more instructions are driven at the same time during communication, the latter
inverter communication instruction in the program is executed after the current
communication with the inverter is finished.
X001
SET
FNC274
IVCK
M8029
Instruction execution
complete
Command is
latched
Non-Protocol
Communication
(FX2N-232IF)
M0
M0
Communication is
executed
RST
M0
Non-Protocol
Communication
(RS/RS2 Instruction)
2) Cautions on programming
When communicating with inverters for two or more items, let the drive contact for inverter
communication instruction remain ON until sending is completed. After communication with all inverters is
finished, set the drive contact to OFF using the instruction execution complete flag M8029.
Command is
reset
When communication with an inverter is finished, the instruction execution complete flag M8029 turns ON,
and remains ON for 1 scan.
For the M8029 use method, refer to program examples shown below.
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-75
Inverter Communication
9.3.3
Device
number
Description
ch2
M8029
ch1
Instruction execution complete
Description
ch2
FNC273
IVWR
M8029 : OFF
FNC271
IVDR
M8029 : ON
M2 (OFF)
FNC270
IVCK
M8029 : OFF
ch2
ch1
ch2
Word device
ch1
ch2
M8159
ch1
ch2
Description
D8063 D8438
ON
OFF
OFF
6301
3801
ON
ON
ON
(only at first time)
6320
3820
When inverter communication error flag turns ON, the step number is stored in the inverter communication
error occurrence step device (D8153 or D8158).
Create the program shown below for each corresponding instruction to check the inverter communication
error code (stored in D8152 or D8157).
E-76
Inverter Communication
A
X000
SET
Common Items
3. Program example
M0
Start command
M0
FNC277
IVWR
Instruction
execution
complete
SET
FNC 12
MOV
M50
N:N Network
M8152
Communication error
M8029
K1
M50
Instruction error is
checked
D8152
D50
RST
M0
D50
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-77
Inverter Communication
9.3.4
Cautions on programming
1. Using inverter communication instruction together with another instruction
Inverter communication instruction using ch1 cannot be used together with RS instruction.
Inverter communication instruction cannot be used together with RS2 instruction if RS2 instruction uses
the same channel.
SET
M0
S0
S999
RST
M0
Reset input
M0
M8151
Communication
port busy
FNC 40
ZRST
Remarks
Conditional jump
Repeat
Subroutine
Interrupt routine
E-78
Inverter Communication
A
Inverter Operation Monitoring Instruction
(PLCInverter) [FNC270 / IVCK]
Common Items
9.4
1. Applicable devices
Bit Devices
Word Devices
System/User
Digit Specification
System/User
Others
Special
Unit
ConReal
CharacPointer
stant Number ter String
Index
V
Z Modify K H
" "
Parallel Link
Operand
Type
N:N Network
9.4.1
S1
S2
Computer Link
2. Program example
S1
M0
K6
H6F
D100
K1
Non-Protocol
Communication
(RS/RS2 Instruction)
9.4.2
Inverter
Communication
Command
contact
FNC270
IVCK
S2
The table below shows inverter instruction codes which can be specified in S2 .
For the instruction codes, refer to the pages explaining computer link in detail in each inverter manual.
Applicable inverter
S2
Read contents
H7B
Operation mode
H6F
H70
Output current
Output voltage
H72
Special monitor
H73
H74
Alarm definition
H75
Alarm definition
Alarm definition
H77
Alarm definition
H79
H7A
H7F
H6C
E-79
Apx.
Discontinued
models
H6E
Remote
Maintenance
H76
H
Programming
Communication
H71
H6D
G
Non-Protocol
Communication
(FX2N-232IF)
Inverter Instruction
code (hexadecimal)
Inverter Communication
9.5
9.5.1
1. Applicable devices
Bit Devices
Operand
Type
Word Devices
System/User
Digit Specification
System/User
Others
Special
Unit
ConReal
CharacPointer
stant Number ter String
Index
V
Z Modify K H
" "
S1
S2
S3
2. Program example
S1
M0
FNC271
IVDR
Command
contact
S2
K6
HFA
K2M50
K1
9.5.2
S3
S2
Write contents
Inverter Instruction
code (hexadecimal)
HFB
Operation mode
HF3
HF9
HFA
Run command
HEE
HED
HFD
E-80
*1
Inverter reset*2
HF4
HFC
HFC
User clear
*1.
The instruction code "HFD (inverter reset)" does not request a response from the inverter.
Accordingly, even if inverter reset is executed to a station number at which an inverter is not
connected, error does not occur.
It takes about 2.2 seconds to complete execution of inverter reset.
*2.
Inverter Communication
A
Inverter Parameter Reading (PLCInverter) [FNC272 / IVRD]
Common Items
9.6
9.6.1
1. Applicable devices
Bit Devices
Word Devices
System/User
Digit Specification
System/User
Others
Special
Unit
Index
V
ConReal
CharacPointer
stant Number ter String
Z Modify K H
" "
S1
C
Parallel Link
Operand
Type
N:N Network
When a parameter number of an inverter is specified in IVRD (FNC272) instruction, the value of the
parameter is read to D .
S2
Computer Link
2. Program example
S1
M0
K6
K7
D150
K1
Communication channel K1:ch1
K2:ch2
Read value storage destination
9.6.2
Inverter
Communication
Command
contact
FNC272
IVRD
S2
Non-Protocol
Communication
(RS/RS2 Instruction)
9.6.3
X001
Read
command
Drive
contact
FNC272
IVRD
K6
S2
K2201
M0
D100
K1
H
Programming
Communication
M0
S1
SET
Inverter station
number:
0 to 31
K6
K201
D101
K1
FNC272
IVRD
K6
K1201
D102
K1
I
Remote
Maintenance
FNC272
IVRD
FrequencyD101
TimeD102
The unit is specified by Pr. 200.
Apx.
M8029
Discontinued
models
RST
G
Non-Protocol
Communication
(FX2N-232IF)
M0
Execution
complete flag
E-81
Inverter Communication
9.7
9.7.1
is
S3
1. Applicable devices
Bit Devices
Operand
Type
Word Devices
System/User
Digit Specification
System/User
Others
Special
Unit
Index
V
ConReal
CharacPointer
stant Number ter String
Z Modify K H
" "
S1
S2
S3
2. Program example
S1
M0
Command
contact
FNC273
IVWR
K6
S2
K7
D160
K1
9.7.2
S3
9.7.3
S1
FNC273
IVWR
K6
S2
K2201
SET
M0
S3
H1
K1
Inverter station
number: 0 to 31
FNC273
IVWR
K6
K201
H14
K1
FNC273
IVWR
K6
K1201
H100
K1
RST
Execution complete flag
Frequency: 20Hz
Time: 1:00
The unit is specified by Pr. 200.
M8029
E-82
M0
Inverter Communication
A
Inverter Parameter Batch Writing (PLCInverter) [FNC274 / IVBWR]
Common Items
9.8
This instruction writes values from the PLC to parameters in an inverter all at once.
9.8.1
1. Applicable devices
Bit Devices
Word Devices
System/User
Digit Specification
System/User
Others
Special
Unit
Index
V
ConReal
CharacPointer
stant Number ter String
Z Modify K H
" "
S1
C
Parallel Link
Operand
Type
N:N Network
When a parameter number in an inverter is specified in the IVBWR (FNC274) instruction, the values of S3
and later are written to the specified items in the inverter all at once.
S2
S3
Computer Link
2. Program example
S1
M0
FNC274
IVBWR
K6
K8
S3
D200
K1
The following table shows values (two word devices/point) in a specified table which are written to a number
of consecutive parameters specified in S2 starting from a word device specified in S3 .
Parameter No. 1
+1
D201
S3
+2
D202
Parameter No. 2
S3
+3
D203
:
:
:
:
:
:
S3
+14
D214
Parameter No. 8
S3
+15
D215
S2
G
Non-Protocol
Communication
(FX2N-232IF)
D200
S3
F
Non-Protocol
Communication
(RS/RS2 Instruction)
S3
Inverter
Communication
Command
contact
S2
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-83
Inverter Communication
9.9
9.9.1
S500 Series
1. Second parameter specification codes for parameter numbers C2 to C7
Second parameter specification code
Parameter
No.
9.9.2
Name
C2
902
C3
1902
C4
903
C5
904
C6
1904
C7
905
E500 Series
1. Second parameter specification codes for parameter numbers 902 to 905
Second parameter specification code
Parameter
No.
Offset/Gain
(H00)
Analog
(H01)
Analog value of
terminal (H02)
902
1902
2902
903
903
1903
2903
904
904
1904
2904
905
905
1905
2905
902
E-84
Name
Inverter Communication
A
A500 Series
1. Second parameter specification codes for parameter numbers 201 to 230 and 902 to 905
Second parameter specification code
Name
Operation frequency
read/write
Time read/write
Rotation direction
write/read
201
Program set 1
201
1201
2201
202
Program set 1
202
1202
2202
203
Program set 1
203
1203
2203
204
Program set 1
204
1204
2204
205
Program set 1
205
1205
2205
206
Program set 1
206
1206
2206
207
Program set 1
207
1207
2207
208
Program set 1
208
1208
2208
209
Program set 1
209
1209
2209
210
Program set 1
210
1210
2210
211
Program set 2
211
1211
2211
212
Program set 2
212
1212
2212
213
Program set 2
213
1213
2213
214
Program set 2
214
1214
2214
215
Program set 2
215
1215
2215
216
Program set 2
216
1216
2216
217
Program set 2
217
1217
2217
218
Program set 2
218
1218
2218
219
Program set 2
219
1219
2219
220
Program set 2
220
1220
2220
221
Program set 3
221
1221
2221
222
Program set 3
222
1222
2222
223
Program set 3
223
1223
2223
224
Program set 3
224
1224
2224
225
Program set 3
225
1225
2225
226
Program set 3
226
1226
2226
227
Program set 3
227
1227
2227
228
Program set 3
228
1228
2228
Non-Protocol
Communication
(FX2N-232IF)
N:N Network
Parameter
No.
Common Items
9.9.3
229
Program set 3
229
1229
2229
230
Program set 3
230
1230
2230
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Name
Analog value of
terminal (H02)
902
1902
2902
903
903
1903
2903
904
904
1904
2904
905
905
1905
2905
902
I
Remote
Maintenance
Offset/Gain
(H00)
Programming
Communication
Apx.
Discontinued
models
E-85
Inverter Communication
9.9.4
F500 Series
1. Second parameter specification codes for parameter numbers 902 to 905
Second parameter specification code
Parameter
No.
Name
9.9.5
Analog
(H01)
Analog value of
terminal (H02)
902
902
1902
2902
903
903
1903
2903
904
904
1904
2904
905
905
1905
2905
V500 Series
1. Second parameter specification codes for parameter numbers 902 to 905
Second parameter specification code
Parameter
No.
9.9.6
Name
Analog
(H01)
Analog value of
terminal (H02)
902
902
1902
2902
903
903
1903
2903
904
904
1904
2904
905
905
1905
2905
917
917
1917
2917
918
918
1918
2918
919
919
1919
2919
920
920
1920
2920
F700 Series
1. Second parameter specification codes for parameter numbers 125, 126, and C2 to C7
Parameter
No.
C2
E-86
902
C3
1902
125
903
C4
1903
C5
904
C6
1904
126
905
C7
1905
A
A700 Series
1. Second parameter specification codes for parameter numbers 125, 126, C2 to C7, C12 to
C19, and C38 to C41
Second parameter specification code
Name
C2
902
C3
1902
125
903
C4
1903
904
1904
126
905
C7
1905
C12
917
C13
1917
C14
918
C15
1918
919
C17
1919
C18
920
C19
1920
C38
932
C39
1932
C40
933
C41
1933
E
Inverter
Communication
C16
D
Computer Link
C6
C
Parallel Link
C5
B
N:N Network
Parameter
No.
Common Items
9.9.7
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-87
9.9.8
E700 Series
1. Second parameter specification codes for parameter numbers 125, 126, C2 to C7 and C22 to
C25
Second parameter specification code
Parameter
No.
C2
C3
125
C4
C5
C6
126
C7
E-88
Name
902
1902
903
1903
904
1904
905
1905
C22
922
C23
1922
C24
923
C25
Frequency
setting
potentiometer)
1923
voltage
gain
(built-in
Inverter Communication
N:N Network
10.1
Practical Example 1
This fundamental program example monitors operations of an inverter, controls operations of an inverter and
writes parameters to an inverter.
C
Parallel Link
Common Items
Inverter
D
Computer Link
E
Inverter
Communication
Terminal resistor
Distributor
F
Non-Protocol
Communication
(RS/RS2 Instruction)
As an example of operation control, an inverter can be stopped (X000), rotated forward (X001) and rotated
reverse (X002).
By changing the contents of D10, the speed can be changed.
The contents of D10 can be changed from a sequence program or display unit.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-89
Inverter Communication
M10
Initial pulse
The write
instruction is
driven
M10
Driving of
write
instruction
FNC271
IVDR
K0
H0FD
H9696
K1
FNC271
IVDR
K0
H0FB
H0*1
K1
Computer link
operation is
specified
FNC 12
MOV P
K1
D200
The maximum
frequency (Pr. 1) is
specified
FNC 12
MOV P
K12000
D201
The maximum
frequency (Pr. 1) is
set to "120 Hz"
FNC 12
MOV P
K2
D202
The minimum
frequency (Pr. 2) is
specified
FNC 12
MOV P
K500
D203
The minimum
frequency (Pr. 2) is
set to "5 Hz"
FNC 12
MOV P
K7
D204
FNC 12
MOV P
K10
D205
FNC 12
MOV P
K8
D206
FNC 12
MOV P
K10
D207
D200
K1
FNC274
IVBWR
K0
K4
M8029
RST
Instruction execute
complete
*1.
E-90
M10
Driving of
write
instruction
When using an E500 Series inverter, use "H2" to specify computer link operation.
Inverter Communication
A
M8000
FNC 12
MOV P
RUN
monitor
K6000
D10
Operation
speed
FNC 12
MOV P
Command for
switching to
speed 1
D10
Operation
speed
M18
K2000
D10
Parallel Link
FNC 12
MOV P
Command for
switching to
speed 2
FNC271
IVDR
K4000
N:N Network
M17
Common Items
Operation
speed
K0
H0ED
D10
K1
D
Computer Link
Operation
speed
X001
Operation
stop
X000
RST
Operation stop
command input
M15
Operation
stop
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Forward
rotation
command
input
M15
Inverter
Communication
Operation stop
command input
X002
Reverse
rotation
command
input
M15
X001
X002
Operation Forward
stop
rotation
command
input
X002
M8000
RUN
monitor
b2 of H0FA is set to ON
Forward rotation
command
X001
M22
Forward
rotation
command
input
FNC271
IVDR
Reverse rotation
command
K0
H0FA
K2M20
K1
Programming
Communication
Reverse
rotation
command
input
Reverse
rotation
command
input
b1 of H0FA is set to ON
Non-Protocol
Communication
(FX2N-232IF)
M21
Operation command is
written
M27 to M20H0FA
I
Remote
Maintenance
Apx.
Discontinued
models
E-91
Inverter Communication
FNC270
IVCK
RUN
monitor
K0
H07A
K2M100
K1
M100
Y000
Inverter is
operating
Indicator
lamp, etc.
M101
Y001
Forward
rotation
Indicator
lamp, etc.
M102
Y002
Reverse
rotation
Indicator
lamp, etc.
M103
Y003
Up to
frequency
Contents of status
(according to necessity)
Indicator
lamp, etc.
M104
Y004
Overload
is applied
Indicator
lamp, etc.
M106
Y006
Frequency
is detected
Indicator
lamp, etc.
M107
Y007
Alarm
occurrence
FNC270
IVCK
Indicator
lamp, etc.
K0
H06F
D50
K1
Frequency
monitor value
END
E-92
Output frequency
monitor
Inverter Communication
A
Practical Example 2
Common Items
10.2
This program executes the same control as the practical example 1 shown above.
FX3U, FX3UC
N:N Network
C
Parallel Link
Terminal resistor
Distributor
E
Inverter
Communication
The differences from practical example 1 are that the inverter status is not read while data is written to an
inverter, and the contents to be written are written to an inverter only when change in the contents to be
written are detected.
Because communication between the PLC and the inverter is minimum in this program, the communication
time is reduced and the response time is improved.
Computer Link
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-93
Inverter Communication
M10
Initial pulse
The write
instruction
is driven
M10
Driving of
write
instruction
FNC271
IVDR
K0
H0FD
H9696
K1
FNC271
IVDR
K0
H0FB
H0*1
K1
FNC 12
MOV P
K1
D200
The maximum
frequency (Pr. 1) is
specified
FNC 12
MOV P
K12000
D201
The maximum
frequency (Pr. 1) is
set to "120 Hz"
FNC 12
MOV P
K2
D202
The minimum
frequency (Pr. 2) is
specified
FNC 12
MOV P
K500
D203
The minimum
frequency (Pr. 2) is
set to "5 Hz"
FNC 12
MOV P
K7
D204
FNC 12
MOV P
K10
D205
FNC 12
MOV P
K8
D206
FNC 12
MOV P
K10
D207
D200
K1
FNC274
IVBWR
K0
K4
M8029
RST
Instruction execute
complete
*1.
E-94
M10
Driving of
write
instruction
When using an E500 Series inverter, use "H2" to specify computer link operation.
Inverter Communication
A
M8000
FNC 12 K6000
MOVP
RUN
monitor
FNC 12 K4000
MOVP
Command for
switching to speed 1
D10
FNC 12 K2000
MOVP
Command for
switching to speed 2
D10
D10
D80
Operation Operation
speed
speed is
withdrawn
SET
FNC271
IVDR
K0
M11
H0ED
D10
K1
RST
Inverter
Communication
Instruction execute
complete
The write
instruction
is driven
Operation
speed
M8029
Change in the
operation speed
(D10) is
detected
Computer Link
D80
The write
instruction
is driven
C
Parallel Link
FNC 12
MOV
Initial pulse
M11
Operation
speed
M8002
D10
Operation
speed
M18
FNC228
LD<>
B
N:N Network
M17
Common Items
M11
The write
instruction
is driven
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-95
Inverter Communication
SET
M15
Operation stop
command input
X001
Operation
stop
X000
RST
M15
Forward
Operation stop
rotation
command input
command
input
X002
Operation
stop
Reverse rotation
command input
M15
X001
X002
Operation
stop
Forward
rotation
command
input
X002
Reverse
rotation
command
input
X001
Forward rotation
command
Reverse
rotation
command
input
Forward
rotation
command
input
Reverse rotation
command
M8002
M21
M22
FNC 12
K2M20
MOV
Initial pulse
D81
SET
Operation
command is
withdrawn
M12
FNC271
IVDR
Driving of
write
instruction
M8029
Instruction execute
complete
E-96
b2 of H0FA is set to ON
D81
Operation
command is
withdrawn
FNC228
LD<> K2M20
b1 of H0FA is set to ON
M12
Changes in the
operation
commands
(M27 to M20) are
detected
Driving of
write
instruction
K0
H0FA
K2M20
K1
RST
M12
Driving of write
instruction
Operation commands
are written.
M27 to M20H0FA
Inverter Communication
A
M10
Driving of
write
instruction
M12
MC
N0
M70
Driving of Driving of
write
write
instruction instruction
B
N:N Network
N0
M11
Common Items
M70
M8000
FNC270
IVCK
RUN
monitor
K0
H07A
K2M100
K1
M100
Parallel Link
Inverter is
operating
Y000
Invereter
running
Indicator
lamp, etc.
M101
Forward
rotation
Computer Link
Y001
Indicator
lamp, etc.
M102
Y002
Reverse
rotation
Indicator
lamp, etc.
Y003
Up to
frequency
Contents of status
(according to necessity)
Indicator
lamp, etc.
Overload
is applied
M106
Y004
Indicator
lamp, etc.
Non-Protocol
Communication
(RS/RS2 Instruction)
M104
Y006
Frequency
is detected
Indicator
lamp, etc.
M107
G
Non-Protocol
Communication
(FX2N-232IF)
Y007
Alarm
occurrence
Indicator
lamp, etc.
FNC270
IVCK
K0
H06F
D50
K1
H
Programming
Communication
Frequency
monitor value
MCR
Inverter
Communication
M103
N0
END
I
Remote
Maintenance
Apx.
Discontinued
models
E-97
11 Troubleshooting
11.1 Checking FX PLC Version Applicability (FX2N and FX2NC Series)
11. Troubleshooting
This chapter explains troubleshooting and error codes.
11.1
11.2
11.3
Operation status
RD
SD
Flashing
Flashing
Flashing
Off
Off
Flashing
Off
Off
Checking Installation
1. Mounting status
If the communication equipment is not securely connected to the PLC, communication is not possible.
For mounting method, refer to the respective communication equipment manual.
3. Wiring
Verify that the wiring to all communication equipment is correct. If the communication equipment is wired
incorrectly, communication is not possible.
For wiring method check, refer to Chapter 4.
E-98
11 Troubleshooting
11.4 Checking Sequence Program
A
Checking Sequence Program
Common Items
11.4
Verify that the communication settings using parameters are correct. If the contents of the parameters do not
agree, communication will not function correctly.
After changing any parameters, make sure to turn OFF the PLC power, and then turn it ON again.
3. Presence of VRRD and VRSC instructions (in FX2N and FX2NC PLCs)
Parallel Link
Verify that the VRRD and VRSC instructions are not used in the program.
If these instructions are used, delete them, turn OFF the PLC power, and then turn it ON again.
Verify that the RS and RS2 instructions are not being used for the same channel.
If these instructions are used for the same channel, delete them, turn OFF the PLC power, and then turn it ON
again.
Computer Link
Inverter
Communication
1. When the operation mode of an inverter is not changed over to computer link mode
1) Verify that the inverter is set to the external operation mode.
2) Verify that no signal is being input to the external terminals STF and STR.
3) Verify that the correct operation mode changeover program is being executed.
Non-Protocol
Communication
(RS/RS2 Instruction)
1) Verify that a communication cable is connected correctly between the PLC and the inverter.
(Check for poor contact or wire breakage.)
H
Programming
Communication
2) Verify that a sequence program is created so that communication is executed with each inverter within a
constant cycle. Set the communication check time interval to a large value, and check the communication
status.
Non-Protocol
Communication
(FX2N-232IF)
11.5
N:N Network
I
Remote
Maintenance
Apx.
Discontinued
models
E-99
11 Troubleshooting
Inverter Communication
11.6
Error Codes
When a communication error occurs, the error flag turns ON, and the error code is stored in the data register.
For error codes, refer to the table below.
Error flag
FX2N,FX2NC
M8156
D8156
FX3U,FX3UC
ch1
ch2
ch1
ch2
M8152
M8157
D8152
D8157
E-100
Contents of error
Normal end
Inverter
operation
(No Errors)
Inverter did not give response.
Timeout error
The sum of data sent back by the inverter did not match.
Parameter number
specification error
256
257
Parity error
258
259
Protocol error
260
Framing error
261
Overrun error
262
Undefined
263
Character error
264
Undefined
265
Undefined
11 Troubleshooting
Inverter Communication
A
Contents of error
Mode error
267
268
269
Undefined
Inverter does
Inverter sent the error code HC.
not accept
In writing a parameter or operation frequency, data outside the received data,
allowable range was specified.
but is not
brought to an
Inverter sent the error code HD.
alarm stop.
Not defined currently in inverter.
Undefined
271
Undefined
C
Parallel Link
270
N:N Network
266
Inverter
operation
Common Items
Error
code
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-101
12 Related Data
12.1 Related Device List for FX2N and FX2NC PLCs
12.1
1. Bit devices
Device No.
Name
Description
R/W
M8029
M8104
Extension ROM
cassette check
M8154
Unused
M8155
Communication port
busy
M8156
Communication error
Turns ON when a communication error is caused by an EXTR instruction.
or parameter error
M8157
Communication error
Turns ON when a communication error is caused by an EXTR instruction.
latch*1
2. Word devices
Device No.
Name
Description
D8104
Extension ROM
cassette type code
D8105
Extension ROM
cassette version
D8154
Inverter response
waiting time
D8155
Step number of
instruction using the
communication port
Stores the step number of EXTR instruction using the communication port.
D8156
Error code*1
Error occurrence
D8157
R: Read only
R/W: Read or Write
*1.
E-102
R/W
R/W
12 Related Data
12.2 Details of Related Devices for FX2N and FX2NC PLCs
A
Details of Related Devices for FX2N and FX2NC PLCs
Common Items
12.2
1. Detailed contents
When execution of an inverter communication instruction is completed, M8029 turns ON, and remains ON for
1 scan.
When an error occurs in an inverter communication instruction, M8029 turns ON.
M8029 is used as the execution complete flag for other instructions (such as positioning instructions).
When using M8029, provide the contact just under the instruction whose execution completion is to be
checked.
C
Parallel Link
2. Cautions on use
N:N Network
When execution of an inverter communication instruction is completed, this device turns ON.
Computer Link
1. Detailed contents
M8104 remains ON while an extension ROM cassette is attached.
- FX2N . . . . . . FX2N-ROM-E1
- FX2NC . . . . . FX2NC-ROM-CE1
E
Inverter
Communication
2. Cautions on use
While M8104 is OFF, EXTR instructions cannot be used.
1. Detailed contents
M8155 remains ON while communication with an inverter is executed by an EXTR instruction.
When M8155 turns ON, D8155 stores the step number of an instruction using the communication port.
While M8155 is ON, another EXTR instruction cannot be executed.
This device turns ON when an error is caused in communication with an inverter by an EXTR instruction.
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
This device remains ON while the communication port is being used by an EXTR instruction.
1. Detailed contents
Programming
Communication
M8156 turns ON when an error is caused in communication with an inverter by an EXTR instruction.
When M8156 turns ON, D8156 stores the error code.
2. Cautions on use
M8156 is set to OFF by an EXTR instruction located in the next step in the program.
When using M8156, provide it just under the EXTR instruction whose error is to be checked.
I
Remote
Maintenance
Apx.
Discontinued
models
E-103
12 Related Data
12.2 Details of Related Devices for FX2N and FX2NC PLCs
1. Detailed contents
M8157 turns ON when a communication error occurs and M8156 turns ON.
When M8157 turns ON, D8157 stores the step number in which the error has occurred.
2. Cautions on use
M8157 remains ON until the PLC mode is changed from STOP to RUN.
1. Detailed contents
While the following ROM is attached to an FX PLC, D8104 stores its model code.
- FX2N . . . . . . FX2N-ROM-E1 (model code: K1)
- FX2NC . . . . . FX2NC-ROM-CE1 (model code: K1)
1. Detailed contents
While an extension ROM is attached, D8105 stores its version information (K100 = Ver. 1.00).
1. Detailed contents
D8154 sets the response waiting time of an inverter.
Set a value within the range from "1 to 32767" (unit: 100 ms) to D8154.
When "0" or a negative value is set, it is handled as "100 ms".
1. Detailed contents
D8155 stores the step number of EXTR instruction using the communication port.
E-104
12 Related Data
12.2 Details of Related Devices for FX2N and FX2NC PLCs
A
This device stores the error code when an error is caused in communication with an inverter by an EXTR
instruction.
1. Detailed contents
Error
code
Contents of error
Normal end (no error)
Timeout error. This code interlocks with M8156. Sending from inverter was aborted
midway through.
The sum of data sent back by the inverter did not match.
Because the port is being used for another communication, it cannot be used for
communication with the inverter. At this time, the error code K6762 is set to D8067.
256
257
258
259
262
263
264
265
G
Inverter does not
accept the received
data, but is not
brought to an alarm
stop.
H
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
261
F
Non-Protocol
Communication
(RS/RS2 Instruction)
260
D
Computer Link
Inverter
Communication
C
Parallel Link
Inverter operation
B
N:N Network
D8156 stores one of the following error codes when an error is caused in communication with an inverter by
the EXTR instruction.
Common Items
I
Remote
Maintenance
Apx.
Discontinued
models
E-105
12 Related Data
12.2 Details of Related Devices for FX2N and FX2NC PLCs
Error
code
Contents of error
266
267
268
269
Inverter operation
270
271
1. Detailed contents
When M8157 turns ON, D8157 stores the step number in which communication error has occurred.
When errors have occurred in two or more instructions, D8157 holds the step number of the instruction in
which an error occurred first.
When no error has occurred, D8157 stores "-1".
E-106
12 Related Data
12.3 Related Device List for FX3U and FX3UC PLCs
A
Related Device List for FX3U and FX3UC PLCs
The tables below show special auxiliary relays and special data registers used in inverter communication
(FNC270 (IVCK) to FNC274 (IVBWR)).
1. Bit devices
Name
M8029
2. Word devices
Device No.
Name
ch2
Description
D8063 D8438 Error code for serial communication*1 Stores a communication error code.
D8150 D8155
D8151 D8156
Step number of instruction executing Stores the step number of an instruction executing
inverter communication
inverter communication.
D8153 D8158
D8154 D8159
R/W
R
R/W
R
instruction*1
*2.
Updated only for the first error occurrence, and not for the second error occurrence or later.
H
Programming
Communication
R: Read only
R/W: Read or Write
*1.
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
ch1
Inverter
Communication
Computer Link
R/W
Parallel Link
Description
ch2
N:N Network
Device No.
ch1
Common Items
12.3
I
Remote
Maintenance
Apx.
Discontinued
models
E-107
12.4
12 Related Data
12.4 Details of Related Devices for FX3U and FX3UC PLCs
1. Detailed contents
When execution of an inverter communication instruction is completed, M8029 turns ON, and remains ON for
1 scan.
When an error occurs in an inverter communication instruction, M8029 turns ON, and remains ON for 1 scan
in the same way.
2. Cautions on use
M8029 is used as the execution complete flag for other instructions (such as positioning instructions).
When using M8029, provide the contact just under the instruction whose execution completion is to be
checked.
1. Detailed contents
M8063 or M8438 turns ON when a parity error, overrun error or framing error occurs during communication
with inverters or when on inverter communication error occurs.
M8063 turns ON when an error occurs during communication using ch1. When M8063 turns ON, D8063
stores the error code.
M8438 turns ON when an error occurs during communication using ch2. When M8438 turns ON, D8438
stores the error code.
2. Cautions on use
M8063 and M8438 do not turn OFF even if the communication recovers its normal status. Clear them by
switching the PLC mode from STOP to RUN.
1. Detailed contents
M8151 or M8156 remains ON while communication with an inverter is executed by an inverter communication
instruction.
M8151 remains ON while communication port ch1 is used. While M8151 remains ON, D8151 stores the step
number of an instruction using the communication port.
M8156 remains ON while communication port ch2 is used. While M8156 remains ON, D8156 stores the step
number of an instruction using the communication port.
2. Cautions on use
While M8151 or M8156 remains ON, another inverter communication instruction cannot be executed.
E-108
12 Related Data
12.4 Details of Related Devices for FX3U and FX3UC PLCs
A
Common Items
1. Detailed contents
M8152 and M8157 do not turn OFF even if the communication recovers its normal status. Clear them by
switching the PLC mode from STOP to RUN.
C
Parallel Link
2. Cautions on use
B
N:N Network
1. Detailed contents
2. Cautions on use
M8154 and M8159 do not turn OFF even if the communication recovers its normal status. Clear them by
switching the PLC mode from STOP to RUN.
E
Inverter
Communication
M8154 or M8159 turns ON when a parameter number of set value specified in IVBWR instruction is outside
the allowable range.
M8154 turns ON when an error occurs in IVBWR instruction using communication port ch1. When M8154
turns ON, D8154 stores the rejected parameter number.
M8159 turns ON when an error occurs in IVBWR instruction using the communication port ch2. When M8159
turns ON, D8159 stores the rejected parameter number.
Computer Link
F
Non-Protocol
Communication
(RS/RS2 Instruction)
1. Detailed contents
Error code
ch1
ch2
D8063
D8438
6301
3801
6320
3820
Programming
Communication
Contents
G
Non-Protocol
Communication
(FX2N-232IF)
When an error occurs in an inverter communication instruction, D8063 or D8438 stores one of the following
error codes.
2. Cautions on use
D8063 and D8438 do not turn OFF even if the communication recovers its normal status. Clear them by
switching the PLC mode from STOP to RUN.
I
Remote
Maintenance
1. Detailed contents
Set the response waiting time of an inverter.
When using communication port ch1, set a value to D8150.
When using communication port ch2, set a value to D8155.
Set a value within the range from "1 to 32767" (unit: 100 ms).
If "0" or negative value is set, it is handled as "100 ms".
Apx.
Discontinued
models
E-109
12 Related Data
12.4 Details of Related Devices for FX3U and FX3UC PLCs
12.4.8 Step number of instruction using communication port [D8151 and D8156]
These devices store the step number of the instruction occupying the communication port.
1. Detailed contents.
D8151 or D8156 stores the step number of the inverter communication instruction using the communication
port.
D8151 stores the step number using communication port ch1.
D8156 stores the step number using communication port ch2.
2. Cautions on use
A decimal value without sign is stored as the step number in D8151 and D8156.
1. Detailed contents
Special data registers shown below respectively store inverter communication errors, depending on each
communication port.
D8152 stores the error code of an error in communication using communication port ch1.
D8157 stores the error code of an error in communication using communication port ch2.
2. Error codes
The following error codes are stored.
Error
code
0
Timeout error. This code interlocks with M8156. Sending from inverter was
aborted midway through.
The sum of data sent back by the inverter did not match.
Because the port is being used for another communication type, it cannot be
used for communication with the inverter. At this time, the error code K6762 is
set to D8067.
256
257
258
259
260
E-110
Contents of error
Inverter operation
261
262
12 Related Data
12.4 Details of Related Devices for FX3U and FX3UC PLCs
A
Contents of error
265
266
267
268
269
270
271
C
Inverter does not accept
the received data, but is
not brought to an alarm
stop.
D
Computer Link
264
Parallel Link
N:N Network
263
Inverter operation
Common Items
Error
code
E
Inverter
Communication
1. Detailed contents
A decimal value without the sign is stored as the step number in D8153 and D8158.
G
Non-Protocol
Communication
(FX2N-232IF)
2. Cautions on use
F
Non-Protocol
Communication
(RS/RS2 Instruction)
D8153 or D8158 stores the step number of the instruction causing an inverter communication error.
D8153 stores the step number in which an error has occurred in communication using communication port
ch1.
D8158 stores the step number in which an error has occurred in communication using communication port
ch2.
When errors that occurred in two or more instructions, D8153 or D8158 holds the step number in which the
error occurred first.
When no error has occurred, D8153 or D8158 stores "-1".
1. Detailed contents
I
Remote
Maintenance
D8154 or D8159 stores the parameter number which was not written by IVBWR instruction.
D8154 stores the parameter number which was not written in communication using communication port ch1.
D8159 stores the parameter number which was not written in communication using communication port ch2.
When errors that occurred in two or more IVBWR instructions, D8154 or D8159 holds the parameter number
in which the error occurred first.
Programming
Communication
These devices store the parameter number in which an error has occurred when IVBWR instruction error flag
"M8154 or M8159" turns ON.
Apx.
Discontinued
models
E-111
12 Related Data
Inverter Communication
12.5
Basic
functions
Standard
operation
functions
Standard
operation
function
(V500
Series
operation
selection
functions)
E-112
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Torque boost
(manual)
Torque boost
Torque boost*3
Torque boost*3
Torque boost*3
Maximum speed
(simple mode)
Maximum
frequency
Maximum
frequency
Maximum
frequency
Maximum
frequency
Minimum speed
(simple mode)
Minimum
frequency
Minimum
frequency
Minimum
frequency
Minimum
frequency
Base frequency
Base frequency
Base frequency
Base frequency*3
Base frequency*3
Multi-speed
setting
(high speed)
(simple mode)
Multi-speed
setting
(high speed)
Multi-speed
setting
(high speed)
Multi-speed
setting
(high speed)
Multi-speed
setting
(high speed)
Multi-speed
setting
(middle speed)
(simple mode)
Multi-speed
setting
(middle speed)
Multi-speed
setting
(middle speed)
Multi-speed
setting
(middle speed)
Multi-speed
setting
(middle speed)
Multi-speed
setting
(low speed)
(simple mode)
Multi-speed
setting
(low speed)
Multi-speed
setting
(low speed)
Multi-speed
setting
(low speed)
Multi-speed
setting
(low speed)
Acceleration time
(simple mode)
Acceleration time
Acceleration time
Acceleration time
Acceleration time
Deceleration time
(simple mode)
Deceleration time
Deceleration time
Deceleration time
Deceleration time
Electronic thermal
O/L relay
Electronic thermal
O/L relay
Electronic thermal
O/L relay
Electronic thermal
O/L relay
Electronic thermal
O/L relay
10
DC injection brake
operation speed
10
DC injection brake
operation
frequency
10
DC injection brake
operation
frequency
10
DC injection brake
operation
frequency
10
DC injection brake
operation
frequency
11
DC injection brake
operation time
11
DC injection brake
operation time
11
DC injection brake
operation time
11
DC injection brake
operation time
11
DC injection brake
operation time
12
DC injection brake
voltage
12
DC injection brake
voltage
12
DC injection brake
voltage
12
DC injection brake
voltage
12
DC injection brake
voltage
13
Starting speed
13
Starting frequency
13
Starting frequency
13
Starting frequency
13
Starting frequency
Load pattern
Load pattern
Load pattern
14
Load pattern
selection
14
15
15
Jog frequency
15
Jog frequency
15
Jog frequency
15
Jog frequency
16
Jog acceleration/
deceleration time
16
Jog acceleration/
deceleration time
16
Jog acceleration/
deceleration time
16
Jog acceleration/
deceleration time
16
Jog acceleration/
deceleration time
17
MRS input
selection
17
MRS input
selection
17
MRS input
selection
17
18
High speed
maximum
frequency
18
19
Base frequency
voltage
19
Base frequency
voltage
19
selection*3
Base frequency
voltage*3
14
19
selection*3
High speed
maximum
frequency
Base frequency
voltage*3
14
19
selection*3
Base frequency
voltage*3
12 Related Data
Inverter Communication
A
Function
Pr
No.
Pr
No.
Acceleration/
deceleration time
increment
21
Torque restriction
level
21
22
Name
20
Acceleration/
deceleration
reference
frequency
Acceleration/
deceleration time
increment
21
22
Stall prevention
operation level
Pr
No.
Name
Pr
No.
Name
20
Acceleration/
deceleration
reference
frequency
20
Acceleration/
deceleration
reference
frequency
Acceleration/
deceleration time
increment
21
Acceleration/
deceleration time
increment
21
Stall preventing
function selection
22
Stall prevention
operation level
22
Stall prevention
operation level
22
Stall prevention
operation level
23
Stall prevention
operation level
compensation
factor at double
speed
23
Stall prevention
operation level
compensation
factor at double
speed
23
Stall prevention
operation level
compensation
factor at double
speed
23
Stall prevention
operation level
compensation
factor at double
speed
24
Multi-speed
setting (speed 4)
24
Multi-speed
setting (speed 4)
25
Multi-speed
setting (speed 5)
25
Multi-speed
setting (speed 5)
25
Multi-speed
setting (speed 5)
25
Multi-speed
setting (speed 5)
25
Multi-speed
setting (speed 5)
26
Multi-speed
setting (speed 6)
26
Multi-speed
setting (speed 6)
26
Multi-speed
setting (speed 6)
26
Multi-speed
setting (speed 6)
26
Multi-speed
setting (speed 6)
27
Multi-speed
setting (speed 7)
27
Multi-speed
setting (speed 7)
27
Multi-speed
setting (speed 7)
27
Multi-speed
setting (speed 7)
27
Multi-speed
setting (speed 7)
28
Multi-speed input
compensation
28
Multi-speed input
compensation
28
Multi-speed input
compensation
28
Stall preventing
operation
reduction starting
frequency
29
Acceleration/
deceleration
pattern
29
Acceleration/
deceleration
pattern
29
Acceleration/
deceleration
pattern
29
Acceleration/
deceleration
pattern
29
Acceleration/
deceleration
pattern
30
Regenerative
function selection
30
Regenerative
function selection
30
Regenerative
function selection
30
Regenerative
function selection
31
Speed jump 1A
31
Frequency jump
1A
31
Frequency jump
1A
31
Frequency jump
1A
31
Frequency jump
1A
32
Speed jump 1B
32
Frequency jump
1B
32
Frequency jump
1B
32
Frequency jump
1B
32
Frequency jump
1B
33
Speed jump 2A
33
Frequency jump
2A
33
Frequency jump
2A
33
Frequency jump
2A
33
Frequency jump
2A
34
Speed jump 2B
34
Frequency jump
2B
34
Frequency jump
2B
34
Frequency jump
2B
34
Frequency jump
2B
35
Speed jump 3A
35
Frequency jump
3A
35
Frequency jump
3A
35
Frequency jump
3A
35
Frequency jump
3A
36
Speed jump 3B
36
Frequency jump
3B
36
Frequency jump
3B
36
Frequency jump
3B
36
Frequency jump
3B
37
Speed display
37
Speed display
37
Speed display
37
Speed display
37
Speed display
38
Automatic torque
boost
38
Frequency at 5V
(10V) input
38
Frequency setting
voltage gain
frequency
39
Automatic torque
boost operation
starting current
39
Frequency at
20mA input
39
Frequency setting
current gain
frequency
40
Start-time ground
fault detection
selection
Up-to-speed
sensitivity
41
Up-to-frequency
sensitivity
41
Up-to-frequency
sensitivity
41
Up-to-frequency
sensitivity
41
Up-to-frequency
sensitivity
42
Speed detection
42
Output frequency
detection
42
Output frequency
detection
42
Output frequency
detection
42
Output frequency
detection
43
Speed detection
for reverse
rotation
43
Output frequency
detection for
reverse rotation
43
Output frequency
detection for
reverse rotation
43
Output frequency
detection for
reverse rotation
43
Output frequency
detection for
reverse rotation
E-113
Apx.
Discontinued
models
41
Remote
Maintenance
Multi-speed
setting (speed 4)
Programming
Communication
24
Computer Link
Multi-speed
setting (speed 4)
Non-Protocol
Communication
(FX2N-232IF)
24
Non-Protocol
Communication
(RS/RS2 Instruction)
Multi-speed
setting (speed 4)
Inverter
Communication
24
Parallel Link
Pr
No.
N:N Network
20
20
Output
terminal
functions
Name
Acceleration/
deceleration
reference
frequency
Acceleration/
deceleration
reference speed
Standard
operation
function
(V500
Series
operation
selection
functions)
Name
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Second
functions
Display
functions
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
44
Second
acceleration/
deceleration time
44
Second
acceleration/
deceleration time
44
Second
acceleration/
deceleration time
44
Second
acceleration/
deceleration time
44
Second
acceleration/
deceleration time
45
Second
deceleration time
45
Second
deceleration time
45
Second
deceleration time
45
Second
deceleration time
45
Second
deceleration time
46
Second torque
boost
46
47
Second V/F
(base frequency)
47
48
Second stall
prevention
operation current
48
Second stall
prevention
operation current
49
Second stall
prevention
operation
frequency
49
Second stall
prevention
operation
frequency
50
Second output
frequency
detection
Second V/F
(base frequency)*3
46
47
48
Second speed
detection
50
52
DU/PU main
display data
selection
52
DU/PU main
display data
selection
52
DU/PU main
display data
selection
52
53
PU level display
data selection
53
PU level display
data selection
53
PU level display
data selection
54
DA1 terminal
function selection
54
FM terminal
function selection
54
FM terminal
function selection
55
Speed monitoring
reference
55
Frequency
monitoring
reference
55
56
Current
monitoring
reference
56
Current
monitoring
reference
57
Restart coasting
time
57
58
Restart cushion
time
59
Remote setting
function selection
60
Intelligent mode
selection
Retry selection
Second V/F
(base frequency)*3
46
47
Second torque
boost*3
Second V/F
(base frequency)*3
Second electronic
thermal O/L relay
Control panel
display data
selection
53
Frequency setting
operation
selection
54
FM terminal
function selection
54
FM (AM) terminal
function selection
Frequency
monitoring
reference
55
Frequency
monitoring
reference
55
Frequency
monitoring
reference
56
Current
monitoring
reference
56
Current
monitoring
reference
56
Current
monitoring
reference
Restart coasting
time
57
Restart coasting
time
57
Restart coasting
time
57
Restart coasting
time
58
Restart cushion
time
58
Restart cushion
time
58
Restart cushion
time
58
Restart cushion
time
59
Remote setting
function selection
59
Remote setting
function selection
59
Remote setting
function selection
59
Remote setting
function selection
60
Intelligent mode
selection
60
Intelligent mode
selection
60
Shortest
acceleration/
deceleration
mode
61
Reference I for
intelligent mode
61
Reference I for
intelligent mode
61
Reference current
62
Reference I for
intelligent mode
acceleration
62
Reference I for
intelligent mode
acceleration
62
Reference current
for acceleration
63
Reference I for
intelligent mode
deceleration
63
Reference I for
intelligent mode
deceleration
63
Reference current
for deceleration
64
Starting frequency
for elevator mode
65
boost*3
52
Operation
selecting
functions
Second torque
50
E-114
boost*3
Second output
frequency
detection
Restart
Additional
function
Second torque
Operation panel/
PU main display
data selection
65
Retry selection
65
Retry selection
65
Retry selection
66
66
Stall prevention
operation level
reduction starting
frequency
66
Stall prevention
operation level
reduction starting
frequency
67
Number of retries
at alarm
occurrence
67
Number of retries
at alarm
occurrence
67
Number of retries
at alarm
occurrence
66
Stall prevention
operation level
reduction starting
frequency
67
Number of retries
at alarm
occurrence
67
Number of retries
at alarm
occurrence
Retry selection
12 Related Data
Inverter Communication
A
Function
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
68
68
68
68
68
69
Retry count
display erasure
69
Retry count
display erasure
69
Retry count
display erase
69
Retry count
display erasure
69
Retry count
display erase
70
Special
regenerative
brake duty
70
Special
regenerative
brake duty
70
Special
regenerative
brake duty
71
Applied motor
71
Applied motor
71
Applied motor
71
Applied motor
71
Applied motor
72
PWM frequency
selection
(simple mode)
72
PWM frequency
selection
72
PWM frequency
selection
72
PWM frequency
selection
72
PWM frequency
selection
73
Speed setting
signal
73
0 to 5V/0 to 10V
selection
73
0 to 5V/0 to 10V
selection
73
0 to 5V/0 to 10V
selection
73
0 to 5V/0 to 10V
selection
74
Filter time
constant
74
Filter time
constant
74
Filter time
constant
74
75
Reset selection/
disconnected PU
detection/PU stop
selection
75
Reset selection/
disconnected PU
detection/PU stop
selection
75
Reset selection/
PU stop selection
75
Reset selection/
disconnected PU
detection/PU stop
selection
75
Reset selection/
disconnected PU
detection/PU stop
selection
76
76
77
Parameter write
disable selection
77
Parameter write
disable selection
77
Parameter write
disable selection
78
Reverse rotation
prevention
selection
79
Parameter write
disable selection
(simple mode)
78
Reverse rotation
prevention
selection
78
Reverse rotation
prevention
selection
79
Operation mode
selection
(simple mode)
79
Operation mode
selection
80
Motor capacity
81
Number of motor
poles
Motor excitation
current
(no load
77
Parameter write
disable selection
78
Reverse rotation
prevention
selection
78
Reverse rotation
prevention
selection
Operation mode
selection
79
Operation mode
selection
79
Operation mode
selection
80
Motor capacity
80
Motor capacity
81
Number of motor
poles
82
current)*1
Motor excitation
current*5
Motor excitation
current
Rated motor
voltage
83
Rated motor
voltage
83
Rated motor
voltage
84
Rated motor
frequency
84
Rated motor
frequency
84
Rated motor
frequency
89
Speed control
gain
90
92
93
95
96
Motor constant
90
R1*1
Motor constant
91
R2*1
Motor constant
92
L1*1
Motor constant
93
L2*1
Motor constant
94
X*1
Online auto tuning
selection
(simple mode)
Auto tuning
setting/status
Motor constant
(R1)*5
Motor constant
(R1)
Motor constant
(R2)*5
Motor constant
(L1)*5
Motor constant
(L2)*5
Motor constant
(X)*5
95
96
Auto tuning
setting/status
90
Remote
Maintenance
94
Programming
Communication
91
Non-Protocol
Communication
(FX2N-232IF)
83
82
Non-Protocol
Communication
(RS/RS2 Instruction)
77
Inverter
Communication
82
Motor
constant
Computer Link
Pr
No.
Parallel Link
Name
N:N Network
Operation
selecting
functions
Pr
No.
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
96
Auto tuning
setting/status
Apx.
Discontinued
models
E-115
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Pr
No.
Name
Pr
No.
100
Name
V/F 1
(first frequency)
V/F 1
101 (first frequency
voltage)
102
V/F 2 (second
frequency)
V/F 2 (second
103 frequency
voltage)
5-point
flexible
V/F
characteristics
104
V/F 3
(third frequency)
V/F 3
105 (third frequency
voltage)
106
V/F 4 (fourth
frequency)
V/F 4
107 (fourth frequency
voltage)
108
V/F 5 (fifth
frequency)
V/F 5
109 (fifth frequency
voltage)
Pr
No.
100
102
frequency)*3
V/F 2 (second
103 frequency
voltage)*3
104
V/F 3
(third frequency)*3
V/F 3
105 (third frequency
voltage)*3
106
V/F 4 (fourth
frequency)*3
V/F 4
107 (fourth frequency
voltage)*3
108
V/F 5 (fifth
frequency)*3
V/F 5
109 (fifth frequency
voltage)*3
Third acceleration
/deceleration time
111
Third deceleration
time
111
Third deceleration
time
113
Name
V/F 2 (second
110
Pr
No.
(first frequency)*3
Third acceleration
/deceleration time
Name
V/F 1
110
Pr
No.
V/F 1
101 (first frequency
voltage)*3
112
Third
functions
Name
Third torque
boost*3
Third V/F (base
frequency)*3
Third stall
114 prevention
operation current
Third stall
prevention
115
operation
frequency
Communication
functions
E-116
Third output
116 frequency
detection
116
Third speed
detection
117
Communication
station number
117
Communication
station number
117
Communication
station number
117
Communication
station number
118
Communication
speed
118
Communication
speed
118
Communication
speed
118
Communication
speed
119
119
119
119
Parity check
120 presence/
absence
Parity check
120 presence/
absence
Parity check
120 presence/
absence
Parity check
120 presence/
absence
Number of
121 communication
retries
Number of
121 communication
retries
Number of
121 communication
retries
Number of
121 communication
retries
Communication
122 check time
interval
Communication
122 check time
interval
Communication
122 check time
interval
Communication
122 check time
interval
12 Related Data
Inverter Communication
A
Function
Communication
functions
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
123
Waiting time
setting
123
Waiting time
setting
123
Waiting time
setting
123
Waiting time
setting
CR and LF
CR and LF
CR and LF
CR and LF
124 presence/absence 124 presence/absence 124 presence/absence 124 presence/absence
selection
selection
selection
selection
Name
128
PID action
selection
128
PID action
selection
128
PID action
selection
128
PID action
selection
88
PID action
selection
129
PID proportional
band
129
PID proportional
band
129
PID proportional
band
129
PID proportional
band
89
PID proportional
band
90
131 Maximum
131 Maximum
131 Maximum
91
PID maximum
132 Minimum
132 Minimum
132 Minimum
132 Minimum
92
PID minimum
93
94
PID defferential
time
PID defferential
time
134
PID defferential
time
Commercial
power supplyinverter switch135
over sequence
output terminal
selection
MC switch-over
interlock time
PID defferential
time
134
PID defferential
time
Commercial
power supplyinverter switch135
over sequence
output terminal
selection
136
MC switch-over
interlock time
Commercial
power supply138 inverter switchover selection at
alarm occurrence
Commercial
power supply138 inverter switchover selection at
alarm occurrence
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Automatic
Automatic
inverterinverter139 commercial power 139 commercial power
supply switchsupply switchover frequency
over frequency
Backlash
141 acceleration
stopping time
Backlash
Backlash
143 deceleration
stopping time
Display
functions
Speed setting
switchover
PU display
145 language
selection
frequency*2
frequency*2
Backlash
141 acceleration
stopping time*2
Backlash
141 acceleration
stopping time*2
Backlash
deceleration
142
stopping
Backlash
deceleration
142
stopping
frequency*2
Backlash
143 deceleration
stopping time*2
144
Speed setting
switchover
PU display
145 language
selection
frequency*2
Backlash
143 deceleration
stopping time*2
144
Speed setting
switchover
PU display
145 language
selection
I
PU display
145 language
selection
n13 PU display
(145) language
Remote
Maintenance
144
Backlash
acceleration
140
stopping
Programming
Communication
Backlash
142 deceleration
stopping speed
Backlash
acceleration
140
stopping
Non-Protocol
Communication
(FX2N-232IF)
Backlash
140 acceleration
stopping speed
Inverter
Communication
136
134
Computer Link
131 Maximum
Parallel Link
134
Commercial power
supplyinverter
switchover
Pr
No.
N:N Network
PID
control
Pr
No.
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Apx.
Discontinued
models
E-117
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Additional
functions
Current
detection
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Stall prevention
148 operation level at
0 V input
Stall prevention
148 operation level at
0 V input
Stall prevention
149 operation level at
10 V input
Stall prevention
149 operation level at
10 V input
150
Output current
detection level
151
Output current
detection period
152
Zero current
detection level
152
153
Zero current
detection period
153
Sub
functions
Additional
function
Restart
after
instantaneous
power
failure
Initial
monitor
value
User
functions
E-118
Stall prevention
156 operation
selection
Output current
detection level
151
Output current
detection period
151
Output current
detection period
49
Output current
detection signal
delay time
Zero current
detection level
152
Zero current
detection level
152
Zero current
detection level
50
Zero current
detection level
Zero current
detection period
153
Zero current
detection period
153
Zero current
detection period
51
Zero current
detection time
RT activated
condition
Stall prevention
156 operation
selection
Voltage reduction
selection during
154
stall prevention
operation
RT signal
155 activated
condition
Stall prevention
156 operation
selection
157
OL signal waiting
time
158
DA2 terminal
function selection
158
AM terminal
function selection
158
AM terminal
function selection
Extended function
160 selection
(simple mode)
160
160
Automatic restart
after
162 instantaneous
power failure
selection
Automatic restart
after
162 instantaneous
power failure
selection
Stall prevention
156 operation
selection
160
163
163
164
First cushion
voltage for restart
164
First cushion
voltage for restart
164
First cushion
voltage for restart
165
Restart current
restruction level
Restart stall
165 prevention
operation level
Restart stall
165 prevention
operation level
170
Watt-hour meter
clear
170
Watt-hour meter
clear
171
Actual operation
hour meter clear
171
Actual operation
hour meter clear
171
Actual operation
hour meter clear
173
User group 1
registration
173
User group 1
registration
173
User group 1
registration
174
User group 1
deletion
174
User group 1
deletion
174
User group 1
deletion
175
User group 2
registration
175
User group 2
registration
175
User group 2
registration
176
User group 2
deletion
176
User group 2
deletion
176
User group 2
deletion
Automatic restart
after
162 instantaneous
power failure
selection
163
48
OL signal output
waiting time
Actual operation
hour meter clear
Frequency setting
146 command
selection
Output current
detection level
157
171
Name
150
OL signal output
timer
Pr
No.
Output current
detection level
157
Name
150
Voltage reduction
selection during
154
stall prevention
operation
155
Pr
No.
12 Related Data
Inverter Communication
A
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
180
DI1 terminal
function selection
180
RL terminal
function selection
180
RL terminal
function selection
180
RL terminal
function selection
60
RL terminal
function selection
181
DI2 terminal
function selection
181
RM terminal
function selection
181
RM terminal
function selection
181
RM terminal
function selection
61
RM terminal
function selection
182
DI3 terminal
function selection
182
RH terminal
function selection
182
RH terminal
function selection
182
RH terminal
function selection
62
RH terminal
function selection
183
DI4 terminal
function selection
183
RT terminal
function selection
183
RT terminal
function selection
183
MRS terminal
function selection
184
AU terminal
function selection
184
AU terminal
function selection
Terminal
assignment
STR terminal
functions
187
function selection
JOG terminal
185
function selection
186
CS terminal
function selection
186
CS terminal
function selection
63
STR terminal
function selection
190
RUN terminal
function selection
190
RUN terminal
function selection
190
RUN terminal
function selection
64
RUN terminal
function selection
191
DO2 terminal
function selection
191
SU terminal
function selection
191
SU terminal
function selection
191
FU terminal
function selection
192
DO3 terminal
function selection
192
IPF terminal
function selection
192
IPF terminal
function selection
192
A/B/C terminal
function selection
65
A/B/C terminal
function selection
193
OL terminal
function selection
193
OL terminal
function selection
194
FU terminal
function selection
194
FU terminal
function selection
195
A/B/C terminal
function selection
195
A/B/C terminal
function selection
195
A/B/C terminal
function selection
199
199
Non-Protocol
Communication
(FX2N-232IF)
Programming
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
Programmed
200 operation minute/
second selection
Programmed
operation
D
Computer Link
DO1 terminal
function selection
Inverter
Communication
190
Additional
function
JOG terminal
185
function selection
Parallel Link
Name
N:N Network
Pr
No.
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Remote
Maintenance
Apx.
Discontinued
models
E-119
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Multispeed
operation
Multi-speed
232
setting (speed 8)
232
Multi-speed
setting (speed 8)
232
Multi-speed
setting (speed 8)
80
Multi-speed
setting (speed 8)
233
Multi-speed
setting (speed 9)
233
Multi-speed
setting (speed 9)
233
Multi-speed
setting (speed 9)
81
Multi-speed
setting (speed 9)
234
Multi-speed
setting (speed 10)
234
Multi-speed
Multi-speed
234
setting (speed 10)
setting (speed 10)
82
Multi-speed
setting (speed 10)
235
Multi-speed
setting (speed 11)
235
Multi-speed
Multi-speed
235
setting (speed 11)
setting (speed 11)
83
Multi-speed
setting (speed 11)
236
Multi-speed
setting (speed 12)
236
Multi-speed
Multi-speed
236
setting (speed 12)
setting (speed 12)
84
Multi-speed
setting (speed 12)
237
Multi-speed
setting (speed 13)
237
Multi-speed
Multi-speed
237
setting (speed 13)
setting (speed 13)
85
Multi-speed
setting (speed 13)
238
Multi-speed
setting (speed 14)
238
Multi-speed
Multi-speed
238
setting (speed 14)
setting (speed 14)
86
Multi-speed
setting (speed 14)
239
Multi-speed
setting (speed 15)
239
Multi-speed
Multi-speed
239
setting (speed 15)
setting (speed 15)
87
Multi-speed
setting (speed 15)
70
Soft-PWM setting
Cooling fan
244 operation
selection
Cooling fan
244 operation
selection
Cooling fan
244 operation
selection
Cooling fan
244 operation
selection
76
Cooling fan
operation
selection
95
Slip compensation
246
response time
96
Slip compensation
time constant
97
Constant-output
region slip
compensation
selection
98
Automatic torque
boost selection
(motor capacity)
Earth (ground)
249 fault detection at
start*6
99
Motor primary
resistance
Output phase
251 failure protection
selection
Sub
functions
247
Stop
selecting
function
Additional
functions
Output phase
251 failure protection
selection
Output phase
251 failure protection
selection
Subtraction speed
262 at deceleration
start
Subtraction
263
starting speed
264
E-120
Output phase
251 failure protection
selection
261
Power
failure
stop
functions
Power-failure
deceleration time 1
261
Subtraction
262 frequency at
deceleration start
Subtraction
263
starting frequency
264
Constant-output
region slip
compensation
selection
Power-failure
deceleration time 1
12 Related Data
Inverter Communication
A
Function
Function
selection
Name
265
Power-failure
deceleration time 2
Power-failure
266 deceleration time
switchover speed
Pr
No.
Name
Pr
No.
Name
265
Power-failure
deceleration time 2
Power-failure
deceleration time
266
switchover
frequency
Stop-on-contact/
load torque high
270
speed frequency
control selection
Pr
No.
Name
Pr
No.
Name
Current averaging
filter constant
Stop-on-contact
exciting current
275
low speed
multiplying factor
Brake opening
speed
278
279
Brake opening
current
279
Brake opening
current*4
Brake opening
280 current detection
time*4
Brake operation
time at start
Brake operation
speed
frequency*4
281
282
Brake operation
time at start*4
Brake operation
frequency
*4
Brake operation
Brake operation
283
time at stop
283
Deceleration
284 detection function
selection
Deceleration
284 detection function
selection*4
time at stop*4
H
Programming
Communication
Overspeed
285 detection
frequency
Overspeed
detection speed
Droop filter
287
constant
287
300
300
301
301
Apx.
Discontinued
models
I
Remote
Maintenance
Droop function
288 activation
selection
Droop filter
constant
G
Non-Protocol
Communication
(FX2N-232IF)
282
Brake opening
Non-Protocol
Communication
(RS/RS2 Instruction)
281
E
Inverter
Communication
12-bit
digital
input
274
278
285
Droop
control
functions
Current averaging
range
Stop-on-contact
276 PWM carrier
frequency
Brake opening
280 current detection
time
Brake
sequence
function
273
Computer Link
Stop-oncontact
Middle speed
272 setting minimum
current
Parallel Link
High speed
271 setting maximum
current
High
speed
frequency
control
B
N:N Network
Power
failure
stop
functions
Pr
No.
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
E-121
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
12-bit
digital
input
Pr
No.
Name
Pr
No.
Name
Pr
No.
Pr
No.
Name
Pr
No.
Name
Name
Selection of
whether digital
input and analog
304
compensation
input are enabled
or disabled
Selection of
whether digital
input and analog
304
compensation
input are enabled
or disabled
Read timing
305 operation
selection
306
Analog output
signal selection
306
Analog output
signal selection
306
Analog output
signal selection
307
307
307
Setting for
308 maximum analog
output
Setting for
308 maximum analog
output
Setting for
308 maximum analog
output
Analog output
Analog output
Analog output
309 signal voltage/
309 signal voltage/
309 signal voltage/
current switchover
current switchover
current switchover
Analog
output/
digital
output
Analog meter
310 voltage output
selection
Analog meter
310 voltage output
selection
Analog meter
310 voltage output
selection
Setting for
maximum analog
312
meter voltage
output
Setting for
maximum analog
312
meter voltage
output
Setting for
maximum analog
312
meter voltage
output
RA1 output
selection
320
RA1 output
selection
320
RA1 output
selection
321
RA2 output
selection
321
RA2 output
selection
321
RA2 output
selection
322
RA3 output
selection
322
RA3 output
selection
322
RA3 output
selection
Digital
input
329
Relay
output
330
RA output
selection
330
RA output
selection
330
RA output
selection
331
Communication
station number
331
Inverter station
number
331
Communication
station number
n1 Communication
(331) station number
332
Communication
speed
332
Communication
speed
n2 Communication
(332) speed
333
333
Relay
output
E-122
335
Communication
retry count
335
Communication
retry count
Parity check
n4
presence/
(334)
absence
Number of
n5
communication
(335)
retries
12 Related Data
Inverter Communication
A
Function
Pr
No.
Name
Name
Pr
No.
Name
Communication
336 check time
interval
Communication
336 check time
interval
Waiting time
337
setting
Waiting time
337
setting
Waiting time
337
setting
EEPROM write
selection
Operation
command write
338
Operation
command right
338
Operation
command source
n8 Operation
(338) command write
339
Speed command
write
339
Speed command
write
339
Speed command
source
n9 Speed command
(339) write
340
340
340
341
CR and LF yes/no
selection
341
CR and LF yes/no
selection
342
EEPROM write
selection
342
EEPROM write
selection
342
EEPROM write
selection
DeviceNet baud
346 rate startup data
(lower byte)
DeviceNet baud
346 rate startup data
(lower byte)
DeviceNet baud
346 rate startup data
(lower byte)
DeviceNet
347 address startup
data (higher byte)
DeviceNet
347 address startup
data (higher byte)
DeviceNet baud
348
rate (higher)
DeviceNet baud
348 rate startup data
(higher byte)
DeviceNet baud
348 rate startup data
(higher byte)
Stop position
350 command
selection
Stop position
350 command
selection
Orientation
switchover speed
351
Orientation
switchover speed
355
DC injection start
position
356
Internal stop
position command
359
Encoder rotation
direction
External position
360 command
selection
360
12-bit data
selection
Orientation
362
position loop gain
I
Remote
Maintenance
Orientation
359 encoder rotation
direction
Programming
Communication
Servo torque
selection
Non-Protocol
Communication
(FX2N-232IF)
Orientation
control/
Internal stop
encoder
356
position command
feedback
control/
357 In-position zone
pulse train
input
Creep switch
position
Position loop
354 switchover
position
Non-Protocol
Communication
(RS/RS2 Instruction)
351
n11 CR and LF
(341) selection
Inverter
Communication
DeviceNet
345 address startup
data (lower byte)
DeviceNet
347 address
(higher)
Communication
n6
check time
(336)
interval
338
DeviceNet
345 address startup
data (lower byte)
DeviceNet baud
rate (lower)
Name
n7
Wait time setting
(337)
DeviceNet
345 address startup
data (lower byte)
346
Pr
No.
Computer Link
DeviceNet
345 address
(lower)
Name
Parallel Link
342
Pr
No.
N:N Network
Communication
336 check time
interval
Computer
Operation
link
338
command source
function
Speed command
(S500
339
source
Series
communiLink startup mode
340
cation
selection
parameter)
CR and LF
341 presence/absence
selection
DeviceNet
communication
Pr
No.
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Completion signal
output delay time
Apx.
Discontinued
models
E-123
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
364
Encoder stop
check time
365
Orientation
censored limit
366
Reconfirmation
time
367
Speed feedback
range
Pr
No.
Name
Pr
No.
Name
Number of
369 orientation
encoder pulse
370
Torque
371 characteristic
selection
Orientation
control/
encoder
feedback
Over-speed
control/
374
detection level
pulse train
input
Control mode
selection
372
Speed control P
gain
373
Speed control I
gain
374
Over-speed
detection level
Disconnection
detection selection
380
Acceleration S
pattern 1
380
Acceleration S
pattern 1
381
Deceleration S
pattern 1
381
Deceleration S
pattern 1
382
Acceleration S
pattern 2
382
Acceleration S
pattern 2
383
Deceleration S
pattern 2
383
Deceleration S
pattern 2
Input pulse
384 division scaling
factor
385
Input pulse
384 division scaling
factor
385
Speed for
386 maximum input
pulse
Frequency for
zero input pulse
Frequency for
386 maximum input
pulse
Initial
387 communication
delay time
LONWORKS
function
388
389
Minimum sending
time at hart beat
% setting
390 reference
frequency
Receive time
391 interval at heart
beat
392
E-124
Event-driven
detection width
12 Related Data
Inverter Communication
A
Function
Pr
No.
393
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Orientation
selection
Number of motor
side gear teeth
Orientation
Orientation speed
396
selection
gain (P term)
Orientation speed
integral time
398
Orientation speed
gain (D term)
399
Orientation
deceleration ratio
400
DI11 terminal
function selection
C
Parallel Link
397
D
Computer Link
DI12 terminal
401
function selection
DI13 terminal
function selection
403
DI14 terminal
function selection
DI15 terminal
404
function selection
405
DI16 terminal
function selection
High resolution
406 analog input
selection
411
DO12 terminal
function selection
412
DO13 terminal
function selection
Encoder pulse
413 output division
ratio
H
Programming
Communication
Position
419 command source
selection
Command pulse
420 scaling factor
numerator
423
Position feed
forward gain
Position
command
424 acceleration/
deceleration time
constant
I
Remote
Maintenance
Command pulse
421 scaling factor
Positioning
denominator
control
422 Position loop gain
Non-Protocol
Communication
(FX2N-232IF)
Extension
output
DO11 terminal
function selection
Non-Protocol
Communication
(RS/RS2 Instruction)
Motor
407 temperature
detection filter
410
Inverter
Communication
Extension
input
402
N:N Network
Number of
394 machine side gear
teeth
395
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Apx.
Discontinued
models
E-125
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Position feed
425 forward command
filter
426 In-position width
Positioning
control
Torque
command
427
Excessive level
error
428
Command pulse
selection
429
Clear signal
selection
430
Pulse monitor
selection
432
433
434 IP address 1
435 IP address 2
436 IP address 3
437 IP address 4
438 Sub-net mask 1
439 Sub-net mask 2
Position
control
Torque
command
447
Digital torque
command bias
448
Digital torque
command gain
450
Second applied
motor
Second motor
451 control method
selection
Motor
constant
Position
control
452
Second electronic
thermal O/L relay
453
Second motor
capacity
454
Number of second
motor poles
464
Digital position
control sudden
stop deceleration
time
E-126
12 Related Data
Inverter Communication
A
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Second position
468 feed amount
upper 4 digits
B
N:N Network
Third position
469 feed amount
lower 4 digits
Third position
470 feed amount
upper 4 digits
C
Parallel Link
Fourth position
471 feed amount
lower 4 digits
Fourth position
472 feed amount
upper 4 digits
Fifth position feed
473 amount lower 4
digits
D
Computer Link
Position
control
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Seventh position
478 feed amount
upper 4 digits
Inverter
Communication
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Eighth position
479 feed amount
lower 4 digits
Eighth position
480 feed amount
upper 4 digits
G
Non-Protocol
Communication
(FX2N-232IF)
Ninth position
481 feed amount
lower 4 digits
Ninth position
482 feed amount
upper 4 digits
H
Programming
Communication
Tenth position
483 feed amount
lower 4 digits
Tenth position
484 feed amount
upper 4 digits
I
Remote
Maintenance
Eleventh position
485 feed amount
lower 4 digits
Eleventh position
486 feed amount
upper 4 digits
Apx.
Discontinued
models
Twelfth position
487 feed amount
lower 4 digits
E-127
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Twelfth position
488 feed amount
upper 4 digits
489
Thirteenth
position feed
amount lower 4
digits
Thirteenth
position feed
490
amount upper 4
digits
Position
control
Fourteenth
position feed
491
amount lower 4
digits
492
Fourteenth
position feed
amount upper 4
digits
Fifteenth position
493 feed amount
lower 4 digits
Fifteenth position
494 feed amount
upper 4 digits
Remote
output
495
Remote output
selection
496
Remote output
data 1
497
Remote output
data 2
Action selection at
SSCNET
499
communication
interruption
CommuniCommunication
cation
500 error recognition
(F500
waiting time
Series
Communication
Advanced
PID control 501 error occurrence
count display
functions)
Stop mode
selection at
502
communication
error
Capacitor
life
(F500
Series
Advanced
PID control
functions)
Communication
500 error recognition
waiting time
Communication
500 error recognition
waiting time
Motor switch-over
501
selection
Communication
501 error occurrence
count display
Communication
501 error occurrence
count display
MC switching
502
interlock time
Communication
502 error-time stop
mode selection
Stop mode
selection at
502
communication
error
503
Auxiliary motor
504 connection-time
deceleration time
Capacitor life
504 alarm output
setting time
500
Auxiliary motor
operation
Auxiliary motor
505 disconnection-time
acceleration time
506
Output stop
detection time
507
Output stop
detection level
Output stop
508 cancel process
value level
509
E-128
Capacitor life
timer
Auxiliary motor 1
starting frequency
12 Related Data
Inverter Communication
A
Function
Name
510
Auxiliary motor 2
starting frequency
511
Auxiliary motor 3
starting frequency
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Auxiliary motor 1
512 stopping
frequency
Auxiliary motor 2
513 stopping
frequency
Auxiliary motor 3
514 stopping
frequency
803
Constant output
region torque
characteristic
selection
804
Torque command
source selection
805
Torque command
source (RAM)
Auxiliary motor
start delay time
D
611
Restart
acceleration time
Torque command
806 source (RAM,
EEPROM)
807
Speed restriction
selection
H
Programming
Communication
Forward rotation
808
speed restriction
809
Reverse rotation
speed restriction
Torque restriction
810 input method
selection
Torque restriction
812 level
(regeneration)
Torque restriction
813 level (3rd
quadrant)
Remote
Maintenance
Control
system
function
(A500
Series
vector
control)
Non-Protocol
Communication
(FX2N-232IF)
Pre-excitation
selection
516
Non-Protocol
Communication
(RS/RS2 Instruction)
802
Auxiliary motor
start delay time
Inverter
Communication
Torque
801 characteristic
selection
515
Computer Link
Control system
800 selection
(simple mode)
Operation
selecting
function
Pr
No.
Parallel Link
Restart
after
instantaneous
power
failure
Name
N:N Network
Capacitor
life
(F500
Series
Advanced
PID control
functions)
Pr
No.
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Apx.
Discontinued
models
Torque restriction
814 level (4th
quadrant)
E-129
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Pr
No.
Name
815
Torque restriction
level 2
Pr
No.
Name
Pr
No.
Name
Acceleration
816 torque restriction
level
Acceleration
816 torque restriction
level
Deceleration
817 torque restriction
level
Deceleration
817 torque restriction
level
818
Pr
No.
Name
Pr
No.
Name
Control
system
function
(A500
Series
vector
control)
820
Speed control P
gain 1
821
Speed control
integral time 1
822
Speed setting
filter 1
823
Speed detection
filter 1
824
Torque control P
gain 1
825
Torque control
integral time 1
826
Torque setting
filter 1
827
Torque detection
filter 1
828
Model speed
control gain
830
Speed control P
gain 2
831
Speed control
integral time 2
832
Speed setting
filter 2
833
Speed detection
filter 2
834
Torque control P
gain 2
835
Torque control
integral time 2
836
Torque setting
filter 2
837
Torque detection
filter 2
840
Torque bias
selection
E-130
Torque bias
operation time
12 Related Data
Inverter Communication
A
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Torque bias
846 balance
compensation
847
Fall-time torque
bias No. 3 bias
Fall-time torque
848
bias No. 3 gain
Analog input
offset adjustment
851
Number of
encoder pulses
852
Encoder rotation
direction
C
Parallel Link
849
Terminal
assignment
function
866
Torque monitoring
reference
Speed deviation
level
871
Speed deviation
time
Thermal relay
protector input
Speed feed
forward/model
877
adaptive speed
control selection
878
Speed feed
forward filter
Speed feed
879 forward torque
restriction
Speed feed
forward gain
891
Maintenance
output timer
892
Maintenance
output signal clear
Remote
Maintenance
Maintenance
890
output setting time
Maintenance
functions
Programming
Communication
Control
system
functions
G
Non-Protocol
Communication
(FX2N-232IF)
Operation
selecting
functions
Non-Protocol
Communication
(RS/RS2 Instruction)
Protection
functions
Low speed
detection
Inverter
Communication
Display
functions
865
D
Computer Link
Notch filter
frequency
N:N Network
Torque
biases
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Apx.
Discontinued
models
E-131
12 Related Data
Inverter Communication
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
Function
Calibration
functions
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
FM terminal
calibration
900
DA1 terminal
calibration
900
FM terminal
calibration
900
FM terminal
calibration
900
901
DA2 terminal
calibration
901
AM terminal
calibration
901
AM terminal
calibration
Pr
No.
Name
C1
FM (AM) terminal
(900
calibration
(901))
902
902
Frequency setting
voltage bias
902
Frequency setting
voltage bias
Frequency setting
C2
voltage bias
Frequency setting (902) frequency
902
voltage bias
C3 Frequency setting
(902) voltage bias
903
903
Frequency setting
voltage gain
903
Frequency setting
voltage gain
903
904
Torque command
No. 3 bias
904
Frequency setting
current bias
904
Frequency setting
current bias
Frequency setting
C5
current bias
Frequency setting (904) frequency
904
current bias
C6 Frequency setting
(904) current bias
905
Torque command
No. 3 gain
905
Frequency setting
current gain
905
Frequency setting
current gain
905
917
No. 1 terminal
bias (speed)
918
No. 1 terminal
gain (speed)
No. 1 terminal
919 bias (torque/
magnetic flux)
No. 1 terminal
920 gain (torque/
magnetic flux)
Built-in frequency
setting
922
potentiometer
bias*7
Built-in frequency
setting
923
potentiometer
gain*7
Motor
temperature
925
detection
calibration
926
No. 6 terminal
bias (speed)
927
No. 6 terminal
gain (speed)
928
No. 6 terminal
bias (torque)
929
No. 6 terminal
gain (torque)
991
E-132
PU contrast
adjustment
PU contrast
adjustment
PU contrast
adjustment
991
PU contrast
adjustment
12 Related Data
Inverter Communication
A
Function
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Pr
No.
Name
Additional
functions
Pr
No.
Name
PU disconnection
n17
detection/PU
(993)
setting lock
*1.
*3.
Indicates a parameter whose setting is ignored when the advanced magnetic flux vector control mode
is selected.
*4.
Can be set when the parameters Nos. 80 and 81 are not set to "9999" and the parameter No. 60 is set
to "7" or "8".
*5.
Can be read or written when the parameters Nos. 80 and 81 are not set to "9999" and the parameter
No. 77 is set to "801".
*6.
*7.
C
Parallel Link
*2.
B
N:N Network
The parameters No. 77 and No. 79 cannot be written in computer link operation using the FR-A5NR.
Common Items
FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
E-133
12 Related Data
Inverter Communication
Basic
functions
DC injection
brake
Pr
No.
Name
Pr No.
Name
Name
Torque boost
Torque boost
Torque boost
Maximum frequency
Maximum frequency
Maximum frequency
Minimum frequency
Minimum frequency
Minimum frequency
Base frequency
Base frequency
Base frequency
Multispeed setting
(middle speed)
Multi-speed setting
(middle speed)
Multi-speed setting
(middle speed)
Acceleration time
Acceleration time
Acceleration time
Deceleration time
Deceleration time
Deceleration time
10
10
10
11
11
11
12
12
12
13
Starting frequency
13
Starting frequency
13
Starting frequency
14
14
14
15
Jog frequency
15
Jog frequency
15
Jog frequency
16
Jog acceleration/deceleration
time
16
Jog acceleration/deceleration
time
16
Jog acceleration/deceleration
time
17
17
17
18
18
18
19
19
19
Acceleration/
deceleration
times
20
Acceleration/deceleration
reference frequency
20
Acceleration/deceleration
reference frequency
20
Acceleration/deceleration
reference frequency
21
Acceleration/deceleration
increments
21
Acceleration/deceleration time
increments
21
Acceleration/deceleration time
increments
22
22
22
23
23
23
24
24
24
25
25
25
26
26
26
27
27
27
28
28
29
Acceleration/deceleration pattern
selection
29
Acceleration/deceleration pattern
selection
29
Acceleration/deceleration pattern
selection
30
30
30
Jog operation
Stall
prevention
Multispeed
setting
Frequency
jump
E-134
time
31
Frequency jump 1A
31
Frequency jump 1A
31
Frequency jump 1A
32
Frequency jump 1B
32
Frequency jump 1B
32
Frequency jump 1B
33
Frequency jump 2A
33
Frequency jump 2A
33
Frequency jump 2A
34
Frequency jump 2B
34
Frequency jump 2B
34
Frequency jump 2B
35
Frequency jump 3A
35
Frequency jump 3A
35
Frequency jump 3A
12 Related Data
Inverter Communication
A
Function
Name
Frequency
jump
36
Frequency jump 3B
37
Speed display
Name
Pr
No.
Name
36
Frequency jump 3B
36
Frequency jump 3B
37
Speed display
37
Speed display
40
RUN key
selection
Pr No.
Up-to-frequency sensitivity
41
Up-to-frequency sensitivity
42
42
43
43
43
44
Second acceleration/
deceleration time
44
Second acceleration/
deceleration time
44
Second acceleration/
deceleration time
45
45
45
46
46
46
47
47
47
48
48
48
49
49
50
50
51
51
52
52
51
52
54
54
55
55
56
56
56
Automatic
restart
functions
57
57
57
58
58
58
59
59
59
60
60
60
61
Reference current
61
Reference current
62
62
63
63
64
Automatic
acceleration
/deceleration
Retry
65
Retry selection
65
Retry selection
65
Retry selection
66
66
66
67
67
67
68
68
69
69
70
70
70
71
Applied motor
71
Applied motor
71
Applied motor
72
72
72
73
73
73
74
74
74
75
Reset selection/disconnected PU
detection/PU stop selection
75
Reset selection/disconnected PU
detection/PU stop selection
75
Reset selection/disconnected PU
detection/PU stop selection
76
76
77
77
77
E-135
Apx.
Discontinued
models
Remote
Maintenance
68
69
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
55
Non-Protocol
Communication
(RS/RS2 Instruction)
54
Computer Link
41
Parallel Link
Uptofrequency sensitivity
42
Inverter
Communication
41
Frequency
detection
N:N Network
direction
Monitor
functions
rotation
Second
functions
Common Items
12 Related Data
Inverter Communication
Function
Pr
No.
78
78
78
79
79
79
80
80
Motor capacity
80
Motor capacity
81
81
82
82
83
83
84
84
89
89
Simple
magnetic
flux vector
control
90
Adjustable 5
points V/F
Third
functions
PU connector
communication
PU connector
communicati
on
E-136
Name
Pr No.
Pr
No.
Name
90
90
91
91
92
92
93
93
94
94
95
96
96
100
100
V/F1(first frequency)
101
101
102
102
V/F2(second frequency)
103
103
104
104
V/F3(third frequency)
105
105
106
106
V/F4(fourth frequency)
107
107
108
108
V/F5(fifth frequency)
109
109
110
Third acceleration/deceleration
time
111
112
113
114
115
116
117
PU communication station
number
118
PU communication speed
119
PU communication
length
Name
117
PU communication station
number
118
PU communication speed
119
PU communication
length
120
121
Number of PU communication
retries
121
Number of PU communication
retries
122
122
123
123
123
124
PU
communication
CR/LF
presence/absence selection
124
PU
communication
CR/LF
presence/absence selection
124
PU
communication
selection
117
PU communication station
118
PU communication speed
119
PU communication
length.
120
120
121
Number of PU communication
retries
122
stop
bit
stop
bit
stop
bit
CR/LF
12 Related Data
Inverter Communication
A
FREQROL A700 Series
Name
Pr No.
125
125
125
126
126
126
127
127
127
128
128
128
129
129
129
130
130
130
131
PID maximum
131
131
132
PID minimum
132
132
133
133
133
134
134
134
135
Commercial powersupply
switchover sequence output
terminal selection
135
Electronic
selection
136
136
137
137
138
Commercial
power-supply
operation switchover selection at
an alarm
138
139
139
140
140
141
141
142
142
143
143
bypass
sequence
D
Computer Link
F
Non-Protocol
Communication
(RS/RS2 Instruction)
144
145
148
148
149
149
150
150
150
151
151
151
145
146
152
152
152
153
153
153
154
Voltage
reduction
selection
during stall prevention operation
154
Voltage
reduction
selection
during stall prevention operation
155
RT
signal
selection
155
156
Stall
prevention
selection
156
Stall
prevention
selection
reflection
time
operation
157
157
158
158
159
159
160
160
Stall
prevention
selection
157
160
operation
Apx.
E-137
Discontinued
models
156
Remote
Maintenance
operation
Programming
Communication
144
145
Non-Protocol
Communication
(FX2N-232IF)
PU
Current
detection
Inverter
Communication
Backlash
measures
Name
Parallel Link
Commercial
power
supplyinverter
switch-over
Name
N:N Network
Function
PID operation
Pr
No.
Common Items
12 Related Data
Inverter Communication
Pr
No.
161
Frequency
setting/key
operation selection
162
Automatic
restart
functions
Current
detection
Cumulative
monitor clear
User group
Input terminal
function
assignment
Output
terminal
function
assignment
Multispeed
setting
Name
Pr No.
lock
Name
161
Frequency
setting/key
operation selection
lock
162
163
163
164
164
165
165
166
166
167
167
Name
161
Frequency
setting/key
operation selection
162
lock
165
170
170
170
171
171
171
172
172
172
173
173
173
174
174
174
178
178
178
179
179
179
180
180
180
181
181
181
182
182
182
183
183
183
184
184
184
185
185
186
186
187
187
188
188
189
189
190
190
190
191
191
191
192
192
192
193
193
194
194
195
195
196
196
232
232
232
233
233
233
234
234
234
235
235
235
236
236
236
237
237
237
Multispeed
setting
238
238
238
239
239
239
240
240
240
241
Analog
input
switchover
241
Analog
input
switchover
241
Analog
input
switchover
242
242
243
243
E-138
display
unit
display
unit
display
unit
12 Related Data
Inverter Communication
A
Function
Name
Pr No.
Name
Name
244
244
244
245
Rated slip
245
Rated slip
245
Rated slip
246
246
246
247
247
247
249
250
Stop selection
250
Stop selection
250
Stop selection
251
251
251
Frequency
compensation
function
252
Override bias
252
Override bias
253
Override gain
253
Override gain
255
255
255
256
256
256
257
Control
display
257
Control
display
257
Control
display
258
258
258
259
Main
circuit
measuring
259
Main
circuit
measuring
259
Main
circuit
measuring
260
PWM
frequency
switchover
261
261
262
Subtracted frequency at
deceleration start
262
Subtracted frequency at
deceleration start
263
263
264
264
265
265
266
266
life
automatic
circuit
capacitor
life
capacitor
life
261
circuit
capacitor
capacitor
life
life
267
267
267
268
268
268
270
270
271
272
273
274
Current averaging
constant
filter
Programming
Communication
Load torque
high speed
frequency
control
G
Non-Protocol
Communication
(FX2N-232IF)
D
Computer Link
capacitor
life
Non-Protocol
Communication
(RS/RS2 Instruction)
Power failure
stop
capacitor
Inverter
Communication
circuit
Parallel Link
Life check
N:N Network
Slip
compensation
Common Items
time
I
Remote
Maintenance
Apx.
Discontinued
models
E-139
12 Related Data
Inverter Communication
Pr
No.
Name
Pr No.
Name
Name
275
275
276
276
277
278
278
279
279
280
280
281
281
282
282
283
283
284
285
286
Droop gain
287
288
Droop
function
selection
291
292
Automatic
deceleration
293
Acceleration/deceleration
separate selection
294
Brake
sequence
function
Droop control
Digital input
Analog
output
Analog
output
E-140
299
299
286
Droop gain
287
activation
acceleration/
292
Automatic
deceleration
acceleration/
293
Acceleration/deceleration
separate selection
295
298
299
300
300
301
301
302
302
303
303
304
304
305
305
306
306
307
307
308
Setting
output
308
Setting
output
309
309
310
310
Analog meter
selection
311
311
312
312
for
maximum
analog
analog
for
maximum
voltage
analog
output
12 Related Data
Inverter Communication
A
Function
Name
Name
313
313
314
314
315
315
316
316
317
317
318
318
319
319
320
320
321
321
C
Parallel Link
Relay output
Pr No.
N:N Network
Digital output
Name
322
322
Analog
output
323
AM0 0V adjustment
323
AM0 0V adjustment
324
324
329
329
332
333
333
334
334
RS-485 communication
check selection
335
335
RS-485
count
336
336
337
337
338
Communication
command source
338
Communication operation
command source
338
Communication operation
command source
339
339
339
340
340
340
341
341
342
342
342
343
343
343
345
DeviceNet address
DeviceNet baud rate
Communication reset selection
380
parity
retry
Acceleration S-pattern 1
Deceleration S-pattern 1
382
Acceleration S-pattern 2
383
Deceleration S-pattern 2
384
385
386
I
Remote
Maintenance
381
Programming
Communication
346
349
S-pattern
acceleration/
deceleration
C
Pulse train
input
operation
Computer Link
332
Non-Protocol
Communication
(FX2N-232IF)
CCLink
331
Non-Protocol
Communication
(RS/RS2 Instruction)
DeviceNet
Inverter
Communication
RS485
communication
331
communication
Common Items
Apx.
Discontinued
models
E-141
12 Related Data
Inverter Communication
LONWORKS
Second
motor constants
Remote
output
Communication error
Maintenance
S-pattern
acceleration/
deceleration
D
Pr
No.
Name
387
388
389
390
391
392
Name
450
451
453
454
455
456
457
458
459
460
461
462
463
USB
E-142
450
Name
495
495
495
496
496
496
497
497
497
500
500
501
501
502
502
503
Maintenance timer
504
503
Maintenance timer
503
Maintenance timer
504
504
516
517
518
519
CCLink
541
542
542
543
543
544
544
547
547
548
548
12 Related Data
Inverter Communication
A
Function
Name
Name
Name
550
551
555
555
555
556
556
556
557
557
557
563
563
563
564
Operating
times
564
Operating
times
564
Operating
times
569
571
574
575
Output
time
interruption
detection
576
Output
level
interruption
detection
Communication
Current
average
monitor
571
carryingover
Protocol selection
549
Protocol selection
550
550
551
551
time
carrying-over
Output
time
interruption
detection
576
Output
level
interruption
detection
577
577
611
611
653
665
Reqeneration avoidance
frequency gain
803
804
805
806
807
810
811
812
813
814
815
816
817
818
819
I
Remote
Maintenance
Easy gain
tuning
809
Programming
Communication
Torque limit
808
800
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
800
684
Speed limit
611
Torque
command
carrying-over
Inverter
Communication
575
PID control
571
time
Computer Link
time
549
Parallel Link
Protocol selection
N:N Network
549
Common Items
Apx.
Discontinued
models
E-143
12 Related Data
Inverter Communication
Pr
No.
Name
Pr No.
Adjustment
function
Torque bias
Indication
function
Name
820
821
822
824
825
826
827
828
830
831
832
834
835
836
837
849
850
858
859
Torque current
860
862
863
864
Torque detection
865
866
867
867
AM output filter
868
872
872
Protective
Functions
AM output filter
Free
parameter
E-144
875
Fault definition
877
878
879
Regeneration
avoidance
function
874
Name
859
Torque current
872
Input phase
selection
loss
protection
880
881
882
Regeneration avoidance
operation selection
882
Regeneration avoidance
operation selection
883
Regeneration avoidance
operation level
883
Regeneration avoidance
operation level
882
Regeneration
operation selection
avoidance
883
Regeneration
operation level
avoidance
884
Regeneration avoidance at
deceleration detection sensitivity
884
Regeneration avoidance at
deceleration detection sensitivity
885
Regeneration avoidance
compensation frequency limit
value
885
Regeneration avoidance
compensation frequency limit
value
885
Regeneration avoidance
compensation frequency limit
value
886
886
886
888
Free parameter 1
888
Free parameter 1
888
Free parameter 1
889
Free parameter 2
889
Free parameter 2
889
Free parameter 2
12 Related Data
Inverter Communication
A
Function
Name
Pr No.
Name
891
891
892
Load factor
892
Load factor
893
893
894
894
895
Power
value
895
Power
value
896
896
897
897
898
898
899
899
saving
rate reference
saving
Name
rate reference
N:N Network
Energy
saving
monitor
C
Parallel Link
D
Computer Link
C0
FM terminal calibration
(900)
C0
FM terminal calibration
(900)
C1
AM terminal calibration
(901)
C1
AM terminal calibration
(901)
C0
FM terminal calibration
(900)
Inverter
Communication
C3
C3
C3
Terminal 2 frequency setting bias
Terminal 2 frequency setting bias
Terminal 2 frequency setting bias
(902)
(902)
(902)
C6
C6
C6
Terminal 4 frequency setting bias
Terminal 4 frequency setting bias
Terminal 4 frequency setting bias
(904)
(904)
(904)
126 Terminal 4 frequency setting
(905) gain frequency
Programming
Communication
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
Calibration
parameters
Common Items
I
Remote
Maintenance
Apx.
Discontinued
models
E-145
12 Related Data
Inverter Communication
Pr
No.
Name
Name
Name
Calibration
parameters
PU
E-146
989
990
PU buzzer control
990
PU buzzer control
990
PU buzzer control
991
PU contrast adjustment
991
PU contrast adjustment
991
PU contrast adjustment
12 Related Data
Inverter Communication
117
118
Communication
speed
118
119
119
120
Parity check
presence/absence
120
Number of
121 communication
retries
122
Communication
check time interval
123
338
339
340
PU communication
RS-485
124 CR/LF
presence/ 341 communication CR/
absence selection
LF selection
Communication
342 EEPROM write
selection
549 Protocol selection
Communication
342 EEPROM write
selection
549 Protocol selection
n1 Communication
331 station number
332
Communication
speed
n2 Communication
332 speed
333
Parity check
334 presence/
absence
Parity check
n4 presence/
334
absence
Number of
335 communication
retries
Communication
336 check time
interval
Number of times
n5
of communication
335
retries
Communication
n6 check time
336
interval
337
Waiting time
setting
n7 Waiting time
337 setting
338
Operation
command right
n8 Operation
338 command right
339
340
Link startup
mode selection
CR, LF
presence/
341
absence
selection
342
-
E2PROM write
selection
-
H
Programming
Communication
CR, LF presence/
124
absence selection
Communication
station number
Non-Protocol
Communication
(FX2N-232IF)
122
331
Non-Protocol
Communication
(RS/RS2 Instruction)
Communication
type
121
RS-485
PU communication
331 communication
station number
station
RS-485
PU communication
332 communication
speed
speed
RS-485
PU communication
333 communication stop
stop bit length
bit length
RS-485
PU communication
communication
334
parity check
parity check
selection
Number
of
PU
RS-485
communication
335 communication
retries
number of retries
RS-485
PU communication
336 communication
check time interval
check time interval
RS-485
PU communication
337 communication
waiting time setting
waiting time setting
Communication
Communication
operation command 338 operation command
source
source
Communication
Communication
frequency command 339 speed command
source
source
Communication
Communication
startup
mode 340 startup mode
selection
selection
Computer Link
Communication
station number
FREQROL S500
Series (Built-in port
in accordance with
RS-485)
Pr
Name
No.
Inverter
Communication
117
FREQROL V500,
F500 and A500
Series (FR-A5NR
computer link)
Pr
Name
No.
Parallel Link
B
N:N Network
The table below shows the parameters corresponding to each communication port.
- The PU port is common in the V500, F500, A500, and E500 Series.
- In the F700, and A700 Series, communication parameters for the built-in RS-485 terminal are provided.
- In the V500, F500, and A500 Series, communication parameters for the FR-A5NR computer link are
provided.
- In the E500, and E700 Series, only the PU port is provided.
- In the S500 Series containing RS-485 communication, the following parameters are applicable.
Common Items
I
Remote
Maintenance
Apx.
Discontinued
models
E-147
MEMO
E-148
12 Related Data
A
Common Items
B
N:N Network
C
Parallel Link
User's Manual
[Non-Protocol Communication (RS/RS2 Instruction)]
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
F-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
Remote
Maintenance
This manual explains "non-protocol communication" provided for the MELSEC-F FX Series Programmable
Controllers and should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
F-2
1 Outline
A
Common Items
1.
Outline
N:N Network
1.1
Outline of System
1) Up to 4096 points of data can be sent, and up to 4096 points of data can be received. However, make
sure that the total number of sent and received data is 8000 points or less.
2) Data transfer is enabled when the connected equipment supports non-protocol serial communication.
RS instruction (FX2(FX), FX2C, FX0N, FX1S, FX1N, FX2N, FX3U, FX1NC, FX2NC, FX3UC)
FX PLC
+
Communication
equipment operating ....... For selection, refer to
Chapter 3.
in accordance with
RS-232C or
RS-485
In PLCs except for the FX2N, FX3U, FX2NC and FX3UC PLCs, the amount of send data or receive data can be 256 points
maximum.
H
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
Transfer direction
E
Inverter
Communication
System
D
Computer Link
3) The applicable total extension distance is 15m (49' 2") maximum in accordance with RS-232C
communication, and 500m (1640' 5") maximum in accordance with RS-485 comminication [50m (164' 0")
when 485BD connection is used].
C
Parallel Link
Non-protocol communication exchanges non-protocol data using a printer, bar code reader, etc.
In FX Series PLCs, non-protocol communication is available using the RS and RS2 instructions.
The RS2 instruction is dedicated to the FX3U and FX3UC PLCs, and allows communication using two
channels at the same time when the channels are specified.
I
Remote
Maintenance
Apx.
Discontinued
models
F-3
1 Outline
System
RS-232C: 15 m (49' 2"), RS-485: 500 m (1640' 5")
[50 m (164' 0") when 485BD is used]
Bar code reader
Printer
+
ch1
....... Chapter 3.
Communication
equipment operating
in accordance with
RS-232C or
RS-485
....... For wiring, refer to
Chapter 4.
Transfer direction
Printer
Word devices
4096 points data
+
ch2
.......
Communication
Chapter 3.
equipment operating
in accordance with
RS-232C or
For wiring, refer to
RS-485
.......
Chapter 4.
Transfer direction
Bar code reader
F-4
Word devices
4096 points data
1 Outline
A
Procedures Before Operation
Common Items
1.2
The flow chart below shows the Non-Protocol Communication setting procedures up until data link:
Non-Protocol Communication
Outline
Refer to Chapter 2.
Check communication specifications
N:N Network
Refer to Chapter 1.
Outline of system
Applicable PLC versions
Applicable programming tools
C
Parallel Link
Communication specifications
Communication applicability
Refer to Chapter 3.
Determine system configuration and selection
System configuration
Select communication equipment
Perform wiring
Computer Link
Refer to Chapter 4.
Wiring procedure
Wiring example
Programming tool
Inverter
Communication
Connect PLC*1
Non-Protocol
Communication
(RS/RS2 Instruction)
Refer to Chapter 5.
PLC serial communication setting
Setting using parameters
H
Programming
Communication
I
Remote
Maintenance
G
Non-Protocol
Communication
(FX2N-232IF)
Create programs
F-5
Apx.
Discontinued
models
*1 For the programming tool to PLC connection procedure, refer to the "Programming Communication" section in this
manual or the respective programming tool manual.
For details on operating procedures, refer to the respective programming tool manual.
1 Outline
1.3
1.3.1
Applicable versions
The communication types are applicable in the following versions.
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
Remarks
FX3UC Series
FX3U Series
FX2NC Series
FX2N Series
FX1NC Series
Half-duplex communication
FX1N Series
Half-duplex communication
FX1S Series
FX0N Series
Half-duplex communication
(Ver. 1.20 or later)
Half-duplex communication
FX0S Series
FX0 Series
FX2C Series
FX2(FX) Series
Half-duplex communication
(Ver. 3.07 or later)
FX1 Series
*1.
*1
Half-duplex communication
Applicable in products manufactured in January, 1994 (manufacturers serial No.: 41****) and later.
1. Version check
The D8001(decimal) special data register contains information for determining the PLC version.
D8001
1
Version information (Example: Ver. 2.51)
PROGRAMMABLE
CONTROLLER
MITSUBISHI
MODEL
FX3U-48MR/ES
570001
80M1 IND. CONT. EQ.
Control number
Month (Example: 7=July) (1 to 9 = January to September,
X = October, Y = November, Z = December)
Year (Example: 5 = 2005) ... last digit of year
F-6
1 Outline
A
Products whose production was stopped
The table below shows FX series whose production (main unit, communication equipment, etc.) was stopped.
Use the description on system configuration, etc. in this manual for maintenance.
PLC
Remarks
FX0 Series
FX2(FX) Series
FX1 Series
1.4.1
C
Parallel Link
1.4
The programming tool is applicable for each FX Series from the version shown.
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Applicability
(applicable version)
Remarks
Inverter
Communication
GX Developer
SW D5C(F)-GPPW-J
FX2N and FX2NC PLCs
GX Developer
SW D5C(F)-GPPW-J
F
(Ver. 4.00 or later)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-PCS-KIT/V-3
SW1-PC-FXGP/V3
FX-A7PHP-KIT
SW1RX-GPPFX
FX-20P(-SET0)
FX-20P-MFXC
FX-10P(-SET0)
H
F940WGOT-TWD (Ver.1.00 or later)
F940GOT-LWD, F940GOT-SWD (Ver.1.00 or later)
F940GOT-LBD-H, F940GOT-SBD-H (Ver.1.00 or later)
F940GOT-LBD-RH, F940GOT-SBD-RH (Ver.1.00 or later)
Programming
Communication
FX-PCS-KIT/98
SW1PC-FXGP/98(-3,-5)
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
FX-PCS/WIN
SW0PC-FXGP/WIN
Computer Link
1. Japanese versions
Model name
(Software name)
N:N Network
FX2C Series
Common Items
1.3.2
I
Remote
Maintenance
Apx.
Discontinued
models
F-7
1 Outline
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS/WIN
SW0PC-FXGP/WIN
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-20P(-SET0)
FX-20P-MFXD
FX-10P(-SET0)
2. English versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXC-E
FX-10P-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXD-E
FX-10P-E
F-8
1 Outline
A
For non-applicable versions (setting an alternative model)
Even software not applicable to a PLC can create programs when an alternative model is set.
In this case, however, programming is enabled only in the ranges provided for the alternative PLC model
such as instructions and program size.
Model to be set
FX2N
FX2(FX)
FX3U Series
FX3U, FX3UC
FX2N
FX2(FX)
FX2NC Series
FX2NC, FX2N
FX2(FX)
FX2N Series
FX2N
FX2(FX)
FX1NC Series
FX1NC, FX1N
FX2N
FX2(FX)
FX1N Series
FX1N
FX2N
FX2(FX)
FX1S Series
FX1S
FX2(FX)
FX0N Series
FX0N
FX2(FX)
FX0S Series
FX0S
FX2(FX)
FX0
FX2(FX)
FX2C, FX2(FX)
FX2(FX)
FX2(FX)
FX2(FX)
FX0
Series
FX2C Series
FX2(FX) Series
FX1 Series
D
Computer Link
FX3UC
Parallel Link
FX3UC Series
N:N Network
Model to be programmed
Common Items
1.4.2
FX1
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-9
2 Specifications
2.
Specifications
This chapter explains the communication specifications and performance of non-protocol communication.
2.1
Specifications
RS-485 or RS-422 standard
Remarks
RS-232C standard
FX1S Series
FX0N Series
FX2C Series
FX2(FX) Series
Protocol type
Control procedure
Communication method
Baud rate
Non-protocol communication
Half-duplex, bidirectional communication/
full-duplex, bidirectional communication
Method varies
depending on FX Series.
Character format
Start bit
Data bit
7 or 8-bit
Parity bit
Stop bit
1 or 2-bit
Header
Terminator
Control line
Sum check
F-10
2 Specifications
2.2 Data Communication Specifications
A
Data Communication Specifications
2.2.1
Common Items
2.2
1. Full-duplex communication
PLC Series
FX3U Series
FX2NC Series
FX2N Series
C
(Ver. 2.00 or later)
FX1S Series
FX0N Series
FX0S Series
FX0 Series
FX2C Series
FX2(FX) Series
D
Computer Link
FX1NC Series
FX1N Series
2. Half-duplex communication
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC Series
FX3U Series
FX2NC Series
FX2N Series
FX1NC Series
G
Non-Protocol
Communication
(FX2N-232IF)
FX1N Series
FX1S Series
FX0N Series
FX0S Series
FX0 Series
FX2C Series
*2.
H
*2
Communication is applicable in products manufactured in November, 1994 (manufacturers serial No.: 4Y****) and later.
Programming
Communication
FX2(FX) Series
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX3UC Series
Inverter
Communication
*1.
Parallel Link
FX3UC Series
N:N Network
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
I
Remote
Maintenance
Apx.
Discontinued
models
F-11
2 Specifications
2.3
F-12
FX3UC Series
0 to 4096 points
FX3U Series
0 to 4096 points
FX2NC Series
0 to 4096 points
FX2N Series
0 to 4096 points
FX1NC Series
0 to 256 points
FX1N Series
0 to 256 points
FX1S Series
0 to 256 points
FX0N Series
0 to 256 points
FX0S Series
FX0 Series
FX2C Series
0 to 256 points
FX2(FX) Series
0 to 256 points
Remarks
The total number of sent and received data should be 8000
points or less.
A
Common Items
3.
3.1
System Configuration
FX PLC
Total extension
distance
(49' 2")
Communication
board
E
+
3
Attach the communication adapter to
the left side of the main unit.
RS-485: 500 m
(1640' 5")
RS-232C: 15 m
(49' 2")
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
D
Computer Link
RS-485: 50 m
C
Parallel Link
This section outlines the system configuration required to use non-protocol communication.
Connect (optional) equipment operating in accordance with RS-485 or RS-232C to the FX PLC main unit.
B
N:N Network
This chapter explains the system configuration and communication equipment selection operating in
accordance with RS-485 or RS-232 required by FX PLCs.
G
Non-Protocol
Communication
(FX2N-232IF)
Communication
adapter
For communication equipment combinations for each FX Series, refer to the next page.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-13
3.2
3.2.1
Total extension
distance
15 m
(49' 2")
FX0N
FX2NC-232ADP
FX0N-232ADP
15 m
(49' 2")
FX1N-232-BD
(9-pin D-Sub, male)
FX1S
+
FX1N-CNV-BD FX2NC-232ADP FX1N-CNV-BD
FX0N-232ADP
15 m
(49' 2")
15 m
(49' 2")
FX1N-232-BD
(9-pin D-Sub, male)
FX1N
+
FX1N-CNV-BD FX2NC-232ADP FX1N-CNV-BD
FX0N-232ADP
15 m
(49' 2")
15 m
(49' 2")
FX2N-232-BD
(9-pin D-Sub, male)
FX2N
FX2N-CNV-BD
FX2NC-232ADP FX2N-CNV-BD
(9-pin D-Sub, male)
F-14
+
FX0N-232ADP
(25-pin D-Sub, female)
15 m
(49' 2")
Check
A
Total extension
distance
Check
Common Items
FX Series
B
RD
SD
N:N Network
15 m
(49' 2")
FX3U-232-BD
(9-pin D-Sub, male)
ch1
FX3U-CNV-BD
Parallel Link
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
Computer Link
FX3U
ch2
RD
SD
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
ch1
Inverter
Communication
FX3U- -BD
(Where represents
232, 422, 485 and USB)
ch2
Non-Protocol
Communication
(RS/RS2 Instruction)
+
FX3U-CNV-BD
15 m
(49' 2")
15 m
(49' 2")
FX3U-232ADP(-MB)
(Where represents
232 and 485)
G
Non-Protocol
Communication
(FX2N-232IF)
FX3U- ADP(-MB)
15 m
(49' 2")
FX2NC-232ADP
FX0N-232ADP
Programming
Communication
FX1NC
FX2NC
FX2NC-232ADP
FX0N-232ADP
Remote
Maintenance
15 m
(49' 2")
Apx.
Discontinued
models
F-15
FX Series
Total extension
distance
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
FX3UC
(D, DSS)
ch2
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
RD
15 m
(49' 2")
SD
FX3U-232-BD
(9-pin D-Sub, male)
ch1
+
FX3U-CNV-BD
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
ch2
FX3UC-32MT-LT
RD
SD
15 m
(49' 2")
FX3U- -BD
FX3U-232ADP(-MB)
(Where represents
232, 422, 485 and USB)
ch1
+
FX3U-CNV-BD
F-16
ch2
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
Check
A
Communication equipment (option)
Total extension
distance
Check
B
N:N Network
15 m
(49' 2")
FX2(FX)
Common Items
FX Series
FX-232ADP
(25-pin D-Sub, female)
C
Parallel Link
15 m
(49' 2")
FX-232ADP
(25-pin D-Sub, female)
Computer Link
FX2C
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-17
3.2.2
Total extension
distance
500 m
(1640' 5")
FX0N
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
50 m
(164' 0")
FX1N-485-BD
(European terminal block)
FX1S
FX1N-CNV-BD
FX2NC-485ADP
FX1N-CNV-BD
500 m
(1640' 5")
FX0N-485ADP
(Terminal block)
50 m
(164' 0")
FX1N-485-BD
(European terminal block)
FX1N
FX1N-CNV-BD
FX2NC-485ADP
FX1N-CNV-BD
500 m
(1640' 5")
FX0N-485ADP
(Terminal block)
50 m
(164' 0")
FX2N-485-BD
FX2N
FX2N-CNV-BD
FX2NC-485ADP
(European terminal block)
F-18
+
FX2N-CNV-BD FX0N-485ADP
(Terminal block)
500 m
(1640' 5")
Check
A
Total extension
distance
Check
Common Items
FX Series
ch1
B
RD A
N:N Network
RD
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
+
FX3U-CNV-BD
Parallel Link
ch1
500 m
(1640' 5")
FX3U-485ADP(-MB)
Computer Link
FX3U
ch2
RD
SD
FX3U-485ADP(-MB)
(European terminal block)
ch1
ch2
Non-Protocol
Communication
(RS/RS2 Instruction)
FX3U-CNV-BD
Inverter
Communication
FX3U- -BD
(Where represents
232, 422, 485, and USB).
500 m
(1640' 5")
500 m
(1640' 5")
FX3U-485ADP(-MB)
(Where represents
232 and 485).
G
Non-Protocol
Communication
(FX2N-232IF)
FX3U- ADP(-MB)
500 m
(1640' 5")
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
Programming
Communication
FX1NC
FX2NC
FX2NC-485ADP
FX0N-485ADP
(Terminal block)
Remote
Maintenance
500 m
(1640' 5")
Apx.
Discontinued
models
F-19
FX Series
Total extension
distance
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
FX3UC
(D, DSS)
ch2
500 m
(1640' 5")
FX3U- ADP(-MB)
FX3U-485ADP(-MB)
(Where represents
232 and 485).
50 m
(164' 0")
RD B
SD A
SD
SD B
SG
FX3U-485-BD
(European terminal block)
ch1
+
FX3U-CNV-BD
500 m
(1640' 5")
FX3U-485ADP(-MB)
(European terminal block)
ch2
FX3UC-32MT-LT
RD
SD
500 m
(1640' 5")
FX3U- -BD
FX3U-485ADP(-MB)
(Where represents
232, 422, 485, and USB).
ch1
+
FX3U-CNV-BD
F-20
ch2
500 m
(1640' 5")
FX3U- ADP(-MB)
FX3U-485ADP(-MB)
(Where represents
232 and 485).
Check
4 Wiring
A
Common Items
4.
Wiring
N:N Network
WIRING PRECAUTIONS
WIRING PRECAUTIONS
Programming
Communication
Before starting any wiring work, make sure that the PLC power is OFF.
Remote
Maintenance
Apx.
F-21
Discontinued
models
Computer Link
G
Non-Protocol
Communication
(FX2N-232IF)
Wiring Procedure
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
Make sure to observe the following precautions in order to prevent any damage to the machinery or accidents
due to abnormal data written to the PLC under the influence of noise:
1) Do not bundle the main circuit line together with or lay it close to the main circuit, high-voltage line or load line.
Otherwise, noise disturbance and/or surge induction are likely to take place. As a guideline, lay the control line
at least 100mm (3.94") or more away from the main circuit or high-voltage line.
2) Ground the shield wire or shield of the shielded cable at one point on the PLC. However, do not use grounding
with heavy electrical systems.
Make sure to properly wire the FX0N/FX2N Series extension equipment in accordance with the following
precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should follow the specifications in this manual.
Make sure to properly wire to the European terminal board in accordance with the following precautions.
Failure to do so may cause electric shock, a short-circuit, wire breakage, or damage to the product.
- The disposal size of the cable end should follow the dimensions described in this manual.
- Tightening torque should be follow the specifications in this manual.
- Twist the end of strand wire and make sure that there are no loose wires.
- Do not solder-plate the electric wire ends.
- Do not connect more than the specified number of wires or electric wires of unspecified size.
- Affix the electric wires so that neither the terminal block nor the connected parts are directly stressed.
4.1
C
Parallel Link
Make sure to cut off all phases of the power supply externally before attempting installation or wiring work.
Failure to do so may cause electric shock or damage to the product.
Make sure to attach the terminal cover, offered as an accessory, before turning on the power or initiating
operation after installation or wiring work.
Failure to do so may cause electric shock.
4.2
4 Wiring
4.2 Selecting Cables and Terminal Resistors
4.2.1
1. Recommended cables
Manufacturer
Model name
Fujikura Ltd.
SPEV(SB)-0.2-2P
SPEV(SB)-MPC-0.2 3P
SPEV(SB)-0.5-2P
DPEV SB 0.3 3P
DPEV SB 0.5 3P
D-KPEV-SB 0.2 3P
D-KPEV-SB 0.5 3P
F-22
Remarks
4 Wiring
A
Connecting cables
1. European type terminal block
Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS485.
The table below shows applicable cables and tightening torques.
FX3U-485-BD
FX3U-485ADP
(-MB)
AWG22 to
AWG20
FX2NC-485ADP
Tightening
torque
AWG22 to AWG20
AWG26 to AWG16
AWG26 to
AWG16
AWG26 to
AWG20
Tool size
A
0.22 to 0.25
Nm
0.4 (0.01")
2.5 (0.09")
0.6 Nm
0.6 (0.03")
3.5 (0.14")
0.4 to 0.5
Nm
0.6 (0.03")
3.5 (0.14")
FX1N-485-BD, FX2N-485-BD
Approx. 6 mm
(0.23")
Manufacturer
Phoenix Contact
Model name
Caulking tool
AI 0.5-8WH
CRIMPFOX ZA 3
(or CRIMPFOX UD 6)
Approx. 8 mm
(0.31")
Insulating sleeve
Contact area
(Crimp area)
8 mm (0.31")
2.6 mm
(0.1")
14 mm
(0.55")
Manufacturer
Phoenix Contact
Model name
SZS 0.4 2.5
Select a
screwdriver
with a
straight tip.
H
Programming
Communication
Note:
If the diameter of screwdriver grip is too small, tightening torque will
not be able to be achieved. Use the following recommended
screwdriver or an appropriate replacement (grip diameter:
approximately 25mm).
G
Non-Protocol
Communication
(FX2N-232IF)
Tool
- When tightening a terminal on the European terminal block, use a small commercial straight shape
screwdriver whose tip is shown in the figure to the right.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
Approx. 9 mm
(0.35")
FX2NC-485ADP
D
Computer Link
With regard to the cable end treatment, use a stranded cable or solid cable as it is, or use a bar terminal with
an insulating sleeve.
C
Parallel Link
FX2N-485-BD
FX1N-485-BD
AWG22
B
N:N Network
Common Items
4.2.2
I
Remote
Maintenance
Apx.
Discontinued
models
F-23
4 Wiring
2. Terminal block
In the FX0N-485ADP and FX-485ADP, the terminal screw size is "M3".
Make sure to use a crimp-style terminal with the following sizes.
Make sure that the tightening torque is 0.5 to 0.8 Nm.
When wiring one cable to one terminal
3.2 (0.13")
6.2 mm (0.24")
or less
Crimp-style
terminal
Terminal
screw
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
Terminal
6.3 mm (0.25")
or more
Crimp-style
terminal
Terminal
screw
6.3 mm (0.25")
or more
3.2 (0.13")
6.2 mm (0.24")
or less
4.2.3
Terminal
6.3 mm (0.25")
or more
Brown
Precision
1 1 1
=110
(101)
3 3 1
=330
(101)
FX3U-485ADP(-MB)
330
330
OPEN
OPEN
110
110
Terminal
resistor selector
switch
330
OPEN
110
F-24
Terminal
resistor selector
switch
4 Wiring
A
Connection Diagram
4.3.1
8
25
13
4.3.2
20
20
7
14
*1.
3
2
1*1
FG
D
Computer Link
14
Function
Signal
name
Parallel Link
25
13
FX1N-232-BD, FX2N-232-BD
FX2NC-232ADP, FX3U-232-BD
FX3U-232ADP(-MB)
9-pin D-Sub (male)
connector
N:N Network
FX-232ADP
Common Items
4.3
Frame ground
FX0N232ADP
FX2NC232ADP
FX-232ADP
9-pin
D-Sub
25-pin
D-Sub
Name
9-pin
D-Sub
25-pin
D-Sub
FG
RD(RXD)
RD(RXD)
SD(TXD)
SD(TXD)
SD(TXD)
ER(DTR)
*1
20
RS(RTS)
ER(DTR)
20
SG(GND)
SG(GND)
SG(GND)
DR(DSR)
*1
CS(CTS)
DR(DSR)
*1.
When the control line is not used, wiring is not required for this signal.
Because the interlink mode (provided only in FX2N, FX3U, FX2NC, and FX3UC PLCs) uses the control
line, wiring is required for this signal.
PLC
9-pin D-Sub (female) connector
Name
FX3U-232-BD
FX2N-232-BD
FX1N-232-BD
FX3U-232ADP(-MB)
FX0N232ADP
FX2NC232ADP
FX-232ADP
9-pin
D-Sub
25-pin
D-Sub
Name
9-pin
D-Sub
25-pin
D-Sub
FG
FG
CD(DCD)
CD(DCD)
RD(RXD)
RD(RXD)
RD(RXD)
SD(TXD)
SD(TXD)
SD(TXD)
ER(DTR)
20
RS(RTS)
ER(DTR)
20
Apx.
SG(GND)
SG(GND)
SG(GND)
DR(DSR)
CS(CTS)
DR(DSR)
Discontinued
models
Remote
Maintenance
FG
CD(DCD)
H
Programming
Communication
G
Non-Protocol
Communication
(FX2N-232IF)
FG
RD(RXD)
FG
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX3U-232-BD
FX2N-232-BD
FX1N-232-BD
FX3U-232ADP(-MB)
Name
E
Inverter
Communication
Representative wiring examples are shown in this subsection. When pin numbers in the external equipment
are different, wire the pins as shown below.
F-25
4 Wiring
4.3.3
4.3.4
One-pair wiring
Communication
equipment operating
in accordance with
RS-485
FX0N-485ADP
FX3U-485-BD,FX2N-485-BD
FX1N-485-BD,FX3U-485ADP(-MB)
FX2NC-485ADP
SDA
SDA
SDA
SDA
Terminal
resistor:
110
SDB
SDB
SDB
SDB
*3
RDA
RDA
RDA
RDA
RDB
RDB
RDB
RDB
LINK
SG
LINK
SG
SG
FG*2
Terminal
resistor:
110
*3
SG
Class-D grounding
(resistance: 100 or less)*1
Class-D grounding
(resistance: 100 or less)*1
*1 Make sure to perform Class-D grounding to the shield of a twisted pair cable connected to the FX2N-485-BD, FX1N-485-BD,
FX3U-485-BD, FX2NC-485ADP or FX3U-485ADP(-MB).
*2 Make sure to connect the FG terminal to the
(grounding) terminal in the PLC requiring Class-D grounding.
If the grounding terminal is not provided in the PLC, perform Class-D grounding directly.
*3 Make sure to provide a terminal resistor at the end of each line.
The FX3U-485-BD and FX3U-485ADP(-MB) have a built-in terminal resistor.
Set the terminal resistor selector switch accordingly.
The FX0N-485ADP, FX2NC-485ADP, FX2N-485-BD and FX1N-485-BD are supplied together with terminal resistors.
When using the FX2N-485-BD, signal loop between the PLC and the external device occurs since the FX2N-485-BD has a full-duplex
interface.
4.3.5
Two-pair wiring
Communication
equipment operating
in accordance with
RS-485/RS-422
*3
*3
Terminal
resistor:
330
2
FX0N-485ADP
FX3U-485-BD,FX2N-485-BD
FX1N-485-BD,FX3U-485ADP(-MB)
FX2NC-485ADP
SDA
SDA
SDA
SDA
SDB
SDB
SDB
SDB
RDA
RDA
RDA
RDA
RDB
RDB
RDB
RDB
LINK
SG
LINK
SG
FG*2
SG
Class-D grounding
(resistance: 100 or less)*1
*1 Make sure to perform Class-D grounding to the shield of a twisted pair cable connected to the FX2N-485-BD, FX1N-485-BD,
FX3U-485-BD, FX2NC-485ADP or FX3U-485ADP(-MB).
*2 Make sure to connect the FG terminal to the
(grounding) terminal in the PLC requiring Class-D grounding.
If the grounding terminal is not provided in the PLC, perform Class-D grounding directly.
*3 Make sure to provide a terminal resistor at the end of each line.
The FX3U-485-BD and FX3U-485ADP(-MB) have a built-in terminal resistor.
Set the terminal resistor selector switch accordingly.
The FX0N-485ADP, FX2NC-485ADP, FX2N-485-BD and FX1N-485-BD are supplied together with terminal resistors.
F-26
*3
Terminal
resistor:
330
2
SG
Class-D grounding
(resistance: 100 or less)*1
*3
4 Wiring
4.4 Grounding
A
Grounding
Common Items
4.4
PLC
Other
equipment
PLC
Other
equipment
PLC
Other
equipment
B
N:N Network
C
Shared grounding
Good condition
Common grounding
Not allowed
Parallel Link
Independent grounding
Best condition
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-27
5.
5.1
FX Series
FX1S, FX1N, FX2N, FX3U, FX1NC, FX2NC, FX3UC
(Recommended)
D8120]
D8129]
RS instruction
D8120 Communication format
D8129 Time-out time setting
Program area
[MOV H
[MOV K
Sequence
program for
set values
Transferred
when power
is turned ON
[MOV H
[MOV K
[MOV H
[MOV K
D8400]
D8409]
D8420]
D8429]
Written by
program
Written by
program
Written by
program
F-28
Operating procedure
This subsection explains the serial communication setting method. Suppose that GX Developer is already
started up.
C
Parallel Link
5.2.1
B
N:N Network
5.2
Common Items
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
If the project tree is not displayed, select [View] - [Project data list] from the toolbar.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-29
Caution
When setting "H/W type" to "RS485", check the "Control line" box.
F-30
A
Communication Setting Using Parameter Method (FXGP/WIN)
Two software packages, GX Developer and FXGP/WIN for Windows, are available using the parameter
method. This section explains the parameter method using FXGP/WIN.
Ch2 cannot be set using FXGP/WIN.
Operating procedure
This subsection explains the serial communication setting method. Suppose that FXGP/WIN is already
started up.
B
N:N Network
5.3.1
Common Items
5.3
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-31
Caution
F-32
A
Common Items
6.
6.1
Name
Description
R/W
R
M8120
This device keeps the communication setting status (for FX0N PLC).
M8121
M8122
Sending request
M8123
M8124
M8129*1
M8161
This device sets the send/receive data bit length to 16-bit or 8-bit.
ON: 8-bit mode
OFF: 16-bit mode
R/W
Not provided in FX0N, FX2(FX), FX2C, and FX2N (before Ver. 2.00) PLCs.
Description
R/W
When the serial communication error flag (M8063) turns ON, this
R/W
device stores the corresponding error code.
R/W
D8122
D8123
D8124
Header
R/W
D8125
Terminator
R/W
D8129*1
R/W
D8405*2
Communication parameter
display
D8419*2
R: Read only
R/W: Read or Write
Not provided in FX0N, FX2(FX), FX2C, and FX2N (before Ver. 2.00) PLCs.
*2.
Apx.
Discontinued
models
*1.
Remote
Maintenance
Programming
Communication
D8120
Non-Protocol
Communication
(FX2N-232IF)
D8063
Name
2. Word devices
Device
Non-Protocol
Communication
(RS/RS2 Instruction)
R: Read only
W: Write only
R/W: Read or Write
*1.
D
Computer Link
Inverter
Communication
M8063
Parallel Link
1. Bit devices
Device
B
N:N Network
This chapter explains how to create programs for non-protocol communication using RS instruction and how
such programs operate.
F-33
6.2
1. Applicable devices
Bit Devices
Operand
Type
Word Devices
System/User
Digit Specification
System/User
Others
Special
Unit
Index
V
ConReal
CharacPointer
stant Number ter String
Z Modify K H
" "
2. Program example
S
M0
FNC 80
RS
D100
D0
D200
D1
Amount of received data: 0 to 4096 points
(0 to 256 points in FX2(FX), FX2C, FX0N,
FX1S, FX1N, and FX1NC PLCs)
Head device storing receive data
6.2.1
Applicable frames
Message frames used in communication can be selected by setting the communication format.
The table below shows the message frames applicable to the RS instruction.
1
Data
Data
Header
Data
Header
Data
Terminator
Header: Provided
Terminator: Provided
1. Header
When "header provided" is selected in the communication format settings, the lowest-order byte of D8124 is
used.
When data is sent, the lowest-order byte of D8124 is added at the head of the specified send data to be sent.
When data is received, receiving begins when the data on lowest-order byte of D8124 is received.
2. Terminator
When "terminator provided" is selected in the communication format settings, the lowest-order byte of D8125
is used.
When data is sent, the lowest-order byte of D8125 is added at the end of the specified send data.
When data is received, receiving is completed*1 when the data on lowest-order byte of D8125 is received.
*1.
F-34
Receiving is completed also when the amount of received data specified by the RS instruction is
received or when the receiving of data is suspended and the next set of data is not executed within the
timeout time set by D8129.
A
Function and operation
RS instruction specifies the head device storing the sent data sent from the PLC, amount of data, head device
storing the received data and the maximum allowable amount of received data.
Create a program as shown below.
Command
FNC 80
RS
D100
D0
D200
N:N Network
M0
Common Items
6.2.2
D1
When the command contact (M0) is set to ON, the PLC waits to send and receive.
For handling of sent and received data, refer to Subsection 6.2.3.
C
Parallel Link
Sending command
(pulse operation type)
M1
Send data is written.
Sending
request
SET
M8122
Receiving complete
M8123
Receive data is moved.
RST
M8123
G
Non-Protocol
Communication
(FX2N-232IF)
After moving the received data, reset the receiving complete flag (M8123).
While M8123 is ON, the PLC cannot receive the next set of data.
For the operation when data is received, refer to Subsection 6.2.5.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
When the PLC receives data from the connected equipment, the receiving complete flag
(M8123) turns ON.
When M8123 turns ON, move the received data stored in D200 to another storage area.
Receiving
complete
E
Inverter
Communication
When sending is completed, the sending request device (M8122) is automatically reset.
Do not reset it in a sequence program.
For operation when data is sent, refer to Subsection 6.2.4.
D
Computer Link
When the sending command (M1) is set to ON, write the send data to D100 and so on
(as many devices as specified number).
Give the sending command of the pulse operation type.
After writing the send data, set the sending request device (M8122) to send the data.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-35
6.2.3
16-bit data
OFF
M8000
S
X010
FNC 80
RS
Send data
(PLC
external
equipment)
16-bit mode
M8161
STX
D200
K 4
D500
K 10
Header
ETX
Terminator
Receive data
(external
equipment
PLC)
STX
D500 lowest- D500 highest- D501 lowest- D501 highest- D502 lowest- D502 highestorder byte
order byte
order byte
order byte
order byte
order byte
Header
ETX
Terminator
Amount of remaining
send data
D8122
ETX
D200
lowest-order byte
D200
highest-order byte
D201
lowest-order byte
D201
highest-order byte
Send data
SD (TXD)
STX
Amount of data
already received
D8123
ETX
D500
lowest-order byte
D500
highest-order byte
D501
lowest-order byte
D501
highest-order byte
D502
lowest-order byte
D502
highest-order byte
Receive data
RD (RXD)
STX
F-36
A
M8000
16-bit data
8-bit mode
M8161
Ignored
S
X010
Send data
(PLC
external
equipment)
D200
STX
m
K 4
D500
Lowest-order 8-bit
K 10
Header
B
N:N Network
FNC 80
RS
Common Items
ETX
Terminator
D500 lowest- D501 lowest- D502 lowest- D503 lowest- D504 lowest- D505 lowestorder byte
order byte
order byte
order byte
order byte
order byte
Parallel Link
Receive data
(external
equipment
PLC)
ETX
Terminator
Header
Head address specified by D
D
Computer Link
ETX
D200
lowest-order byte
D201
lowest-order byte
D202
lowest-order byte
D203
lowest-order byte
F
2
Non-Protocol
Communication
(RS/RS2 Instruction)
Amount of remaining
data
D8122
E
Inverter
Communication
Send data
SD (TXD)
STX
ETX
D500
lowest-order byte
D501
lowest-order byte
D502
lowest-order byte
D503
lowest-order byte
D504
lowest-order byte
D505
lowest-order byte
H
Programming
Communication
Amount of received
data
D8123
G
Non-Protocol
Communication
(FX2N-232IF)
Receive data
RD (RXD)
STX
I
Remote
Maintenance
Apx.
Discontinued
models
F-37
6.2.4
3. Cautions on sending
When sending data, observe the following cautions
1) While the sending request flag (M8122) is ON, do not change the amount of send data or contents of
send data.
2) Do not set the sending request flag (M8122) to OFF in a sequence program.
If the send data is changed while the sending request flag (M8122) is ON or if the sending request flag
(M8122) is set to OFF in a sequence program, correct data will not be sent.
6.2.5
F-38
A
When data receiving is suspended, counting of the timeout time is started immediately. If the PLC does not
receive the next set of data within the time-out time setting set by D8129, the time-out check flag (M8129) is
set to ON. At this time, the receiving complete flag (M8123) is set to ON also.
The time-out time setting (D8129) can be set to a value from 1 to 255 (10 ms to 2550 ms).
Data
D8129
10 ms
ON
The time-out check flag (M8129) does not turn OFF automatically.
Set it to OFF in the sequence program. (When M8123 is set to OFF, M8129 is also set to OFF.)
Using this function, the PLC can receive data from equipment where the amount of send data varies without
the terminator.
When interlink mode is selected as the communication format, the following sequence is adopted from the
start of receiving to completion:
2) When the external equipment suspends data sending, the PLC sets the time-out check flag (M8129) and
receiving complete flag (M8123) to ON after the time-out time setting (D8129).
Move the received data in a sequence program, and then set the receiving complete flag (M8123) and
time-out check flag (M8129) to OFF.
E
Inverter
Communication
1) When the amount of data already received becomes "number of bytes to be received -30", the control line
ER (DTR) turns OFF.
When the control line ER (DTR) turns OFF, the external equipment should suspend data sending.
After the control line ER (DTR) turns OFF, the PLC can receive up to 30 characters (bytes).
D
Computer Link
Parallel Link
Timeout determination
M8129
Receiving complete
M8123
B
N:N Network
Common Items
3. Operation of the time-out check flag (which is not provided in FX0N, FX2(FX), FX2C, and FX2N
(before Ver. 2.00) PLCs)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
3) When the receiving complete flag (M8123) is set to OFF, the control line ER (DTR) turns ON.
When the control line ER (DTR) turns ON, resume sending data from the external equipment.
4) Repeat steps 1) to 3) until data receiving is completed.
5. Cautions on receiving
When receiving data, observe the following cautions:
2) When RS instruction is driven, the receiving complete flag (M8123) remains OFF in an FX1S, FX1N, or
FX1NC PLC if the amount of received data (n) is "0", but the PLC does not wait to receive.
To make the PLC wait to receive, it is necessary to set the amount of received data "n" to "1" or more and
set the receiving complete flag to OFF from ON.
Non-Protocol
Communication
(FX2N-232IF)
1) While the receiving complete flag (M8123) is ON, the PLC cannot receive the next set of data.
When the receiving complete flat is set to OFF, the PLC waits to receive.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-39
6.3
6.3.1
FX2(FX), FX2C, FX1S, FX0N, FX1N, FX1NC, and FX2N (before Ver. 2.00) PLCs
FX2, FX2C, FX1S, FX0N, FX1N, FX1NC, and FX2N (before Ver. 2.00) PLCs execute half-duplex, bidirectional
communication.
When the sending flag is set to ON during receiving, the sending wait flag M8121 turns ON. When the
receiving complete flag turns ON from OFF, the PLC starts to send.
OFF ON
SD (TXD)
Send data
Message
1
Sending
request
M8122
Message
3
ON
OFF
Sending wait
flag
M8121
OFF
RD (RXD)
Receive data
Message
2
Receiving
complete
M8123
*1.
ON
100 s or more*1
OFF
Message
3
ON
ON
Set it to 2 scan times or more in FX1S, FX0N, FX2(FX), FX2C, FX1N, and FX1NC PLCs.
OFF
ON
SD (TXD)
Send data
Message
1
Sending
request
M8122
ER (DTR)
DR (DSR)
F-40
OFF
ON
OFF
OFF
Message
1
ON
ON
Message
2
A
RS
instruction
driving
OFF
ON
RD (RXD)
Receive data
Receiving
complete
M8123
Message
1
OFF
Message
2
B
N:N Network
ER (DTR)
Common Items
ON
OFF
ON
ON
C
Parallel Link
Reset it in a sequence program. While it remains ON, the PLC cannot receive
the next set of data.
OFF ON
ER (DTR)
OFF
Message
3
ON
E
OFF
OFF
ON
ON
RD (RXD)
Receive data
OFF
ON
Reset it in a sequence program.
While it remains ON, the PLC cannot
receive the next set of data.
*1.
OFF
G
Non-Protocol
Communication
(FX2N-232IF)
100 s
or
more*1
DR (DSR)
Message
2
Non-Protocol
Communication
(RS/RS2 Instruction)
Receiving
complete
M8123
Inverter
Communication
Sending
request
M8122
Sending wait
flag
M8121
Message
1
Computer Link
SD (TXD)
Send data
ON
Set it to 2 scan times or more in FX1S, FX0N, FX2(FX), FX2C, FX1N, and FX1NC PLCs.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-41
6.3.2
OFF ON
SD (TXD)
Send data
Message
1
Sending
request
M8122
OFF
Message
3
Message
5
ON
RD (RXD)
Receive data
Message
2
Receiving
complete
M8123
OFF
Message 4
ON
ON
Reset it in a sequence program.
While it remains ON, the PLC cannot receive the next set of data.
OFF
SD (TXD)
Send data
ON
Message
1
Sending
request
M8122
OFF
ON
ER (DTR)
OFF
ON
RD (RXD)
Receive data
Message 2
Receiving
complete
M8123
DR (DSR)
Message 4
OFF
OFF
Message 3
ON
ON
ON
Reset it in a sequence program.
While it remains ON, the PLC cannot receive the next set of data.
F-42
A
RS
instruction
driving
Common Items
Sending
request
M8122
ON
DR (DSR)
OFF
*1
ON
Message
4
Message
4
B
N:N Network
SD (TXD)
Send data
OFF
*1
*1
RD (RXD)
Receive data
Message
1
Message 3
Time-out
time setting
D8129 10 ms
Parallel Link
Up to 30 characters can be
received. *2
Message
3
D
Computer Link
Time-out
check flag
M8129
OFF
ON
ER (DTR)
ON
OFF
ON
ON
E
Inverter
Communication
Receiving
complete
M8123
*2.
In the interlink mode, the PLC sets ER (DTR) signal to OFF 30 characters before reaching the
specified amount of received data, and asks the external equipment to stop sending. After that, the
PLC can only receive up to 30 characters. In this case, temporarily stop sending, and then send the
remaining data after the ER (DTR) signal turns ON again.
When sending is stopped, the PLC finishes receiving after the time-out time setting is reached.
When sending is not stopped, the PLC finishes receiving after it has received the final send data or 30
characters. Accordingly, make sure that the amount of received data is "30 + ".
G
Non-Protocol
Communication
(FX2N-232IF)
On the external equipment side, set the DR (DSR) signal to ON when the external equipment is ready
to receive.
The FX2N, FX3U, FX2NC or FX3UC PLC sends the send data when both the DR (DSR) signal and the
sending request turn ON.
Non-Protocol
Communication
(RS/RS2 Instruction)
*1.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-43
6.4
6.5
Communication Error
When a communication error occurs, the error flag M8063 turns ON and D8063 stores the error code.
Error code
6301
Description
Parity error, overrun error or framing error
F-44
1. System configuration
B
N:N Network
7.1
Common Items
7.
C
Parallel Link
Sending
+
FX2N-232-BD
FX2N Series
D
Computer Link
Use a communication cable suitable to the pin arrangement of the printer connector.
(For representative wiring, refer to Chapter 4.)
2. Communication format
Align the communication format in the PLC with that in the printer used.
(The table below shows the communication format in the main unit.)
Parity
Even
Stop bit
2-bit
Baud rate
2400 bps
Header
Not provided
Terminator
Not provided
Not provided
Non-protocol method
F
Non-Protocol
Communication
(RS/RS2 Instruction)
8-bit
Inverter
Communication
Data length
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-45
3. Sequence program
M8000
M8161
M8120
D8120
The
communication
format is set.
M8000
M8002
MOV
H006F
X000
RS
D10
K11
D50
K0
RS instruction
is driven.
b15
b0
0000
0000
0110
1111
X001
PLS
M0
MOV
H0074
D10
MOV
H0065
D11
M0
MOV
H006E
D17
MOV
H0065
D18
MOV
H000D
D19
MOV
H000A
D20
SET
M8122
Sending request
is given.
END
4. Operation
Power is turned
ON.
Turn ON the power to the PLC and printer, set the PLC to RUN mode,
and set the printer to online mode.
At this time, the communication format is set in the PLC.
RS instruction is
driven.
X000.ON
X001.ON
Data is sent.
F-46
Every time X001 is set to ON, the data stored in D10 to D20 is sent to
the printer.
ASCII codes are used in this example.
(The sending complete flag is automatically reset.)
A
Common Items
8.
C
Parallel Link
8.1
Device
Serial communication
error
M8421
M8422
Sending request
M8403
M8423
M8404
M8424
M8405
M8425
M8409
M8429
M8438
M8401
M8402
R
R/W
G
Non-Protocol
Communication
(FX2N-232IF)
R: Read only
R/W: Read or Write
*1.
Non-Protocol
Communication
(RS/RS2 Instruction)
R/W
M8063
Name
Inverter
Communication
*1
Description
ch2
Computer Link
1. Bit devices
ch1
B
N:N Network
This chapter explains how to create programs for non-protocol communication using RS2 instruction and how
such programs operate.
RS2 instruction is supported only in FX3U and FX3UC PLCs.
RS2 instruction has the following additional functions which are not provided in the RS instruction:
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-47
2. Word devices
Device
ch1
Name
ch2
Description
R/W
D8063 D8438
Serial communication
error code
When the serial communication error flag turns ON, this device
R/W
stores the corresponding error code.
D8400 D8420
Communication format
setting
D8402 D8422
Amount of remaining
send data
D8403 D8423
D8405 D8425
Communication
parameter display
R/W
R
R/W
Data
R/W
Header
ch1
ch2
Initial
value
H02
(STX)
H00
H00
H00
R/W
Terminator 1 and
D8412 D8432
terminator 2
Terminator
Terminator 3 and
D8413 D8433
terminator 4
1
ch1
4
ch2
R/W
Initial
value
H03
(ETX)
H00
H00
H00
R/W
D8415 D8435
Receiving sum
(calculation result)
This device stores the sum check value calculated from the
received data.
This device stores the sum check value added to the send data.
D8419 D8439 Operation mode display This device stores the current communication being executed.
R: Read only
R/W: Read or Write
F-48
A
How to Use RS2 Instruction
Common Items
8.2
This section explains the function, operation and programming method of the RS2 instruction.
1. Applicable devices
Bit Devices
Word Devices
System/User
Digit Specification
System/User
Others
Special
Unit
Index
V
ConReal
CharacPointer
stant Number ter String
Z Modify K H
" "
N:N Network
Operand
Type
S
C
Parallel Link
n
n1
m, n: 0 to 4096 points
(However, "m + n" should not be more than 8000 points.)
n1:
K1 or K2
D
Computer Link
2. Program example
S
M0
FNC 87
RS2
n1
D0
D200
D1
K1
E
Communication channel
K1: ch 1
K2: ch 2
Inverter
Communication
D100
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-49
8.2.1
Applicable frames
Message frames used in communication can be selected by setting the communication format.
The table below shows message frames applicable to the RS2 instruction.
1
Data
Data
CR+LF
Data
Terminator
Data
Terminator
CR+LF
Data
Terminator
Sum check
Data
Terminator
Sum check
Header
Data
Header
Data
CR+LF
Header
Data
Terminator
10
Header
Data
Terminator
CR+LF
11
Header
Data
Terminator
Sum check
12
Header
Data
Terminator
Sum check
CR+LF
CR+LF
1. Header
When "header provided" is selected in the communication format settings, the values of D8410 and D8411
are used for ch.1, and the values of D8430 and D8431 are used for ch.2.
Up to four headers can be set.
Header
Header 1
Header 2
Header 3
Header 4
ch1
ch2
When data is sent, the data set in the devices above is added at the head of the specified send data.
When data is received, receiving begins when the data set in the devices above is received continuously.
Even if "header provided" is selected, headers are not provided if header 1 is set to "00H".
The area before 00H (in 1-byte units) is used to set the headers.
Cautions
Set the header before driving the RS2 instruction. Do not change the setting while the RS2 instruction is
being driven.
F-50
A
When "terminator provided" is selected in the communication format setting, the values of D8412 and D8413
are used for ch.1, and the values of D8432 and D8433 are used for ch.2.
Up to four terminators can be set.
Terminator 1
Terminator 2
Terminator 3
Terminator 4
ch1
ch2
When data is sent, the data set in the devices above is added at the end of the specified send data.
When data is received, receiving is completed*1 when the data set in the devices above is received.
N:N Network
Terminator
Common Items
2. Terminator
Even if "terminator provided" is selected, terminators are not provided if terminator 1 is set to "00H".
The area before 00H (in 1-byte units) is used to set the terminators.
Set the terminator before driving the RS2 instruction. Do not change the setting while the RS2 instruction is
being driven.
*1.
3. Sum check
When "sum check provided" is selected in the communication format setting, the sum check is executed for
the sent and received data.
When selecting "sum check provided", make sure to select "terminator provided".
4. CR + LF
When data is received, receiving is completed when "CR + LF" is received continuously.
However, receiving is also completed when the specified amount of received data is recieved or when data
receiving is suspended and the next set of data is not received within the time-out time setting.
Make sure that "CR" is not included in the message.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
When "CR + LF provided" is selected in the communication format setting, the character code of "CR + LF" is
added at the end of the send data.
E
Inverter
Communication
When data is sent, the sum of "data" + "terminator" is calculated, and added to the send data.
When data is received, it is checked whether or not the received sum is equivalent to the sum calculated by
the PLC.
For details on sum check, refer to Subsection 8.2.6.
D
Computer Link
Receiving is also completed when the amount of received data specified by the RS2 instruction is
finished receiving or when data receiving is suspended and the next set of data is not recieved within
the time-out time setting device (D8409 or D8429).
Parallel Link
Cautions
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-51
8.2.2
FNC 87
RS2
D100
D0
D200
K30
K1
When the command contact (M0) is set to ON, the PLC waits for sending and receiving.
For handling of sent and received data, refer to Subsection 8.2.3.
Sending
command
(pulse operation
type)
M1
Send data is written.
When the sending command (M1) is set to ON, write the send data to D100 and later (as many
devices as the specified amount). Give the sending command of the pulse operation type.
After writing the send data, set the sending request device (M8402) to send the data.
Sending
request
SET
M8402
When sending is completed, the sending request device (M8402) is automatically reset. Do not reset
it in a sequence program.
For the operation when data is sent, refer to Subsection 8.2.4.
Receiving
complete
M8403
Receive data is moved.
When the PLC receives data from the connected equipment, the receiving complete flag (M8403)
turns ON.
When M8403 turns ON, move the received data stored in D200 to another storage area.
Receiving
complete
RST
M8403
After moving the received data, reset the receiving complete flag (M8403).
While M8403 is ON, the PLC cannot receive the next set of receive data.
For the operation when data is received, refer to Subsection 8.2.5.
F-52
A
Send/receive data and amount of data
RS2 instruction can handle send data and receive data while storing two characters in one data register.
M8000
FNC 87
RS2
D100
K4
D200
K20
K1
Common Items
8.2.3
B
N:N Network
C
Header
DLE STX 31H 32H 33H 34H DLE ETX 44H 44H
D8410 D8410 D100 D100 D101 D101 D8412 D8412 Sum Sum CR
lowest highest lowest highest lowest highest lowest highest highest lowest
-order -order -order -order -order -order -order -order -order -order
byte byte byte byte byte byte byte byte byte byte
LF
Computer Link
Send data
Data area
M8402
Sending request
E
3
D8403
Amount of remaining
send data
2
1
00H
Non-Protocol
Communication
(RS/RS2 Instruction)
D8416
Sending sum
It is automatically reset
when sending is
completed
Inverter
Communication
Set it in a program.
Parallel Link
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-53
Data area
35H
36H
37H
38H
DLE
ETX
45H
44H
LF
M8403
Receiving complete
It is set when
receiving is
completed
It is cleared when
header is received.
Reset it in a
program
It is cleared
when the
receiving
complete flag
is cleared
5
4
3
D8403
Amount of data
already received
D8415
Receiving sum
(calculation result)
2
1
0
Caution
The 8-bit mode is not applicable in RS2 instruction.
F-54
The calculation
result is converted
into ASCII codes,
and compared
EDH
00H
A
Operation when data is sent
The "terminators", "sum check" and "CR + LF" set in the communication format are included also in
the send data.
3. Cautions on sending
1) While the sending request flag is ON, do not change the amount of send data or the contents of the send
data.
2) Do not set the sending request flag to OFF in a sequence program.
If the send data is changed while the sending request flag is ON or if the sending request flag is set to
OFF in a sequence program, correct data is not sent.
1) When the PLC receives the amount of receive data specified by the RS2 instruction
2) When the "terminators", "sum check" and "CR + LF" set in the communication format are received normally.
..........
Data
CR+LF
..........
Data
Terminator
..........
Data
Terminator
CR+LF
..........
Data
Terminator
Sum check
..........
Data
Terminator
Sum check
H
Programming
Communication
Receiving is completed in the following three conditions. When either condition is established, receiving is
completed.
G
Non-Protocol
Communication
(FX2N-232IF)
When the PLC receives data while it is waiting to receive, it starts receiving data.
When receiving begins, the PLC stores the received data in interrupt processing regardless of the operation
cycle.
When the headers are specified in the communication format, however, the PLC starts receiving when it
continuously receives the codes set in the headers. The PLC stores the received data except the headers.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
When RS2 instruction is executed, the PLC waits to receive. When the PLC receives data from the connected
equipment and receiving is completed, the receiving complete flag is set to ON.
When communication port ch1 is used, M8403 turns ON.
When communication port ch2 is used, M8423 turns ON.
When the PLC receives data, it stores the received data to the data registers D
to ( D +n-1) specified
by the RS2 instruction.
While the receiving complete flag is ON, the PLC cannot receive new data.
E
Inverter
Communication
Computer Link
8.2.5
C
Parallel Link
B
N:N Network
When the sending request flag is set to ON while RS2 instruction is driven, the PLC sends the data stored in
the specified data registers S
to ( S +m-1).
When using communication port ch1, set M8402.
When using communication port ch2, set M8422.
When sending of the data is completed, the sending request flag is automatically set to OFF.
Common Items
8.2.4
I
Remote
Maintenance
CR+LF
Apx.
F-55
Discontinued
models
3) When data receiving is suspended and the PLC does not receive the next set of data within the time set
within the time-out time setting device (D8409 or D8429), the time-out check flag (M8409 or M8429) turns
ON.
ch1
ch2
M8409
M8429
D8409
D8429
Data
D8409
10 ms
The time-out check flag does not turn OFF automatically. Set it to OFF in the sequence program. (When the
receiving complete flag is set to OFF, the time-out check flag is also set to OFF.)
By using this function, the PLC can receive data from equipment where the amount of send data varies
without the terminator.
5. Cautions on receiving
When receiving data, observe the following cautions
1) While the receiving complete flag is ON, the PLC cannot receive the next set of receive data.
When the receiving complete flag is set to OFF, the PLC waits to receive.
2) Set the amount of received data to a value including "terminators", "sum check" and "CR+LF".
If the specified amount of received data is small, the serial communication error flag (M8063 or M8438)
turns ON.
F-56
A
Sum check code
The sum check code indicates a two-digit ASCII code converted from the lowest-order byte (8-bit) of the
result (sum) acquired by adding the sum check target data as hexadecimal data.
By setting a parameter, set whether or not the sum check code is added in the message.
When "sum check not provided" is selected, the sum check code is not added, so the received data is not
checked either.
A calculation example of the sum check code is shown below.
C
Parallel Link
Send data
Data area
STX
31H
D8410 D8410
lowest highest
-order -order
byte
byte
32H
33H
Terminator
34H
DLE
ETX
Sum data
44H
order is
. . . . . The
different from
the data area.
44H
Sum
lowest
-order
byte
CR
LF
E
Inverter
Communication
Receive data
STX
35H
36H
37H
Terminator
38H
DLE
ETX
Sum data
45H
44H
Sum
Sum
D8414
lowest
-order
byte
CR
LF
H
Programming
Communication
order is
. . . . . The
different from
the data area.
Non-Protocol
Communication
(FX2N-232IF)
DLE
Data area
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Computer Link
Header
DLE
B
N:N Network
When "sum check provided" is selected, the sum check code is added in the message during sending.
During receiving, the sum check code is compared with the value calculated from the received data to
check the received data.
Common Items
8.2.6
Compared
I
Remote
Maintenance
4544H
Converted into ASCII codes
Apx.
Discontinued
models
F-57
8.3
OFF ON
SD (TXD)
Send data
Sending
request
M8402
Message
1
OFF
Message
3
Message
5
ON
RD (RXD)
Receive data
Message
2
Receiving
complete
M8403
Message 4
OFF
ON
ON
Reset it in a sequence program.
While it remains ON, the PLC cannot receive the next
set of data.
OFF ON
SD (TXD)
Send data
Message
1
Sending
request
M8402
ER (DTR)
DR (DSR)
OFF
Message
1
Message
2
ON
OFF
ON
OFF
ON
OFF
ON
RD (RXD)
Receive data
ER (DTR)
Receiving
complete
M8403
F-58
Message
1
OFF
OFF
Message
2
ON
ON
ON
A
RS2
instruction
driving
OFF
SD (TXD)
Send data
ON
Message
1
OFF
ON
ER (DTR)
OFF
ON
OFF
Parallel Link
Message 3
ON
ON
D
OFF
ON
Reset it in a sequence program.
While it remains ON, the PLC cannot receive the next set of data.
Computer Link
DR (DSR)
C
Message 2
Receiving
complete
M8403
Message 4
N:N Network
Sending
request
M8402
RD (RXD)
Receive data
Common Items
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-59
OFF ON
SD (TXD)
Send data
Message
2
Sending
request
M8402
ON
DR (DSR)
OFF
*1
ON
Message
4
Message
4
OFF
*1
*1
Up to 30 characters can be
received. *2
RD (RXD)
Receive data
Message
1
Message 3
Time-out
time setting
D8409 10 ms
Message
3
Time-out
check
flag M8409
Receiving
complete
M8403
OFF
ON
ER (DTR)
ON
OFF
ON
ON
F-60
*1.
On the external equipment side, set the DR (DSR) signal to ON when the external equipment is ready
to receive.
The FX3U/FX3UC PLC sends the send data when both the DR (DSR) signal and the sending request
turn ON.
*2.
In the interlink mode, the PLC sets the ER (DTR) signal to OFF 30 characters before reaching the
specified amount of received data, and asks the external equipment to stop sending. After that, the
PLC can only receive up to 30 characters. In this case, temporarily stop sending, and then send the
remaining data after the ER (DTR) signal turns ON again.
When sending is stopped, the PLC finishes receiving after the time-out time setting is reached.
When sending is not stopped, the PLC finishes receiving after it has received the final send data or 30
characters. Accordingly, make sure that the number of receive characters are "30 + ".
A
Important Points in Creating Programs
1) RS2 instruction can be used as many times as necessary in a program, but make sure that only one RS2
instruction is driven in each communication port at a time.
For multiple RS instructions to be driven, make sure the OFF time is longer than one scan time.
5) FX3U and FX3UC PLCs execute full-duplex, bidirectional communication. When using half-duplex,
bidirectional communication, pay attention not to turn ON the sending request flag while receiving.
6) When using the header and terminator, set them before driving the RS2 instruction. Do not change the
setting while the RS2 instruction is being driven.
C
Parallel Link
4) In the interlink mode, set the amount of received data "n" to "31" or more.
If it is set to "30" or less, the control line ER (DTR) is set to OFF as soon as the PLC receives data.
B
N:N Network
2) Do not use another instruction (such as RS instruction or IVDR instruction) which uses the same
communication port. If such an instruction is used, communication may not function normally.
Common Items
8.4
D
Communication Error
When a communication error occurs, the error flag M8063 turns ON during communication using ch1, or the
error flag M8438 turns ON during communication using ch2.
D8063 or D8438 stores the error code respectively.
Error code
D8063 (ch1) D8438 (ch2)
6301
3801
6303
3803
6304
3804
E
Inverter
Communication
Description
Computer Link
8.5
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-61
9.
9.1
1. System configuration
ch1
Sending
RD
SD
FX3U-232-BD
FX3UC Series
Use a communication cable suitable to the pin arrangement of the connector of the printer used.
Communication format
Align the communication format in the PLC with that in the printer used.
(The table below shows the communication format in the main unit.)
F-62
Data length
8-bit
Parity
Even
Stop bit
2-bit
Baud rate
2400 bps
Header
Not provided
Terminator
Not provided
Standard/RS-232C, provided
Non-protocol method
CR, LF
Not provided
A
M8002
MOV
H006F
D8400
RS2
D10
K11
D50
K0
K1
RS2
instruction
is driven.
b15
b0
0000
0000
0110
1111
B
N:N Network
X000
The
communication
format is set.
Common Items
2. Sequence program
X001
M0
MOV
H6574
D10
MOV
H7473
D11
MOV
H6C20
D12
MOV
H6E69
D13
MOV
H0D65
D14
MOV
H000A
D15
Parallel Link
PLS
M0
Computer Link
F
Non-Protocol
Communication
(RS/RS2 Instruction)
M8402
Inverter
Communication
SET
Sending request
is given.
END
Non-Protocol
Communication
(FX2N-232IF)
3. Operation
Power is turned
ON.
Turn ON the power to the PLC and printer, set the PLC to RUN mode,
and set the printer to the online mode.
At this time, the communication format is set in the PLC.
H
Programming
Communication
X000.ON
RS2 instruction is
driven.
X001.ON
Remote
Maintenance
Data is sent.
Every time X001 is set to ON, data stored in D10 to D20 is sent to the
printer.
ASCII codes are used in this example.
(The sending complete flag is automatically reset.)
Apx.
Discontinued
models
F-63
10.1
Programming
communication
Non-protocol communication
(RS/RS2 instruction)
Computer link
communication
Non-protocol communication
(RS/RS2 instruction)
When changing over the communication types above, it is necessary to set the communication using a
sequence program.
The tables below show devices used in sequence programs.
1) RS instruction
Device
Name
Description
D8120
D8419
2) RS2 instruction
Device
ch1
ch2
Name
Description
F-64
A
When Combined with Programming Communication
In FX2N (Ver. 2.01 or later), FX3U, FX2NC, and FX3UC PLCs, non-protocol communication in accordance with
RS-232C using RS instruction can be changed over to the programming communication for peripheral
equipment.
H0186
H0286
Data length
7-bit
Parity bit
Even
Stop bit
1-bit
9600 bps
Not provided
Provided
Control line
Not provided
Not provided
H0386
Inverter
Communication
Header
Terminator
Provided
Provided
Not provided
X0
D2
Non-Protocol
Communication
(FX2N-232IF)
D1
F
Non-Protocol
Communication
(RS/RS2 Instruction)
When changing over non-protocol communication using RS instruction to the programming communication
while in RUN mode, set RS instruction to OFF, and then overwrite the communication format (D8120) to
"H0000".
Before starting up RS instruction again, make sure to properly overwrite the communication format (D8120)
used in the RS instruction.
RS
D
Computer Link
Item
C
Parallel Link
In FX2N (Ver. 2.01 or later) and FX2NC PLCs, non-protocol communication using RS instruction by way of RS232C port in the FX2N-232-BD (for FX2N PLCs), FX0N-232ADP, or FX2NC-232ADP can be changed over to
the communication with a programming tool (programming communication) by the following methods.
If the external equipment executes another type of communication while the programming communication is
selected, the PLC sends back "NAK".
B
N:N Network
Common Items
10.2
K1
X0
MOV P H0000 D8120
H
Programming
Communication
In this setting also, the communication mode can be changed over using RUN mode and STOP mode if the
condition shown in 1 above is satisfied.
I
Remote
Maintenance
Apx.
Discontinued
models
F-65
D1
K1
D2
K1
D1
K1
D2
K1
X0
MOV P H0000 D8120
F-66
10.3 When Combined with Computer Link Communication (Only in FX3U and FX3UC)
A
When Combined with Computer Link Communication
(Only in FX3U and FX3UC)
X0
C
Parallel Link
Set the communication format as shown below to use non-protocol communication (in accordance with RS232C or RS-485) using the RS instruction while in RUN mode and then use computer link while in STOP
mode.
Set computer link using parameters.
Make sure to set the communication format used in the RS instruction to D8120, and write it before executing
the RS instruction.
B
N:N Network
In FX3U and FX3UC PLCs, non-protocol communication (in accordance with RS-232C or RS-485) using the
RS instruction can be changed over to a protocol dedicated to computer link by the following methods.
The protocol supported by the communication port can be checked in the operation mode display device
(D8149).
Common Items
10.3
D1
K1
D2
K1
X0
MOV P H0086 D8120
K1
Non-Protocol
Communication
(RS/RS2 Instruction)
RS
D1
K1
D2
E
Inverter
Communication
When changing over non-protocol communication using the RS instruction to computer link while in RUN
mode, set the RS instruction to OFF, and then overwrite the communication format (D8120) to "H0000".
Set computer link using parameters.
Before starting up the RS instruction again, make sure to properly overwrite the communication format
(D8120) used in the RS instruction.
Computer Link
X0
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-67
10.4
10.4 When Combined with Programming Communication (FX3U and FX3UC only)
RS2 D1
K1
D2
K1
K1
2. When changing over using the RS2 instruction while in RUN mode
When changing over non-protocol communication using the RS2 instruction to the programming
communication while in RUN mode, set the RS2 instruction to OFF, and then overwrite the communication
format (D8400 or D8420) to "H0000".
Before starting up the RS2 instruction again, make sure to properly overwrite the communication format
(D8400 or D8420) used in the RS2 instruction.
X0
MOV P H0086 D8400
RS2 D1
K1
D2
K1
K1
X0
MOV P H0000 D8400
F-68
10.5 Using RS2 Instruction and Computer Link Communication Together (FX3U and FX3UC only)
Non-Protocol Communication (RS/RS2 Instruction)
A
Using RS2 Instruction and Computer Link Communication Together
(FX3U and FX3UC only)
X0
MOV P H0086 D8400
C
Parallel Link
Set the communication format as shown below to use non-protocol communication (in accordance with RS232C) using RS2 instruction while in RUN mode and then use a protocol for computer link while in STOP mode.
Set computer link using parameters.
Make sure to set the communication format used in the RS2 instruction to D8400 or D8420, and write it
before executing the RS2 instruction.
B
N:N Network
In FX3U and FX3UC PLCs, non-protocol communication (in accordance with RS-232C or RS-485) using RS2
instruction can be changed over to computer link by the following methods.
In FX3U and FX3UC PLCs, the communication type operating in the communication port can be checked in the
operation mode display devices (D8419 and D8439).
Common Items
10.5
Command
RS2 D1 K1 D2 K1 K1
2. When changing over using the RS2 instruction while in RUN mode
F
Non-Protocol
Communication
(RS/RS2 Instruction)
X0
E
Inverter
Communication
When changing over non-protocol communication using the RS2 instruction to computer link while in RUN
mode, set the RS2 instruction to OFF, and then overwrite the communication format (D8400 or D8420) to
"H0000".
Set computer link using parameters.
Before starting up the RS2 instruction again, make sure to properly overwrite the communication format
(D8400 or D8420) used in the RS2 instruction.
Computer Link
Non-protocol communication (in accordance with RS-485) cannot be changed over to computer link using
RUN mode and STOP mode.
When changing over non-protocol communication (in accordance with RS-485) to computer link, refer to
"2. When changing over using the RS2 instruction while in RUN mode" below.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-69
10.6
Name
b0
Data length
b1
b2
Parity
b3
Stop bit
b4
b5
b6
b7
Baud rate
(bps)
b8
Header
b9
Terminator
b10
b11
Contents
0 (bit = OFF)
1 (bit = ON)
7-bit
8-bit
b2, b1
(0, 0): Not provided
(0, 1): Odd
(1, 1): Even
1-bit
b7, b6, b5, b4
(0, 1, 1, 1): 4800
(1, 0, 0, 0): 9600
(1, 0, 0, 1): 19200
Not provided
Provided (D8124)
Not provided
Provided (D8125)
b11, b10
(0, 0): Not provided <RS-232C interface>
Non(0, 1): Standard mode <RS-232C interface>
protocol
(1, 0): Interlink mode <RS-232C interface>
commu(FX2N whose version is Ver. 2.00 or later, FX3U, FX2NC, and FX3UC)
nication
(1, 1): Modem mode
<RS-232C interface, RS-485/RS-422 interface*2>
Control line
Computer
link
b11, b10
(0, 0): RS-485/RS-422 interface
(1, 0): RS-232C interface
b12
b13
Not applicable
*1
Sum check
Not added
Added
Protocol
Not used
Used
Control procedure
Format 1
Format 4
b14*1
b15
*1
2-bit
*1.
*2.
When using the RS-485/RS-422 interface, only FX1S, FX0N, FX1N, FX2N, FX3U, FX1NC, FX2NC, and
FX3UC PLCs are applicable.
M8002
FNC 12
MOV
Initial pulse
b15
D8120 = [ 0000
0
F-70
H0C86
b0
1100
C
1000
8
0110
6
D8120
7-bit
Parity
Even
Stop bit
1-bit
Baud rate
9600 bps
Protocol
Non-protocol
Header
Not provided
Terminator
Not provided
Control line
Modem mode
A
Common Items
N:N Network
By setting values to D8400 or D8420, the data length, parity, baud rate, etc. can be set.
The table below shows the contents of D8400 and D8420.
Bit No.
Name
b0
Data length
Parity
b3
Stop bit
0 (bit = OFF)
1 (bit = ON)
7-bit
8-bit
b2, b1
(0, 0): Not provided
(0, 1): Odd
(1, 1): Even
Parallel Link
b1
b2
Contents
1-bit
2-bit
Baud rate
(bps)
b8
Header
Not provided
Provided*2
b9
Terminator
Not provided
Provided*2
Control line
Inverter
Communication
b10
b11
b12
Computer Link
b4
b5
b6
b7
Sum check
Not added
Added*3
b14*1
Protocol
Not used
Used
b15
Non-Protocol
Communication
(RS/RS2 Instruction)
b13
*2.
*3.
When executing non-protocol communication using RS2 instruction, add the sum check code after the
terminators.
Make sure to set the terminators when adding the sum check code.
FNC 12
MOV
Initial pulse
D8400
b0
1100
C
1000
8
0110
6
7-bit
Parity
Even
Stop bit
1-bit
Baud rate
9600 bps
Protocol
Non-protocol
Header
Not provided
Terminator
Not provided
Control line
Communication in
accordance with RS-485
Remote
Maintenance
b15
D8120 = [ 0001
1
Data length
H1C86
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
*1.
Apx.
Discontinued
models
F-71
11 Troubleshooting
11. Troubleshooting
This chapter explains troubleshooting and error codes.
11.1
11.2
11.3
RD
SD
Flashing
Flashing
Operation status
Data is being sent or received.
Flashing
Off
Off
Flashing
Off
Off
Checking Installation
1. Mounting status
If the communication equipment is not securely connected to the PLC, communication is not possible.
For mounting method, refer to the respective communication equipment manual.
3. Wiring
Verify that the wiring to an communication equipment is correct. If the communication equipment is wired
incorrectly, communication is not possible.
For wiring method check, refer to Chapter 4.
F-72
11 Troubleshooting
A
Checking Sequence Program
1. Communication settings in a sequence program
Verify that the VRRD and VRSC instructions are not used in the program.
If these instructions are used, delete them, turn OFF the PLC power, and then turn it ON again.
4. Presence of IVCK, IVDR, IVRD, IVWR, and IVBWR instructions (in FX3U and FX3UC PLCs)
Verify that two or more RS/RS2 instructions are not being driven for the same channel.
If two or more RS/RS2 instructions are driven, modify the program so that only one RS/RS2 instruction is
driven.
11.4.1 Checking communication port settings (in FX3U and FX3UC PLCs)
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
Description
Programming communication
Protocol dedicated to computer link
N:N Network
RS instruction
RS2 instruction
Parallel link
Inverter instruction
H
Programming
Communication
Inverter
Communication
D
Computer Link
Verify that the IVCK, IVDR, IVRD, IVWR and IVBWR instructions are not being used for the same channel.
If these instructions are used for the same channel, revice them, turn OFF the PLC power, and then turn it ON
again.
C
Parallel Link
3. Presence of VRRD and VRSC instructions (except FX3U and FX3UC PLCs)
Code
B
N:N Network
Verify that N:N Network (D8176 to D8180) and parallel link (M8070 and M8071) are not set.
Verify that the communication format (D8120, D8400 or D8420) is set correctly. If a communication port is set
more than once, communication is not possible.
After changing any settings, make sure to turn OFF the PLC power, and then turn it ON again.
Common Items
11.4
If the operation mode is different, check the parameters and sequence programs.
I
Remote
Maintenance
Apx.
Discontinued
models
F-73
11 Troubleshooting
11.5
Contents of error
3801
6302
3802
6303
3803
6304
3804
6305
3805
Defective command
6306
3806
Monitoring timeout
6307
3807
6308
3808
6312
3812
6313
3813
6314
3814
6320
3820
F-74
12 Related Data
A
Common Items
N:N Network
12.1
1. Bit devices
Device
Name
Description
R/W
M8120
This device keeps the communication setting status (for FX0N PLC).
M8121
M8122
Sending request
M8123
M8124
M8129*1
M8161
This device sets the send/receive data to 16-bit data or 8-bit data.
R/W
R
Inverter
Communication
Not provided in FX0N, FX2(FX), FX2C, and FX2N (before Ver. 2.00) PLCs.
2. Word devicesite
Device
Name
Description
Amount of remaining send data This device stores the amount of remaining send data.
D8123
Amount of data already received This device stores the amount of data already received.
D8124
Header
D8125
*1
D8405*2
D8419
*2
R/W
R
R
R/W
Terminator
R/W
R/W
Communication parameter display This device stores communication parameters set in the PLC.
Not provided in FX0N, FX2(FX), FX2C, and FX2N (before Ver. 2.00) PLCs.
*2.
H
Programming
Communication
R: Read only
R/W: Read or Write
*1.
G
Non-Protocol
Communication
(FX2N-232IF)
D8122
F
Non-Protocol
Communication
(RS/RS2 Instruction)
D8120
D8129
R/W
When the serial communication error flag (M8063) turns ON, this
Serial communication error code
R/W
device stores the corresponding error code.
D8063
R: Read only
W: Write only
R/W: Read or Write
*1.
Computer Link
Serial communication error flag This device turns ON when a communication error occurs.
Parallel Link
M8063
I
Remote
Maintenance
Apx.
Discontinued
models
F-75
12.2
12 Related Data
12.2 Details of related devices (RS instruction)
1. Detailed contents
This device works as the serial communication error flag.
When this device turns ON, a corresponding error code is stored in D8063.
2. Cautions on use
The serial communication error flag does not turn OFF even after communication recovers its normal status.
Clear it by switching the PLC mode from STOP to RUN.
1. Detailed contents
In FX0N PLCs, set M8120 to ON in a sequence program so that the communication format setting is kept.
2. Cautions on use
In FX0N PLCs, the communication setting status is kept only when M8120 is set to ON.
In any PLC other than the FX0N PLCs, setting of M8120 is not required.
1. Detailed contents
In full-duplex communication in FX3U and FX3UC PLCs
While the control line is set to the standard or interlink mode in a communication parameter, when the
control line DR (DSR) turns OFF while sending data, the PLC waits to send and M8121 turns ON.
In full-duplex communication in all PLCs except FX3U and FX3UC PLCs
M8121 does not turn ON.
In half-duplex communication
When the sending request device is set to ON while data is being received, the PLC waits to send and
M8121 turns ON.
1. Detailed contents
When this device is set to ON by the SET instruction, the PLC starts to send. When sending is completed, this
device is automatically set to OFF.
2. Cautions on use
When setting this device to ON, set the drive condition in the pulse type.
In FX2(FX), FX2C, FX1S, FX0N, FX1N, FX1NC, and FX2N (before Ver. 2.00) PLCs, note the following contents:
While the PLC is receiving data, next data is sent after the receiving is finished. During this period, the
sending wait flag remains ON.
From when the head data is received until the receiving complete flag turns ON, it is regarded as data is
being received. If a sending request is given while the head data is being received, data is confused.
F-76
12 Related Data
A
Common Items
1. Detailed contents
This device turns ON when receiving is completed.
Receiving is completed in one of the following three conditions.
When "terminator provided" is selected in the communication format, and the PLC receives the code set in
the terminator
C
Parallel Link
When data receiving is suspended and the PLC does not receive the next set of data within the time set in
the time-out time setting device
When the receiving complete flag turns ON, transfer the received data to another storage destination, and
then set this flag to OFF.
When this flag is set to OFF, the PLC waits to receive.
N:N Network
When the PLC receives the amount of receive data specified by RS instruction
2. Cautions on use
The CD (DCD) signal (channel receiving carrier detection) turns ON when the modem line is established.
While the carrier detection flag is OFF, the dial number can be sent.
While the carrier detection flag is ON, data can be sent and received.
1. Detailed contents
Receive data is
suspended.
G
Non-Protocol
Communication
(FX2N-232IF)
This device turns ON when data receiving is suspended and the next set of receive data is not given within
the time set by the time-out time setting device. The receiving complete flag also turns ON.
The time-out check flag turns OFF when the PLC waits to receive.
Using this function, the PLC can receive data from equipment where the amount of send data varies without
the terminator.
Non-Protocol
Communication
(RS/RS2 Instruction)
This device turns ON when data receiving is suspended, and the next set of receive data is not given within
the time set by the time-out time setting device.
Data
D8129
10 ms
Programming
Communication
Inverter
Communication
1. Detailed contents
Receiving
D
Computer Link
When RS instruction is driven while the amount of received data is set to "0", the PLC does not wait to
receive. In such a case, set the amount of received data to "1" or more, set the receiving complete flag to ON,
and then set it to OFF.
ON
ON
I
Remote
Maintenance
Apx.
Discontinued
models
F-77
12 Related Data
12.2 Details of related devices (RS instruction)
1. Detailed contents
When a serial communication error occurs, this device stores the corresponding error code shown below.
Error code
6301
Contents of error
Parity error, overrun error or framing error
6302
6303
6304
6305
Defective command
6306
Monitoring timeout
6307
6308
6312
6313
6314
6320
2. Cautions on use
The serial communication error code is not cleared even after communication recovers its normal status.
Clear it by switching the PLC mode from STOP to RUN.
F-78
12 Related Data
A
Common Items
1. Detailed contents
This device can set the data length, parity, baud rate, etc.
The table below shows the contents of the communication format setting.
Name
b0
Data length
Parity
b3
Stop bit
Baud rate
(bps)
b8
Header
b9
Terminator
Control line
1 (bit = ON)
7-bit
8-bit
b2, b1
(0, 0): Not provided
(0, 1): Odd
(1, 1): Even
1-bit
2-bit
Not provided
Provided (D8124)
Not provided
Provided (D8125)
b11, b10
(0, 0): Not provided <RS-232C interface>
Non(0, 1): Standard mode <RS-232C interface>
protocol
(1, 0): Interlink mode <RS-232C interface>
commu(FX2N whose version is Ver. 2.00 or later, FX3U, FX2NC, and FX3UC)
nication
(1, 1): Modem mode
<RS-232C interface, RS-485/RS-422 interface*2>
b11, b10
(0, 0): RS-485/RS-422 interface
(1, 0): RS-232C interface
b12
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Computer
link
E
Inverter
Communication
b10
b11
0 (bit = OFF)
Computer Link
b4
b5
b6
b7
Contents
Parallel Link
b1
b2
N:N Network
Bit No.
Not applicable
b13
*1
Sum check
Not added
Added
b14
*1
Protocol
Not used
Used
b15
*1
Control procedure
Format 1
Format 4
*2.
When using the RS-485/RS-422 interface, only FX1S, FX0N, FX1N, FX2N, FX3U, FX1NC, FX2NC, and
FX3UC PLCs are applicable.
2. Cautions on use
H
Programming
Communication
In all PLCs except FX2(FX), FX2C, and FX0N PLCs, the communication format can be set using parameters.
When setting the communication format in FX0N PLCs, set the communication setting latched (battery
backed) device (M8120) to ON.
Non-Protocol
Communication
(FX2N-232IF)
*1.
Remote
Maintenance
1. Detailed contents
This device stores the amount of remaining send data in 8-bit (1 byte) units.
Only data in communication frames are regarded as targets of counting.
Apx.
Discontinued
models
F-79
12 Related Data
12.2 Details of related devices (RS instruction)
1. Detailed contents.
This device stores the amount of data already received in 8-bit (1 byte) units.
1. Detailed contents
When "header provided" is selected in the communication format setting, the lowest-order byte of D8124 is
used.
When data is sent, the data in the lowest-order byte of D8124 is added at the head of the specified send data.
When data is received, receiving begins when the data in the lowest-order byte of D8124 is received.
1. Detailed contents
When "terminator provided" is selected in the communication format setting, the lowest-order byte of D8125
is used.
When data is sent, the lowest-order byte of D8125 is added at the end of the specified send data.
When data is received, receiving is completed when the data in the lowest-order byte of D8125 is received.
1. Detailed contents
This device sets the error evaluation time (in 10-ms units) used when receiving of data is interrupted.
The setting range is from 1 to 255 (10 ms to 2550 ms).
2. Cautions on use
In all PLCs except FX2(FX), FX2C, and FX0N PLCs, the time-out time setting can be set using a parameter.
When setting the time-out time setting in FX0N PLCs, set the communication setting latched (battery backed)
device (M8120) to ON.
1. Detailed contents
When the PLC power is turned ON, D8405 stores the contents of the communication parameters.
The contents of the parameters are the same as those of the communication format setting device (D8120).
F-80
12 Related Data
A
Common Items
1. Detailed contents
This device stores the code of the communication type currently being used by the communication port.
The table below shows the contents of the codes.
N:N Network
Code
Description
Programming communication
N:N Network
RS instruction
RS2 instruction
Parallel link
Inverter instruction
Parallel Link
2. Cautions on use
12.3
Device
Name
Description
R/W
ch2
M8063
M8438
M8401
M8421
M8402
M8422
Sending request
R/W
M8423
M8404
M8424
M8405
M8425
M8409
M8429
*1.
H
Programming
Communication
R: Read only
R/W: Read or Write
G
Non-Protocol
Communication
(FX2N-232IF)
M8403
F
Non-Protocol
Communication
(RS/RS2 Instruction)
ch1
Inverter
Communication
1. Bit devices
*1
D
Computer Link
This device stores "4" while RS instruction is driven or when the RS instruction is not changed over to another
mode.
I
Remote
Maintenance
Apx.
Discontinued
models
F-81
12 Related Data
2. Word devices
Device
ch1
Name
ch2
D8063 D8438
Description
R/W
Serial communication error When the serial communication error flag turns ON, this device
R/W
code
stores the corresponding error code.
D8400 D8420 Communication format setting This device sets the communication format.
Amount of remaining send
D8402 D8422
data
R/W
D8403 D8423
D8405 D8425
Communication parameter
display
R/W
R/W
R/W
R/W
R/W
D8414 D8434 Receiving sum (receive data) This device stores the received sum check value.
This device stores the sum check value calculated from the
received data.
This device stores the sum check value added to the send
data.
R: Read only
R/W: Read or Write
12.4
1. Detailed contents
These devices work as serial communication error flags.
M8063 turns ON when an error occurs in serial communication using communication port ch1.
M8438 turns ON when an error occurs in serial communication using communication port ch2.
When M8063 turns ON, a corresponding error code is stored in D8063.
When M8438 turns ON, a corresponding error code is stored in D8438.
2. Cautions on use
The serial communication error flag does not turn OFF even after communication recovers its normal status.
Clear it by switching the PLC mode from STOP to RUN.
1. Detailed contents
M8401 remains ON while the PLC is waiting to send in communication using communication port ch1.
M8421 remains ON while the PLC is waiting to send in communication using communication port ch2.
In full-duplex communication
While the control line is set to the standard or interlink mode in the communication parameter, when the
control line DR (DSR) turns OFF while sending data, the PLC waits to send and M8401 or M8421 turns
ON.
In half-duplex communication
When the sending request device is set to ON while data is being received, the PLC waits to send and
M8401 or M8421 turns ON.
F-82
12 Related Data
12.4 Details of Related Devices (RS2 Instruction)
A
Common Items
1. Detailed contents
2. Cautions on use
When setting these devices to ON, set the drive condition in the pulse type.
B
N:N Network
When these devices are set to ON by SET instruction, the PLC starts to send. When sending is completed,
these devices are automatically set to OFF.
When communication port ch1 is used, M8402 is set.
When communication port ch2 is used, M8422 is set.
C
Parallel Link
1. Detailed contents
D
Computer Link
When the receiving complete flag turns ON, transfer the received data to another storage destination, and
then set this flag to OFF.
When this flag is set to OFF, the PLC waits to receive.
2. Cautions on use
Non-Protocol
Communication
(RS/RS2 Instruction)
When the RS2 instruction is driven while the amount of received data is set to "0", the PLC does not wait to
receive. To make the PLC wait to receive it is necessary to set the amount of received data "n" to "1" or more
and set the receiving complete flag to OFF from ON.
1. Detailed contents
H
Programming
Communication
The CD (DCD) signal (channel receiving carrier detection) turns ON when the modem line is established.
When communication port ch1 is used, M8404 turns ON/OFF.
When communication port ch2 is used, M8424 turns ON/OFF.
While the carrier detection flag is OFF, the dial number can be sent.
While the carrier detection flag is ON, data can be sent and received.
Non-Protocol
Communication
(FX2N-232IF)
I
Remote
Maintenance
1. Detailed contents
The state of DR (DSR) signal can be checked when executing RS2 instruction.
When communicating port ch1 is used, M8405*1 turns ON/OFF.
When communication port ch2 is used, M8425*1 turns ON/OFF.
The images of M8405 and M8425 are updated during END processing.
*1.
E
Inverter
Communication
When data receiving is suspended and the PLC does not receive the next set of data within the time set by
the time-out time setting device
Apx.
Discontinued
models
F-83
12 Related Data
1. Detailed contents
These devices turn ON when data receiving is suspended and the next set of receive data is not given within
the time set by the time-out time setting device. The receiving complete flag also turns ON.
When communication port ch1 is used, M8409 turns ON.
When communication port ch2 is used, M8429 turns ON.
The time-out check flag turns OFF when the PLC waits to receive.
Using this function, the PLC can receive data from equipment where the amount of send data varies without
the terminators.
Receiving
Receive data is
suspended.
Data
D8409
10 ms
1. Detailed contents
When a serial communication error occurs, these devices store the corresponding error codes shown below.
When communication port ch1 is used, M8063 turns ON.
When communication port ch2 is used, M8438 turns ON.
Error code
Contents of error
3801
6302
3802
6303
3803
6304
3804
6305
3805
Incorrect command
6306
3806
Monitoring timeout
6307
3807
6308
3808
6312
3812
6313
3813
6314
3814
6320
3820
2. Cautions on use
The serial communication error code is not cleared even after communication recovers its normal status.
Clear it by switching the PLC mode from STOP to RUN.
F-84
12 Related Data
A
Common Items
1. Detailed contents
Name
b0
Data length
b1
b2
Parity
b3
Stop bit
Contents
0 (bit = OFF)
1 (bit = ON)
7-bit
8-bit
b2, b1
(0, 0): Not provided
(0, 1): Odd
(1, 1): Even
1-bit
Computer Link
2-bit
Baud rate
(bps)
b8*1
Header
Not provided
Provided*3
b9*1
Terminator
Not provided
Provided*3
Control line
Inverter
Communication
b4
b5
b6
b7
F
Non-Protocol
Communication
(RS/RS2 Instruction)
b10
b11
b12
C
Parallel Link
Bit No.
Not added
Added*4
b14*2
Protocol
Not used
Used
Non-protocol
CR, LF: Not used
communica(Format 1)
tion
Computer link
G
Non-Protocol
Communication
(FX2N-232IF)
b13
b15
B
N:N Network
These devices can set the data length, parity, baud rate, etc.
When communication port ch1 is used, D8400 sets the communication format.
When communication port ch2 is used, D8420 sets the communication format.
The table below shows the contents of the communication format settings. Computer link setting is not
applicable for D8400.
Non-protocol
CR, LF: Used
communica(Format 2)
tion
Computer link
*3.
*4.
When executing non-protocol communication using RS2 instruction, add the sum check after the
terminators.
Make sure to set the terminators when adding the sum check.
2. Cautions on use
In FX3U and FX3UC PLCs, the communication format can be set using parameters.
I
Remote
Maintenance
*2.
Programming
Communication
*1.
Apx.
Discontinued
models
F-85
12 Related Data
12.4 Details of Related Devices (RS2 Instruction)
1. Detailed contents
These devices store the amount of remaining send data in 8-bit (1 byte) units.
When communication port ch1 is used, D8402 stores the value.
When communication port ch2 is used, D8422 stores the value.
Only data in communication frames are regarded as the targets of counting.
1. Detailed contents.
These devices stores the amount of data already received in 8-bit (1 byte) units.
When communication port ch1 is used, D8403 stores the value.
When communication port ch2 is used, D8423 stores the value.
1. Detailed contents
When the PLC power is turned ON, these devices store the contents of the communication parameters.
The setting contents are the same as those of the communication format setting device.
When communication port ch1 is used, D8405 stores the contents.
When communication port ch2 is used, D8425 stores the contents.
1. Detailed contents
These devices set the error evaluation time (in 10 ms units) used when receiving of data is interrupted.
When communication port ch1 is used, D8409 sets the time.
When communication port ch2 is used, D8429 stores the time.
The setting range is from 1 to 255 (10 ms to 2550 ms).
F-86
12 Related Data
A
Common Items
1. Detailed contents
Header 1
Header 2
Header 3
Header 4
ch1
ch2
Header
1
C
Parallel Link
Header
B
N:N Network
When "header provided" is selected in the communication format setting, the headers are set in the sent and
received data.
Up to four headers can be set in each channel.
When communication port ch1 is used, D8410 and D8411 set the headers.
When communication port ch2 is used, D8430 and D8431 set the headers.
The headers are set in the following order.
Data
D
Computer Link
2. Cautions on use
Even if "header provided" is selected, headers are not provided if header 1 is set to "H00".
The area before "H00" (in 1-byte units) is used to set the headers.
Inverter
Communication
1. Detailed contents
Terminator
Terminator 1
Terminator 2
Terminator 3
Terminator 4
ch1
D8412(highest-order byte)
ch2
Data
G
Non-Protocol
Communication
(FX2N-232IF)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
When "terminator provided" is selected in the communication format setting, the terminators are set in the
sent and received data.
Up to four terminators can be set in each channel.
When communication port ch1 is used, D8412 and D8413 set the terminators.
When communication port ch2 is used, D8432 and D8433 set the terminators.
The terminators are set in the following order.
2. Cautions on use
Programming
Communication
Even if "terminator provided" is selected, terminators are not provided if terminator 1 is set to "H00".
The area before "H00" (in 1-byte units) is used to set the terminators.
When "sum check provided" is selected in the communication format setting, the sum check is executed for
the sent and received data.
These devices store the sum added to the received data sent from the external equipment.
When communication port ch1 is used, D8414 stores the receiving sum.
When communication port ch2 is used, D8434 stores the receiving sum.
Remote
Maintenance
1. Detailed contents
Apx.
Discontinued
models
2. Cautions on use
When selecting "sum check provided", make sure to also select "terminator provided".
F-87
12 Related Data
1. Detailed contents
When "sum check provided" is selected in the communication format settings, the sum check is executed for
the sent and received data.
These devices store the sum calculated by the FX PLC from the data received sent from the external
equipment.
When communication port ch1 is used, D8415 stores the receiving sum.
When communication port ch2 is used, D8435 stores the receiving sum.
2. Cautions on use
When selecting "sum check provided", make sure to also select "terminator provided".
1. Detailed contents
When "sum check provided" is selected in the communication format settings, the sum check is executed for
the sent and received data.
These devices store the sum calculated from the send data.
When communication port ch1 is used, D8416 stores the sending sum.
When communication port ch2 is used, D8436 stores the sending sum.
2. Cautions on use
When selecting "sum check provided", make sure to select "terminator provided".
1. Detailed contents
These devices store the code of the communication type currently being used in the communication port.
When communication port ch1 is used, D8419 stores the communication type.
When communication port ch2 is used, D8439 stores the communication type.
The table below shows the contents of the communication type codes.
Code
Description
Programming communication
N:N Network
RS instruction
RS2 instruction
Parallel link
Inverter instruction
2. Cautions on use
These devices store "5" while RS2 instruction is being driven or when RS2 instruction is not changed over to
another mode.
F-88
12 Related Data
12.5 ASCII Code Table
A
ASCII Code Table
Common Items
12.5
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
*1.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
F-89
MEMO
F-90
12 Related Data
12.5 ASCII Code Table
A
Common Items
B
N:N Network
C
Parallel Link
User's Manual
[Non-Protocol Communication (FX2N-232IF)]
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
G-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
I
Remote
Maintenance
This manual explains "non protocol communication" provided for the MELSEC-F FX Series Programmable
Controllers using the FX2N-232IF and should be read and understood before attempting to install or use the
unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
G-2
1 Outline
1.1 Features
A
Common Items
1.
Outline
1.1
Features
Parallel Link
1. Two or more 232IF (operating in accordance with RS-232C) blocks can be connected.
Two or more RS-232C interface blocks can be connected to an FX PLC.
1) For FX2N, FX3U and FX3UC*1 PLCs
Up to eight blocks can be connected to one PLC.
D
Computer Link
*1.
B
N:N Network
The communication special function block operating in accordance with RS-232C, FX2N-232IF (hereafter
referred to as "232IF"), is connected to an FX2N, FX3U, FX2NC, or FX3UC PLC to exchange serial data in the
full-duplex method between equipment with RS-232C interfaces such as a personal computer, bar code
reader or printer.
For the contents of the hardware, refer to the "FX2N-232IF Hardware Manual".
2. Non-protocol communication
By using this built-in conversion function, hexadecimal numeric values (0 to F) inside the send data buffer can
be converted into ASCII code when being sent, and received ASCII code can be converted into hexadecimal
values (0 to F) when being stored in the receive data buffer.
Non-Protocol
Communication
(FX2N-232IF)
FX PLC
Non-Protocol
Communication
(RS/RS2 Instruction)
System
E
Inverter
Communication
Communication is executed in the full-duplex, asynchronous system, non-protocol method. The communication
format can be specified using the buffer memory (BFM).
The FROM and TO instructions are applicable for the buffer memory.
(In FX3U and FX3UC PLCs, other instructions are also applicable.)
FX2N-232IF FX2N-232IF
H
Programming
Communication
Printer
I
Remote
Maintenance
Apx.
Discontinued
models
G-3
1 Outline
1.2
Non-Protocol Communication(232IF)
Refer to Chapter 1.
Outline
Refer to Chapter 2.
Check communication specifications
Outline of system
Available PLC versions
Available programming tools
Communication specifications
Refer to Chapter 3.
Determine system configuration and selection
System configuration
Refer to Chapter 4.
Perform wiring
Wiring procedure
Wiring example
Programming tool
Connect PLC*1
Refer to Chapter 5.
Create programs
FROM/TO instruction
Buffer memory list
Control line operation
*1 For the programming tool to PLC connection procedure, refer to the "Programming Communication" section in this
manual or the respective programming tool manual.
For details on operating procedures, refer to the respective programming tool manual.
G-4
1 Outline
A
Communication Type Applicability in PLC
1.3.1
Applicable versions
Common Items
1.3
PLC
Remarks
FX3UC Series
FX3U Series
Parallel Link
FX2NC Series
FX2N Series
FX1NC Series
FX1N Series
FX0N Series
D
Computer Link
FX1S Series
FX0S Series
FX0 Series
FX2C Series
FX2(FX) Series
FX1 Series
Inverter
Communication
1.3.2
N:N Network
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
Remarks
FX0 Series
FX2C Series
FX2(FX) Series
G
Non-Protocol
Communication
(FX2N-232IF)
FX1 Series
F
Non-Protocol
Communication
(RS/RS2 Instruction)
The table below shows FX series whose production (main unit, communication equipment, etc.) was stopped.
Use the description on system configuration, etc. in this manual for maintenance.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-5
1 Outline
1.4
1.4.1
The programming tool is applicable for each FX Series from the version shown:
1. Japanese versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS-KIT/98
SW1PC-FXGP/98(-3,-5)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-PCS-KIT/V-3
SW1-PC-FXGP/V3
FX-A7PHP-KIT
SW1RX-GPPFX
FX-20P(-SET0)
FX-20P-MFXC
FX-10P(-SET0)
G-6
1 Outline
A
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
N:N Network
GX Developer
SW D5C(F)-GPPW-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXC-E
FX-10P-E
C
Parallel Link
GX Developer
SW D5C(F)-GPPW-E
D
(Refer to right column)
Computer Link
Common Items
2. English versions
E
For non-applicable versions (setting an alternative model)
Even software not applicable to a PLC can create programs when an alternative model is set.
In this case, however, programming is enabled only in the ranges provided for the alternative PLC model
such as instructions and program size.
Priority: High Low
Model to be set
FX2N
FX2(FX)
FX2N
FX2(FX)
FX2(FX)
FX2(FX)
Non-Protocol
Communication
(FX2N-232IF)
FX3UC Series
FX3UC
FX3U Series
FX3U, FX3UC
FX2NC Series
FX2NC, FX2N
FX2N Series
FX2N
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Model to be
programmed
Inverter
Communication
1.4.2
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-7
2 Specification
2.
Specification
This chapter explains the communication specifications.
2.1
Communication Specifications
Non-protocol communication type is used in the communication specifications shown in the table below.
Item
Transmission standard
Maximum total extension distance
Protocol type
Communication method
Baud rate
Character format
Start bit
15 m (49' 2")
Non-protocol communication
Full-duplex, asynchronous system
300/600/1200/2400/4800/9600/19200 bps
7-bit/8-bit
Parity bit
Stop bit
Remarks
RS-232C standard
Data bit
Header
G-8
Specifications
1-bit/2-bit
Provided or not provided
Terminator
Control line
Sum check
A
Common Items
3.
This chapter explains the system configuration and selection of the FX PLC and 232IF.
N:N Network
3.1
System Configuration
This section outlines the system configuration required to use the 232IF.
1 and 2 indicate the communication equipment combination patterns.
FX2N-232IF
POW
ER
SD
RD
15 m
(49' 2")
15 m
(49' 2")
2
POW
ER
RD
E
Inverter
Communication
FX2NC Series
FX3UC Series
SD
D
Computer Link
FX2N Series
FX3U Series
C
Parallel Link
FX PLC
Total extension
distance
Connector
conversion
interface
F
Non-Protocol
Communication
(RS/RS2 Instruction)
For communication equipment combinations for each FX Series, refer to the next section.
3.2
The capacity of the 5V DC power supplied from the PLC is limited. The current consumption at 5V DC of
the 232IF is 40 mA. Make sure that total current consumption at 5V DC including other blocks does not
exceed the specified value.
FX Series
Check
POW
ER
SD
RD
15 m
(49' 2")
I
Remote
Maintenance
FX2N
H
Programming
Communication
Total extension
distance
Non-Protocol
Communication
(FX2N-232IF)
Select a 232IF combination, and put a check mark in the "Check" column.
During selection, pay attention to the following:
FX2N-232IF
(9-pin D-Sub, male)
1
POW
ER
+
FX2NC-CNV-IF
RD
15 m
(49' 2")
Apx.
Discontinued
models
FX2NC
SD
FX2N-232IF
(9-pin D-Sub, male)
G-9
FX Series
Total extension
distance
Check
POW
ER
SD
RD
15 m
(49' 2")
FX3U
FX2N-232IF
(9-pin D-Sub, male)
POW
ER
SD
+
FX2NC-CNV-IF
RD
15 m
(49' 2")
FX2N-232IF
(9-pin D-Sub, male)
POW
ER
FX3UC
FX3UC-1PS-5V
3.3
SD
RD
15 m
(49' 2")
FX2N-232IF
(9-pin D-Sub, male)
Connection to PLC
The 232IF can be directly connected to an FX PLC main unit or to the right side of another function block or
powered extension unit.
The unit number is assigned to each special unit/block in the order "No. 0, No. 1, No. 2 ..." from the unit/block
nearest to the main unit. (for FX3UC-32MT-LT PLC, the unit number is assigned in the order "No. 1, No. 2, No.
3 ...".)
Up to eight 232IF units can be connected to an FX2N/FX3U/FX3UC*1 PLC, up to four 232IF units can be
connected to an FX2NC PLC.
*1.
FX2N-48MR
X000 to X027
Y000 to Y027
G-10
POW
ER
POW
ER
SD
SD
RD
RD
POW
ER
POW
ER
SD
SD
RD
RD
Common Items
B
N:N Network
FX3U-48MR/ES
X000 to X027
Y000 to Y027
C
Parallel Link
SD
RD
RD
D
Computer Link
POW
ER
SD
Inverter
Communication
FX2NC-16MT
X000 to X007
Y000 to Y007
POW
ER
F
POW
ER
SD
SD
RD
RD
Non-Protocol
Communication
(RS/RS2 Instruction)
POW
ER
G
Non-Protocol
Communication
(FX2N-232IF)
FX3UC-32MT/D
X000 to X017
Y000 to Y017
H
Programming
Communication
POW
ER
POW
ER
SD
SD
RD
RD
I
Remote
Maintenance
Apx.
Discontinued
models
FX3UC-32MT-LT
X000 to X017
Y000 to Y017
G-11
4 Wiring
4.
Wiring
This chapter explains the wiring.
4.1
Pin Arrangement
The table below shows the pin arrangement of the 232IF.
Example of applicable connector: 17JE-13090-02 (D8C2) by DDK Ltd.
Signal
name
Function
CD(DCD)
Carrier detection
RD(RXD)
Receive data
(with LED indicator)
SD(TXD)
Send data
(with LED indicator)
ER(DTR)
Pin No.
Pin
5
4
3
2
9
8
7
6
#4-40UNC
inch screw
SG(GND)
Signal ground
DR(DSR)
RS(RTS)
Sending request
(receiving enable)*1
CS(CTS)
Sending enable
CI(RI)
Calling indicator
4.2
G-12
SD(TXD)
RD(RXD)
SG(GND)
RD(RXD)
SG(GND)
4 Wiring
4.3 Connection to External Equipment with Terminal Specifications (with Control Line)
A
Connection to External Equipment with Terminal Specifications
(with Control Line)
4.3.1
Common Items
4.3
Name FX2N-232IF
SD(TXD)
RD(RXD)
RD(RXD)
RS(RTS)
RS(RTS)
CS(CTS)
CS(CTS)
CD(DCD)
CD(DCD)
ER(DTR)
ER(DTR)
20
DR(DSR)
DR(DSR)
SG(GND)
SG(GND)
*1
*2
*1
*2
Name FX2N-232IF
SD(TXD)
RD(RXD)
RD(RXD)
RS(RTS)
RS(RTS)
CS(CTS)
*1
ER(DTR)
ER(DTR)
20
DR(DSR)
DR(DSR)
SG(GND)
SG(GND)
*2
*2
RD(RXD)
RS(RTS)
RS(RTS)
CS(CTS)
CS(CTS)
CD(DCD)
CD(DCD)
ER(DTR)
ER(DTR)
20
DR(DSR)
DR(DSR)
SG(GND)
SG(GND)
CI(RI)
22
RD(RXD)
*1
*2
*3
*1
*2
*3
Apx.
Discontinued
models
CI(RI)
Remote
Maintenance
Name FX2N-232IF
SD(TXD)
Programming
Communication
SD(TXD)
PLC side
Non-Protocol
Communication
(FX2N-232IF)
4.4
CS(CTS)
*1
Non-Protocol
Communication
(RS/RS2 Instruction)
SD(TXD)
E
Inverter
Communication
PLC side
Computer Link
SD(TXD)
Parallel Link
4.3.2
PLC side
N:N Network
G-13
5.
5 Creating Programs
5.1 Outline of Communication between FX PLC and 232IF
Creating Programs
This chapter explains how to create programs for non-protocol communication type using the 232IF.
5.1
5.1.1
5.1.2
Communication
format
Printer
Sending command
Error reset
Data register
D****
Communication equipment
Buffer memory
TO instruction
Internal relay
M****
FX2N - 232IF
TO instruction
FROM instruction
FROM instruction
Send data
Receiving completed
status
Receive data
FX2N - 232IF
Device
Buffer memory
Arbitrary applied
instruction
Direct specification
of buffer memory
format
Printer
Sending command
Error reset
Arbitrary applied
instruction
Send data
\G
Arbitrary applied
instruction
Arbitrary applied
instruction
G-14
Communication
Communication equipment
Receiving completed
status
Receive data
5 Creating Programs
A
FROM and TO Instructions
Common Items
5.2
5.2.1
FROM instruction
B
N:N Network
1. Applicable devices
For FX2N /FX2NC PLCs
Bit Devices
Word Devices
System User
X
Digit Specification
C
KnX
KnY
KnM
Others
System User
KnS
Index
V
Constant
Modify
Pointer
C
Parallel Link
Operand
Type
m1
m2
D
Bit Devices
Operand
Type
Word Devices
System User
Digit Specification
System User
Others
Special
Unit
Index
V
ConReal
CharacPointer
stant Number ter String
Z Modify K H
" "
E
Inverter
Communication
m1
Computer Link
m2
D
Command
FNC 78
FROM
m1
m2
Non-Protocol
Communication
(FX2N-232IF)
m2
I
Remote
Maintenance
Command
Programming
Communication
Unit No.
m1 = 0 to 7
FNC 78
DFROM
Non-Protocol
Communication
(RS/RS2 Instruction)
n
Number of transfer points
n = 1 to 16383
Transfer destination (PLC)
Transfer source BFM #
(Special extension unit/block)
m2 = 0 to 32765
Unit No.
m1 = 0 to 7
Apx.
Discontinued
models
G-15
5 Creating Programs
5.2.2
TO instruction
TO instruction writes data to the buffer memory in a special function block.
1. Applicable devices
For FX2N /FX2NC PLCs
Bit Devices
Operand
Type
Word Devices
System User
X
Digit Specification
C
KnX
KnY
KnM
Others
System User
KnS
Index
V
Constant
Modify
Pointer
P
m1
m2
S
Word Devices
System User
Digit Specification
System User
Others
Special
Unit
Index
V
ConReal
CharacPointer
stant Number ter String
Z Modify K H
" "
m1
m2
S
FNC 79
TO
m1
m2
n
Number of transfer points
n = 1 to 32767
Transfer source (PLC)
BFM # Transfer destination
(Special extension unit/block)
m2 = 0 to 32766
Unit No.
m1 = 0 to 7
FNC 79
DTO
m1
m2
n
Number of transfer points
n = 1 to 16383
Transfer source (PLC)
BFM # Transfer destination
(Special extension unit/block)
m2 = 0 to 32765
Unit No.
m1 = 0 to 7
G-16
5 Creating Programs
A
Direct Specification of Buffer Memory (U \G )
In FX3U and FX3UC PLCs, one is able to directly specify buffer memories and read/write data from/to the
specified buffer memories even with instructions other than the FROM and TO.
\G
K1
K4
D0
K1
D
FNC 12
MOV
U1\G4
Computer Link
D0
K1000
K1
K1
F
FNC 12
MOV P
K1
Non-Protocol
Communication
(RS/RS2 Instruction)
K1
U1\G1000
K2
K1
D0
K2
D1
K2000
D1
K1
I
Remote
Maintenance
Programming
Communication
FNC 22
MUL
D0
G
Non-Protocol
Communication
(FX2N-232IF)
Example 3: When multiplying the value stored in buffer memory No. 1000 in special function block
No. 1 by the numeric value "K2", and writing the multiplication result to buffer memories
Nos. 2000 and 2001 in special function block No. 2
FNC 79
D TO
E
Inverter
Communication
Example 2: When writing the numeric value K1 to buffer memory No. 1000 in special function block
No. 1 (pulse operation type)
M1
Parallel Link
Example 1: When reading data from buffer memory No. 4 in special function block No. 1, and
transferring it to D0
M8000
B
N:N Network
When directly specifying a buffer memory, put the following setting directly into the source or destination of
the command.
Common Items
5.3
K2
U2\G2000
Apx.
G-17
Discontinued
models
Caution
The FX3UC-32MT-LT PLC main unit has a built-in CC-Link/LT master. When using special function blocks, set
the block numbers. starting from "1".
5 Creating Programs
5.4
5.4.1
BFM
No.
Name
#0
Communication format
#1
Command
Setting range
R/W
0087H
#2
1 to 512
(when data length is 16-bit)
1 to 256
(when data length is 8-bit)
"0" is handled as "512" or
"256"
#3
1 to 32767 ( 10 ms)
"0" is handled as "no timeout
time".
#4
#5
4 bytes maximum,
0 suppression
0 (no header)
0
#6
#7
4 bytes maximum,
0 suppression
0 (no terminator)
0
#8
#9
4 bytes maximum,
0 suppression
0 (no header)
0
#10
#11
0 (no terminator)
0
#12
0 to 32767( 10 ms)
#13
0 to 512
(when data length is 16-bit)
0 to 256
(when data length is 8-bit)
#14
0 to 256+15*1
#15
#16
#20
0 to 32,767( 10 ms)
#21
0 to 32,767( 10 ms)
#28
Status
#29
Error code
#30
Model code
K7030
0 to 512
(when data length is 16-bit)
0 to 256
(when data length is 8-bit)
#1001
to
Send data buffer
#1256
#2001
to
Receive data buffer
#2256
G-18
Initial value
0 to 512+30*1
(when data length is 16-bit)
0 to 256+15*1
(when data length is 8-bit)
5 Creating Programs
A
Name
Setting range
#2257
Preliminary receive data buffer for interlink
to
connection mode
#2271
Initial value
R/W
B
N:N Network
R: Read only
W: Read or Write
Caution
Buffer memories specified as "W: For write" can be read also.
Do not use undefined buffer memory numbers in programs.
*1.
Common Items
BFM
No.
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-19
5 Creating Programs
5.4.2
Contents
b0
Data length
7-bit
b1
b2
Parity
b3
Stop bit
1-bit
b4
b5
b6
b7
(0011) : 300
(0100) : 600
(0101) : 1200
(0110) : 2400
(0111) : 4800
(1000) : 9600
(1001) : 19200
b8
b9
Control line
Initial value
8-bit
1 : 8-bit
(11) : Even
2-bit
0 : 1-bit
CR and LF addition
b15
16-bit
8-bit
0 : 16-bit
0 : Undefined
The communication format setting contents are determined when the sending/receiving enable command
(BFM #1, b0) turns ON.
Accordingly, it is necessary to transfer the communication format setting in advance using TO instruction
before setting the sending/receiving enable command to ON.
However, the sending header and sending terminator are determined when the sending command (BFM #1,
b1) turns ON. And the receiving header and receiving terminator are determined when the sending/receiving
enable command (BFM #1, b0) turns ON and the receiving complete flag reset command (BFM #1, b2) turns
ON. Accordingly, if only the header and terminator are changed in the middle of communication, such change
will become valid at the next sending/receiving operation, (so it is not necessary to turn OFF the sending/
receiving enable command).
Example of communication format setting (specified in hexadecimal constant)
When specifying the communication format as shown in the table below, use the following program.
G-20
Data length
8-bit
Parity
Odd
Stop bit
1-bit
Baud rate
2400 bps
Control line
Not provided
CR and LF
Not added
Check sum
Not provided
ASCII-hexadecimal
conversion
Not provided
8-bit
M8002
FNC 79
K0
K0
H4063
K1
TO
Initial pulse
Block No. BFM # Set value Number of
transfer
points
b15
BFM #0
b12 b11
1
0
4
b8 b7
0
b4 b3
1
1
6
(4063H)
b0
0
1
3
5 Creating Programs
A
Select the communication format to
be used to send and receive data in
the 232IF from the formats shown to
the right.
Data
[2]
Data
Terminator
[3]
Data
Terminator
CR
[4]
Data
Terminator
CR
[5] Header
Data
Terminator
Sum
[6] Header
Data
Terminator
Sum
CR
[7] Header
Data
Terminator
Sum
CR
[8]
Data
CR
[9]
Data
CR
B
LF
C
Parallel Link
LF
D
Computer Link
LF
E
Inverter
Communication
[1]
N:N Network
Common Items
1. Communication format
1) When "control line not provided (b9 = 0, b8 = 0)" is specified, data is transferred using only the SD and
RD signals without using the control line.
H
Programming
Communication
3) When the "RS-232C interlink connection mode (b9 = 1, b8 = 1)" is specified, the sending request (RS)
signal works as the receiving enable signal for the 232IF. When the 232IF receives data beyond the
maximum number of receivable bytes (BFM #2), it turns OFF the receiving enable (RS) signal to ask the
external equipment to suspend sending.
At this time, by withdrawing the contents of the received data buffer to data registers in the PLC using a
sequence program, the 232IF can continuously receive the remaining data.
When this mode is specified, make sure to perform the interlink connection for RS-232C.
For the wiring of equipment according to each setting, refer to Chapter 4.
For the operation of the control line, refer to Section 5.5.
G
Non-Protocol
Communication
(FX2N-232IF)
2) When the "standard RS-232C mode (b9 = 0, b8 = 1)" is specified, use a cross cable to connect
equipment with the terminal specifications, and use a straight cable to connect equipment with the
modem specifications.
Non-Protocol
Communication
(RS/RS2 Instruction)
Remote
Maintenance
Apx.
Discontinued
models
G-21
5 Creating Programs
b15
0
b0
1
1 byte
1 byte
The number of sent bytes is "2".
Data is converted into ASCII data when
being sent.
S
T
X
A B
E
T
X
Example: When the received data is "10ABH", the header is "STX" and the terminator is "ETX"
S
T
X
E
T
X
b15
0
0
1
0
0
1 byte
1 byte
The number of received bytes is "2".
G-22
b0
0
1
B
5 Creating Programs
5.4 Buffer Memory (BFM)
A
Common Items
1) 16-bit (b14 = 0)
Send/receive data buffer
BFM
#1001
BFM
#1001
BFM
#1002
BFM E
#1002 T
highestorder byte X
C
Parallel Link
S
T
X
N:N Network
2) 8-bit (b14 = 1)
Computer Link
Ignored
BFM
#1002
BFM
#1003
BFM E
#1004 T
lowestorder byte X
E
Inverter
Communication
S
T
X
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-23
5.4.3
5 Creating Programs
5.4 Buffer Memory (BFM)
Contents
b0
b1
Sending command
b2
b3
Error reset
1. b0 (sending/receiving enable)
While b0 is ON, the 232IF can send and receive data.
Because the contents of the following set items are determined at the rising edge of b0, transfer these values
in advance using the TO instruction before setting b0 to ON:
- BFM #0 (communication format)
- BFM #9 and 8 (receiving header)
- BFM #11 and 10 (receiving terminator)
At the rising edge of b0, the error occurrence status (BFM #28, b3) and error code (BFM #29) are cleared.
2. b1 (sending command)
At the rising edge of b1, the contents of the send data buffer (BFM #1001 to 1256) in the amount of bytes
specified (BFM #1000) are sent to the external equipment.
When sending is completed, the sending complete status (BFM #28, b0) is set to ON. When the next sending
command (b1) is given, the sending complete status (BFM #28, b0) is automatically set to OFF.
When the sending command is given, the contents of the following set items are determined:
- BFM #5 and 4 (sending header)
- BFM #7 and 6 (sending terminator)
4. b3 (error reset)
When b3 is set to ON, the contents of the error occurrence status (BFM #28, b3) and error code (BFM #29)
are cleared.
G-24
5 Creating Programs
A
Maximum number of receivable bytes <BFM #2>
5.4.5
BFM #5
(highest-order 2 bytes)
b15
b0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Fourth
header
0
Third
header
b15
b0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0
Second
header
First header
Example:
02H (STX)
The transfer order is "fourth header third header second header first header" when four headers are
set.
G-25
Apx.
Discontinued
models
I
Remote
Maintenance
5.4.8
H
Programming
Communication
G
Non-Protocol
Communication
(FX2N-232IF)
5.4.7
Non-Protocol
Communication
(RS/RS2 Instruction)
BFM #4
(lowest-order 2 bytes)
E
Inverter
Communication
D
Computer Link
Parallel Link
5.4.6
B
N:N Network
Setting range: 1 to 512 bytes (when the buffer data length is 16-bit)
1 to 256 bytes (when the buffer data length is 8-bit)
"0" is handled as "512" or "256 bytes". The initial value is "0".
This bit specifies the maximum number of bytes which can be received by the 232IF.
When the 232IF receives the maximum number of receivable bytes, it sets the receiving complete flag (BFM
#28, b1) to ON.
If the receiving terminator (BFM #11 and 10) or receiving timeout time (BFM #3) are set, the 232IF recognizes
that receiving is completed even if the already received data does not reach the maximum number of
receivable bytes when either condition is satisfied.
Common Items
5.4.4
5 Creating Programs
5.4.9
Receiving terminator <BFM #11 (highest-order 2 bytes) and BFM #10 (lowest-order 2
bytes)>
Setting range: 4 bytes maximum, 0 suppression
The initial value is "0" (no sending terminator).
Up to four terminators can be specified for the 232IF received data. When the number of terminators is less
than 4, "0"s in upper positions are ignored (0 suppression) and are not transferred.
For the terminator received first, specify an ASCII code from "01H" to "1FH". (For other terminators after that,
any ASCII code other than "01H" to "1FH" can be specified.)
The register structure and transfer order are the same as those of the sending header described above.
512
513
Preliminary receive
data buffer
(BFM#2257 to #2271)
Maximum number of
receivable bytes
(BFM#2)
Data receiving
is suspended.
Receiving suspended
BFM#28 b4
Suspension waiting
time(BFM#12)
0 to 32767(10 ms)
G-26
5 Creating Programs
5.4 Buffer Memory (BFM)
A
Common Items
Header
S
T
X
N:N Network
E
T
X
Parallel Link
02H 30H 41H 31H 32H 35H 46H 03H 35H 32H
Target range
30H+41H+31H+32H+35H+
46H+03H=152H
Computer Link
The sum of the data including the terminators but not the first header (first one byte only) is calculated, the
least significant byte of the calculation result is converted into ASCII code, and the data is sent and received.
The ASCII data is arranged in the order of "upper digit, lower digit".
G
Non-Protocol
Communication
(FX2N-232IF)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
Initial value: 0
This buffer stores the sum check value of the received data.
If the check sum value added to the received data is different from the receiving sum result, "receiving sum
check error" occurs.
The sum check target range and check sum calculation method are the same as those shown in "5.4.13
Sending sum result" above.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-27
5 Creating Programs
Contents
Sending complete
Bit
b8
Contents
RS(RTS)
b1
Receiving complete
b9
ER(DTR)
b2
Receiving timeout
b10
Undefined
b3
Error occurrence
b11
Undefined
b4
Receiving suspended
b12
DR(DSR)
b5
Undefined
b13
CD(DCD)
b6
Sending
b14
DS(CTS)
b7
Receiving
b15
CI(RI)
This buffer stores the 232IF status and sending/receiving result as the status information. The PLC can read
this buffer using the FROM instruction.
1. b0 (sending complete)
When sending the specified amount of bytes (BFM #1000) is completed, the sending complete flag (b0) is set
to ON.
The sending complete flag (b0) is automatically set to OFF when the next sending command (BFM #1, b1) is
set to ON.
2. b1 (receiving complete)
When the maximum number of receivable bytes (BFM #2) are received, the receiving complete flag (b1) is set
to ON.
If the receiving terminator (BFM #11 and 10) or receiving timeout time (BFM #3) is set, the 232IF recognizes
that receiving is completed even if the already received data does not reach the maximum number of
received bytes when either condition is satisfied.
It is necessary to set this receiving complete flag to OFF in a sequence program. The 232IF is not ready to
receive the next set of data while this bit is ON. Use the receiving complete flag reset command (BFM #1, b2)
to set this bit to OFF.
3. b2 (receiving timeout)
When the receiving timeout time (BFM #3) is reached during receiving, the receiving timeout bit (b2) is set to
ON. And the receiving complete flag (b1) is also set to ON.
The receiving timeout status (b2) is set to OFF when the receiving complete flag reset command (BFM #1,
b2) is executed.
4. b3 (error occurrence)
When an error occurs during sending or receiving, the error occurrence status bit (b3) is set to ON and the
contents of the error are stored in the error code (BFM #29).
5. b4 (receiving suspended)
When the 232IF receives data beyond the maximum number of receivable bytes (BFM #2) in the RS-232C
interlink connection mode (BFM #0, b9 = 1, b8 = 1), it sets the receiving enable (RS) signal to OFF and asks
the external equipment to suspend sending. After the receiving suspension waiting time (BFM #12), the 232IF
sets the receiving suspended status bit (b4) to ON.
To receive data beyond the maximum number of receivable bytes (BFM #2) in the interlink connection mode,
it is necessary to monitor the rising edge of this receiving suspended status bit (b4) in the sequence program,
and withdraw the number of received bytes (BFM #2000) or amount of received data buffers (BFM #14) from
the received data buffer (BFM #2001 to 2271) to data registers inside the PLC.
6. b6 (sending)
This bit remains ON from when the sending command (BFM #1, b1) is given until the sending complete flag
(BFM #28, b0) is set to ON.
7. b7 (receiving)
This bit remains ON from when the head data is received until the receiving complete flag (BFM #28, b1) is
set to ON.
8. b8 (RS), b9 (ER), b12 (DR), b13 (CD), b14 (CS) and b15 (CI)
These bits indicate the operation status by their ON/OFF status.
G-28
5 Creating Programs
A
Common Items
C
Parallel Link
Setting range: 0 to 512 bytes (when the buffer data length is 16-bit)
0 to 256 bytes (when the buffer data length is 8-bit)
This buffer specifies how many bytes should be sent among the 512 bytes/256 words in the 16-bit send data
buffer (BFM #1001 to 1256).
B
N:N Network
Lowest-order byte
0
32H=2
b0
Inverter
Communication
b15
1
41H=A
1 byte
1 byte
Non-Protocol
Communication
(RS/RS2 Instruction)
1 word
Values in the send data buffers and receive data buffers are handled as hexadecimal values.
"30" or "15" bytes are provided for the preliminary buffer in the interlink connection mode.
G
Non-Protocol
Communication
(FX2N-232IF)
Stored value: 0 to 512+30*1 bytes (when the buffer data length is 16-bit)
0 to 256+15*1 bytes (when the buffer data length is 8-bit)
This buffer stores the number of bytes received from the external equipment. The value stored in this buffer is
cleared when the receiving complete flag reset command (BFM #1, b2) is given.
*1.
D
Computer Link
The send data buffer is a section of 16-bit buffers for storing the send data. The send data buffers can store
up to 512 bytes/256 words.
The received data buffer is a section of 16-bit buffers for storing the data received from the external equipment.
The received data buffer can store up to 512 bytes/256 words.
The received data buffer structure is same as the send data buffer structure.
The contents of the received data buffer are cleared when the receiving complete flag reset command (BFM
#1, b2) is given.
G-29
Apx.
Discontinued
models
The preliminary receive data buffer is provided for storing the data beyond 512 bytes in the interlink
connection mode. The preliminary receive data buffers are used to receive the data sent after the receiving
enable (RS) signal is set to OFF until the external equipment suspends sending.
The contents of the preliminary receive data buffer are cleared when the receiving complete flag reset
command (BFM #1, b2) is given.
I
Remote
Maintenance
5.4.24 Preliminary receive data buffer for interlink connection mode <BFM #2257 to 2271>
Programming
Communication
5 Creating Programs
5.5
5.5.1
When control line is not provided [BFM #0, (b9, b8) = (0, 0)]
OFF
Sending/
receiving enable
(BFM#1 b0)
Sending
command
(BFM#1 b1)
ON
ON
OFF
SD(TXD)
Send data
Message 1
Message 4
Time set by BFM #20
multiplied by 10 ms
OFF multiplied by 10 ms
Sending
complete
(BFM#28 b0)
RD(RXD)
Receive data
Message 2
G-30
Message 3
ON
OFF
Receiving
complete
(BFM#28 b1)
Receiving
complete flag
reset command
(BFM#1 b2)
ON
OFF
ON
5 Creating Programs
A
When control line is in standard RS-232C mode [BFM #0, (b9, b8) = (0, 1)]
Sending/receiving
enable
OFF
(BFM#1 b0)
OFF
Sending
command
(BFM#1 b1)
OFF
RS(RTS)
OFF
CS(CTS)
OFF
SD(TXD)
Send data
Sending
complete
(BFM#28 b0)
OFF
ON
ON
*
ON
C
ON
Message 2
Time set by BFM #20
multiplied by 10 ms
OFF
Message 4
Time set by BFM #20
multiplied by 10 ms
D
Computer Link
Message 1
Message 3
ON
Set this bit to OFF in the
sequence program.
While it remains ON, the next
receiving complete flag reset
command cannot be given.
The receiving waiting
status is started.
Inverter
Communication
Receiving
OFF
complete flag
reset command
(BFM#1 b2)
Parallel Link
OFF
RD(RXD)
Receive data
Receiving
complete
(BFM#28 b1)
ON
N:N Network
DR(DSR)
Common Items
5.5.2
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-31
5 Creating Programs
5.5.3
When control line is in RS-232C interlink mode [BFM #0, (b9, b8) = (1, 1)]
Sending/receiving
OFF
enable
(BFM#1 b0)
ON
OFF
ON
DR(DSR)
Sending
command
(BFM#1 b1)
OFF
ON
OFF *1
CS(CTS)
*1
Time set by BFM #20
multiplied by 10 ms
SD(TXD)
Send data
Sending
complete
(BFM#28 b0)
RS(RTS)
Message 4
Message 2
OFF
ON
OFF
ON
Message 3
RD(RXD)
Receive data
Receiving
suspended
(BFM#28 b4)
Receiving
complete
(BFM#28 b1)
Receiving
complete flag
reset command
(BFM#1 b2)
Message 1
Message 3
OFF
OFF
OFF
ON
ON
G-32
*1.
Make sure that the CS (CTS) signal turns ON in the 232IF while the external equipment is ready to
receive.
*2.
When the amount of data already received exceeds the maximum number of receivable bytes
specified by BFM #2, the RS (RTS) signal turns OFF. Accordingly, sending is suspended from the
external equipment within 30 bytes when the send/receive data buffer data length is 16-bit (BFM #0,
b14= 0), or within 15 bytes when the send/receive data buffer data length is 8-bit (BFM #0, b14= 1).
If sending is not suspended, the 232IF cannot receive all sent data.
*3.
Read the amount of received bytes (BFM #14) from the received data buffer (BFM #2001 to 2271) to
data registers in the PLC, and then set it to ON.
N:N Network
6.1
Common Items
6.
C
Parallel Link
1. System configuration
POW
ER
SD
RD
Cross cable
Computer Link
FX2N-232IF
FX3U Series
D
Personal computer, etc.
Setting
b0
Data length
(1) : 8-bit
b1
b2
Parity
(1,1) : Even
b3
Stop bit
(1) : 2-bit
b4
b5
b6
b7
Baud rate
b8
b9
Control line
b10
b11
CR and LF addition
b12
b13
Absence/presence of check
sum and ASCII-Hexadecimal
conversion
b14
(0) : 16-bit
b15
Undefined
Programming
Communication
0
0
b0
0
0
9
1
F
Remote
Maintenance
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
b8 b7
0
b15
0
Inverter
Communication
Bit
(009FH)
Apx.
Discontinued
models
G-33
b8 M18: RS(RTS)
b9 M19: ER(DTR)
b10 M20: Undefined
b11 M21: Undefined
b12 M22: DR(DSR)
b13 M23: CD(DCD)
b14 M24: CS(CTS)
b15 M25: CI(RI)
(BFM#1001)
2nd byte
1st byte
highest-order lowest-order
e (65H)
T (54H)
4th byte
(BFM#1002)
t (74H)
3rd byte
s (73H)
d (64H)
5th byte
(20H)
6th byte
(BFM#1003)
8th byte
(BFM#1004)
The 10th byte is not sent.
(BFM#1005)
t (74H)
10th byte
* *
7th byte
a (61H)
Space
9th byte
a (61H)
G-34
A
Common Items
3. Operation chart
BFM#1 b0
(M0) Sending/receiving
enable
0 1
STX
#2001 (lowest-order byte)
#2001 (highest-order byte)
#2002 (lowest-order byte)
#2002 (highest-order byte)
#2003 (lowest-order byte)
#2003 (highest-order byte)
#2004 (lowest-order byte)
#2004 (highest-order byte)
ETX
Receiving
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
(M11) BFM#28 b1
Receiving complete
STX
78
56
34
2
01
BFM#2001 to #2256
Received data buffer
ETX
Number of received
bytes
BFM#1000
Computer Link
BFM#14
Amount of received
data buffers
BFM#2000
Number of bytes
to be sent
STX
(M10) BFM#28 b0
Sending complete
Parallel Link
BFM#1001 to #1256
Send data buffer
STX
#1001 (lowest-order byte)
#1001 (highest-order byte)
#1002 (lowest-order byte)
#1002 (highest-order byte)
#1003 (lowest-order byte)
#1003 (highest-order byte)
#1004 (lowest-order byte)
#1004 (highest-order byte)
#1005 (lowest-order byte)
ETX
Sending
Amount of remaining
send data
98 7
65
432
10
N:N Network
(M1) BFM#1 b1
Sending command
BFM#13
BFM#2
Maximum number of
receivable bytes
(M2) BFM#1 b2
Receiving complete flag reset command
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-35
FNC 79
TO
K0
K0
H009F
K1
FNC 79
TO
K0
K2
K8
K1
FNC 79
TO
K0
K4
H02
(STX)
K1
Sending header
(02H BFM#4)
FNC 79
TO
K0
K6
H03
(ETX)
K1
Sending terminator
(03H BFM#6)
FNC 79
TO
K0
K8
H02
(STX)
K1
Receiving header
(02H BFM#8)
FNC 79
TO
K0
K 10
H03
(ETX)
K1
Receiving terminator
(03H BFM#10)
PLS
M1
Sending command
K9
D 200
X000
Sending command input
M1
FNC 12
MOV
( e T)
(t s )
(d
NC 12
MOV
(t a)
H7461 D 204
M8000
RUN monitor
K0
K1000 D200
M8003
K0
K 28 K4M10
K1
a)
K6
M0
FNC 78
FROM
Sending/receiving is enabled.
The status is read.
(BFM#28 b15 to b0 M25 to M10)
transfer points
M10
Y0
Sending complete
M13
Error occurrence
X001
M3
K0
K2001 D301
K4
complete
M8000
G-36
FNC 79
TO
K0
K1
K1M0
M2
Receiving complete
flag reset command
K1
A
Sending/Receiving 8-Bit Buffer Length Data
In this example, the 8-bit buffer length data is sent and received between the 232IF and equipment with the
terminal specifications. In this example, ASCII codes stored in the data registers D201 to D209 in the PLC are
sent to the external equipment, and the data received from the external equipment is stored to data registers
D301 to D308 in the PLC.
Common Items
6.2
B
N:N Network
1. System configuration
POW
ER
SD
RD
Cross cable
C
Parallel Link
FX2N-232IF
FX3U Series
Setting
(1) : 8-bit
b1
b2
Parity
(1,1) : Even
b3
Stop bit
(1) : 2-bit
b4
b5
b6
b7
Baud rate
b8
b9
Control line
b10
b11
CR and LF addition
b12
b13
b14
(0) : 8-bit
b15
Undefined
0
0
b0
0
1
F
G
Non-Protocol
Communication
(FX2N-232IF)
b8 b7
0
b15
1
Non-Protocol
Communication
(RS/RS2 Instruction)
Data length
Inverter
Communication
b0
Computer Link
Bit
(409FH)
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-37
b8 M18: RS(RTS)
b9 M19: ER(DTR)
b10 M20: Undefined
b11 M21: Undefined
b12 M22: DR(DSR)
b13 M23: CD(DCD)
b14 M24: CS(CTS)
b15 M25: CI(RI)
6th byte
(BFM#1001)
Ignored
T (54H)
(BFM#1002)
Ignored
e (65H)
(BFM#1003)
Ignored
s (73H)
(BFM#1004)
Ignored
t (74H)
(BFM#1005)
Ignored
(20H)
(BFM#1006)
Ignored
d (64H)
(BFM#1007)
Ignored
a (61H)
(BFM#1008)
Ignored
t (74H)
(BFM#1009)
Ignored
a (61H)
7th byte
2nd byte
8th byte
3rd byte
9th byte
4th byte
5th byte
Space
G-38
A
Common Items
3. Operation chart
BFM#1 b0
(M0) Sending/receiving
enable
STX
#2001 (lowest-order byte)
#2002 (lowest-order byte)
#2003 (lowest-order byte)
#2004 (lowest-order byte)
#2005 (lowest-order byte)
#2006 (lowest-order byte)
#2007 (lowest-order byte)
#2008 (lowest-order byte)
ETX
BFM#2
Non-Protocol
Communication
(RS/RS2 Instruction)
(M11) BFM#28 b1
Receiving complete
Inverter
Communication
Receiving
BFM#2001 to #2256
Received data buffer
STX
D
78
56
34
2
01
678
45
3
2
01
ETX
Number of received
bytes
BFM#1000
Computer Link
BFM#14
Amount of received
data buffers
BFM#2000
Number of bytes
to be sent
STX
(M10) BFM#28 b0
Sending complete
Parallel Link
BFM#1001 to #1256
Send data buffer
98 7
65
432
10
STX
#1001 (lowest-order byte)
#1002 (lowest-order byte)
#1003 (lowest-order byte)
#1004 (lowest-order byte)
#1005 (lowest-order byte)
#1006 (lowest-order byte)
#1007 (lowest-order byte)
#1008 (lowest-order byte)
#1009 (lowest-order byte)
ETX
Sending
Amount of remaining
send data
N:N Network
(M1) BFM#1 b1
Sending command
BFM#13
Maximum number of
receivable bytes
(M2) BFM#1 b2
Receiving complete flag reset command
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
G-39
4. Program example
M8002
Initial
pulse
FNC 79
TO
K0
K0
H409F
K1
FNC 79
TO
K0
K2
K8
K1
FNC 79
TO
K0
K4
H02
(STX)
K1
Sending header
(02H BFM#4)
FNC 79
TO
K0
K6
H03
(ETX)
K1
Sending terminator
(03H BFM#6)
FNC 79
TO
K0
K8
H02
(STX)
K1
Receiving header
(02H BFM#8)
FNC 79
TO
K0
K 10
H03
(ETX)
K1
Receiving terminator
(03H BFM#10)
PLS
M1
Sending command
FNC 12
MOV
K9
D 200
FNC 12
MOV
H54
D 201
X000
Sending command input
M1
M8000
RUN
monitor
K1000 D200
M8003
FNC 78
FROM
K0
Block No.
K 28
K4M10
K 10
D200(K 9) BFM#1000
D201( t ) BFM#1001
D202( e ) BFM#1002
D203( s ) BFM#1003
D204( t ) BFM#1004
D205( ) BFM#1005
D206( d ) BFM#1006
D207( a ) BFM#1007
D208( t ) BFM#1008
D209( a ) BFM#1009
M0
Sending/receiving is enabled.
K1
M10
Y0
Sending complete
M13
Error occurrence
X001
M3
M8000
G-40
FNC 78
FROM
FNC 79
TO
K0
K0
K2001 D301
K1
K1M0
K8
M2
Receiving complete
flag reset command
K1
7 Troubleshooting
Troubleshooting
Check Items
N:N Network
7.1
Common Items
7.
5) Check the timing at which data is sent and received. For example, when sending data, verify that the
external equipment is ready to receive.
6) When the terminator is not used, verify that the quantity of data to be sent matches the receivable data
quantity. If the quantity of send data may vary, use the terminator.
E
Inverter
Communication
7.2
D
Computer Link
4) Verify that the communication setting (BFM #0) in the 232IF is aligned correctly with the communication
setting in the external equipment. If the communication setting is not aligned correctly, align it.
Parallel Link
2) Verify that the power supply is correctly wired to terminals of the 232IF.
Error Codes
Code
Contents
No error
Undefined
The communication format such as the baud rate does not agree.
The control timing does not agree.
The sent sum does not agree with the received sum result (BFM #16).
Receiving CR error
Receiving LF error
Head sending/receiving
terminator setting error
10
11
Undefined
12
H
Programming
Communication
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
When an error occurs while data is being sent or received, the 232IF sets bit 3 of the BFM #28 to ON,
and stores the corresponding error code to the BFM #29.
I
Remote
Maintenance
Apx.
Discontinued
models
G-41
MEMO
G-42
7 Troubleshooting
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
H-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
Remote
Maintenance
This manual explains "programming communication" provided for the MELSEC-F FX Series Programmable
Controllers and should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
H-2
1 Outline
Programming Communication
A
Common Items
1.
Outline
N:N Network
1.1
Outline of System
Programming communication transfers programs and monitors devices when a PLC programming tool is
connected.
2) Sequence programs can be transferred and devices can be monitored through the USB port in a personal
computer.
This function is not provided for the FX2(FX) and FX2C Series.
4) Two HMIs or one HMI and one programming tool can be connected at the same time.
This function is not provided in the FX2(FX), FX2C, and FX0N Series.
Important points and reference
chapter/section
System
For communication
equipment and PLC
........ applicability, refer to
Chapter 1.
Communication
equipment
operating in
accordance with
RS-422
Communication
equipment
operating in
accordance with
RS-232C
Communication
equipment
For selection, refer to
operating in
........ Chapter 2.
accordance with
USB
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
Standard
built-in port
(RS-422)
E
Inverter
Communication
FX PLC
D
Computer Link
3) It is possible to monitor devices using one programming tool, and change programs using another
programming tool.
This function is not provided for the FX2(FX), FX2C, and FX0N Series.
C
Parallel Link
1) A PLC can be directly connected to the RS-232C port in a personal computer with one cable.
H
RS-232C
USB
RS-232C
Programming
Communication
RS-422
USB
P/I
Peripheral
equipment
Applicable software
GX Developer
FXGP/WIN
........
Remote
Maintenance
Personal computer
Apx.
Discontinued
models
H-3
1.2
1 Outline
1.2 Procedures Before Operation
Sequence programming
Refer to Chapter 1
Outline of system
Applicable PLC versions
Applicable programming tools
Outline
Refer to Chapter 2
Determine system configration and selection
Refer to Chapter 3
Connection configuration
Refer to Chapter 4
Connection cable connection
System configuration
Standard built-in port (provided)
Selecting communication equipment operating
in accordance with RS-422/RS-232C
Cautions on configuration
Programming tool
Connect PLC*1
Refer to Chapter 5
Perform PLC communication setting
(initialization).
Refer to Chapter 6
Set personal computer connection.
*1 For the programming tool to PLC connection procedure, refer to this manual or the respective programming tool
manual.
For details on operation methods, refer to the respective programming tool manual.
H-4
1 Outline
Programming Communication
A
Communication Type Applicability in PLC
1.3.1
Applicable versions
Common Items
1.3
PLC
Optional
Optional
Optional
communication communication communication
equipment
equipment
equipment
operating in
operating in
operating in
accordance
accordance
accordance
with RS-232C
with USB
with RS-422
(-BD)
(-BD)*1
(-BD) (ADP)
FX3UC(D, DSS)
Series
FX3U Series
FX2N Series
FX1NC Series
FX1S Series
FX0N Series
FX0S Series
FX2C Series
FX2(FX) Series
FX1 Series
E
Programming communication
is provided in all of the standard built-in port, but is not
provided in any optional communication equipment operating in accordance with RS422/RS-232C/USB.
When using USB communication with a model that does not support USB communication equipment
(-BD), use the FX-USB-AW.
However, FX2(FX), FX2C and FX1 PLCs do not support the FX-USB-AW.
The table below shows FX series whose production (main unit, communication equipment, etc.) was stopped.
Use the description on system configuration, etc. in this manual for maintenance.
Date when production was stopped
Remarks
Programming
Communication
PLC
FX0 Series
FX2C Series
FX2(FX) Series
G
Non-Protocol
Communication
(FX2N-232IF)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX0 Series
Inverter
Communication
FX1N Series
*1.
1.3.2
Programming communication
is provided in all of the standard built-in port and optional
communication equipment
operating in accordance with
RS-422/RS-232C/USB.
Computer Link
FX3UC-32MTLT
FX2NC Series
Remarks
Parallel Link
Standard
built-in port
in
accordance
with RS-422
B
N:N Network
FX1 Series
I
Remote
Maintenance
Apx.
Discontinued
models
H-5
1 Outline
Programming Communication
1.4
1.4.1
1. Japanese versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
FX-PCS/WIN
SW0PC-FXGP/WIN
FX-PCS-KIT/98
SW1PC-FXGP/98(-3,-5)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-PCS-KIT/V-3
SW1-PC-FXGP/V3
FX-A7PHP-KIT
SW1RX-GPPFX
FX-20P(-SET0)
FX-20P-MFXC
FX-10P(-SET0)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-20P(-SET0)
FX-20P-MFXD
FX-10P(-SET0)
H-6
1 Outline
1.4 Programming Tool Applicability
A
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
Applicability
(applicable version)
Remarks
N:N Network
GX Developer
SW D5C(F)-GPPW-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXC-E
FX-10P-E
D
F940WGOT-TWD-E (Ver. 1.00 or later)
(Refer to right column.) F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later)
F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver. 1.00 or later)
F940GOT-LBD-RH-E, F940GOT-SBD-RH-E (Ver. 1.00 or later)
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
FX-20P-E(-SET0)
FX-20P-MFXD-E
FX-10P-E
F
F940WGOT-TWD-E (Ver. 1.00 or later)
F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later)
F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver. 1.00 or later)
F940GOT-LBD-RH-E, F940GOT-SBD-RH-E (Ver. 1.00 or later)
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
GX Developer
SW D5C(F)-GPPW-E
Computer Link
C
Parallel Link
GX Developer
SW D5C(F)-GPPW-E
Common Items
2. English versions
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
H-7
1 Outline
Programming Communication
1.4.2
FX3UC
FX2N
FX2(FX)
FX3U Series
FX3U, FX3UC
FX2N
FX2(FX)
FX2NC Series
FX2NC, FX2N
FX2(FX)
FX2N Series
FX2N
FX2(FX)
FX1NC Series
FX1NC, FX1N
FX2N
FX2(FX)
FX1N Series
FX1N
FX2N
FX2(FX)
FX1S Series
FX1S
FX2(FX)
FX0N Series
FX0N
FX2(FX)
FX0S Series
FX0S
FX2(FX)
FX0
FX2(FX)
FX2C, FX2(FX)
FX2(FX)
FX2(FX)
FX2(FX)
FX0
Series
FX2C Series
FX2(FX) Series
FX1 Series
H-8
Model to be set
FX1
Programming Communication
A
Common Items
2.
2.1
System Configuration
2.1.1
Total extension
distance
30 m
(98' 5")
Not
required
D
Computer Link
C
Parallel Link
This section outlines the system configuration required to use programming communication.
Connect (optional) communication equipment operating in accordance with RS-422, RS-232C, USB, or the
FX PLC main unit.
B
N:N Network
This chapter explains the system configuration and selection of communication equipment operating in
accordance with RS-422, RS-232C or USB required by FX PLCs.
E
+
50 m
(164' 0")
Inverter
Communication
Communication
board
Non-Protocol
Communication
(RS/RS2 Instruction)
For communication equipment combinations for each FX Series, refer to the next section.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
H-9
Programming Communication
2.1.2
Total extension
distance
15 m
(49' 2")
15 m
(49' 2")
15 m
(49' 2")
FX PLC
Communication
board
Connector
Communication
conversion board
adapter
Communication
adapter
For communication equipment combinations for each FX Series, refer to the next section.
2.1.3
FX PLC
RD
SD
Total extension
distance
5m
(16' 4")
Communication
board
For communication equipment combinations for each FX Series, refer to the next section.
H-10
Programming Communication
A
Applicable FX PLC and Communication Equipment
FX Series
Total extension
distance
Check
FX1N-422-BD
(8-pin MINI-DIN)
D
Computer Link
15 m
(49' 2")
FX1N-232-BD
(9-pin D-Sub)
E
+
+
FX1N-CNV-BD FX2NC-232ADP
(9-pin D-Sub)
FX1N-CNV-BD
Inverter
Communication
Standard built-in
port (8-pin MINIDIN)
15 m
(49' 2")
FX0N-232ADP
(25-pin D-Sub)
Non-Protocol
Communication
(RS/RS2 Instruction)
50 m
(164' 0")
FX1N-422-BD
(8-pin MINI-DIN)
G
Non-Protocol
Communication
(FX2N-232IF)
15 m
(49' 2")
FX1N-232-BD
(9-pin D-Sub)
FX1N
+
FX1N-CNV-BD FX2NC-232ADP
(9-pin D-Sub)
FX1N-CNV-BD
Programming
Communication
Standard built-in
port (8-pin MINIDIN)
C
Parallel Link
50 m
(164' 0")
FX1S
B
N:N Network
Select a communication equipment combination, and put a check mark in the "Check" column.
During selection, pay attention to the following:
- In the table below, only the outside dimensions are different between the units shown in "FX2NC-232ADP/
FX0N-232ADP".
Select either one.
- Only one unit of communication equipment can be connected.
- In the FX0, FX0S and FX0N Series, only the standard built-in port (8-pin MINI-DIN) is provided.
- In the FX1, FX2(FX), and FX2C Series, only the standard built-in port (25-pin D-Sub type) is provided.
Common Items
2.2
15 m
(49' 2")
FX0N-232ADP
(25-pin D-Sub)
I
Remote
Maintenance
Apx.
Discontinued
models
H-11
Programming Communication
FX Series
Total extension
distance
50 m
(164' 0")
FX2N-422-BD
(8-pin MINI-DIN)
15 m
(49' 2")
FX2N
FX2N-232-BD
(9-pin D-Sub)
Standard built-in
port (8-pin MINIDIN)
+
FX2N-CNV-BD FX2NC-232ADP
(9-pin D-Sub)
FX2N-CNV-BD
15 m
(49' 2")
FX0N-232ADP
(25-pin D-Sub)
15 m
(49' 2")
FX1NC
Standard built-in
port (8-pin MINIDIN)
FX2NC-232ADP
(9-pin D-Sub)
FX0N-232ADP
(25-pin D-Sub)
15 m
(49' 2")
FX2NC
Standard built-in
port (8-pin MINIDIN)
H-12
FX2NC-232ADP
(9-pin D-Sub)
FX0N-232ADP
(25-pin D-Sub)
Check
Programming Communication
A
Total extension
distance
Check
Common Items
FX Series
B
N:N Network
50 m
(164' 0")
FX3U-422-BD
(8-pin MINI-DIN)
ch1
Parallel Link
RD
15 m
(49' 2")
SD
FX3U-232-BD
Computer Link
ch1
RD
5m
(16' 4")
SD
E
Inverter
Communication
FX3U-USB-BD
(MINI-USB B)
ch1
FX3U
+
FX3U-CNV-BD
15 m
(49' 2")
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Standard built-in
port (8-pin MINIDIN)
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
ch2
SD
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
ch1
ch2
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
I
Remote
Maintenance
FX3U-CNV-BD
H
Programming
Communication
FX3U- -BD
(Where represents
232, 422, 485 and USB)
Non-Protocol
Communication
(FX2N-232IF)
RD
Apx.
Discontinued
models
H-13
Programming Communication
FX Series
Total extension
distance
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
FX3UC
(D, DSS)
ch2
Standard built-in
port (8-pin MINIDIN)
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
50 m
(164' 0")
FX3U-422-BD
(8-pin MINI-DIN)
ch1
RD
15 m
(49' 2")
SD
FX3U-232-BD
(9-pin D-Sub, male)
FX3UC-32MT-LT
ch1
Standard built-in
port (8-pin MINIDIN)
RD
5m
(16' 4")
SD
FX3U-USB-BD
(MINI-USB B)
ch1
+
FX3U-CNV-BD
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
H-14
Check
Programming Communication
A
Total extension
distance
Check
Common Items
FX Series
ch2
B
SD
N:N Network
RD
15 m
(49' 2")
FX3U- -BD
FX3U-232ADP(-MB)
(Where represents
232, 422, 485 and USB)
FX3UC-32MT-LT
ch2
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
D
Computer Link
FX3U-CNV-BD
Parallel Link
ch1
Standard built-in
port (8-pin MINIDIN)
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
H-15
Programming Communication
2.3
Caution on Selection
Some caution should be observed when using a programming tool with optional FX PLC communication
equipment.
Consider the following contents during selection.
2.3.1
Connection cable
180 mA
120 mA
220 mA
120 mA
USB cable
(for connecting personal computer: A plug, male type)
(for connecting FX-USB-AW: MINI B plug, male type)
+ FX-USB-AW
15 mA
FX-10DU(-E)
220 mA
FX-20DU(-E)
FX-20DU-CAB0
180 mA
FX-10DM(-E)
220 mA
FX-25DU(-E), FX-30DU(-B)(-E),
FX-40DU(-B)(-ES), FX-40DU-TK(B)(-E),
FX-50DU-TK(S)(-E), and ET-50 Series
Personal computer
(for programming)
F940GOT-SWD(LWD)(-E),
F930GOT-BWD(-E), ET-940 Series
FX-50DU-CAB0(-1M, -10M, -20M, -30M, L)
F930GOT-BBD-K(-E), and F920GOT-BBD-K
F940 Handy GOT (RH type)
F9GT-H(RH)CAB2-150 + F9GT-H(RH)CAB-3M(-10M)
or F9GT-HCAB-3M(-10M) + F9GT-HCNB + FX-50DUCAB0(-1M)
0 mA
160 mA
0 mA
0 mA
F920GOT-BBD5-K
FX-50DU-CAB0(-1M)
F9GT-HCAB2-150, F9GT-HCAB-3M(-10M)
0 mA
GOT-A900 Series
(CPU direct connection type)
FX9GT-CAB0(-150,-10M)
0 mA
GOT1000 Series
(CPU direct connection type)
GT01-C R4-8P
(Where represents 10, 30, 100, or 300.)
0 mA
*1.
H-16
Current
consumptio
n at 5V DC*1
220 mA
Programming Communication
A
Common Items
2.3.2
Model name
20 mA
FX2N-232-BD
20 mA
FX3U-232ADP(-MB)
30 mA
FX3U
FX3UC
FX3UC(D, DSS) 32MT-LT
FX1NC
FX2NC
FX2NC-232ADP
100 mA
FX0N-232ADP
200 mA
D
Computer Link
2.3.3
FX2N
Parallel Link
FX3U-232-BD
Power consumption
at 5 VDC
N:N Network
When the 232BD or 232ADP is attached to a PLC, it consumes the current shown in the table below. Make
sure that the power capacity of 5V DC in the FX2N/FX3U/FX1NC/FX2NC/FX3UC PLC is not exceeded.
: Applicable
: Not attachable
Other cautions
1. For FX1S, FX1N, FX1NC and FX2N (whose version is before Ver. 2.00) PLCs
2) If RS instruction is used in the program, delete it, turn OFF the PLC power, and then turn it ON again.
2. For FX2N (Ver. 2.00 or later) and FX2NC (versions earlier than Ver. 3.00) PLCs
2) If RS instruction is used in the program, do not execute it. If it is executed, the PLC operates according to
RS instruction.
1) Verify that the communication format is in the initial status (D8120 = K0).
Check the communication parameters using the peripheral equipment.
If the communication is set so that non-protocol procedure (RS instruction) or a dedicated protocol is
used, clear the setting to "0" using the peripheral equipment.
3) If EXTR instruction is used in the program, delete it, turn OFF the PLC power, and then turn it ON again.
2) Verify that the RS or RS2 instructions are not executed in the program for the communication port used in
programming communication.
Do not execute RS and RS2 instructions.
3) If an inverter communication instruction is used in the program for the communication port used in
programming communication, delete it, turn OFF the PLC power, and then turn it ON again.
I
Remote
Maintenance
1) Verify that the communication format for the communication port used in programming communication is
set correctly (D8120, D8400, D8420 = K0).
Check whether the communication parameters are set correctly using the peripheral equipment.
H
Programming
Communication
2) If RS instruction is used in the program, do not execute it. If it is executed, the PLC operates according to
RS instruction.
G
Non-Protocol
Communication
(FX2N-232IF)
3. For FX2N (Ver. 3.00 or later) and FX2NC (Ver. 3.00 or later) PLCs
F
Non-Protocol
Communication
(RS/RS2 Instruction)
1) Verify that the communication format is in the initial status (D8120 = K0).
Check the communication parameters using the peripheral equipment.
If the communication is set so that non-protocol procedure (RS instruction) or a dedicated protocol is
used, clear the setting to "0" using the peripheral equipment.
E
Inverter
Communication
1) Verify that the communication format is in the initial status (D8120 = K0).
Check the communication parameters using the peripheral equipment.
If the communication is set so that non-protocol procedure (RS instruction) or a dedicated protocol is
used, clear the setting to "0" using the peripheral equipment.
Apx.
Discontinued
models
H-17
3.
3.1
Connection Procedure
Checking the connector shape
Check the shape (male or female, etc.) of the connector of the connected programming tool (such
as personal computer) and the shape of the connector of the PLC, and verify that connection is
possible.
H-18
Programming Communication
A
Connector Shape in Each Product
Model name (series)
Connector shape
PLC
13
25
14
25-pin D-Sub,
female
5
4 8
2
1
7
3 6
PC-AT compatible
machine
- DOS/V personal
computer
- Windows personal
computer
PC-9800 Series (NEC)
- Notebook type personal
computer
8-pin MINI-DIN,
female
5
4 8
2
1
9-pin D-Sub,
male
14
13
25
14
25-pin D-Sub,
female
7
3 6
8-pin MINI-DIN,
female
25
14
E
Inverter
Communication
FX0N-232ADP
13
25-pin D-Sub,
female
F
Non-Protocol
Communication
(RS/RS2 Instruction)
FX1N-232-BD
FX2N-232-BD
FX3U-232-BD
FX2NC-232ADP
FX3U-232ADP(-MB)
9-pin D-Sub,
male
FX3U-USB-BD
Non-Protocol
Communication
(FX2N-232IF)
5-pin MINI-USB
B plug, female
Programming
Communication
FX-10P(-E),
FX-10P-SET0(-E),
FX-20P(-E),
FX-20P-SET0(-E)
D
Computer Link
Parallel Link
FX1N-422-BD
FX2N-422-BD
FX3U-422-BD
Connector shape
N:N Network
Common Items
3.2
3 6
8-pin MINI-DIN,
female
I
Remote
Maintenance
Apx.
Discontinued
models
H-19
Programming Communication
3.3
3.3.1
PLC connector
shape
Cable combination
RS-422
RS-422
Cable
length
1.5 m
(4' 11")
3 6
P/I
8-pin MINI-DIN,
female
FX-10P(-E)
FX-20P(-E)
5
4 8
2
7
1
3 6
RS-422
RS-422
FX-20P-CADP
[0.3 m (0' 11")] ...
sold separately
8-pin MINI-DIN,
female
RS-422
RS-422
P/I
FX-10P-SET0(-E)
FX-20P-SET0(-E)
5
4 8
2
7
1
H-20
1.5 m
(4' 11")
3 6
8-pin MINI-DIN,
female
RS-422
RS-422
3 6
8-pin MINI-DIN,
female
14
1.5 m
(4' 11")
25-pin D-Sub,
female
RS-422
RS-422
1.8 m
(5' 10")
14
25-pin D-Sub,
female
1.5 m
(4' 11")
Programming Communication
A
Personal computer
Programming tool
connector shape
PLC connector
shape
Cable combination
4.5 m
(14' 9")
3 6
Parallel Link
FX-232AW
FX-232AWC
FX-232AWC-H
FX-422CAB0
[1.5 m (4' 11")] ...
sold separately
8-pin MINI-DIN,
female
FX-232AW
FX-232AWC
FX-232AWC-H
FX-422CAB
[0.3 m (0' 11")]
... sold separately
FX-422CAB-150
[1.5 m (4' 11")]
... sold separately
9-pin D-Sub,
male
RS-232C
RS-232C
Standard built-in
port
13
1
25
14
3.3 m
(10' 9")
4.5 m
(14' 9")
25-pin D-Sub,
female
FX1N-232-BD
FX2N-232-BD
FX3U-232-BD
FX2NC-232ADP
FX3U-232ADP
(-MB)
5
1
E
3m
(9' 10")
F
Non-Protocol
Communication
(RS/RS2 Instruction)
9-pin D-Sub,
male
RS-232C
RS-232C
14
3m
(9' 10")
25-pin D-Sub,
female
RS-422
USB
FX-USB-AW
H
3m
(9' 10")
3 6
USB
USB
FX3U-USB-BD
5m
(16' 4")
5-pin MINI-USB
B plug, female
Apx.
Discontinued
models
Remote
Maintenance
8-pin MINI-DIN,
female
USB A plug,
female
Programming
Communication
Standard built-in
port
FX1N-422-BD
FX2N-422-BD
FX3U-422-BD
5
4 8
2
7
1
G
Non-Protocol
Communication
(FX2N-232IF)
PC-AT compatible
machine
- Windows personal
computer
FX0N-232ADP
13
1
25
Inverter
Communication
RS-422
RS-232C
Computer Link
PC-AT compatible
machine
- DOS/V personal
computer
- Windows personal
computer
N:N Network
RS-422
RS-232C
Standard built-in
port
FX1N-422-BD
FX2N-422-BD
FX3U-422-BD
5
4 8
2
7
1
Cable
length
Common Items
3.3.2
H-21
Programming tool
connector shape
PLC connector
shape
Cable combination
RS-422
RS-232C
FX-232AW
FX-232AWC
FX-232AWC-H
FX-422CAB0
[1.5 m (4' 11")] ...
sold separately
Standard built-in
port
FX1N-422-BD
FX2N-422-BD
FX3U-422-BD
5
4 8
2
7
1
Cable
length
4.5 m
(14' 9")
3 6
8-pin MINI-DIN,
female
RS-422
RS-232C
PC-9800 Series
(NEC)
- Notebook type
personal computer
7
14
FX-232AW
FX-232AWC
FX-232AWC-H
FX-422CAB
[0.3 m (0' 11")]
... sold separately
FX-422CAB-150
[1.5 m (4' 11")]
... sold separately
RS-232C
RS-232C
Standard built-in
port
13
1
25
14
3.3 m
(10' 9")
4.5 m
(14' 9")
25-pin D-Sub,
female
FX1N-232-BD
FX2N-232-BD
FX3U-232-BD
FX2NC-232ADP
FX3U-232ADP
(-MB)
5
1
9
3m
(9' 10")
9-pin D-Sub,
male
RS-232C
RS-232C
H-22
FX0N-232ADP
13
1
25
14
25-pin D-Sub,
female
3m
(9' 10")
A
PLC connector
shape
Cable combination
RS-422
RS-232C
FX-232AW
FX-232AWC
FX-232AWC-H
FX-422CAB0
[1.5 m (4' 11")] ...
sold separately
B
4.5 m
(14' 9")
3 6
RS-422
13
25
14
FX-232AW
FX-232AWC
FX-232AWC-H
FX-422CAB
[0.3 m (0' 11")]
... sold separately
FX-422CAB-150
[1.5 m (4' 11")]
... sold separately
25-pin D-Sub,
female
14
25-pin D-Sub,
female
FX1N-232-BD
FX2N-232-BD
FX3U-232-BD
FX2NC-232ADP
FX3U-232ADP
(-MB)
5
1
9
E
3m
(9' 10")
RS-232C
25
14
3m
(9' 10")
25-pin D-Sub,
female
G
Non-Protocol
Communication
(FX2N-232IF)
FX0N-232ADP
13
1
Non-Protocol
Communication
(RS/RS2 Instruction)
9-pin D-Sub,
male
RS-232C
Inverter
Communication
RS-232C
RS-232C
25
3.3 m
(10' 9")
4.5 m
(14' 9")
Computer Link
PC-9800 Series
(NEC)
- Desktop type
personal computer
Standard built-in
port
13
1
Parallel Link
8-pin MINI-DIN,
female
RS-232C
N:N Network
Standard built-in
port
FX1N-422-BD
FX2N-422-BD
FX3U-422-BD
5
4 8
2
7
1
Cable
length
Common Items
Programming tool
connector shape
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
H-23
Programming Communication
4.
4.1
Simplified Tables
4.1.1
B Side
1
2
13
13
14
25
25
14
7
5
8-pin MINI-DIN,
male
A Side
B Side
5-pin MINI-USB
B plug, male
9-pin D-Sub,
female
25-pin D-Sub,
male
25-pin D-Sub,
female
3
4 6
1
2
7
5
FX-20P-CAB0
FX-20P-CAB
FX-422CAB0
FX-20P-CADP
FX-USB-AW
(converter)
USB cable
Provided as an
accessory of FXUSB-AW and
FX3U-USB-BD
FX-232CAB-1
F2-232CAB-1
FX-232CAB-2
F2-232CAB-2
F2-232CAB-1
F2-232CAB
8-pin MINI-DIN,
male
5-pin MINI-USB
B plug, female
USB A plug,
male
9-pin D-Sub,
female
14
13
14
25
25-pin D-Sub,
male
H-24
Programming Communication
A
Cable combination simplified table
From the shape of the programming tool connector and PLC connector, combinations of the cable, converter
and communication equipment can be checked.
Interface
RS-422
Standard port
Communication
equipment
RS-232C
USB
FX1,FX2(FX)
FX2C,A,QnA
FX1N-232-BD
FX2N-232-BD
FX3U-232-BD
FX2NC-232ADP
FX3U-232ADP
(-MB)
FX0N-232ADP
FX3U-USB-BD
Connector in PLC
5
4 8
8-pin MINI-DIN,
female
25
14
13
25
14
25-pin D-Sub,
female
9-pin D-Sub,
male
USB A plug,
female
FX-USB-AW
+
USB cable
(included)
F2-232CAB-1
+
FX-232AW
FX-232AWC
FX-232AWC-H
+
FX-422CAB0
F2-232CAB-1
+
FX-232AW
FX-232AWC
FX-232AWC-H
+
FX-422CAB
or
FX-422CAB-150
FX-232CAB-1
F2-232CAB-2
+
FX-232AW
FX-232AWC
FX-232AWC-H
+
FX-422CAB0
F2-232CAB-2
+
FX-232AW
FX-232AWC
FX-232AWC-H
+
FX-422CAB
or
FX-422CAB-150
FX-232CAB-2
F2-232CAB
+
FX-232AW
FX-232AWC
FX-232AWC-H
+
FX-422CAB0
F2-232CAB
+
FX-232AW
FX-232AWC
FX-232AWC-H
+
FX-422CAB
or
FX-422CAB-150
F2-232CAB-1
14
25
14
G
F2-232CAB-1
H
F2-232CAB-2
F2-232CAB
Apx.
Discontinued
models
25-pin D-Sub,
female
Remote
Maintenance
13
USB cable
(included)
Programming
Communication
Non-Protocol
Communication
(FX2N-232IF)
9-pin D-Sub,
male
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
FX-20P-CAB
8-pin MINI-DIN,
female
5-pin MINI-USB
B plug, female
FX-20P-CAB
+
FX-20P-CADP
3 6
25-pin D-Sub,
female
or
FX-20P-CAB0
5
4 8
7
3 6
2
1
13
Computer Link
2
1
C
Parallel Link
FX1N-422-BD
FX2N-422-BD
FX3U-422-BD
B
N:N Network
FX0,FX0S,FX0N
FX1S,FX1N,FX2N
FX1NC,FX2NC
FX3U,FX3UC
Common Items
4.1.2
H-25
Programming Communication
4.2
4.2.1
No.
: Male type
Application
Connection diagram
Personal computer
connector
1
13
A-1 F2-232CAB
14
25
RS-232C
connection
Personal computer
connector
5
1
RS-232C
connection
Personal computer
connector
1
13
A-3 F2-232CAB-1
14
25
RS-232C
connection
Personal computer
connector
1
7
A-4 F2-232CAB-2
14
14-pin Half-pitch
RS-232C
connection
Personal computer
connector
5
1
A-5 FX-232CAB-1
9
RS-232C
connection
Personal computer
connector
5
1
RS-232C
connection
Personal computer
connector
1
7
A-7 FX-232CAB-2
8
14
14-pin Half-pitch
H-26
Communication port
connector
1
13
1
2
3
5
6
7
20
4
5
Communication port
2
connector
3
1
13
6
7
20
14
25
8
25-pin D-Sub, male
1
SHELL
Shield
2
3
5
6
7
20
2
3
8
4
5
6
1
2
4
9
11
2
20
14
12
13
3
5
6
7
2
3
6
8
5
4
7
8
3
2
6
5
4
1
1
2
4
9
11
14
12
13
14
25
Communication port
connector
5
1
Communication port
connector
1
13
14
25
2
3
6
8
5
4
2
3
4
5
9
6
6
9-pin D-Sub, female
7
8
*1 Interlink supporting cables are not applicable.
Frame
Commercial cable*1
A-6 Reverse (cross) type
Application
1
2
3
5
6
7
20
2
3
Commercial
4
Reverse (cross) type
5
9
6
6
9-pin D-Sub, female
7
8
*1 Interlink supporting cables are not applicable.
SHELL
cable*1
A-2
Communication port
connector
5
1
Communication port
connector
5
1
Frame
3
4
2
6
8
5
Communication port
connector
5
1
Programming Communication
A
No.
Application
Connection diagram
Personal computer
connector
1
7
14
14-pin Half-pitch
RS-422
connection
FX-422CAB0
Converter
FX-232AW,FX-232AWC,
FX-232AWC-H
1
13
14
25
Converter
FX-232AW,FX-232AWC,
FX-232AWC-H
1
13
14
A-10
25
2
6
5
FG
2
3
7
12
15
16
20
24
5
8
21
18
25
2
7
3
5
1
4
6
8
1
2
3
4
5
7
8
12
13
15
16
17
18
20
21
24
25
1
2
3
4
5
7
8
12
13
15
16
17
18
20
21
24
25
3
4
2
5
E
1
13
14
25
Inverter
Communication
RS-422
connection
Communication port
connector
5
1
Computer Link
A-9
4
10
9
11
12
13
14
FG
3
4
7
8
1
Parallel Link
1
2
3
Application
N:N Network
A-8
Commercial cable*1
Reverse (cross) type
: Male type
Common Items
: Female type
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
H-27
Programming Communication
4.2.2
No.
: Male type
Application
Connection diagram
1
2
3
4
5
6
7
8
9
FG
RS-232C
connection
5
Connector conversion
B-1 cable (normal type)
9-pin D-Sub, female
12
13
9
1
10
4
2
RS-232C
connection
Connector conversion
B-2 cable (normal type)
14
14
14-pin Half-pitch
3
6
5
11
7
8
SHELL
RS-422
connection
1
FX-20P-CADP
13
B-3
14
25
4.2.3
8
3
2
20
7
6
4
5
22
FG
13
14
25
1
14
2
3
4
5
6
1
13
7
11
13
14
25
8
25-pin D-Sub, male
15
17
20
22
24
SHELL
2
7
3
5
1
4
6
8
2
3
7
12
15
16
20
24
5
8
21
18
3
4
2
5
No.
C-1 FX-20P-CAB0
: Male type
Application
Programming tool
3
4
6
1
7
2
8
5
8-pin MINI-DIN, male
RS-422
connection
C-2
FX-20P-CAB
Programming tool
3
4
6
1
7
2
8
5
8-pin MINI-DIN, male
H-28
Application
Connection diagram
Application
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
2
3
7
5
1
4
6
8
2
7
3
12
15
16
20
24
4
8
21
13
17
Communication port
connector
3
4
6
1
7
2
8
5
8-pin MINI-DIN, male
13
14
25
Programming Communication
A
Common Items
5.
Check Procedure
Monitoring D8120
D
Computer Link
Turn ON the PLC power while it is in STOP mode, and monitor D8120.
1. When the value of D8120 is "0"
The communication setting is not provided.
E
Inverter
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
C
Parallel Link
5.1
N:N Network
This chapter explains the communication setting method for executing programming communication using
optional communication equipment operating in accordance with RS-422 or RS-232C.
The setting described here is not required when the standard built-in port is used.
When executing programming communication on ch2 in the FX3U/FX3UC PLC, check the contents of D8420
using the procedure described below.
G
Non-Protocol
Communication
(FX2N-232IF)
FNC 12
MOV
H23F6
D8120
Program example
M8002
Initial pulse
FNC 12
MOV
H0000
D8120
Programming
Communication
Changed program
I
Remote
Maintenance
Apx.
Discontinued
models
H-29
5.2
5.2.1
Operating procedure
This subsection explains the serial communication setting method. Suppose that GX Developer is already
started up.
If the project tree is not displayed, select [View] - [Project data list] from the toolbar.
H-30
Programming Communication
A
Communication Setting Using Parameter Method (FXGP/WIN)
Two software packages, GX Developer and FXGP/WIN for Windows, are applicable to the parameter
method. This section explains the parameter method using FXGP/WIN.
Ch 2 cannot be set using FXGP/WIN.
Operating procedure
This subsection explains the serial communication setting method. Suppose that FXGP/WIN is already
started up.
B
N:N Network
5.3.1
Common Items
5.3
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Remote
Maintenance
Select [PLC] - [Transfers] - [Write] from the toolbar, and click [OK].
Apx.
Discontinued
models
H-31
Programming Communication
6.
6.1
Caution
While the monitor function window is displayed, [Transfer Setup] cannot be selected.
H-32
Programming Communication
A
Setting RS-232C or USB, communication port, and transmission speed
The setting procedures for RS-232C/USB, communication port and transmission speed are described below:
B
N:N Network
Common Items
6.1.1
C
Parallel Link
D
Computer Link
FX1
FX2(FX),
FX2C
FX1S
FX1N,
FX1NC
FX2N,
FX2NC
19.2 kbps
38.4 kbps
57.6 kbps
115.2 kbps
FX3U,
FX3UC*1
9.6 kbps
*1.
For achieving communication at 38.4, 57.6, or 115.2 kbps in an FX3U/FX3UC PLC, the FX-232AWC-H,
FX-USB-AW, or FX3U-USB-BD is required.
Remote
Maintenance
FX0, FX0S
H
Programming
Communication
Communication speed
G
Non-Protocol
Communication
(FX2N-232IF)
COM port:
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
Apx.
Discontinued
models
H-33
Programming Communication
6.1.2
6.1.3
H-34
Programming Communication
A
Connection Setting (FXGP/WIN)
FXGP/WIN, Windows software for personal computers, has the following set items. Set each item according
to the connection status.
Communication port
B
N:N Network
Transmission speed
6.2.1
Common Items
6.2
Parallel Link
Select [PLC] - [Ports] from the toolbar. The window below appears.
D
Computer Link
E
Inverter
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
Communication speed
FX0N
FX1
FX2(FX),
FX2C
FX1S
19.2 kbps
38.4 kbps
FX1N,
FX1NC
FX2N,
FX2NC
FX3U,
FX3UC*1
9.6 kbps
The FX3U/FX3UC Series cannot be selected. Select the FX2N Series, and then create the program.
H
Programming
Communication
*1.
57.6 kbps
115.2 kbps
G
Non-Protocol
Communication
(FX2N-232IF)
FX0, FX0S
I
Remote
Maintenance
Apx.
Discontinued
models
H-35
Programming Communication
6.3
Caution
While the monitor function window is displayed, [Transfer Setup] cannot be selected.
OK
Click [OK].
H-36
NG
7 Troubleshooting
7.1 Checking PLC Version Applicability
A
Common Items
7.
Troubleshooting
N:N Network
7.1
7.2
Flashing
Flashing
Operation status
Inverter
Communication
Flashing
Off
Off
Flashing
Off
Off
F
Non-Protocol
Communication
(RS/RS2 Instruction)
7.4
RXD (RD)
Checking Installation
1. Mounting status
H
Programming
Communication
Verify that non-protocol communication or computer link communication is not set in the parameters of the FX
PLC. If such communication is already set, programming communication with optional communication
equipment cannot be used.
For the setting of parameters in the PLC, refer to Chapter 5.
G
Non-Protocol
Communication
(FX2N-232IF)
If the communication equipment is not securely connected to the PLC, communication is not possible.
For the mounting method, refer to the respective communication equipment manual.
7.5
D
Computer Link
7.3
C
Parallel Link
When executing programming communication using an FX PLC and communication equipment operating in
accordance with RS-422 or RS-232C, verify that the FX PLC is an applicable version.
For the version applicability check, refer to Section 1.3.
I
Remote
Maintenance
Apx.
Discontinued
models
H-37
7.6
7 Troubleshooting
7.6 Checking Sequence Program
2. Presence of VRRD and VRSC instructions (except FX3U and FX3UC PLCs)
Verify that the VRRD and VRSC instructions are not used in the program.
If these instructions are used, delete them, turn OFF the PLC power, and then turn it ON again.
6. Presence of IVCK, IVDR, IVRD, IVWR, and IVBWR instructions (in FX3U and FX3UC PLCs)
Verify that the IVCK, IVDR, IVRD, IVWR and IVBWR instructions are not being used for the same channel.
If these instructions are used for the same channel, revise them, turn OFF the PLC power, and then turn it ON
again.
7.7
H-38
7 Troubleshooting
Programming Communication
A
Checking Absence/Presence of Errors
1. Checking M8062 (except FX3U and FX3UC PLCs)
When a communication error occurs in the standard built-in port, M8062 turns ON and D8062 stores the
corresponding error code.
6202
6203
6204
6205
Defective command
C
Parallel Link
D8062
Contents of error
6201
Contents of error
Parity error, overrun error or framing error
3802
6303
3803
6304
3804
6305
3805
Defective command
6306
3806
Monitoring timeout
6307
3807
6308
3808
6312
3812
6313
3813
3814
6320
3820
G
Non-Protocol
Communication
(FX2N-232IF)
6314
F
Non-Protocol
Communication
(RS/RS2 Instruction)
3801
6302
Inverter
Communication
6301
D
Computer Link
When a communication errors occur in optional communication equipment, M8063 turns ON and D8063
stores the corresponding error code during communication using ch1, and M8438 turns ON and D8438 stores
the corresponding error code during communication using ch2.
B
N:N Network
Common Items
7.8
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
H-39
MEMO
H-40
7 Troubleshooting
7.8 Checking Absence/Presence of Errors
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
Foreword
I-1
Apx.
Discontinued
models
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
Remote
Maintenance
This manual explains "remote maintenance" provided for the MELSEC-F FX Series Programmable
Controllers and should be read and understood before attempting to install or use the unit.
Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward
it to the end user.
I-2
1 Outline
Remote Maintenance
A
Common Items
1.
Outline
N:N Network
1.1
Outline of System
Remote maintenance performs program transfer and device monitoring using Windows programming
software with a PLC connected to the telephone line by way of a modem.
Parallel Link
1.1.1
FX2N PLC
E
Inverter
Communication
........
Personal
computer
Communication
equipment
For selection, refer to
...... Chapter 3.
operating in
accordance with
RS-232C
..............
..............
Modem
G
Non-Protocol
Communication
(FX2N-232IF)
Modem
F
Non-Protocol
Communication
(RS/RS2 Instruction)
D
Computer Link
H
Cellular
phone
Cellular
phone
Programming
Communication
Modem
Modem
I
..............
Remote
Maintenance
Personal
computer
Remotely accesses the PLC.
Apx.
Discontinued
models
I-3
1 Outline
Remote Maintenance
1.1.2
System
Applicable software
FX-PCS/WIN
It accesses a personal
computer (FXGP/WIN) in the
remote mode.
Modem
Personal
computer
Remotely accesses the
personal computer
(FXGP/WIN).
I-4
..............
..............
..............
Modem
Cellular
phone
Cellular
phone
Modem
Applicable software
FX-PCS/WIN
1 Outline
1.2 Procedures Before Operation
A
Procedures Before Operation
Common Items
1.2
The flow chart below shows the remote maintenance setting procedures up until communication:
Remote maintenance
N:N Network
Refer to Chapter 1
Outline
Refer to Chapter 2
C
Parallel Link
Outline of system
Applicable PLC versions
Applicable programming tools
Software for remote access
Communication specifications
Refer to Chapter 3
Determine system configuration and selection
Perform wiring
D
Computer Link
Refer to Chapter 4
System configuration
Selecting communication equipment
Applicable modem list
Wiring procedure
Cables supplied with modem
E
Inverter
Communication
Programming tool
Connect PLC*1
F
Set modem on PLC side
Refer to Chapter 6
Turn ON power
Setting modem
Setting modem connected to personal
computer
Refer to Chapter 7
Connect line
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
Refer to Chapter 5
Programming
Communication
*1 For the programming tool to PLC connection procedure, refer to the "Programming Communication" section in this
manual or the respective programming tool manual.
For details on operating procedures, refer to the respective programming tool manual.
Remote
Maintenance
Apx.
Discontinued
models
I-5
1 Outline
Remote Maintenance
1.3
1.3.1
Applicable versions
The communication types are applicable in the following versions.
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
PLC
Remarks
FX3UC Series
FX3U Series
FX2NC Series
FX2N Series
FX1NC Series
FX1N Series
FX1S Series
FX0N Series
FX0S Series
FX0 Series
FX2C Series
FX2(FX) Series
FX1 Series
1. Version check
The D8001(decimal) special data register contains information for determining the PLC version.
D8001
1
Version information (Example: Ver. 2.51)
1.3.2
Remarks
FX0 Series
FX2C Series
FX2(FX) Series
FX1 Series
I-6
1 Outline
Remote Maintenance
A
Programming Tool Applicability
1.4.1
Common Items
1.4
B
N:N Network
The tables below show programming tools applicable for modem setting using parameters and sequence
programs.
For programming software on remote maintenance, refer to Subsection 1.4.2
The programming tool is applicable for each FX Series from the version shown:
C
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Applicability
(applicable version)
Remarks
D
Computer Link
E
Inverter
Communication
Non-Protocol
Communication
(RS/RS2 Instruction)
2. English versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Applicability
(applicable version)
Remarks
H
Programming
Communication
Model name
(Software name)
Non-Protocol
Communication
(FX2N-232IF)
Model name
(Software name)
FX3U and FX3UC PLCs
GX Developer
SW D5C(F)-GPPW-J
FX2N and FX2NC PLCs
GX Developer
SW D5C(F)-GPPW-J
FX-PCS/WIN
SW0PC-FXGP/WIN
FX-PCS-KIT/98
SW1PC-FXGP/98(-3,-5)
FX-PCS/98-3
SW1PC-FXGP/98-3
FX-PCS-KIT/V-3
SW1-PC-FXGP/V3
FX-A7PHP-KIT
SW1RX-GPPFX
FX1S, FX1N and FX1NC PLCs
GX Developer
SW D5C(F)-GPPW-J
FX-PCS/WIN
SW0PC-FXGP/WIN
FX-PCS/98-3
SW1PC-FXGP/98-3
Parallel Link
1. Japanese versions
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
Remote
Maintenance
GX Developer
SW D5C(F)-GPPW-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
Apx.
Discontinued
models
GX Developer
SW D5C(F)-GPPW-E
I-7
1 Outline
Remote Maintenance
1. Japanese versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Applicability
Remarks
(applicable version)
FX1S, FX1N, FX3U, FX1NC and FX3UC PLCs
GX Developer
For FX3U and FX3UC PLC
(Ver. SW2 A or later)
SW D5C(F)-GPPW-J
The models "FX3U" and "FX3UC" cannot be selected.
"FX2N" can be selected and set as the alternative model.
FX-PCS/WIN
(Ver. 2.10 or later) The PP modem mode (ch1) and PP modem mode (ch2)
SW0PC-FXGP/WIN
cannot be set.
FX-PCS-KIT/98
(Ver. 4.00 or later)
SW1PC-FXGP/98(-3,-5)
For FX1N and FX1NC PLC
The models "FX1N" and "FX1NC" cannot be selected.
FX-PCS/98-3
(Ver. 4.00 or later) "FX2N" or "FX2NC" can be selected and set as the
SW1PC-FXGP/98-3
alternative model.
FX-PCS-KIT/V-3
(Ver. 2.00 or later)
SW1-PC-FXGP/V3
For FX1S PLC
The versions on the left are not applicable.
FX-A7PHP-KIT
(Ver. 3.00 or later)
The versions shown in the table above are applicable.
SW1RX-GPPFX
FX2N and FX2NC PLCs
The versions applicable to FX2N and FX2NC PLCs shown in the table above can be used.
Model name
2. English versions
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Applicability
(applicable version)
FX1S, FX1N, FX3U, FX1NC and FX3UC PLCs
Model name
GX Developer
SW D5C(F)-GPPW-E
FX-PCS/WIN-E
SW0PC-FXGP/WIN-E
Remarks
I-8
1 Outline
Remote Maintenance
A
Programming software for remote maintenance
The table below shows programming software for the personal computer which uses remote access.
For the applicability of programming tools for setting the modem, refer to Subsection 1.4.1.
Remarks
GX Developer
SW D5C(F)-GPPW-J
FX-PCS/WIN
SW0PC-FXGP/WIN
FX-PCS/WIN
SW0PC-FXGP/WIN
Inverter
Communication
GX Developer
SW D5C(F)-GPPW-J
2. English versions
Programming
Communication
Remarks
Non-Protocol
Communication
(FX2N-232IF)
GX Developer
SW D5C(F)-GPPW-E
Applicability
(applicable version)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
: Applicable (If applicable versions are limited, they are described inside ( ).)
: Not applicable
Model name
(Software name)
FX3U and FX3UC PLCs
D
Computer Link
Parallel Link
Applicability
(applicable version)
N:N Network
Model name
(Software name)
Common Items
1.4.2
Remote
Maintenance
Apx.
Discontinued
models
I-9
1.4.3
1 Outline
1.4 Programming Tool Applicability
I-10
2 Specifications
Remote Maintenance
A
Common Items
2.
Specifications
N:N Network
2.1
Item
Modem mode
Transmission standard
RS-232C standard
Protocol type
Communication method
Remarks
Modem mode
Character format
Start bit
1-bit
7-bit
8-bit
Parity bit
Even
Not provided
Stop bit
Terminator
1-bit
Non-Protocol
Communication
(RS/RS2 Instruction)
Header
Fixed
Control line
Not provided
Sum check
Fixed
E
Inverter
Communication
Data bit
Computer Link
Modem PLC
Modem Personal
computer
9600 bps
Baud rate
C
Parallel Link
Communication is executed according to the (fixed) specifications shown in the table below. Specification
items such as baud rate cannot be changed.
Only modems supporting the communication specifications below can be used.
Applicable FX Series
Non-Protocol
Communication
(FX2N-232IF)
FX3UC Series
FX3U Series
FX2NC Series
FX2N Series
FX1NC Series
FX1N Series
FX1S Series
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-11
Remote Maintenance
3.
3.1
System Configuration
This section outlines the system configuration required to use remote maintenance.
Connect (optional) equipment operating in accordance with RS-232C to the FX PLC main unit.
1 , 2 and 3 indicate the communication equipment combination patterns.
Important point in selection
Total extension
distance
15 m
(49' 2")
15 m
(49' 2")
15 m
(49' 2")
FX PLC
Communication
board
Connector
Communication
conversion board
adapter
Communication
adapter
For communication equipment combinations for each FX Series, refer to the next page.
I-12
Remote Maintenance
A
Setting Applicable FX PLC and Communication Equipment
FX Series
Total extension
distance
Check
C
Parallel Link
15 m
(49' 2")
FX1N-232-BD
(9-pin D-Sub)
+
FX1N-CNV-BD FX2NC-232ADP
(9-pin D-Sub)
FX1N-CNV-BD
15 m
(49' 2")
Computer Link
FX1S
FX0N-232ADP
(25-pin D-Sub)
E
Inverter
Communication
15 m
(49' 2")
FX1N-232-BD
(9-pin D-Sub)
+
FX1N-CNV-BD FX2NC-232ADP
(9-pin D-Sub)
FX1N-CNV-BD
15 m
(49' 2")
Non-Protocol
Communication
(RS/RS2 Instruction)
FX1N
B
N:N Network
Select a communication equipment combination, and put a check mark in the "Check" column.
During selection, pay attention to the following:
- In the table below, only the outside dimensions and D-SUB connector shape are different between units
shown in "FX2NC-232ADP/FX0N-232ADP". Select either one.
- Remote maintenance is not provided for the FX0, FX0S, FX0N, FX1, FX2(FX) and FX2C Series.
Common Items
3.2
FX0N-232ADP
(25-pin D-Sub)
G
Non-Protocol
Communication
(FX2N-232IF)
15 m
(49' 2")
FX2N-232-BD
(9-pin D-Sub)
H
+
+
FX2N-CNV-BD FX2NC-232ADP
(9-pin D-Sub)
FX2N-CNV-BD
Programming
Communication
FX2N
15 m
(49' 2")
FX0N-232ADP
(25-pin D-Sub)
I
Remote
Maintenance
Apx.
Discontinued
models
I-13
Remote Maintenance
FX Series
Total extension
distance
RD
15 m
(49' 2")
SD
FX3U-232-BD
(9-pin D-Sub, male)
ch1
+
FX3U-CNV-BD
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
FX3U
ch2
RD
SD
15 m
(49' 2")
FX3U- -BD
FX3U-232ADP(-MB)
(Where represents
232, 422, 485 and USB)
ch1
ch2
+
FX3U-CNV-BD
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
15 m
(49' 2")
FX1NC
FX2NC-232ADP
(9-pin D-Sub)
FX0N-232ADP
(25-pin D-Sub)
15 m
(49' 2")
FX2NC
*1.
I-14
FX2NC-232ADP
(9-pin D-Sub)
FX0N-232ADP
(25-pin D-Sub)
When using ch2 in an FX3U PLC, it can be set only in the PP modem mode (ch2).
Check
Remote Maintenance
A
Total extension
distance
Check
Common Items
FX Series
B
N:N Network
15 m
(49' 2")
FX3U-232ADP(-MB)
(9-pin D-Sub, male)
Parallel Link
ch1
FX3UC
(D, DSS)
ch2
15 m
(49' 2")
FX3U-232ADP(-MB)
(Where represents
232 and 485)
D
Computer Link
FX3U- ADP(-MB)
E
Inverter
Communication
RD
15 m
(49' 2")
SD
FX3U-232-BD
(9-pin D-Sub, male)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
ch1
FX3U-232ADP
Non-Protocol
Communication
(FX2N-232IF)
FX3U-CNV-BD
15 m
(49' 2")
FX3UC-32MT-LT
ch2
H
SD
15 m
(49' 2")
FX3U- -BD
FX3U-232ADP(-MB)
(Where represents
232, 422, 485 and USB)
*1.
ch2
15 m
(49' 2")
FX3U- ADP(-MB)
FX3U-232ADP(-MB)
(Where represents
232 and 485)
Apx.
Discontinued
models
FX3U-CNV-BD
Remote
Maintenance
ch1
Programming
Communication
RD
When using ch2 in an FX3UC PLC, it can be set only in the PP modem mode (ch2).
I-15
3.3
Selecting Modem
In FX PLCs, the modems PV-AF288 (manufactured by AIWA) and ME3314B (manufactured by OMRON) are
applicable.
When "user registration mode," "PP modem mode (ch1)," or "PP modem mode (ch2)" is selected in the
modem initialization setting in an FX PLC, other modems are also applicable.
The tables below show the communication specifications in the "user registration mode," "PP modem mode
(ch1)," and "PP modem mode (ch2)." Select a modem supporting the communication specifications shown
below.
Contents
Half-duplex, asynchronous system
Baud rate
9600 bps
Start bit
1-bit
Data bit
7-bit
Parity bit
Even
Stop bit
1-bit
Control line
Not provided
If the modem used does not support the communication specifications shown above, communication is not
possible.
Contents
Communication method
Baud rate
9600 bps
Start bit
1-bit
Data bit
8-bit
Parity bit
Not provided
Stop bit
1-bit
Control line
Not provided
If the modem used does not support the communication specifications shown above, communication is not
possible.
I-16
Remote Maintenance
A
List of modems whose operations are confirmed
Common Items
3.3.1
The tables below show already tested modems and their associated AT command.
Manufacturer
D
In FX2N PLCs, Ver. 2.01 and
later are applicable.
Modem version: F/W Ver. 2.300
Modem version: F/W Ver. 2.300
ATE0S0=2&D0\Q1
ATE0S0=2&D0\Q1Q1
Remarks
G
Non-Protocol
Communication
(FX2N-232IF)
Manufactured by OMRON
ME5614E
ATE0S0=2&K0&D0
ATQ0V1E1S0=0
ATQ0V1E1S0=0
ATQ0V1E1
96F2
ATQ0V1E1
I-17
Apx.
Discontinued
models
ATQ0V1E1\Q1
SW D5C-GPPW
version: before SW3
SW D5C-GPPW
version: before SW3
SW D5C-GPPW
version: SW4 or later
I
Remote
Maintenance
ATE0S0=2&K0&D0
ME5614E2*1
ME5614D
Programming
Communication
ME3314B
F
Non-Protocol
Communication
(RS/RS2 Instruction)
The table below shows modems whose operations are already confirmed. Input and set the AT command shown
below using a programming tool in the personal computer on the remote access side.
FXGP/WIN has a command to initialize the PV-AF288, PV-AF3360 (manufactured by AIWA), ME3314B, ME5614D
and ME5614E (manufactured by OMRON). This command can be used only by setting a parameter.
For the setting procedure, refer to Chapter 6.
Manufacturer AT command setting for modem on personal computer side for remote access
Modem
GX Developer
FX-PCS/WIN
model name
(SW D5C-GPPW)
Manufactured by AIWA
Select this model (AT command is shown for reference)
PV-AF288
ATE0S0=2Q0V1&M4\J0\Q0
Select this model (AT command is shown for reference)
PV-AF3360
ATE0S0=2Q0V1S15=8&H0&R1
Select this model (AT command is shown for reference)
PV-BF5606
ATE0S0=2&K0&D0
ATE0S0=2&K0
E
Inverter
Communication
ME5614E
Input AT command shown on right
ME5614E2
Input AT command shown on right
ME5614D
Manufactured by NTT DoCoMo
96F1
Input AT command shown on right
Input AT command shown on right
96F2
Computer Link
ME3314B
Remarks
Parallel Link
AT command
Modem
model name
Manufactured by I/O DATA
DFML-K56F
Input AT command shown on right ATE0Q1S0=2&D0&K0&W0&Y0\Q0%C3
Manufactured by AIWA
PV-AF288
Select AIWA modem (PV-AF288) ATE0S0=2Q1&D0&M5\Q0\J0&W
Input AT command shown on right ATE0S0=2&D0Q1&K0&W
PV-BF5606
Manufactured by OMRON
B
N:N Network
The PLC has a command to initialize the PV-AF288 (manufactured by AIWA) and ME3314B (manufactured by
OMRON). This command can be used only by setting parameters using the GX Developer or FXGP/WIN
software.
For other modems, input and set the AT command shown below in ASCII code to a data register (D1000 and
later usually, and D200 or later in the FX1S PLC).
For the setting procedure, refer to Chapter 5.
4 Wiring
Remote Maintenance
4.
Wiring
This chapter explains the wiring.
4.1
Wiring Procedure
Turning OFF the PLC power
Before starting any wiring work, make sure that the PLC power is OFF.
Connecting the RS-232C ports in the modem and the PLC with a cable
Check the shape of the connector (number of pins) in the communication equipment operating in
accordance with RS-232C to be connected to the PLC. Each cable has either connector shape:
- 9-pin D-Sub, female
- 25-pin D-Sub, male
Connecting the personal computer and the modem with a cable for remote access
Check the shape of the RS-232C connector (number of pins) on the personal computer for remote access.
4.2
Connection Diagram
1. To connect the modem, use a cable included with the modem or cable described in the
modem manual.
Remote access
Line
general telephone
line, etc.
Cable
Modem
Cable
Modem
PLC
Personal computer
2. The table below shows the pin arrangement in the communication equipment operating in
accordance with RS-232C for the FX PLC.
FX1N-232-BD, FX2N-232-BD, FX2NC-232ADP,
FX3U-232-BD, FX3U-232ADP(-MB)
9-pin D-Sub, male
FX0N-232ADP
25-pin D-Sub, female
1*1
25
13
*1.
I-18
CD
20
Function
3
2
14
Signal
name
A
Common Items
5.
5.1
E
Inverter
Communication
1) Writing the value "0" to the data register D8120 using a sequence program
If another communication type is already set for another application, delete the sequence program which
writes a value to D8120.
When setting remote maintenance to ch2 in an FX3U/FX3UC PLC, write the value "0" to the data register
D8420.
D
Computer Link
Non-Protocol
Communication
(RS/RS2 Instruction)
Parallel Link
This section explains the modem initialization setting and communication setting methods. Suppose that GX
Developer is already started up.
5.1.1
B
N:N Network
This chapter explains how to set parameters for initialization using the AT command and set the
communication specifications including the transmission speed for a modem connected to the PLC.
The setting method using GX Developer and the setting method using FXGP/WIN are explained.
For applicable programming tools, refer to Subsection 1.4.2.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
If the project tree is not displayed, select [View] - [Project data list] from the toolbar.
I
Remote
Maintenance
Apx.
Discontinued
models
I-19
Remote Maintenance
I-20
A
Modem initialization setting using parameter method
This subsection explains how to select the AT command for initialization registered in the PLC and how to set
the AT command for an unregistered modem.
Common Items
5.1.2
N:N Network
C
Parallel Link
D
Computer Link
If the project tree is not displayed, select [View] - [Project data list] from the toolbar.
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-21
Remote Maintenance
Description
Modem model
name
Manufacturer
None
Unregistered
modem
PV-AF288
AIWA
ME3314B
OMRON
Unregistered
modem
Unregistered
modem
Set item
AIWA(PV-AF288)
OMRON(ME3314B)
*1.
I-22
A
Setting AT command for unregistered modem
Only when "MODEM initialized" is set to "User register mode," "User mode [8bits NP][CH1]," or "User mode
[8bits NP][CH2]," execute the following setting.
(The modem initialization setting depends on the setting contents of the [PLC system(1)] tab displayed
when [Parameter] - [PLC parameter] is selected in the project tree.)
B
N:N Network
Common Items
5.1.3
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-23
The device (data register) number to be set varies depending on the FX Series as shown below:
FX Series
D1000 to D1059
FX2N/FX2NC PLC
D1000 to D1059
FX1N/FX1NC PLC
D1000 to D1059
FX1S PLC
Device range
FX3U/FX3UC PLC
D200 to D255
I-24
Remote Maintenance
A
Common Items
1. AT command structure
For initializing a modem, use the AT command developed by Hayes.
The Hayes AT command is generally expressed in the following format:
A
Command + Parameter
CR
LF
B
2
......
For details on the AT command, refer to the manual of the modem to be used.
D1000
41
D1013
&
26
D1001
54
D1014
4D
D1002
45
D1015
34
D1003
30
D1016
5C
D1004
53
D1017
51
D1005
30
D1018
30
ASCII code
Hexadecimal
value
D1006
3D
D1019
5C
D1007
32
D1020
4A
D1008
51
D1021
30
D1009
31
D1022
&
26
D1010
&
26
D1023
57
D1011
44
D1024
CR
0D
D1012
30
D1025
LF
0A
D
Computer Link
Hexadecimal
value
Parallel Link
ASCII code
E
Inverter
Communication
N:N Network
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
If "CR (0DH)" and "LF (0AH)" are not input at the end of the AT command, remote maintenance is
not possible.
I
Remote
Maintenance
Apx.
Discontinued
models
I-25
5.2
5.2.1
I-26
Remote Maintenance
A
Modem initialization setting using parameter method
This subsection explains how to select the AT command for initialization registered in advance in the PLC and
how to set the AT command for an unregistered modem.
N:N Network
Common Items
5.2.2
Select a modem to be connected in "Modem initialize", and click the [OK] button.
Parallel Link
D
Modem model
name
Manufacturer
None
Computer Link
Unregistered
modem
PV-AF288
AIWA
ME3314B
OMRON
AIWA(PV-AF288)
OMRON(ME3314B)
F
Non-Protocol
Communication
(RS/RS2 Instruction)
When "User entry mode" is selected in "Modem initialize", the AT command setting is required.
For the AT command setting method for unregistered modems, refer to Subsection 5.2.3.
The AT command setting is not required when "AIWA(PV-AF288)" or "OMRON(ME3314B)" is
selected.
Inverter
Communication
Description
Set item
Non-Protocol
Communication
(FX2N-232IF)
Click [PLC] - [Transfers] - [Write] from the toolbar to display the "Program write" dialog box.
Select "All range", and click the [OK] button.
H
Programming
Communication
When the AT command is set for an unregistered modem, transfer the register also.
Click [PLC] - [Register data transfers] - [Write] from the toolbar to display the "Write" dialog box.
Place a check mark ( ) next to "Data register", and click the [OK] button.
I
Remote
Maintenance
Apx.
Discontinued
models
I-27
Remote Maintenance
5.2.3
Contents of setting
Display form
Line
Data size
16bit
The device (data register) number to be set varies depending on the FX Series as shown below:
FX Series
D1000 to D1059
FX2N/FX2NC PLC
D1000 to D1059
FX1N/FX1NC PLC
D1000 to D1059
FX1S PLC
I-28
Device range
FX3U/FX3UC PLC
D200 to D255
Remote Maintenance
A
Inputting the AT command
Input the AT command to the "ASCII" column of D1000 and later. Input one (half-width) character to
one word.
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
Command + Parameter
......
CR
LF
Non-Protocol
Communication
(FX2N-232IF)
For details on the AT command, refer to the manual of the modem to be used.
A
T
E
0
S
0
=
2
Q
1
&
D
0
ASCII code
D1013
D1014
D1015
D1016
D1017
D1018
D1019
D1020
D1021
D1022
D1023
D1024
D1025
&
M
4
\
Q
0
\
J
0
&
W
CR
LF
Hexadecimal
value
26
4D
34
5C
51
30
5C
4A
30
26
57
0D
0A
I-29
Apx.
Discontinued
models
D1000
D1001
D1002
D1003
D1004
D1005
D1006
D1007
D1008
D1009
D1010
D1011
D1012
Hexadecimal
value
41
54
45
30
53
30
3D
32
51
31
26
44
30
Remote
Maintenance
ASCII code
Programming
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
1. AT command structure
Inverter
Communication
Make sure to input "CR (0DH)" and "LF (0AH)" at the end of the AT command. If they are not input,
remote maintenance is not possible.
The "CR" and "LF" input method is explained in the next step.
Remote Maintenance
If "CR (0DH)" and "LF (0AH)" are not input at the end of the AT command, remote maintenance is
disabled.
5.3
Cautions on Use
1. Cautions on inputting the AT command for initialization to the PLC
1) The AT command finishes sending when "0" (hexadecimal value) is read.
2) When creating a sequence program, make sure that the input area for the modem initialization command
is different from the data register area used by general sequence programs.
3) Make sure to input "CR (0DH)" and "LF (0AH)" at the end of the AT command. If they are not input,
remote maintenance is disabled.
I-30
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
Modem
Cable
Modem
Personal computer
PLC
Computer Link
Parallel Link
Line
general telephone
line, etc.
Cable
6.1
PLC side
Inverter
Communication
This section explains the line connection setting method using GX Developer.
6.1.1
F
Non-Protocol
Communication
(RS/RS2 Instruction)
This subsection explains how to register the AT command for initializing a modem connected to the personal
computer.
B
N:N Network
This chapter explains how to set a modem connected to the personal computer for remote access.
The setting method using GX Developer and the setting method using FXGP/WIN are explained respectively.
For applicable programming tools, refer to Subsection 1.4.2.
Common Items
6.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-31
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
Modem model
name
Remarks
AIWA
PV-BF5606
ATE0S0=2&K0&D0
OMRON
ME5614E
ATE0S0=2&K0&D0
OMRON
ME5614D
ATE0S0=2&K0&D0
NTT DoCoMo
96F1
NTT DoCoMo
96F2
Description
AT&Cn
Set the mode in which the CD signal is set to ON when the carrier from the counterpart is received.
ATQn
Set the AT command so that the result code for the AT command is sent back.
ATVn
Set the AT command so that the response to the AT command is given in a character string.
AT\Nn
AT&Dn
I-32
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
A
Creating telephone directory (if necessary)
This subsection explains the method to register the telephone number of the counterpart (line connected to
the modem of the desired PLC).
Common Items
6.1.2
N:N Network
Select [Tools] - [Set TEL data] - [Call book] from the toolbar to display the following dialog box.
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Click the [New group] button to display the "Group setting" dialog box.
Input a group name (example: A Corporation) to which the telephone numbers belong, and click
the [OK] button.
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-33
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
I-34
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
A
Setting Using FXGP/WIN
Common Items
6.2
6.2.1
N:N Network
This subsection explains how to register the AT command for initializing a modem connected to the personal
computer for remote access.
C
Parallel Link
D
Computer Link
E
Inverter
Communication
Proceed to step 4.
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
Proceed to step 3.
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-35
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
Modem model
name
AIWA
PV-AF288
ATE0S0=2Q0V1&M4\J0\Q0
AIWA
PV-AF3360
ATE0S0=2Q0V1S15=8&H0&R1
AIWA
PV-BF5606
ATE0S0=2&K
OMRON
ME3314B
ATE0S0=2Q0V1S15=8&H0&R1
OMRON
ME5614E
ATE0S0=2&K0W0
OMRON
ME5614D
ATE0S0=2&K0W0
NTT DoCoMo
96F1
ATQ0V1E1S0=0
NTT DoCoMo
96F2
ATQ0V1E1
2. AT command structure
For initializing a modem, use the AT command developed by Hayes.
The Hayes AT command is generally expressed in the following format:
A
Command + Parameter
......
For details on the AT command, refer to the manual of the modem to be used.
I-36
CR
LF
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
A
When the PLC power is turned ON, the PLC sends the AT command to the modem to initialize the modem.
For reference, the table below shows the set items and setting contents of the AT commands for modems
which are registered in advance in FXGP/WIN.
The set items and setting contents may vary depending on each modem. For actual setting contents, refer to
the manual of the modem to be used.
PV-AF288 (AIWA)
PV-AF3360 (AIWA)
ME3314B (OMRON)
E0 (not provided)
E0 (not provided)
E0 (not provided)
S0 = 2 (twice)
S0 = 2 (twice)
S0 = 2 (twice)
Q0 (provided)
Q0 (provided)
Q0 (provided)
V1 (character, word)
V1 (character, word)
V1 (character, word)
Communication mode
\J0 (fixed)
\J0 (fixed)
D
Computer Link
C
Parallel Link
B
N:N Network
Set item
Common Items
&F (FXGP/WIN sends "AT&F", and then sends the AT command above.)
E
Inverter
Communication
Verify that the desired modem is set, and click the [OK] button.
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-37
6 How to Setup Modems on the Personal Computer Side for Remote Access
FX Series PLC User's Manual - Data Communication Edition
Remote Maintenance
6.2.2
I-38
7 Connecting Line
Remote Maintenance
A
Common Items
7.
Connecting Line
This chapter explains the line connection procedure for remote maintenance.
N:N Network
7.1
Parallel Link
Computer Link
After inputting the AT command to the PLC, turn OFF the PLC power.
G
Non-Protocol
Communication
(FX2N-232IF)
Non-Protocol
Communication
(RS/RS2 Instruction)
Inverter
Communication
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-39
7 Connecting Line
Remote Maintenance
7.2
7.2.1
For GX Developer
This subsection explains the line connection procedure using GX Developer. Prepare for connection of the
PLC, connect a modem to the communication port in the personal computer, and start up GX Developer.
2. Outside line
Set this item if necessary for making phone calls to outside lines.
3. Port
Select the communication port number in the personal computer connected to the modem.
I-40
7 Connecting Line
7.2 Line Connection Procedure
A
Setting the connection destination
Set the telephone number of the counterpart (line number of the modem connected to the desired
PLC).
When a telephone number has been set in advance in the telephone directory, it can be set using
the [Browse] button.
D
Computer Link
Setting others
F
Non-Protocol
Communication
(RS/RS2 Instruction)
E
Inverter
Communication
When "User mode (8bits NP) (CH1)" or "User mode (8bits NP) (CH2)" is selected in "Init modem",
place a check mark ( ) next to "User mode (8bits NP)".
C
Parallel Link
B
N:N Network
Common Items
G
Non-Protocol
Communication
(FX2N-232IF)
When the line is connected, the connection status shown below is displayed on the line connection dialog
box.
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-41
7 Connecting Line
7.2 Line Connection Procedure
When connection is completed, the following dialog box appears to indicate the telephone number of the
connection destination and the communication speed.
Confirm the contents, and click the [OK] button to close the dialog box.
Click the [OK] button to display the option settings dialog box.
Change the waiting time and number of retries, and then click the [OK] button to close the dialog box.
Check the telephone number and AT command, and then execute connection again.
If line connection is disabled, refer to "Chapter 8. Troubleshooting".
I-42
7 Connecting Line
7.2 Line Connection Procedure
A
Common Items
B
N:N Network
C
Parallel Link
When line disconnection is finished, the following dialog box appears to indicate the connection
destination telephone number and line use time.
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-43
7.2.2
7 Connecting Line
7.2 Line Connection Procedure
For FXGP/WIN
This subsection explains the line connection procedure using FXGP/WIN. Prepare for connection of the PLC,
connect a modem to the communication port in the personal computer, and then start up FXGP/WIN.
I-44
7 Connecting Line
7.2 Line Connection Procedure
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
When the [OK] button is clicked, the following dialog box appears.
Inverter
Communication
Click the [Yes] button to display the message box "Executing!" and make a call from the modem
connected to the personal computer.
When connection is completed, the message box "Executing!" is closed, and the line connection time is
displayed on the title bar as shown below:
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
Proceed to step 6.
When the line cannot be connected, the message box "Executing!" is closed, and the following dialog box
appears.
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-45
7 Connecting Line
7.2 Line Connection Procedure
When the line is disconnected, the line connection time on the title bar disappears.
I-46
8 Troubleshooting
8.1 Checking FX PLC Applicability
A
Common Items
8.
Troubleshooting
N:N Network
8.1
Parallel Link
8.2
Operation status
TXD (SD)
Flashing
Flashing
Flashing
Off
Off
Flashing
Off
Off
8.4
Checking Installation
G
Non-Protocol
Communication
(FX2N-232IF)
When the power is turned ON, the FX PLC transfers the AT command to the connected modem. At this time,
the "RXD (RD)" and "TXD (SD)" indicator LEDs in the communication equipment light instantaneously.
If modem initialization is not set in parameters in the FX PLC, however, these LEDs do not light.
If the wiring and/or modem specifications are different, these LEDs flash several times, but the FX PLC does
not transfer the AT command.
Non-Protocol
Communication
(RS/RS2 Instruction)
RXD (RD)
Inverter
Communication
Check the status of the "RXD (RD)" and "TXD (SD)" indicator LEDs provided in the optional equipment
LED status
D
Computer Link
8.3
H
If the communication equipment is not securely connected to the PLC, communication is not possible.
For the mounting method, refer to the respective communication equipment manual.
Programming
Communication
1. Mounting status
I
Remote
Maintenance
Apx.
Discontinued
models
I-47
8.5
8 Troubleshooting
8.5 Checking Modem Specifications
Contents
Communication method
Baud rate
9600 bps
Start bit
1-bit
Data bit
7-bit
Parity bit
Even
Stop bit
1-bit
Control line
Not provided
8.6
Contents
Communication method
Baud rate
9600 bps
Start bit
1-bit
Data bit
8-bit
Parity bit
Not provided
Stop bit
1-bit
Control line
Not provided
8.6.1
I-48
8 Troubleshooting
8.6 Checking Setting in PLC
A
Checking AT command setting
The AT command is required when "user registration mode", "PP modem mode (ch 1)" or "PP modem mode
(ch 2)" is selected in the modem initialization setting. When such a mode is set, check the following contents.
FX Series
Device range
D1000 to D1059
D1000 to D1059
FX1N/FX1NC PLC
D1000 to D1059
FX1S PLC
D200 to D255
Use consecutive data registers from the head device number. If a numeric value is not set in a data register,
the data registers after it are not transferred.
PV-AF288 (AIWA)
ATE0S0 = 2Q1&D0&M5\Q0\J0&W
ME3314B (OMRON)
ATE0S0 = 2Q1&D0&H0&R1S15=8&W
E0 (not provided)
E0 (not provided)
S0 = 2 (twice)
S0 = 2 (twice)
Inverter
Communication
Command echo
Number of times of calling in
automatic receiving
Q1 (not provided)
Q1 (not provided)
DTR control
\J0 (fixed)
&W
&W
F
Non-Protocol
Communication
(RS/RS2 Instruction)
Computer Link
If the contents of the AT command are not correct, remote maintenance cannot be used.
Verify that the setting contents are correct.
As reference, the table below shows the set items and their contents of the AT commands already registered
in PLCs.
Set item
Parallel Link
FX3U/FX3UC PLC
FX2N/FX2NC PLC
B
N:N Network
The head device number and device range of data registers used for setting the AT command vary
depending on the FX Series.
Check the data register numbers in which the AT command is set.
Common Items
8.6.2
Make sure to input "CR (H0D)" and "LF (H0A)" at the end of the AT command. If they are not input, the AT
command cannot be transferred.
For the AT command setting for the PLC, refer to Chapter 5.
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-49
8.6.3
8 Troubleshooting
8.7 Checking Programming Tool Setting
2. Presence of VRRD and VRSC instructions (except FX3U and FX3UC PLCs)
Verify that the VRRD and VRSC instructions are not used in the program.
If these instructions are used, delete them, turn OFF the PLC power, and then turn it ON again.
6. Presence of IVCK, IVDR, IVRD, IVWR, and IVBWR instructions (in FX3U and FX3UC PLCs)
Verify that the IVCK, IVDR, IVRD, IVWR and IVBWR instructions are not being used for the same channel.
If these instructions are used for the same channel, revise them, turn OFF the PLC power, and then turn it ON
again.
8.7
I-50
8 Troubleshooting
Remote Maintenance
A
Checking Absence/Presence of Errors
Common Items
8.8
In FX3U and FX3UC Series, an error occurs when modem initialization is not possible.
Verify that an error has not occurred.
1. Checking M8063
2. Checking the error code
D8063 stores one of the following error codes:
Error code
Contents of error
6301
6302
6303
6304
6305
Defective command
Monitoring timeout
6307
6308
6312
6313
6314
6320
D
Computer Link
6306
C
Parallel Link
D8063
B
N:N Network
When a communication error occurs, M8063 turns ON and D8063 stores the corresponding error code.
E
Inverter
Communication
When modem initialization is disabled, D8063 stores the error code 6307.
If D8063 stores any error code shown above, check the following items:
Wiring
Modem specifications
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
I-51
9 Related Information
Remote Maintenance
9.
9.1
Related Information
ASCII Code Table
Hexadecimal
DLE
SP
SOH DC1
STX DC2
ETX DC3
EOT DC4
ENQ NAK
ACK SYN
&
BEL ETB
BS
CAN
HT
EM
LF
SUB
VT
ESC
*1
FF
FS
<
CR
GS
SO
RS
>
SI
US
DEL
*1.
#
&
=
ASCII
(hexadecimal)
23
26
3D
\*1
5C
Symbol
*1.
I-52
ASCII
(hexadecimal)
30
31
32
33
34
35
36
37
38
39
Alphabet
A
B
C
D
E
F
G
H
I
J
K
L
M
ASCII
ASCII
Alphabet
(hexadecimal)
(hexadecimal)
41
N
4E
42
O
4F
43
P
50
44
Q
51
45
R
52
46
S
53
47
T
54
48
U
55
49
V
56
4A
W
57
4B
K
58
4C
Y
59
4D
Z
5A
Code
STX
ETX
LF
CR
ASCII
(hexadecimal)
02
03
0A
0D
A
Common Items
Discontinued model
FX1
FX2(FX)
FX2C
FX0
FX0S
FX0N
FX-232ADP
FX-485ADP
FX2-40AW
FX2-40AP
FX0N-485ADP
FX0N-232ADP
FX-232AW
FX-232AWC
FX-232DOPA
FX-25DU
FX-30DU(-B)
FX-40DU(-B)
FX-40DU-TK(B)
FX-50DU-TK(S)
Non-Protocol
Communication
(RS/RS2 Instruction)
N:N Network
The table below shows discontinued models of MELSEC-F Series PLCs and programming tools described in
this manual.
C
Parallel Link
D
Computer Link
E
Inverter
Communication
G
Non-Protocol
Communication
(FX2N-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
Apx.-1
MEMO
Apx.-2
Warranty
Warranty
Please confirm the following product warranty details before using this product.
2)
2)
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local
overseas FA Center. Note that the repair conditions at
each FA Center may differ.
6. Product application
1)
2)
Revised History
Revised History
ii
Date
Revision
Discription
7/2005
First Edition
2/2006
The status of the DR (DSR) signal is made checkable when RS2 (serial data
transfer 2) is in operation.
Parameters in A700 Series are added.
Clerical error is modified
11/2007
MITSUBISHI ELECTRIC
HEADQUARTERS
EUROPEAN REPRESENTATIVES
EUROPEAN REPRESENTATIVES
EURASIAN REPRESENTATIVES
GEVA
AUSTRIA
Wiener Strae 89
AT-2500 Baden
Phone:+43 (0)2252 / 85 55 20
Fax:+43 (0)2252 / 488 60
TEHNIKON
BELARUS
Oktyabrskaya 16/5, Off.704
BY-220030 Minsk
Phone:+375 (0)17 / 210 46 26
Fax:+375 (0)17 / 210 46 26
KONING & HARTMAN B.V.
BELGIUM
Industrial Solutions
Woluwelaan 31
BE-1800 Vilvoorde
Phone:+32 (0)2 / 257 02 40
Fax:+32 (0)2 / 257 02 49
AKHNATON
BULGARIA
4 Andrej Ljapchev Blvd.Pb 21
BG-1756 Sofia
Phone:+359 (0)2 / 97 44 05 8
Fax:+359 (0)2 / 97 44 06 1
INEA CR D.O.O.
CROATIA
Losinjska 4 a
HR-10000 Zagreb
Phone:+385 (0)1 / 36 940 - 01/ -02/ -03
Fax:+385 (0)1 / 36 940 - 03
B:TECH A.S.
CZECH REPUBLIC
Na Ostrove 84
CZ - 58001 Havlickuv Brod
Phone:+420 (0)569 / 408 841
Fax:+420 (0)569 / 408 889
BEIJER ELECTRONICS A/S
DENMARK
LAUTRUPHOJ 1-3
DK-2750 Ballerup
Phone:+45 (0)70 / 26 46 46
Fax:+45 (0)70 / 26 48 48
BEIJER ELECTRONICS EESTI O
ESTONIA
Prnu mnt.160i
EE-11317 Tallinn
Phone:+372 (0)6 / 51 81 40
Fax:+372 (0)6 / 51 81 49
BEIJER ELECTRONICS OY
FINLAND
Jaakonkatu 2
FIN-01620 Vantaa
Phone:+358 (0)207 / 463 500
Fax:+358 (0)207 / 463 501
UTECO A.B.E.E.
GREECE
5,Mavrogenous Str.
GR-18542 Piraeus
Phone:+30 211 / 1206 900
Fax:+30 211 / 1206 999
MELTRADE LTD
HUNGARY
Fert utca 14.
HU-1107 Budapest
Phone:+36 (0)1 / 431-9726
Fax:+36 (0)1 / 431-9727
BEIJER ELECTRONICS SIA
LATVIA
Vestienas iela 2
LV-1035 Riga
Phone:+371 (0)784 / 2280
Fax:+371 (0)784 / 2281
BEIJER ELECTRONICS UAB
LITHUANIA
Savanoriu Pr.187
LT-02300 Vilnius
Phone:+370 (0)5 / 232 3101
Fax:+370 (0)5 / 232 2980
INTEHSIS SRL
MOLDOVA, REPUBLIC OF
bld.Traian 23/1
MD-2060 Kishinev
Phone:+373 (0)22 / 66 4242
Fax:+373 (0)22 / 66 4280
KAZPROMAUTOMATICS LTD.
KAZAKHSTAN
2,Scladskaya str.
KAZ-470046 Karaganda
Phone:+7 3212 / 50 11 50
Fax:+7 3212 / 50 11 50
ELEKTROSTILY
RUSSIA
Rubzowskaja nab.4-3,No.8
RU-105082 Moscow
Phone:+7 495 / 545 3419
Fax:+7 495 / 545 3419
ICOS
RUSSIA
Industrial Computer Systems ZAO
Ryazanskij Prospekt,8A,Office 100
RU-109428 Moscow
Phone:+7 495 / 232 0207
Fax:+7 495 / 232 0327
NPP URALELEKTRA
RUSSIA
Sverdlova 11A
RU-620027 Ekaterinburg
Phone:+7 343 / 353 2745
Fax:+7 343 / 353 2461
MITSUBISHI
ELECTRIC
FACTORY AUTOMATION
ISRAEL
ISRAEL
AFRICAN REPRESENTATIVE
CBI LTD.
Private Bag 2016
ZA-1600 Isando
Phone:+ 27 (0)11 / 928 2000
Fax:+ 27 (0)11 / 392 2354
SOUTH AFRICA
Mitsubishi Electric Europe B.V. /// FA - European Business Group /// Gothaer Strae 8 /// D-40880 Ratingen /// Germany
Tel.: +49(0)2102-4860 /// Fax: +49(0)2102-4861120 /// info@mitsubishi-automation.com /// www.mitsubishi-automation.com