FX0N 32NT DP User's Manual
FX0N 32NT DP User's Manual
FX0N 32NT DP User's Manual
Foreword
This manual contains text, diagrams and explanations which will guide the reader in the correct installation
and operation of the FX0N-32NT-DP Profibus-DP Interface Unit. It should be read and understood before
attempting to install or use the unit.
Further information can be found in the Hardware Manual of PLC, Programming Manual of PLC, MELSEC
ProfiMap Configuration System for Open Networks Software Manual and manual of Profibus-DP master
units.
If in doubt at any stage of the installation of FX0N-32NT-DP Profibus-DP Interface Unit always consult a professional electrical engineer who is qualified and trained to the local and national standards which apply to
the installation site.
If in doubt about the operation or use of FX0N-32NT-DP Profibus-DP Interface Unit please consult the nearest
Mitsubisi Electric distributor.
FX0N-32NT-DP Profibus-DP
Interface Unit
Manual number : JY992D61401
Users Manual
Manual revision : C
Date
: July 2000
ii
Guidelines for the Safety of the User and Protection of the FX0N-32NT-DP Profibus-DP Interface Unit.
This manual provides information for the use of the FX0N-32NT-DP Profibus-DP Interface Unit.
The manual has been written to be used by trained and competent personnel. The definition of
such a person or persons is as follows:
a) Any engineer who is responsible for the planning, design and construction of automatic
equipment using the product associated with this manual, should be of a competent
nature, trained and qualified to the local and national standards required to fulfill that
role. These engineers should be fully aware of all aspects of safety with regards to
automated equipment.
b) Any commissioning or service engineer must be of a competent nature, trained and
qualified to the local and national standards required to fulfill that job. These engineers
should also be trained in the use and maintenance of the completed product. This
includes being completely familiar with all associated documentation for said product. All
maintenance should be carried out in accordance with established safety practices.
c) All operators of the completed equipment should be trained to use that product in a safe
and coordinated manner in compliance to established safety practices. The operators
should also be familiar with documentation which is connected with the actual operation
of the completed equipment.
Note : The term completed equipment refers to a third party constructed device which
contains or uses the product associated with this manual.
iii
Under no circumstances will Mitsubishi Electric be liable responsible for any consequential
damage that may arise as a result of the installation or use of this equipment.
All examples and diagrams shown in this manual are intended only as an aid to
understanding the text, not to guarantee operation. Mitsubishi Electric will accept no
responsibility for actual use of the product based on these illustrative examples.
Owing to the very great variety in possible application of this equipment, you must satisfy
yourself as to its suitability for your specific application.
vi
Table of Contents
Guideline ............................................................................................. iii
1. Introduction............................................................................................1-1
1.1 Features of the 32NT-DP .................................................................................... 1-1
1.2 External Dimensions............................................................................................ 1-2
1.2.1 Pin Configuration of Profibus-DP Connector ............................................................. 1-4
3. Specifications ........................................................................................3-1
3.1 General Specifications......................................................................................... 3-1
3.2 Power Supply Specifications ............................................................................... 3-1
3.3 Performance Specifications ................................................................................. 3-2
vii
4.8
4.9
4.10
4.11
4.11.1
4.11.2
4.11.3
4.11.4
4.11.5
4.11.6
4.11.7
4.11.8
4.12 Model identification code (BFM #30) <read only> ............................................. 4-14
viii
6. Example Program..................................................................................6-1
7. Diagnostics............................................................................................7-1
7.1 Preliminary Checks.............................................................................................. 7-1
7.2 LED Check .......................................................................................................... 7-2
7.3 Check BFM #29 error status of the 32NT-DP...................................................... 7-3
Appendix A:
Further Information Manual List\ .............................................................. A-1
ix
1.
Introduction 1
Introduction
This FX0N-32NT-DP Profibus-DP Interface Unit (called 32NT-DP hereinafter) can be used as
a slave module to connect an FX0N, FX2N or FX2NC series programmable controllers*1 (called
PLC hereinafter) to an existing Profibus-DP network.
The 32NT-DP provides an intelligent slave function for decentralized control applications
which need to exchange data with Profibus-DP master CPOS (called DP-master hereinafter).
*1 When using FX2NC PLC, need to use FX2NC-CNV-IF.
1.1
1-1
External Dimensions
Accessories: GSD Files (FD 1 piece)
Dimensions: mm (inches)
d )
2 4 G
F G
a )
F X
0 N
2 4 G
2 4 + F G
2 4 +
b )
4 ( 0 .1 6 " )
f)
e )
F X
0 N
P O W E R
B F
-3 2 N T
-D P
j)
g )
-3 2 N T -D P
D C
k )
R U N
D IA
h )
8 0 ( 3 .2 " )
9 0 ( 3 .6 " )
1.2
Introduction 1
i)
4 ( 0 .1 6 " )
4 3 ( 1 .7 2 " )
8 6 ( 3 .3 8 " )
l)
1-2
Introduction 1
1-3
Pin No.
3
A ssigned
N ot assigned
Signal
RTS
DGND
VP
1,2,7,9
Meaning
1.2.1
Introduction 1
Request to send
Data Ground
Voltage-Plus (+)
1-4
1.3
Introduction 1
System Configuration
Figure 1.3: System Configuration
D P -m aster
P rofibus-D P netw ork
S lave or
m aster *1
P LC *2
P LC *2
S lave or
m aster *1
F X 0N -32N T -D P
*1 The units at each end of the Profibus-DP network must have a terminating resistor. This
will either be in the master or slave unit or in the DP connector.
*2 PLC is FX0N, FX2N or FX2NC series PLC. When using FX2NC series PLC, need to use
FX2NC-CNV-IF.
1-5
1.4
Introduction 1
Applicable PLC
For setting up a system, the 32NT-DP can be connected directly to the PICs extension port or
to any other extension units right side extension port.
The 32NT-DP occupies 8 points of I/O on the PICs expansion bus. The 8 points can be
allocated from either inputs or outputs. The maximum I/O for a FX0N system is 128 I/O. The
maximum I/O for FX2N/2NC system is 256 I/O.
Version
FX0N Series
All version
128 points
FX2N Series
All version
256 points
FX2NC Series*1
All version
256 points
1-6
2.
4) The terminal tightening torque is 0.5 ~ 0.8 Nm. Tighten securely to avoid malfunction.
5) Cut off all phases of power source before installing / removing or performing wiring work on
the master in order to avoid electric shock or damage of product.
6) Replace the provided terminal cover before supplying power and operating the unit after
installation or wiring work, in order to avoid electric shock.
2-1
2.1
Mounting
2.1.1
Arrangements
The 32NT-DP connects on the right side of connected FX2N, FX2NC*1 or FX0N series main unit
or extension unit/block (including special function blocks). For further information of mounting
arrangements, refer to the hardware manual of the connected main unit.
*1 Connecting 32NT-DP to FX2NC Series PLC, need to use FX2NC-CNV-IF.
2.1.2
Mounting
The mounting method of the 32NT-DP can be DIN rail mounting or direct wall mounting.
1) DIN rail mounting
a) Align the upper side of the DIN rail mounting groove of the 32NT-DP with a DIN rail*1
(), and push it on the DIN rail(). See Figure 2.2.
b) When removing the 32NT-DP from the DIN rail, the hook for DIN rail is pulled (), and
the 32NT-DP is removed (). See Figure 2.2.
*1 Uses DIN 46277 <35mm (1.38")>
2-2
Figure 2.2: Attach to DIN Rail and Remove from DIN Rail
2-3
2.2
Wiring
2.2.1
CE MEC Conformity
Using FX0N
For compliance to EC EMC regulations it is necessary to fit a ferrite noise filter to the AC
power lines of the FX0N main unit or extension unit from which the 32NT-DP 24V power
should be taken. (see Figure 2.3.) The filter should be similar to Wrth Electoniks part
number 742 710 0 B (impedance:4MHz, 80; 25MHz, 139 ; 100MHz, 207) and fitted as
close to the unit as possible.
It is also necessary to install both the FX0N main unit, extension unit/block and the
32NT-DP slave unit in a metal cabinet.
2-4
2.2.2
*1
24V
F X 0N S eries P LC ,
F X 2N S eries P LC
0V
24V +
24V G
F X 0N -32N T -D P
*1 It is necessary to fit a ferrite noise filter to the AC power lines of the FX0N main unit or
extension unit from which the 32NT-DP 24V power should be taken. The filter should be
similar to Wrth Electoniks part number 742 710 0 B (impedance:4MHz, 80; 25MHz,
139 ; 100MHz, 207) and fitted as close to the unit as possible.
2-5
0V
24V
0V
F X 2N C S eries P LC
24V +
24V G
F X 0N -32N T -D P
2-6
2.2.3
Wiring of Profibus-DP
To connect the 32NT-DP to a Profibus-DP network use only the Profibus connectors and
shielded twisted-pair cable complying with EN50170. For Profibus connectors see the Profibus
connector manual.
F or P rofibus connector,
refer to F igure 2.6.
S hielded tw isted-pair
cable com plying w ith
E N 50170 to P rofibus-D P
netw ork
FG
24+
24G
F X 0N -32N T -D P
P rofibus-D P Interface U nit
G rounding plate
G rounding
resistance of
100 or less
(C lass D )
F X 0N -32N T -D P P rofibus-D P
Interface U nit
2.2.4
Terminating Resistor
The units at each end of the Profibus-DP network must have a terminating resistor. This will
either be in the master or slave unit or in the Profibus connector.
However, the 32NT-DP does not have a terminating resistance built-in.
2-8
3.
Specifications
3.1
General Specifications
Specifications 3
Specifications
General specifications
Same as those for connecting PLC
(excluding withstand voltage)
Withstand voltage
3.2
Specifications
Power supply
24V DC +/- 10%, 20mA (when using a twisted-pair cable) / 60mA (when
using a optical glassfiber cable)
3-1
3.3
Specifications 3
Performance Specifications
Table 3.3: Performance Specifications
Item
Specifications
Transmission data
20 words can be sent and received during one bus cycle (default value 16 words).
The number of transmitted words can be changed between 1 and 20 words.
Supported baud
rates and bus
length
1,200m
187.5kbps
1,000m
500kpbs
400m
1.5Mbps
200m
100m
Applicable PLC
PLC
communication
FROM/TO instruction is used to read and write data from/to the 32NT-DP
POWER LED
DC LED
RUN LED
BF LED
DIA LED
LED indicators
3-2
4.
Note:
The sending data and receiving data buffers have the same buffer memory addresses
(BFM #0 ~ #19) for use with FROM and TO instructions. This means it is not possible to
check the buffer memory data using a FROM instruction because this instruction only reads
receive buffer data.
4-1
4.1
Description
Read (FROM instruction)
BFM #20
BFM #21
BFM #22
BFM #23
BFM #24
BFM #25
BFM #26
BFM #27
BFM #28
BFM #29
BFM #30
BFM #31
Not used
4-2
4.2
32N T -D P
TO
instruction
B F M #0
S end data
D P netw ork
S end
buffer
B F M #19
FRO M
instruction
B F M #0
R eceive data
R eceive
buffer
B F M #19
S am e B F M addresses
Note:
The sending data and receiving data buffers have the same buffer memory addresses
(BFM #0 ~ #19) for use with FROM and TO instructions. This means it is not possible to
check the buffer memory data using a FROM instruction because this instruction only reads
receive buffer data.
4-3
4.3
4.4
4.5
Length of Sent Data (BFM #22), Length of Received Data (BFM #23)
<Read Only>
The values held in these BFMs are copied from the send data length and receive data length
settings in the DP-master.
4-4
4.6
9.6k
96E2H
500k
05E5H
19.2k
19E3H
1.5M
15E5H
45.45k
45E3H
3M
03E6H
93.75k
93E3H
6M
06E6H
187.5k
18E4H
12M
12E6H
Note:
96E2 = 96 102 = 9,600 = 9.6k baud rate
4-5
4.7
Description
Bit 0
Module on-line/off-line
Bit 1
Not used
Bit 2
Diagnosis flag
Bit 3
Not used
1 (ON)
0 (OFF)
Module on-line
Module off-line
DP-state
Bit 7,
Bit 6
DP-watchdog state
Bit 8
Not used
Bit 9
4-6
Description
1 (ON)
0 (OFF)
Bit 10
UNFREEZE global
control
No UNFREEZE command
received
Bit 11
Bit 12
Bit 13
Bit 14,
Not used
Bit 15
4-7
4.7.1
4-8
4.8
4.9
4-9
4.10
Description
Bit 0
Bit 1
Bit 2
:
:
Bit 15
:
:
User set for error-16
4-10
4.11
Description
1 (ON)
0 (OFF)
Bit 0
General error
Bit 1
Not used
Bit 2
Bit 3
Hardware error
Bit 4
EEPROM error
No FROM / TO instruction
received with in 1 second
Bit 5, 6
Bit 7
Not used
FROM / TO watchdog
timer (visible only in
diagnosis frame)
Bit 8, 9
Not used
Bit 10
Configuration error
Bit 11
Parameter error
Bit 12
4-11
4.11.1
4.11.2
4.11.3
4.11.4
4-12
4.11.5
Note:
If no FROM / TO instructions are sent to the 32NT-DP an error will be signaled in the DPmaster.
4.11.6
4.11.7
4.11.8
4-13
4.12
4-14
5.
Setting Operation 5
Setting Operation
For details how to set-up a DP-master please refer to the appropriate DP-master manuals.
5.1
5.1.1
5-1
5.1.2
Setting Operation 5
Setting the Number and Format of Input and Output Words in the DP-master
The data format type can be either byte or word. The 32NT-DP supports only word data
format. Also, for data consistency the 32NT-DP supports only word consistency.
The allowed number of configuration bytes (slots) is 2 or 4. Following the table below.
Table 5.1: Setting the Number and Format of Input and Output
Configuration Byte (Slot) Number
Format
BFM No.
Input 1 to 16 words
BFM #0 ~ #15
Output 1 to 16 words
BFM #0 ~ #15
Input 1 to 4 words
Output 1 to 4 words
Note:
The default configuration of the 32NT-DP uses configuration byte (slot) 1 and 2. The default
communication data length is 16 input words and 16 output words.
5-2
5.2
Setting Operation 5
F N C 78
FROM
K0
F N C 10
CMP
M1
F N C 79
TO
K0
K 30
D0
K1
D0
K 7020
M0
K 27
K 10
K1
5-3
Setting Operation 5
MEMO
5-4
6.
Example Program 6
Example Program
The following is an example program.
F N C 79
TO
K0
K 21
K0
K1
E rror-1
M0
N ote :
E rror-2
If no F R O M / T O
instructions are sent to
the 32N T -D P an error
w ill be signaled in the
D P -m aster
(B F M #29 b7=O N ).
M1
E rror-16
M 15
M 8000
G eneral error
M 20
(a)
F N C 79
TO
K0
K 28
K 4M 0
K1
F N C 78
FROM
K0
K 29
K 4M 20
K1
Y000
(a)
6-1
Example Program 6
(a)
24V D C pow er error
M 22
Y001
Y002
Y003
E E P R O M error flag
Y004
Y005
Y006
(b)
6-2
Example Program 6
(b)
M 8000
F N C 78
FROM
K0
F N C 10
CMP
M 41
X 000
X 001
K 20
D0
K1
D0
K1
M 40
F N C 78
FROM
K0
K0
D 30
K 20
F N C 79
TO
K0
K0
D 10
K 20
END
6-3
Example Program 6
MEMO
6-4
7.
Diagnostics
7.1
Preliminary Checks
Diagnostics 7
1) Check POWER and DC LED. If this is OFF, please see section 7.2.
2) Check that the slave address is the same at the 32NT-DP and the DP-master. If the slave
address is not the same at the 32NT-DP and at the DP-master, change this address to
match at both modules.
3) Check that the parameters of 32NT-DP are set in the DP-master.
4) Check whether the network wiring and /or extension cables are properly connected on the
32NT-DP.
5) Check that the system configuration rules have not been exceeded (i.e. the number of
blocks does not exceed 8 and the total system I/O is equal or less than 128 I/O).
6) Put the PLC into RUN.
7-1
7.2
Diagnostics 7
LED Check
Check the status of the LEDs for the 32NT-DP as follows.
1) DC LED check
Description
Lit
Otherwise
Description
Lit
Otherwise
7-2
Diagnostics 7
: OFF
ON
BF LED
DIA LED
Status
Action
Normal operation
Point a)
Point b)
Point c)
a) Check BFM #24. If BFM #24 does not show a stable baud rate (i.e. always changing)
then check DP-network cables. Check BFM #29. If BFM #29 is not 0 refer to section
4.11 for details.
b) Check BFM #28. (User error flags)
c) Check b0 ~ b7 of #29. If b0 ~ b7 of BFM #29 is not 0, refer to section 4.11 for details.
7.3
7-3
Diagnostics 7
MEMO
7-4
Appendix A
Appendix A:
Further Information Manual List\
Table A-1:
Manual name
Manual No.
Description
FX2N Series
Programmable controllers
Hardware Manual
FX2NC Series
Programmable controllers
Hardware Manual
FX0/FX0N Series
Programmable controllers
Hardware Manual
FX Series of
Programmable controllers
Programming Manual
FX Series of
Programmable controllers
Programming Manual
FX2N-32DP-IF
Profibus-DP Interface Unit
Hardware Manual
A-1
Table A-1:
Manual name
Manual No.
Description
FX2N-32DP-IF
Profibus-DP Interface Unit
Users Manual
FX2N-64DP-M
Profibus-DP Master Block
Hardware Manual
FX2N-64DP-M
Profibus-DP Master Block
Users Manual
MELSEC ProfiMap
Configuration System for
Open Networks Software
Manual
A-2
MEMO
A-3
MEMO
A-4
USERS MANUAL
FX0N-32NT-DP Profibus-DP Interface Unit
HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310 TELEX: J24532 CABLE MELCO TOKYO
HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN
JY992D61401C
(MEE0007)