- Manuals
- Brands
- Mitsubishi Electric
- CC Link
- FX2N 32CCL
- User's Manual
Mitsubishi Electric FX2N 32CCL User's Manual PDF
Summary of Content for Mitsubishi Electric FX2N 32CCL User's Manual PDF
USERS MANUAL CC-Link INTERFACE BLOCK FX2N-32CCL
FX2N-32CCL CC-Link Interface Block
F
xplanations which will guide the reader in the correct installation and Interface Block. It should be read and understood before attempting to
PROGRAMMING MANUAL(), FX0N/FX1N/FX2N/FX2NC/FX3U/FX3UC
f the FX2N-32CCL CC-Link Interface Block always consult a lified and trained to the local and national standards that applies to the
FX2N-32CCL CC-Link Interface Block please consult the nearest
otice.
oreword
This manual contains text, diagrams and e operation of the the FX2N-32CCL CC-Link install or use the unit. Further information can be found in the FX series hardware manuals. If in doubt at any stage of the installation o professional electrical engineer who is qua installation site. If in doubt about the operation or use of the Mitsubishi Electric distributor. This manual is subject to change without n
FX2N-32CCL CC-Link Interface Block
i
E BLOCK
other kind, nor does it confer any onsible for any problems involving tents noted in this manual.
r : JY992D71801 n : F
: April 2015
FX2N-32CCL CC-Link INTERFAC
This manual confers no industrial property rights or any rights of any patent licenses. Mitsubishi Electric Corporation cannot be held resp industrial property rights which may occur as a result of using the con
USERS MANUAL Manual numbe Manual revisio Date
FX2N-32CCL CC-Link Interface Block
ii
CL CC-Link Interface Block
-32CCL CC-Link Interface Block. The el. The definition of such a person or
construction of automatic equipment mpetent nature, trained and qualified se engineers should be fully aware of
t nature, trained and qualified to the gineers should also be trained in the s being completely familiar with all uld be carried out in accordance with
trained to use this product in a safe erators should also be familiar with e completed equipment.
ted device which contains or uses the
highlight points which are intended to ent. Whenever any of the following
stood. Each of the symbols used will
Guidelines for the safety of the user and protection of the FX2N-32C
This manual provides information for the installation and use of the FX2N
manual has been written to be used by trained and competent personn persons is as follows:
a) Any engineer who is responsible for the planning, design and using the product associated with this manual, should be of a co to the local and national standards required to fulfill that role. The all aspects of safety with regards to automated equipment.
b) Any commissioning or service engineer must be of a competen local and national standards required to fulfill that job. These en use and maintenance of the completed product. This include associated documentation for said product. All maintenance sho established safety practices.
c) All operators of the completed equipment (see Note) should be manner in compliance to established safety practices. The op documentation which is associated with the actual operation of th
Note : The term completed equipment refers to a third party construc product associated with this manual.
Notes on the Symbols Used in this Manual
At various times throughout this manual certain symbols will be used to ensure the users personal safety and protect the integrity of equipm symbols are encountered its associated note must be read and under now be listed with a brief description of its meaning.
FX2N-32CCL CC-Link Interface Block
iii
d property damage.
ical and property damage.
ent of software.
software element should be aware.
Hardware warnings
Software warnings
1 ) Indicates that the identified danger WILL cause physical an
2 ) Indicates that the identified danger POSSIBLY cause phys
3 ) Indicates a point of further interest or further explanation.
1 ) Indicates special care must be taken when using this elem
2 ) Indicates a special point of which the user of the associate
3 ) Indicates a point of interest or further explanation.
FX2N-32CCL CC-Link Interface Block
iv
ible for any consequential damage ent.
nly as an aid to understanding the responsibility for actual use of the
tion concerning applications in life
Under no circumstances will Mitsubishi Electric be liable respons that may arise as a result of the installation or use of this equipm
All examples and diagrams shown in this manual are intended o text, not to guarantee operation. Mitsubishi Electric will accept no product based on these illustrative examples.
Please contact a Mitsubishi Electric distributor for more informa critical situations or high reliability.
FX2N-32CCL CC-Link Interface Block Contents
v
................................1-1 ...................................... 1-1 ...................................... 1-3 ...................................... 1-4 ................................2-1 ...................................... 2-2 ...................................... 2-3 ................................3-1 ...................................... 3-1 ...................................... 3-2 ...................................... 3-4 ................................4-1 speed ......................... 4-1 ...................................... 4-3 ................................5-1 ...................................... 5-1 ...................................... 5-2 ...................................... 5-9 .................................... 5-13 .................................... 5-14
CONTENTS 1. Introduction ................................................................
1.1 Outline of product ................................................................ 1.2 Connection to CC-Link ........................................................ 1.3 System configuration of entire CC-Link ...............................
2. Product Specifications ............................................... 2.1 Outside dimensions and nomenclature ............................... 2.2 General specifications and performance specifications ......
3. Connection and Wiring .............................................. 3.1 Connection to PC ................................................................ 3.2 Wiring of power supply ........................................................ 3.3 Wiring of CC-Link ................................................................
4. Setting of Remote Device Stations ............................ 4.1 Setting of station Nos., number of stations and transmission 4.2 List of number of remote points and remote Nos. ...............
5. Assignment of Buffer Memory (BFM) ......................... 5.1 Outline of data communication ............................................ 5.2 BFM dedicated to read ........................................................ 5.3 BFM dedicated to write ........................................................ 5.4 System area of remote I/O .................................................. 5.5 Contents of errors ................................................................
FX2N-32CCL CC-Link Interface Block Contents
vi
................................6-1 ...................................... 6-1 ...................................... 6-3 ...................................... 6-5 .................................... 6-11
6. Programming Examples ............................................ 6.1 System configuration ........................................................... 6.2 Flow of communication data ................................................ 6.3 Program in master PC ......................................................... 6.4 Program in FX PC ...............................................................
FX2N-32CCL CC-Link Interface Block Introduction 1
1-1
onnects the FX0N/FX1N/FX2N/FX2NC/
FX0N/FX1N/FX2N/FX2NC/FX3U/FX3UC
instructions.
k system.
ed. e sure that the total current consump- a.
1. Introduction The CC-Link interface block FX2N-32CCL is an interface block which c FX3U/FX3UC PLC to the CC-Link.
1.1 Outline of product Applicable PC
The FX2N-32CCL can be connected as a special extension block of the Series PLC.
Control instruction
The buffer memory of the FX2N-32CCL is read and written by FROM/TO
Connection to CC-Link
The FX2N-32CCL is connected as a remote device station to the CC-Lin Shielded twisted pair cables are used for wiring.
Number of I/O points
Eight I/O points (including input and output) are occupied in the FX PC. However, the capacity of the 5 V DC power supplied from the PC is limit The current consumption of 5 V DC in the FX2N-32CCL is 130 mA. Mak tion of 5 V DC including other special blocks does not exceed the criteri
Station No. and number of stations
Station No. : 1 to 64 (rotary switch) Number of stations: 1 to 4 (rotary switch)
FX2N-32CCL CC-Link Interface Block Introduction 1
1-2
ations.
output points. However, the upper 16 tem area.
ea and 4 points of RW read area.
4, the system can be constructed in
Transmission speed Transmission distance
10 Mbps : 100 m 5 Mbps : 150 m 2.5 Mbps : 200 m 625 kbps : 600 m 156 kbps : 1,200 m Detailed specifications conform to the CC-Link system common specific
Number of remote points
The number of remote I/O points in one station is 32 input points and 32 points of the final station are occupied by the CC-Link system as the sys The number of remote registers in one station is 4 points of RW write ar
Because the number of stations can be selected within the range of 1 to accordance with the control size.
FX2N-32CCL CC-Link Interface Block Introduction 1
1-3
s a remote device station in the CC-
. not assigned to these FX2N-32CCL tions and local stations. ion distance, etc. conform to the CC-
te I/O station Remote device station
1.2 Connection to CC-Link The FX PC connected with the interface block FX2N-32CCL functions a Link system. One to four FX2N-32CCL units can be used at a time, and station Nos units should be assigned to other remote device stations, remote I/O sta The number of connectable units, the transmission speed, the transmiss Link system common specifications.
Terminal resistor
Terminal resistor
Shielded twisted pair cable
Remote device station FX0N/FX1N/FX2N/FX2NC
PLC + FX2N-32CCL
Remote device station
PLC + FX2N-32CCL
Remo
CC-Link master station Local station
/FX3U/FX3UC Series FX0N/FX1N/FX2N/FX2NC
/FX3U/FX3UC Series
FX2N-32CCL CC-Link Interface Block Introduction 1
1-4
k system.
"#
()
#
#
#
$$-$$ $-$$
1.3 System configuration of entire CC-Link The figure below shows the system configuration of the entire CC-Link. For the details, refer to the user manual of the master unit in the CC-Lin
!
"#
$$$$ $$$
$$$$ $$$
%##
&'# ##*##+
##*##+ &'#()
#
#
,(
,(
,(# ,( #
#
./0
./12./2./2# 3./2"
FX2N-32CCL CC-Link Interface Block Specifications 2
2-1
stops its operation or communica- ntents of "5. unit. m can operate conservatively using
t or malfunction may occur, and an
hich a data link error has occurred
switch on the unit and setting of the s occurred.OFF: Data is cleared (All
ard to setting of the SW4.
rcuit, the power cable, etc. Never er cable, etc. ain circuit, the power cable, etc. If
2. Product Specifications
Cautions on design For the status of each station in the case in which the PC CPU
tion error has occurred in the data link, read thoroughly the co Data Link Processing Time" of the user manual of the master Construct an interlock circuit in a PC program so that the syste the communication status information (SB, SW). If the interlock circuit is not correctly constructed, wrong outpu accident may occur at the end. - Receive data from the master station or a local station in w 1 ) Remote input (RX), remote output (RY)
The data varies depending on setting of the condition set input data (SW4) in a station in which a data link error ha OFF). ON: The data just before an error occurred is held.
2 ) Remote register (RWw, RWr) The data just before an error occurred is held without reg
Never bind the communication cable together with the main ci locate the communication cable near the main circuit, the pow Keep the communication cable by 100 mm or more from the m this distance is not kept, malfunction may occur due to noise.
FX2N-32CCL CC-Link Interface Block Specifications 2
2-2
it.
setting of a rotary switch is changed
$67+
*16$+ #'
45 9
26 ##'&
2 ## ##'&
25# 5#
##'&
*&#+
[Inside of top cover]
2.1 Outside dimensions and nomenclature Outer paint color: Munsell 0.08GY/7.64/0.81 Weight: Approx.200 g Accessories: Special block No. label.
POWER LED : Lit when 5 VDC power is supplied from the PC main un
L RUN LED : Lit while communication is performed correctly.
L ERR LED : Lit when a communication error has occurred. Lit when a rotary switch is incorrectly set. Flickers when while the power is turned on.
RD LED : Lit while data is received.
SD LED : Lit while data is sent.
45#
6*16$7+ % &
2 * 8
%
*16$+
*$6:+
: 1 * 6 +
7;*6 +
7 1 * 6$ +
0<4
./2"
",2"4
[Front face of top cover] [Side]
FX2N-32CCL CC-Link Interface Block Specifications 2
2-3
a whole and ground terminal) Other unit.
-32CCL
inal)
le)
each other by photocoupler.
2 input points and 32 output points. C-Link system as the system area. is 4 points of RW write area and 4
the remote Nos. in accordance with t of number of remote points and
9: Setting error
on 1: 2 stations ons 3: 4 stations ot available
2.2 General specifications and performance specifications General specifications
Dielectric strength:500 VAC for 1 min (between external terminals as specifications are equivalent to those of the PC basic
Performance specifications
Item Specifications of FX2N
Drive power supply 24 VDC+/-10%, 50 mA (supplied from external term
Control power supply 5 VDC, 130 mA (supplied from PC via extension cab
Insulation method Network bus and internal power supply are insulated
Station type Remote device station
Station No. Number of stations
Station No.: 1 to 64 (set by rotary switch)
Number of remote device points
Number of remote register points
The number of remote I/O points in one station is 3 However, the upper 16 points are occupied by the C The number of remote register points in one station points of RW read area. For the details of the number of remote points and setting of the number of stations, refer to "4.2 Lis remote Nos."
1
$
:
7 ;
2 26
$1 $
$1=#
1
$
: 7
;
$=#
,0> 2 1
$
:
7 ;
0, 65 to 9
0: 1 stati 2: 3 stati 4 to 9: N
Number of stations: 1 to 4 (set by rotary switch)
FX2N-32CCL CC-Link Interface Block Specifications 2
2-4
t by rotary switch)
and an adjacent station should be ission speed.
ps, the maximum transmission dis- een remote I/O stations and remote
-32CCL
ps 2: 2.5 Mbps ps 5 to 9: Setting error
sta tio n
R em o te I/O sta tion R em o te de vice s ta tion
R em o te I/O sta tion R em o te de vice s ta tion
e
as a remote device station.
imum transmission distance 1200 m 600 m 200 m 150 m 110 m 100 m 80 m 50 m
Transmission speed
156 kbps, 625 kbps, 2.5 Mbps, 5 Mbps, 10 Mbps (se
Maximum transmission distance
It varies depending on the transmission speed. 1 )The cable length between the master/local statio
2 m or more without regard to setting of the trans 2 )When the transmission speed is 5 Mbps or 10 M
tance varies depending on the cable length betw device stations.
Item Specifications of FX2N
4 1
$
:
7 ;
0: 156 kbps 1: 625 kb 3: 5 Mbps 4: 10 Mb
M aste r s ta tion
R em o te I/O sta tion R em o te de vice s ta tion
Lo ca l s ta tio n Lo ca l
M axim um transm iss ion d is tanc
R em o te I/O sta tion R em o te de vice s ta tion
FX PC functions
Transmission speed
Max
156kbps
2 m or more
30 cm or more 625kbps 30 cm or more 2.5Mbps 30 cm or more
5Mbps 60 cm or more
30 to 59 cm
10Mbps 1 m or more 60 to 99 cm 30 to 59 cm
n m b
FX2N-32CCL CC-Link Interface Block Specifications 2
2-5
LC
the buffer memory using FROM/TO
-32CCL
Operation indication LEDs (POWER, L RUN, L ERR, RD, SD)
Number of occupied I/O points
Eight I/O points (including input and output) of FX P
Applicable PC FX0N/FX1N/FX2N/FX2NC/FX3U/FX3UC Series PLC
Communication with PC
Communication is performed from the FX PLC via instructions.
Item Specifications of FX2N
FX2N-32CCL CC-Link Interface Block Specifications 2
2-6
Memo
FX2N-32CCL CC-Link Interface Block Connection and Wiring 3
3-1
3U Series main unit or connected on
s PLC, use an FX2NC-CNV-IF. Series PLC, use an FX2NC-CNV-IF or
or block connected to the PLC main
limited. The FX2N-32CCL consumes current consumption from the 5V DC e capacity.
ster in the FX3UC-32MT-LT, the unit
3. Connection and Wiring 3.1 Connection to PC
Connection of extension cable
The FX2N-32CCL can be connected directly to the FX0N/FX1N/FX2N/FX the right side of an other extension block or extension unit. For connection to the main unit or an extension block of the FX2NC Serie For connection to the main unit or a special function block of the FX3UC FX3UC-1PS-5V. A unit No. 0 to 7 is automatically assigned to each special function unit unit starting from the one nearest the main unit.*1 For the FX3UC-32MT-LT PLC main unit, the unit numbers start at No.1. However, the capacity of the 5V DC power supplied from the PLC is 130mA of current from the 5V DC power supply. Make sure that the total power supply including other special function blocks does not exceed th
*1 Because the unit No.0 is assigned to the built-in CC-Link/LT ma numbers assigned to special function units/blocks start at No.1.
FX2N-32CCL CC-Link Interface Block Connection and Wiring 3
3-2
er terminal.
+
- 24 VDC service power supply for PLC can be used instead.
24 VDC+/-10%, 50 mA
al
3.2 Wiring of power supply Wiring
Handling of crimp-style terminal
Use crimp-style terminals of the dimensions shown as follows. The terminal tightening torque should be 0.5 to 0.8 N m.
Tighten terminals securely so that malfunction will not occur. Handle the crimp terminal of the following size when 1 wire is used p
COM 24+
PC main unit
Extension cable
FX2N-32CCL
24
24
Service power supply for sensor
Grounding resistor 100 or less (class D)
6.2 mm (0.24" ) or less
3.2 (0.13")
6.2 mm (0.24") or less
3.2 (0.13")
Terminal
Terminal screw
Crimp termin
FX2N-32CCL CC-Link Interface Block Connection and Wiring 3
3-3
d per terminal.
al
Handle the crimp terminal of the following size when 2 wires are use
6.2 mm (0.24" ) or less
3.2 (0.13")
6.3 mm or more
6.2 mm (0.24") or less
3.2 (0.13")
6.3 mm or more
Terminal
Terminal screw
Crimp termin
FX2N-32CCL CC-Link Interface Block Connection and Wiring 3
3-4
C-Link. is used, the performance of the CC-
ommended cable.
I ELECTRIC CORPORATION service
ions mm23 pair cable 2
r less or more min
r less
Aluminum tape
DG
Shield heath
round cable
3.3 Wiring of CC-Link Specifications of twisted pair cable
This paragraph describes a recommended twisted cable usable in the C If any cable other than the recommended one shown in the table below Link is not assured. The table below shows the model name and the specifications of the rec
About the shielded twisted pair cables, consult the nearest MITSUBISH center.
Item Specificat Model name Cable type Conductor cross sectional area
Withstand voltage Electrostatic capacity (kHz) Characteristic impedance (1 MHz)
Cross section
Outside dimensions Approximate weight
FANC-SB 0.5 Shielded twisted
0.5mm 37.8 /km o
10,000 M-km 500 VDC, 1
10015
7mm 65kg/km
Conductor resistance (20C) Insulation resistance
60 nF/km o
DA
DB
S
G
Blue
White
Yellow
FX2N-32CCL CC-Link Interface Block Connection and Wiring 3
3-5
s as shown in the figure below.
G of each station with shielded als are provided in the FX2N-32CCL,
wisted pair cable.
ard to the station No. rminal resistor between the terminals ether with the Master unit. tions in the CC-Link system vary r to the maximum transmission dis-
ecifications" or the specifications
DA
DB
DG
SLD
FG
s D ding
Terminal resistor
emote I/O unit
Wiring of twisted pair cable
Wire the FX2N-32CCL and the CC-Link using shielded twisted pair cable
Connect the terminals DA and DA, DB and DB as well as DG and D twisted pair cables. Because two DA terminals and two DB termin a next station can be easily connected.
Connect the SLD terminal of each station to a shield of a shielded t Perform Class D grounding to the FG terminal of each station. Wiring of each station can be performed from any point without reg When the FX2N-32CCL is used as the terminal station, connect a te
DA and DB of the FX2N-32CCL. The terminal resistor is packed tog The maximum transmission distance and the distance between sta
depending on the selected transmission speed. For the details, refe tance described in "2.2 General specifications and performance sp described in the manual of the CC-Link master unit.
DA
DB
DG
SLD
FG
DA DA
DB DB
DG
SLD
FG
Class D grounding
Clas groun
Terminal resistor
Master unit FX2N-32CCL R
Shielded twisted pair cable
Class D grounding
FX2N-32CCL CC-Link Interface Block Setting of Remote Device Stations 4
4-1
ion speed
be set using rotary switches provided
C is turned on. of a rotary switch (except the rotary is turned on, the L ERR LED is lit.
n No. within the range of 1 to 64. FX2N-32CCL units can be used at a ention so that the station is not assigned to an other unit. to 99: Setting error
to 3 correspond to 1 to 4 stations
ation 3: 4 stations ations 4 to 9: Not available ations of remote device points is deter- number of stations set here.
4. Setting of Remote Device Stations 4.1 Setting of station Nos., number of stations and transmiss
Setting the rotary switch
The station No., the number of stations and the transmission speed can inside the panel cover of the FX2N-32CCL. Setting of each rotary switch becomes valid when the power of the FX P Set each rotary switch while the power of the PC is turned off. If setting switch for the number of stations) is changed while the power of the PC
1
$
:
7 ;
2 26
$1 $
$1=#
1
$
:
7 ;
$=#
$+26 ##'&
+2 ## ##'&
+ ##'&
1
$
:
7 ;
1
$
:
7 ;
1
$
:
7 ;
1
$
:
7 ;
2
26
<4
4
1$#6
$#6
#6 #6
1$?
$?
6% % $1%
,>
2
"
5$1 5$
,> 2 1
$
:
7 ;
Set the statio One to four time. Pay att No. set here
0, 65
1 ) Station No.: 1 to 64
Numerics 1 respectively.
0: 1 st 1: 2 st 2: 3 st
The number mined by the ( 4.2)
2 ) Number of stations: 1 to 4
FX2N-32CCL CC-Link Interface Block Setting of Remote Device Stations 4
4-2
to 4 correspond to 156 kbps to10 tively. kbps 3: 5 Mbps kbps 4: 10 Mbps
Mbps 5 to 9: Setting error smission speed in accordance with tions of the maximum
n distance and the transmission 2)
s, 625 kbps, 2.5 Mbps, 5 Mbps, 10
4 1
$
:
7 ;
Numerics 0 Mbps respec
0: 156 1: 625 2: 2.5
Set the tran the specifica
transmissio speed. ( 2.
3 ) Baud rate (transmission speed): 156 kbp Mbps
FX2N-32CCL CC-Link Interface Block Setting of Remote Device Stations 4
4-3
selected number of stations (1 to 4).
ilable in one station. However, the the system area. ters in one station.
elected number of stations
register for rite
Remote register for read
to RWr3 oints)
RWw0 to RWw3 (4 points)
to RWr7 oints)
RWw0 to RWw7 (8 points)
to RWrB points)
RWw0 to RWwB (12 points)
to RWrF points)
RWw0 to RWwF (16 points)
4.2 List of number of remote points and remote Nos. In the FX2N-32CCL, the number of remote points vary depending on the
Thirty-two remote input points and 32 remote output points are ava upper 16 points of the final station are occupied by the CC-Link as
Four read points and four write points are available as remote regis
Table of number of remote points and remote Nos. in accordance with s
Number of
stations Type Remote input Remote output Remote
w
1 User area RX00 to RX0F
(16 points) RY00 to RY0F
(16 points) RWr0
(4 p
System area RX10 to RX1F (16 points)
RY10 to RY1F (16 points)
2 User area RX00 to RX2F
(48 points) RY00 to RY2F
(48 points) RWr0
(8 p
System area RX30 to RX3F (16 points)
RY30 to RY3F (16 points)
3 User area RX00 to RX4F
(80 points) RY00 to RY4F
(80 points) RWr0
(12
System area RX50 to RX5F (16 points)
RY50 to RY5F (16 points)
4 User area RX00 to RX6F
(112 points) RY00 to RY6F (112 points)
RWr0 (16
System area RX70 to RX7F (16 points)
RY70 to RY7F (16 points)
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-1
tation in the CC-Link via the built-in er memory consists of memory dedi- assigned respectively to each type of
a TO instruction, the data can be sent the memory dedicated to read to the
Master unit
Remote input (RX)
Remote register (RWr)
k scan
k scan
k scan
k scan
Remote output (RY)
Remote register (RWw)
Master station
5. Assignment of Buffer Memory (BFM) 5.1 Outline of data communication
The interface block FX2N-32CCL transfers data between the master s buffer memory (BFM) backed up by the 16-bit RAM memory. This buff cated to write and memory dedicated to read. Numbers of #0 to #31 are buffer memory. By writing data from the FX PC to the memory dedicated to write using to the master station. The data sent from the master station is read from FX PC using a FROM instruction.
Flow of data
FX0N, FX2N, FX2NC PC
Internal relay, I/O relay, etc.
TO instruction
FROM instruction
Buffer memory for I/O
Dedicated to write BFM #0 to BFM #7 (RX00 to RX7F) Dedicated to read BFM #0 to BFM #7 (RY00 to RY7F)
Data (word) device, etc.
Buffer memory for data
FX2N-32CCL
TO instruction
FROM instruction
Lin
Lin
Lin
Lin
Dedicated to write BFM #8 to BFM #23 (RWr0 to F) Dedicated to read BFM #8 to BFM #23 (RWw0 to F)
Remote device station
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-2
tem information on the FX2N-32CCL
ROM instructions.
Description
te register RWw 8 (set station+ 2) te register RWw 9 (set station+ 2) te register RWw A (set station+ 2) te register RWw B (set station+ 2) te register RWw C (set station+ 3) te register RWw D (set station+ 3) te register RWw E (set station+ 3) te register RWw F (set station+ 3) lue of baud rate unication status
nk model code lue of its own station No. lue of number of occupied stations
code ries model code (K7040) ailable
5.2 BFM dedicated to read Master station FX Buffer memory dedicated to read
In this buffer memory, data written from the master station and the sys are saved. The contents of the buffer memory can be read from the FX PC using F
BFM No. Description
#0 Remote output RY00 to RY0F (set station) #1 Remote output RY10 to RY1F (set station) #2 Remote output RY20 to RY2F (set station + 1) #3 Remote output RY30 to RY3F (set station + 1) #4 Remote output RY40 to RY4F (set station + 2) #5 Remote output RY50 to RY5F (set station + 2) #6 Remote output RY60 to RY6F (set station + 3) #7 Remote output RY70 to RY7F (set station + 3) #8 Remote register RWw 0 (set station) #9 Remote register RWw 1 (set station)
#10 Remote register RWw 2 (set station) #11 Remote register RWw 3 (set station) #12 Remote register RWw 4 (set station+ 1) #13 Remote register RWw 5 (set station+ 1) #14 Remote register RWw 6 (set station+ 1) #15 Remote register RWw 7 (set station+ 1)
BFM No. #16 Remo #17 Remo #18 Remo #19 Remo #20 Remo #21 Remo #22 Remo #23 Remo #24 Set va #25 Comm #26 CC-Li #27 Set va #28 Set va #29 Error #30 FX Se #31 Not av
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-3
to b0 of each buffer memory consist-
ntents of the remote output written
f the PC using FROM instructions. varies depending on the selected
system as the system area, so can-
auxiliary relay in the FX PC
R Y 08
M 8
M 7
M 6
M 5
M 4
M 3
M 2
M 1
M 0
PC auxiliary relay
FR O M instruc tion
BFM #0R Y 07
R Y 06
R Y 05
R Y 04
R Y 03
R Y 02
R Y 01
R Y 00
b0
Details of buffer memory
[BFM #0 to #7 (remote output RY00 to RY7F)]
Sixteen remote output points RY F to RY 0 are assigned for b15 ing of 16 bits. The ON/OFF status information shown by each bit indicates the co from the master unit to the FX2N-32CCL. The FX PC reads this information to bit devices and word devices o
In the FX2N-32CCL, the remote output point range (RY00 to RY7F) number of stations (1 to 4). The upper 16 points in the final station are occupied by the CC-Link not be used as the user area. ( 4.2)
Example in which the ON/OFF status of BFM #0 b0 to b15 is read to the
FNC78 FROM K0 K0 K4M0 K1
Use example
Drive circuit
Block No. Transfer source
(BFM #0)
Transfer destina- tion (M15 to M0)
Number of transfer points (BFM #0, 1 point)
M0(RY00)
M1(RY01)
M15(RY0F)
Read by FROM instruction (BFM #0 M15 to M0)
~
R Y 0F
R Y 0E
R Y 0D
R Y 0C
R Y 0B
R Y 0A
R Y 09
b15
M 15
M 14
M 13
M 12
M 11
M 10
M 9
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-4
the FX PC
R Y 1F
R Y 1E
R Y 11
R Y 10
R Y 0F
R Y 0E
R Y 01
R Y 00
K1K2
b15 b0 BFM #1
b15 b0 BFM #0
M 31
M 17
M 16
M 30
M 15
M 1
M 0
M 14
N um ber of transfer points
BFM .No.
FX PC auxiliary relay
g the number of transfer points of ruction within the range of K1 to K8, BFM #7 can be read at a time to the lay in the FX PC. utput relays (Y) are specified as the
stination, they are processed by to Y 0) at a time.
Example in which the ON/OFF status of multiple BFM points are read to
Transfer destinat- ion (M*** to M0)
M (RY )
Number of transfer points (1 to 8) is specified.
FNC78 FROM K0 K0 K4M0 K
Drive circuit
Block No. Transfer source
(BFM #0)
Number of transfer points
M0(RY00)
M1(RY01)
~
Use example
R Y 7F
R Y 7E
R Y 71
R Y 70
R Y 6F
R Y 6E
R Y 61
R Y 60
R Y 5F
R Y 5E
R Y 51
R Y 50
R Y 4F
R Y 4E
R Y 41
R Y 40
b15 R Y 3F
R Y 3E
R Y 31
R Y 30
R Y 2F
R Y 2E
R Y 21
R Y 20
FR O M instruction
K8 K7 K6 K5 K4 K3
b0 b15 b0 BFM #6
b15 b0 BFM #5
b15 b0 BFM #4
b15 b0 BFM #3
b15 b0 BFM #2
M 127
M 113
M 112
M 126
BFM #7
M 111
M 97
M 96
M 110
M 95
M 81
M 80
M 94
M 79
M 65
M 64
M 78
M 63
M 49
M 48
M 62
M 47
M 33
M 32
M 46
By changin FROM inst BFM #0 to auxiliary re
When the o transfer de octal (Y 7
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-5
is assigned. f the remote register written from the
device in the PC using FROM instruc-
ries depending on the selected num-
PC
K8 D0 K16
Transfer source
(BFM #8)
Transfer destinat- ion
Number of transfer points (BFM #8 to #23, 16 points)
By changing the number of transfer points within the range of K1 to K16, the number of BFM points to be read can be changed.
D50
truction (BFM #8 to #23D0 to D15)
[BFM #8 to #23 (remote register RWw0 to RWwF)]
To each buffer memory No., a remote register No. RWw0 to RWwF The information saved in the buffer memory indicates the contents o master unit to the FX2N-32CCL. The FX PC can read this information to the word device and the bit tions.
In the FX2N-32CCL, the remote register range (RWw0 to RWwF) va ber of stations (1 to 4). ( 4.2)
Example in which BFM #8 to BFM #23 are read to D0 to D15 in the FX
FNC78 FROM K0
Use example
Block No.
FNC12 MOV D0
(RWw0)
Read by FROM ins
BFM No.
RWw No.
#8 0 #9 1
#10 2 #11 3 #12 4 #13 5 #14 6 #15 7 #16 8 #17 9 #18 A #19 B #20 C #21 D #22 E #23 F
FROM instruction
PC data register
D0 D1 D2 D3 D4 D5 D6 D7 D8 D9
D10 D11 D12 D13 D14 D15
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-6
d in the FX2N-32CCL is saved as a
on. If the setting is changed while the is turned on at the next time.
the master PC are saved as the ON/
ication is performed.
y with the CRC value due to unwanted ission path.
given during the execution of a current
a send time exceeds the fixed time for
go down, or the power may be turned
r station.
master station is in RUN mode. operation.
the master station has an error. tion CPU's operation specification for during normal data link operation.
[BFM #24 (set value of baud rate)]
The setting of the baud rate (transmission speed) set switch provide numeric of 0 to 4. The saved value is determined when the power of the FX PC is turned power is turned on, the changed setting becomes valid when the power
0: 156 kbps 1: 625 kbps 2: 2.5 Mbps 3: 5 Mbps 4: 10 Mbps
[BFM #25 (communication status)]
The communication status between the CC-Link and the information on OFF information to b15 to b0. The information on the master PC is valid exclusively while link commun
b0 CRC error This bit turns ON when there is a discrepanc noise or other disruptions affecting the transm
b1 Timeout error
This error occurs when the next refresh is not refresh. This bit turns ON when the transmission dat normal reception completion. The line may be shut down, the system may OFF.
b2 ~ 6 Not available -
b7 Link execution This bit is ON during data link with the maste
b8 Master PLC RUN status
This bit is ON when the PLC connected to the This bit operates only during normal data link
b9 Master PLC error status
This bit turns ON when the PLC connected to The status is only valid when the master sta CPU shut down setting is "CONTINUE", and For details, refer to the master unit manual.
b10 ~ 15 Not available -
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-7
saved as a numeric of 1 to 64. on. If the setting is changed while the is turned on at the next time.
e FX2N-32CCL is saved as a numeric
f system software in the
[BFM #26 (CC-Link model code)]
The model code is saved in the following format.
[Set value of BFM #27 (its own station No.)]
The setting of the station No. set switch provided in the FX2N-32CCL is The saved value is determined when the power of the FX PC is turned power is turned on, the changed setting becomes valid when the power
[BFM #28 (set value of number of occupied stations)]
The setting of the number of occupied stations set switch provided in th of 0 to 3. 0: 1 station 1: 2 stations 2: 3 stations 3: 4 stations
01 01 H
Version No. o FX2N-32CCL
Recognition code in CC-Link system
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-8
b0.
ries is saved here.
tary switch is set outside the allowable
tary switch is set outside the allowable
-
tary switch setting is changed after the
witch is returned to its previous setting.
tary switch setting is changed after the
witch is returned to its previous setting.
-
external power supply 24V DC is not
-
[BFM #29 (error code)]
The contents of an error are saved as the ON/OFF information to b15 to
[BFM #30 (FX Series model code)]
The model code assigned to each special extension device in the FX Se The model code of the FX2N-32CCL is K7040.
b0 Station number setting error This bit turns ON when the ro setting range.
b1 Transmission rate setting error (Band rate setting error)
This bit turns ON when the ro setting range.
b2 ~ 3 Not available
b4 Station number change error This bit turns ON when the ro FX2N-32CCL is started. It turns OFF when the rotary s
b5 Transmission rate change error (Band rate change error)
This bit turns ON when the ro FX2N-32CCL is started. It turns OFF when the rotary s
b6 ~ 7 Not available
b8 External 24 V power failure. This bit turns ON when the supplied.
b9 ~ 15 Not available
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-9
r station are saved. the PC using TO instructions.
Description
te register RWr 8 (set station + 2) te register RWr 9 (set station + 2) te register RWr A (set station + 2) te register RWr B (set station + 2) te register RWr C (set station + 3) te register RWr D (set station + 3) te register RWr E (set station + 3) te register RWr F (set station + 3) ined (Write is disabled.) ined (Write is disabled.) ined (Write is disabled.) ined (Write is disabled.) ined (Write is disabled.) ined (Write is disabled.) ined (Write is disabled.) ailable
5.3 BFM dedicated to write FX master station Buffer memory dedicated to write
In this buffer memory, the contents written from the FX PC to the maste The FX PC writes the contents of bit devices and data (word) devices of
BFM No. Description
#0 Remote input RX00 to RX0F (set station) #1 Remote input RX10 to RX1F (set station) #2 Remote input RX20 to RX2F (set station + 1) #3 Remote input RX30 to RX3F (set station + 1) #4 Remote input RX40 to RX4F (set station + 2) #5 Remote input RX50 to RX5F (set station + 2) #6 Remote input RX60 to RX6F (set station + 3) #7 Remote input RX70 to RX7F (set station + 3) #8 Remote register RWr 0 (set station) #9 Remote register RWr 1 (set station)
#10 Remote register RWr 2 (set station) #11 Remote register RWr 3 (set station) #12 Remote register RWr 4 (set station + 1) #13 Remote register RWr 5 (set station + 1) #14 Remote register RWr 6 (set station + 1) #15 Remote register RWr 7 (set station + 1)
BFM No. #16 Remo #17 Remo #18 Remo #19 Remo #20 Remo #21 Remo #22 Remo #23 Remo #24 Undef #25 Undef #26 Undef #27 Undef #28 Undef #29 Undef #30 Undef #31 Not av
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-10
b0 of each buffer memory consisting
rily transferred from the FX PC to
f the FX PC using TO instructions. aries depending on the selected
k system as the system area, so can-
b15 to b0
R X 08
R X 07
R X 06
R X 05
R X 04
R X 03
R X 02
R X 01
R X 00
b0
BFM #0
M 108
M 107
M 106
M 105
M 104
M 103
M 102
M 101
M 100
PC auxiliary relay
T O instruction
Details of buffer memory
[BFM #0 to #7 (remote input RX00 to RX7F)]
Sixteen remote input points RX F to RX 0 are assigned for b15 to of 16 bits. The information to be written to the master unit should be prelimina these buffer memories. The FX PC can write the contents of bit devices and word devices o
In the FX2N-32CCL, the remote input point range (RX00 to RX7F) v number of stations (1 to 4). The upper 16 points of the final station are occupied by the CC-Lin not be used as the user area. ( 4.2)
Example in which the ON/OFF status of the FX PC is written to BFM #0
FN C79 T O K0 K0 K4M 100 K1
B lo ck N o . T rans fe r de stina t- ion (B FM #0 )
Trans fe r source (M 115 to M 100)
N um ber o f trans fe r po in ts (B F M #0 , 1 po in t)
W rite by T O instruction (M 115 to M 100 BFM #0)
M 115
M 101
M 100
~
(RX 00)
(RX 01)
(RX 0F)
Program determ ining the O N /O FF status
R X 0F
R X 0E
R X 0D
R X 0C
R X 0B
R X 0A
R X 09
b15
M 115
M 114
M 113
M 112
M 111
M 110
M 109
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-11
BFM points
R X 20
R X 1F
R X 1E
R X 11
R X 10
R X 0F
R X 0E
R X 01
R X 00
K1K2 b15 b0
BFM #1
0 b15 b0
BFM #0
M 132
M 131
M 117
M 116
M 130
M 115
M 101
M 100
M 114
N um ber of transfer points
BFM .No .
FX PC auxiliary relay
y changing the number of transfer oints of TO instruction within the ange of K1 to K8, the contents of uxiliary relays in the FX PC can be ritten to two or more BFM points.
Example in which the ON/OFF status of the FX PC is written to multiple
R X 7F
R X 7E
R X 71
R X 70
R X 6F
R X 6E
R X 61
R X 60
R X 5F
R X 5E
R X 51
R X 50
R X 4F
R X 4E
R X 41
R X 40
b15 R X 3F
R X 3E
R X 31
R X 30
R X 2F
R X 2E
R X 21
T O instruc tion
K8 K7 K6 K5 K4 K3 b0 b15 b0
BFM #6
b15 b0
BFM #5
b15 b0
BFM #4
b15 b0
BFM #3
b15 b
BFM #2
M 227
M 213
M 212
M 226
BFM #7
M 211
M 197
M 196
M 210
M 195
M 181
M 180
M 194
M 179
M 165
M 164
M 178
M 163
M 149
M 148
M 162
M 147
M 133
M 146
FNC79 TO K0 K0 K4M100 K
Block No. Transfer destinat- ion (BFM #0)
Transfer source (M*** to M100)
Number of transfer points
Write by TO instruction (M*** to M100 BFM #0)
M
~
(RX00)
(RX01)
(RX F)
Program determining the ON/OFF status
M101
M100
The number of transfer points (1 to 8) is specified.
B p r a w
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-12
assigned. rily transferred from the FX PC to this
f the FX PC using TO instructions. ) varies depending on the selected
FM #23
K8 D100 K16
Transfer destinat- ion (BFM #8)
Transfer source
Number of transfer points (BFM #8 to BFM #23, 16 points)
tion (D115 to D100 BFM #8)
Program determining the ON/OFF status
D100
D101
D115
By changing the number of transfer points within the range of K1 to K16, the number of BFM points to be written can be changed.
(RWr0)
(RWr1)
(RWrF)
[BFM #8 to #23 (remote register RWr0 to RWrF)]
To each buffer memory No., a remote register No. RWr0 to RWrF is The information to be written to the master unit should be prelimina buffer memory. The FX PC can write the contents of word devices and bit devices o
In the FX2N-32CCL, the remote register point range (RWr0 to RWrF number of stations (1 to 4). ( 4.2)
Example in which D100 to D115 in the FX PC are written to BFM #8 to B
FNC79 TO K0
Block No.
Write by TO instruc
~
FNC12 MOV K20
FNC12 MOV K35
FNC12 MOV K55
BFM No.
RWw No.
#8 0 #9 1
#10 2 #11 3 #12 4 #13 5 #14 6 #15 7 #16 8 #17 9 #18 A #19 B #20 C #21 D #22 E #23 F
PC data register
D100 D101 D102 D103 D104 D105 D106 D107 D108 D109 D110 D111 D112 D113 D114 D115
TO instruction
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-13
the FX2N-32CCL, the range and the to 4). tem as the system area, so cannot be e system area.
to RY5F" and "RX50 to RX5F".)
tion Dedicated to write
Description usable usable usable usable usable usable usable usable ial data processing request flag ial data processing completion flag or status flag mote ready served (unusable) served (unusable) served (unusable) served (unusable)
5.4 System area of remote I/O As to the number of remote I/O points (RX00 to RX7F/RY00 to RY7F) in number of points vary depending on the selected number of stations (1 The upper 16 points of the final station are occupied by the CC-Link sys used as the user area. ( 4.2) The tables below show assignment of th
"n" indicates the number of occupied stations. (Example: When three stations are occupied, the device Nos. are "RY50
Master station FX Dedicated to read
Device No. Description RY(2n-1)0 Unusable RY(2n-1)1 Unusable RY(2n-1)2 Unusable RY(2n-1)3 Unusable RY(2n-1)4 Unusable RY(2n-1)5 Unusable RY(2n-1)6 Unusable RY(2n-1)7 Unusable RY(2n-1)8 Initial data processing completion flag RY(2n-1)9 Initial data processing request flag RY(2n-1)A Error reset request flag RY(2n-1)B Undefined RY(2n-1)C Reserved (unusable) RY(2n-1)D Reserved (unusable) RY(2n-1)E Reserved (unusable) RY(2n-1)F Reserved (unusable)
FX Master sta
Device No. RX(2n-1)0 Un RX(2n-1)1 Un RX(2n-1)2 Un RX(2n-1)3 Un RX(2n-1)4 Un RX(2n-1)5 Un RX(2n-1)6 Un RX(2n-1)7 Un RX(2n-1)8 Init RX(2n-1)9 Init RX(2n-1)A Err RX(2n-1)B Re RX(2n-1)C Re RX(2n-1)D Re RX(2n-1)E Re RX(2n-1)F Re
FX2N-32CCL CC-Link Interface Block Assignment of Buffer Memory (BFM) 5
5-14
d in the FX2N-32CCL. rror saved in the buffer memory dedi-
ual (detailed manuals) of the PC and
rror
iled manual) of the master unit.
ter the unit in which disconnection
nits.)
nits except the master station.) urned off. r station and the local stations.)
2N-32CCL and an other station. to which the same station No. is
et. ter.
. set switch is set to an unallowable
e transmission speed set switch is
5.5 Contents of errors The table below shows the contents of errors indicated by LEDs provide The causes of an error can be detected based on the contents of the e cated to read BFM #29 and the status of the LED. ( 5.2) For errors related to the PC and the master unit, refer to the users man the master unit.
L RUN L ERR Causes of e Lit Extinguished Data link is in the normal status.
Extinguished Extinguished
The following causes are estimated. For details, refer to the users manual (deta
A cable is disconnected. (L ERR LED is extinguished on units af has occurred.)
A cable is short-circuited. (L RUN LED is extinguished on all the u
Link of the master station is stopped. (L RUN LED is extinguished on all the u
Power supplied to the FX2N-32CCL is t (ERR LED is extinguished on the maste
Same station No. is assigned to the FX (L RUN LED is extinguished on the unit assigned.)
The transmission speed is incorrectly s The FX2N-32CCL is not set to a parame
Extinguished Lit The unit is started up while the station No value.
Extinguished Flickers Setting of the station No. set switch or th changed during data linking.
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-1
.
2N-32CCL
mote device tion ation No. 5) cupation of stations is cified.
B
Terminal resistor
6. Programming Examples 6.1 System configuration
A sample program is explained in the system configuration shown below
A62P A3NCPU AJ61BT11
X/Y 00
X/Y 1F
~
AY41
Y20
Y2F
~
FX PC FX2N-32CCL FX PC FX
Master station
(station No. 0)
Terminal resistor Shielded twisted pair cable
Remote device station (station No. 1) Occupation of four stations is specified.
Re sta (st Oc two spe
A
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-2
sion set switch and the condition set it) witch and the transmission speed set
g of FX2N-32CCL (station No. 5)
switch)
switch)
)
of remote points and No. when two are occupied e input: o RX2F (48 points) for user area o RX3F (16 points) for system area e output: o RY2F (48 points) for user area o RY3F (16 points) for system area e register: o RWr7 (8 points) for write to RWw7(8 points) for read
Preparation
1 ) Set the station No. set switch, the mode set switch, the transmis switch provided on the master unit. ( Users manual of master un
2 ) Set the station No. set switch, the number of occupied stations set s switch provided on the FX2N-32CCL. ( 4.1)
Item Setting of FX2N-32CCL (station No. 1) Settin
Station No. 1 (rotary switch) 5 (rotary
Number of occupied stations
4 (rotary switch) 2 (rotary
Transmission speed In accordance with setting in master unit (rotary switch
Assignment of number of remote points and No.
Number of points and No. are deter- mined by selected num- ber of occu- pied stations.
Number of remote points and No. when four stations are occupied Remote input: RX00 to RX6F (112 points) for user area RX70 to RX7F (16 points) for system area
Remote output: RY00 to RY6F (112 points) for user area RY70 to RY7F (16 points) for system area
Remote register: RWr0 to RWrF (16 points) for write RWw0 to RWwF(16 points) for read
Number stations Remot RX00 t RX30 t
Remot RY00 t RY30 t
Remot RWr0 t RWw0
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-3
uts and remote outputs as shown in
tation (station No. 1)
X00)
X70)
RX)
M227~M100
M427~M300
TO
FROM
FX PC
Y00)
Y70)
(RY)
tation (station No. 5)
X00)
X30)
RX)
M163~M100
M363~M300
TO
FROM
FX PC
Y00)
Y30)
(RY)
6.2 Flow of communication data Remote input (RX), remote output (RY)
In a sample program, communication is performed between remote inp the figure below.
Master PC
RX0F~RX00
RX7F~RX70
Remote input (RX)
E0H
E7H
RX8F~RX80
RXBF~RXB0
E8H
EBH
~ ~
RY0F~RY00
RY7F~RY70
Remote output (RY)
160H
167H
RY8F~RY80
RYBF~RYB0
168H
16BH
~ ~
M627~M500
M963~M900
M827~M700
M1063~M1000
FROM
FROM
TO
TO
Master station (station No. 0) Remote device s
FX2N-32CCL
BFM#0(RX0F~R
BFM#7(RX7F~R
Remote input (
~
A
BFM#0(RY0F~R
BFM#7(RY7F~R
Remote output
~ Remote device s FX2N-32CCL
BFM#0(RX0F~R
BFM#3(RX3F~R
Remote input (
~ B
BFM#0(RY0F~R
BFM#3(RY3F~R
Remote output
~CC-link scan
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-4
s shown in the figure below.
station (station No. 1)
r0)
rF)
(RWr)
D25~D10
D65~D50
TO
FROM
FX PCA
0)
wF)
(RWw)
station (station No. 5)
r0)
r7)
r (RWr)
D17~D10
D57~D50
TO
FROM
FX PCB
0)
w7)
RWw)
Remote register (RWr, RWw)
In a sample program, communication is performed in remote registers a
Master PC
RWr0
RWrF
2E0H
2EFH
RWr10
RWr17
2F0H
2F7H
~ ~
RWw0
RWwF
1E0H
1EFH
RWw10
RWw17
1F0H
1F7H
~ ~
D515~D500
D707~D700
D615~D600
D807~D800
FROM
FROM
TO
TO
Master station (station No. 0) Remote device
FX2N-32CCL
BFM#8(RW
BFM#23(RW
Remote register
~
BFM#8(RWw
BFM#23(RW
Remote register
~
Remote device FX2N-32CCL
BFM#8(RW
BFM#15(RW
Remote registe ~
BFM#8(RWw
BFM#15(RW
Remote output (
~CC-link scan
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-5
the program shown below.
rameter etting
onnected units
etries utomatic double row
2 to D0 to H0001
n of operation at CPU down (stop)
3 to H0006
ation A side e, 4 stations occupied, station No. 1) ation B side e, 2 stations occupied, station No. 5) 5 and D4 to H0020
6.3 Program in master PC When the PC CPU starts to run, data linking is automatically started by
During debugging
D0
X0000 X000F
M300 Unit error Unit ready
M301 K2MOV
D1K7MOV
D2K1MOV
K3D0H0001H0000TO
D3K0MOV
K1D3H0006H0000TO
D4H1401MOV
D5H1205MOV
K2D4H0020H0000TO
M301RST
M301
M300PLS
M301SET
Pa s
Number of c
Number of r Number of a units Write from D
Specificatio
Write from D
Station inform (remote devic Station inform (remote devic Write from D
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-6
D ata link by param eter o f buffer m em ory
ink start up is norm ally y param eter of buffer m em ory
ink start up is abnorm ally y param eter of buffer m em ory
rtup request by param eter o f ry
M 303
X 0000 X 000F
M 9038
In itia l pu lse
M 302 SET
Y06SET
Y06R ST
M 303R ST
K1D 100H 0668H 0000FR O M
Y06R ST
X 0006
Y00SET
M 302PLS
M 303
M 303R ST
X 0007
S tartup no rm al com ple tion
S tartup abnorm al com ple tion
W hen data l com ple ted b
W hen data l com ple ted b
D ata link sta buffer m em o
Instruction of refresh
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-7
eter registra tion to EE PR O M om pleted
eter registra tion to EE PR O M ly com ple ted
g is tra tion request to EE PR O M
P aram e te r reg is tra tion to E E P R O M
Y0A
X 0000 X 000F R egis tra tion
com m and
M 305 SE T
Y0AR ST
M 305R ST
K1D 101H 06B 9H 0000FR O M
Y0AR ST
X 000A
M 304PLS
M 305SE T
M 305R ST
X 000B
R egis tra t- ion norm al com ple tion
R eg is tra t- ion abnorm al com ple tion
W hen param is norm ally c
W hen param is abnorm al
Param eter re
M 304
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-8
ink startup is norm ally y param eter of E EPR O M
ink startup is abnorm ally y param eter of E EPR O M
rtup request by param eter o f
D ata link by param eter o f EE PR O M
During operation
M 301
X 0000 X 000F
M 9038
In itia l pu lse
M 300 PLS
Y08SE T
Y08R ST
M 301R ST
K1D 100H 0668H 0000FR O M
Y08R ST
X 0008
Y00SE T
M 300PLS
M 301
M 301R ST
X 0009
S ta rtup norm a l com ple tion
S ta rtup abnorm al com ple tion
W hen data l com pleted b
W hen data l com pleted b
D ata link s ta EE PR O M
Instruction of re fresh
U n it e rro r U n it ready
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-9
Data link status (SW0080) of remote device station is read.
FX2N-32CCL (station No. 1) Data link being executed
FX2N-32CCL (station No. 5) Data link being executed
d of remote input to E0H (RX7F to RX00) M627 to M500
te of remote output 27 to M700167H to 160H (RY7F to RY00)
d of remote register (RWr) H to 2E0H (RWrF to RWr0) D515 to D500
te of remote register (RWw) 5 to D600 1EFH to 1E0H (RWwF to RWw0)
Communication with FX2N-32CCL (station No. 1)
FX2N-32CCL (station No. 1) Data link error
FX2N-32CCL (station No. 5) Data link error
Program for communication with remote device station
X0000 X0001X000F FROM K1
P10CALL
H0680H0000 Unit error Unit ready
K2M401
M401 Link normal (station No. 1)
M401
Link error (station No. 1) M405
Link normal (station No. 5) M405
Link error (station No. 5)
P20CALL
Y20
Y21
FEND
FROM K8H00E0H0000 K4M500
TO K8H0160H0000 K4M700
M9036
FROM K16H02E0H0000 D500
TO K16H01E0H0000 D600
Always ON
Rea E7H
Wri M8
Rea 2EF
Wri D61
Data link status
P10
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-10
ote input (RXBF to RX80) M963 to M900
ote output 1000 16BH to 168H (RYBF to RY80)
ote register (RWr) 0H (RWr17 to RWr10) D707 to D700
ote register (RWw) 00 1F7H to 1F0H (RWw17 to RWw10)
munication with FX2N- L (station No. 5)
RET
FROM K4H00E8H0000 K4M900
TO K4H0168H0000 K4M1000
M9036
FROM K8H02F0H0000 D700
TO K8H01F0H0000 D800
Always ON
Read of rem EBH to E8H
Write of rem M1063 to M
Read of rem 2F7H to 2F
Write of rem D807 to D8
P20
Com 32CC
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-11
rogram shown below.
om m unication s ta tus M 15 to M 0
ication s ta tus
ion o f com m unication sta tus necessity)
6.4 Program in FX PC When the PC starts to run, data linking is automatically started by the p
Communication program in station No. 1
FN C 78 FR O M K1K25K0 K4M 0
M 8000 R ead o f c BFM #25
R ead o f com m un
B lock N o. B F M .N o . Trans fer destina t- ion
N um ber o f transfe r po in ts
Ind icat (upon
M 0 C R C error
M 1 T im eout error
M 7 Link be ing executed
M 8 M aster PC runn ing
M 9 M aster PC error
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-12
ote output (RY7F to RY00) M427 to M300
read result
of remote output gister
f remote input gister
ote register 8 (RWwF to RWw0) D65 to D50
ermining the ON/OFF status of and the remote register value to be
te input 0 BFM #7 to #0 (RX7F to RX00)
te register BFM #23 to #8 (RWrF to RWr0)
FNC78 FROM K8K0K0 K4M300
M7 Read of rem BFM #7 to #0
Utilization of
M300
Link being executed FNC78
FROM K16K8K0 D50
M412
FNC12 MOV DD50
FNC12 MOV DD65
(RY00)
(RY6F)
FNC12 MOV D10K30
FNC12 MOV D25D100
M100
M212
(RX00)
(RX6F)
FNC79 TO K8K0K0 K4M100
FNC79 TO K16K8K0 D10
M7
Read and re
Write o and re
Read of rem BFM #23 to #
Program det remote input written
Write of remo M227 to M10
Write of remo D25 to D10
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-13
re to be programmed as a communi-
e output (RY3F to RY00) M363 to M300
ad result
remote output ster
remote input ster
e register (RWw7 to RWw0) D57 to D50
mining the ON/OFF status of remote emote register value to be written
input BFM #3 to #0 (RX3F to RX00)
e register BFM #15 to #8 (RWr7 to RWr0)
Example of communication program in station No. 2
The contents equivalent to those in the station No. 1 described above a cation status read program.
FNC78 FROM K4K0K0 K4M300
M7 Read of remot BFM #3 to #0
Utilization of re
M300
Link being executed FNC78
FROM K8K8K0 D50
M363
FNC12 MOV DD50
FNC12 MOV DD57
(RY00)
(RY3F)
FNC12 MOV D10K30
FNC12 MOV D17D100
M100
M163
(RX00)
(RX3F)
FNC79 TO K4K0K0 K4M100
FNC79 TO K8K8K0 D10
M7
Read of and regi
Write of and regi
Read of remot BFM #15 to #8
Program deter input and the r
Write of remote M163 to M100
Write of remot D17 to D10
FX2N-32CCL CC-Link Interface Block Programming Examples 6
6-14
Memo
CE: TOKYO BUILDING, 2-7-3 -8310, JAPAN
JY992D71801F (MEE)
Effective April 2015 ject to change without notice.
USERS MANUAL CC-Link INTERFACE BLOCK FX2N-32CCL
MODEL FX L-U-E
MODEL CODE 1
DA-KU, TOKYO 100
tions are sub
HEAD OFFI
2N-3
09
2CC
R71
MARUNOUCHI, CHIYO
Specifica
Related manuals for Mitsubishi Electric FX2N 32CCL User's Manual
Manualsnet FAQs
If you want to find out how the FX2N 32CCL Mitsubishi Electric works, you can view and download the Mitsubishi Electric FX2N 32CCL User's Manual on the Manualsnet website.
Yes, we have the User's Manual for Mitsubishi Electric FX2N 32CCL as well as other Mitsubishi Electric manuals. All you need to do is to use our search bar and find the user manual that you are looking for.
The User's Manual should include all the details that are needed to use a Mitsubishi Electric FX2N 32CCL. Full manuals and user guide PDFs can be downloaded from Manualsnet.com.
The best way to navigate the Mitsubishi Electric FX2N 32CCL User's Manual is by checking the Table of Contents at the top of the page where available. This allows you to navigate a manual by jumping to the section you are looking for.
This Mitsubishi Electric FX2N 32CCL User's Manual consists of sections like Table of Contents, to name a few. For easier navigation, use the Table of Contents in the upper left corner.
You can download Mitsubishi Electric FX2N 32CCL User's Manual free of charge simply by clicking the “download” button in the upper right corner of any manuals page. This feature allows you to download any manual in a couple of seconds and is generally in PDF format. You can also save a manual for later by adding it to your saved documents in the user profile.
To be able to print Mitsubishi Electric FX2N 32CCL User's Manual, simply download the document to your computer. Once downloaded, open the PDF file and print the Mitsubishi Electric FX2N 32CCL User's Manual as you would any other document. This can usually be achieved by clicking on “File” and then “Print” from the menu bar.