•This manual contains te xt, diag rams and explanations which will guide the reader in the correct installation and operation of the FX
read and understood before attempting to install or use the unit.
-32DP-IF Profibus-DP Interface Unit. It should be
2N
•Further information can be found in the FX
Series and FX0/FX0N Series Hardware Man-
2N
ual, manual of special function blocks and manual of Profibus-DP master CPUs.
•If in doubt at any stage during the installation of the FX
-32DP-IF Profibus-DP Interface
2N
Unit always consult a professional electrical engineer who is qualified and trained to the
local and national standards.
•If in doubt the operation or use of the FX
-32DP-IF Profibus-DP Interface Unit please con-
2N
sult the nearest Mitsubishi Electric distributor.
•This manual is subject to change without notice.
FX2N-32DP-IF Profibus-DP Interface Unit
FX
2N
-32DP-IF PROFIBUS-DP
INTERFACE UNIT
USER’S MANUAL
Manual number : JY992D79401
Manual revision : A
Date: April 1999
i
FX2N-32DP-IF Profibus-DP Interface Unit
ii
FX2N-32DP-IF Profibus-DP Interface Unit
FAX BACK
Mitsubishi has a world wide reputation f or its eff orts in continually developing and pushing bac k
the frontiers of industrial automation. What is sometimes overlooked by the user is the care
and attention to detail that is taken with the documentation. However,to continue this process
of improvement, the comments of the Mitsubishi users are always welcomed. This page has
been designed for you,the reader,to fill in your comments and f ax them back to us. We look forward to hearing from you.
Fax numbers: Your name....................................................
South Africa(0111)444-8304.................... .................................................
United Kingdom(01707)278695
Please tick the box of your choice
What condition did the manual arrive in?
Will you be using a f o lder to store the manual?
What do you think to the manual presentation?
Are the explanations understandable?
Which explanation was most difficult to understand: ..................................................................
Thank you for taking the time to fill out this questionnaire. We hope you found both the product
and this manual easy to use.
iii
FX2N-32DP-IF Profibus-DP Interface Unit
iv
FX2N-32DP-IF Profibus-DP Interface Unit
Guidelines for the Safety of the User and Protection of the FX2N-32DP-IF Profibus-DP Interface Unit.
This manual provides information for the use of the FX2N-32DP-IF 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 w ith this manual should be of a com petent
nature, trained and qualified to the loc al and national sta ndards 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, tr ained and qual-
ified 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 f amili ar with all ass ociated docume ntation for the 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 par ty constructed device which con-
tains or uses the product associated with this manual.
Notes on the Symbology Used in this Manual
At various times through out this manual cer tain s ymbols will be used to highlight p oints of
information which are intended to ensure the users personal safety and protect the integrity of
equipment. Whenever any of the following symbols are encountered its associated note must
be read and understood. Each of the symbols used will no w be lis ted with a brief description of
its meaning.
Hardware Warnings
1) Indicates that the identified danger WILL cause physical and property damage.
2) Indicates that the identified danger could POSSIBLY cause physical and property
damage.
3) Indicates a point of further interest or further explanation.
Software Warnings
4) Indicates special care must be taken when using this element of software.
5) Indicates a special point which the user of the associate software element should
be aware of.
6) Indicates a point of interest or further explanation.
v
FX2N-32DP-IF Profibus-DP Interface Unit
•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 diagr ams show n in this manual are int ended 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 illustra tive 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
FX2N-32DP-IF Profibus-DP Interface Unit
Table of Contents
Guideline............................................................................................................................ v
The FX2N-32DP-IF Profib us-DP Interface Unit (hereafter called “32DP-IF”) can be used to connect extension blocks/units and special function b locks of FX
ing Profibus-DP network.
The 32DP-IF provides an in tell igent s lave function for decentralized control ap plicat ions . Digi tal
and analog data from a Profibus-DP master CPU (hereafter called “DP-ma ster”) can be sent
and received to/from any of the supported I/O blocks and special function blocks.
1.1Features of the 32DP-IF
Using the 32DP-IF extension blocks, units, special function blocks of FX2N/FX0N series can
exchange data with any DP-master.
•Up to 256 I/O points and/or up to 8 special function b loc ks can be connected to t he 32DP-IF.
However, adjust total control I/O points to 256 or less. See section 1.3.
•The slav e address of the 32DP-IF is adjusted by DIP switches. See chapter 5.
•The 32DP-IF can be connected to a Profibus-DP network by a standard 9-pin D-SUB connector and a shielded twisted pair cable complying with EN50170. O ptional glassfiber
adapters are supported by the 32DP-IF and are available from other vendors.
See chapter 2.
Introduction 1
/FX0N series directly to an exist-
2N
•An FX-20P-E or personal computer can be used to monitor the de vi ces of the 32DP-I F or to
set parameter for special function blocks connected to the 32DP-IF. For operating instructions of the FX-20P-E or personal computer, refer to their respecti ve operation manuals and
to section 1.3.1. For device numbers and explanation, refer to Chapter 4. For parameter of
32DP-IF, refer to chapter 6 and appendix B.
Dimensions: mm (inches)Weight: Approx. 0.4 kg (0.88 lbs)
Accessory: GSD files (FD: 1 piece)
Figure 1.1:External Dimensions
COM24 +
L
c)
b)
L
N
e)
d)
RUN
STOP
24 +
COM
N
f )
g)
h)
m)
a)
l )
k)
2
4
6
3
6
1
67 (2.64")
75 (2.95")
FX2N -32DP -IF
1
2
4
8
POW ER
RUN
BF
DIA
ON
OFF
98 (3.86")
90 (3.54")
105 (4.13")
n)
i )
j )
87 (3.43")
a) Connector for Profibus cable (D-SUB 9 pin)
b) Power supply terminals (screws terminal: M3.5 (0.14"))
c) Direct mounting hole (2-φ4.5 (0.18"))
d) 24 V DC power terminal (screws terminal: M3.5 (0.14"))
e) RUN/STOP switch: When this switch is in the RUN position, the 32DP-IF will exchange
data with extension units/ blocks and special functio n blocks. If this
switch is in the STOP position, the 32DP-IF will exchange only input
data with extension units/blocks.
f) Communication port for FX-20P-E and personal computer
g) POWER LED : ON when AC power is supplied.
h) RUN LED: ON when 32DP-IF is exchanging data with extension units/blocks and
special function blocks.
i) BF LED: ON when a communication error is detected (No data exchange).
j) DIA LED: ON when notice of diagnostic data is detected.
k) Hook for mounting DIN rail
l) DIP switches for slave address of this unit
m)Connector for extension cable
n) Groove for mounting DIN rail (DIN rail width: 35 mm (1.38"))
Extension I/O units/blocks and
special function blocks *
3
Slave or
DP-master *
1
Slave or
DP-master *
FX2N-32DP-IF Profibus-DP
interface unit *
DP-master
1
2
*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 Profibus connector.
*2 For connecting monitoring tool, refer to section 1.3.1
*3 For connecting extension I/O units/blocks and special function blocks, refer to section
1.3.2.
Caution
The parameter data of the 32DP-IF must be set correctly in the DP-mas ter, If the parameter
data are not correct, the operation of the module might be affected. For a detailed over view of
the parameter of 32DP-IF, refer to chapter 6.
An FX-20P-E or personal computer can be used to monitor the devices of the 32DP-IF or to
set parameter data for special function blocks connected to the 32DP-IF. For operating instructions of the FX-20P-E or personal computer, refer to their respective operation manuals. For
device n umbers and explanation, refe r to chapter 4.
Connecting cable is same as FX
Table 1.2:
FX-20P-E
Personal Computer
(MELSEC MEDOC PLUS)
Connected Programming Tools
Monitoring ToolsDescription
“Device Monitor”, “Data Change” and “Forced ON/OFF” in the Online
Monitor /Test mode can be used for supported devices.
“Device Edit” and “Entry Data Monitor” can be used for supported
devices.
The table below shows extension units/blocks and their data lengths when connected to a
32DP-IF. Data is exchanged between the 32DP-IF and DP-master during every cycle. The
maximum amount of data that can be exchanged with the 32D P-IF is 200 bytes of input data
and 200 bytes of output data. Please check the specification of the DP-master, it may limit the
total amount of exchanged data.
Table 1.3: Connected Extension Units/Blocks and Exchanged Data Length
Exchange Data Length
Output Data (Y)Input Data (X)
Extension I/O Units
ItemsDescription
2N
FX
-32ER-ES/UL
2N
FX
-32ET-ESS/UL
2N
FX
-48ER-ES/UL
2N
FX
-48ET-ESS/UL
Input = 16 points
Output = 16 points
Input = 24 points
Output = 24 points
2 Bytes (Y0 ~ Y17) 2 Bytes (X0 ~ X17 )
3 Bytes (Y0 ~ Y27) 3 Bytes (X0 ~ X27 )
Extension
I/O Blocks
2N
FX
Series
0N
FX
Series
2N
FX
-16EX-ES/UL
2N
FX
-16EYR-ES/UL
2N
-16EYT-ESS/UL
2N
FX
-16EYS-ES/UL
0N
-8EX-UA1/UL
FX
0N
FX
-8EX-ES/UL
0N
FX
-16EX-ES/UL
0N
-8ER-ES/UL
FX
0N
FX
-8EYR-ES/UL
0N
-8EYT-ESS/UL
FX
0N
FX
-16EYR-ES/UL
0N
FX
-16EYT-ESS/UL
2N
FX
-4DA
Input = 16 points
Output = 0 point
Input = 0 point
Output = 16 points
Input = 8 points
Output = 0 point
Input = 16 points
Output = 0 point
Input = 4 points
Output = 4 points
Input = 0 point
Output = 8 points
Input = 0 point
Output = 16 points
Digital to analog
converter
-2 Bytes (X0 ~ X17)
2 Bytes (Y0 ~ Y17)-FX
1 Bytes (X0 ~ X7)
2 Bytes (X0 ~ X17)
1 Bytes (Y0 ~ Y3)1 Bytes (X0 ~ X3)
1 Bytes (Y0 ~ Y7)
2 Bytes (Y0 ~ Y17)
-
8 Bytes,
Analog output data
(BFM #1 ~ #4)
Special Function
Blocks
*1 Total 8 by tes , selecti on between a veraged data (BFM #5 ~ #8) or present data (B FM #9 ~
#12) can be done by GSD file configuration for each channel separately.
1) Special function blocks: Max. 8 blocks per 32DP-IF.
Check the loading on the 5 V DC bus supply. Consumption values for special function
blocks can be found in Tabl e 1.7. For maximum av ailable current see the Table 1.6.
2) Maximum I/O points: 256 or less.
3) Check the loading on the 24 V DC service supply. Look up the number of expansion I/O in
Figure 1.4. Find the residual current. This can then be used to power sensors etc.
4) Check total exchanged data length in DP-master, this number might be limited by the DPmaster unit. Data length is exchanged between the 32DP-IF and a DP-master in every
cycle.
For the data length of connected extension units/blocks, refer to Table 1.3.
Howe ver, the maximum amount of data tha t can be exchanged with the 32DP-IF is 200 byte
inputs and 200 byte outputs.
Table 1.6:24 and 5 V DC Supply Capacity
ItemsPower Supply
24 V DC Service Supply500 mA at 24 V DC
Max. 5 V DC Bus Supply220 mA at 5 V DC
Table 1.7:Power Supply for Special Function Blocks
ModelDescription
2N
FX
-4DADigital to analog converter830200
2N
FX
-4ADAnalog to digital converter83055
2N
FX
-4AD-PTPT100 probe interface83050
2N
FX
-4AD-TCThermo-couple interface83050
Number of
I/O Points
Internal 5 V DC
Power Supply
(mA)
External 24 V DC
(mA)
Figure 1.4:Number of Expansion I/O and 24 V DC Service Supply Capacity (mA)
1) Check special function blocks.
a) Count special function blocks.
This 32DP-IF has 3 special function blocks connected (FX
-4AD × 1, FX2N-4DA × 2).
2N
This configuration is OK as the total number of blocks is less than 8.
b) Check the loading on the 5 V DC bus supply. Consumption values for special function
blocks can be found in Table 1.7. For maximum available current see the Table 1.6.
Table 1.8:Check 5 V DC Bus Supply
ItemsInternal 5 V DCExternal 24 V DC
2N
FX
-4AD30 mA55 mA
2N
FX
-4DA30 mA200 mA
2N
FX
-4DA30 mA200 mA
Total Consumption Values90 mA <220 mA455 mA
This configuration is OK as the 5 V DC bus supply consumption value is less than 220 mA
(5 V DC bus supply capacity).
Howe ver, this syste m needs a supply of 455 mA from an external 24 V DC power supply, for
the special function blocks. In this case, the 32DP-IF can supply 250 mA for external 24 V
DC. See next page (check the loading on the 24 V DC service supply)
2) Check total I/O poi nts and the lo adin g on th e 24 V DC service supply. For the loading on the
24 V DC service supply, refer to Figurer 1.4.
Table 1.9:Check Total I/O Points and the Loading on the 24 V DC Service Supply
Addressable I/O24 V DC Service Supply
Units/Block Name
Inputs
(X)
Outputs
(Y)
Function
Blocks
Sum I/OSum
(X/Y)
Special
2N
-32DP-IF00-
FX
2N
FX
-16EX-ES/UL160-
2N
FX
-16EYT-ESS/UL016-
2N
FX
-4AD--8-0 mA
2N
FX
-4DA--8-0 mA
2N
FX
-4DA--8-0 mA
161624
Total I/O is 56 points <256 points
Inputs (X) = 16
Outputs (Y) = 16
According to Figure 1.4
This configuration can supply 250 mA at
24 V DC service supply for other usages.
+ 250 mA
This configuration is OK as the total I/ O points are less than 256. It is also OK with the load ing on the 24 V DC service supply, this configuration can supply 25 0 mA at 24 V DC service
supply for other usages.
3) Check the total allowable exchanged data length for each input data and output data in the
DP-master, because this number might be limited by the DP-master unit.
Maximum exchanged data length of 32DP-IF can be found in Table 3.3. For the data length
of connected extension units/blocks, refer to Table 1.3.
Table 1.10:Check Total Exchanged Data Length
Units/Blocks Name
2N
FX
-16EX-ES/UL2 bytes0 byte
2N
FX
-16EYT-ESS/UL0 byte2 bytes
2N
FX
-4AD8 bytes0 byte
2N
FX
-4DA0 byte8 bytes
2N
FX
-4DA0 byte8 bytes
Total exchanged data length
10 bytes < 200 bytes
<244 bytes
Exchanged Data Length
Input DataOutput Data
*1
18 bytes < 200 bytes *1
*2
<244 bytes
*2
*1 This value is maximum exchanged data length of 32DF-IF.
*2 This example configuration use A series programmable controllers A1SJ71PB92D (soft-
ware version is E). This DP-master is limited to 244 bytes of input data and 244 bytes of
output data.
This configuration is OK as t he ea ch total input dat a and tot al out put data leng th is les s than
200 bytes.
1-10
FX2N-32DP-IF Profibus-DP Interface Unit
2.Wiring and Mounting Arrangements
2.1Mounting Arrangements
To prevent a rise in temperature, mount the units to back walls. Never mount them to the floor,
ceiling or side wall of an enclosure.
Figure 2.1:Mounting Location
> 50 mm
(1.97")
Wiring and Mounting Arrangements 2
> 50 mm
(1.97")
FX2N-32DP-IF
-4DA
2N
FX
> 50 mm
(1.97")
Figure 2.2:Mounting Arrangement
-4AD
2N
FX
-16EX
2N
-ES/UL
FX
-16EYT
2N
-ESS/UL
FX
> 50 mm
(1.97")
2-1
FX2N-32DP-IF Profibus-DP Interface UnitWiring and Mounting Arrangements 2
2.2Wiring
2.2.1Caution for Wiring
1) Do not lay signal cable near to high vol tage po wer cab le or house t hem in the same trunking
duct. Effects of noise or surge induction may occur. Keep signal cables a safe distance of
more than 100 mm (3.94") from these power cables.
2) Ground the shied wire or the shield of a shielded cable at one point on the programmable
controller. Do not, however, ground at the same point as high voltage lines.
3) The terminal screws of the 3 2DP-I F are M3. 5 ( 0.1 4"), therefore the crimp style terminal (see
drawing) suitable for use with these screws should be fitted to the cable for wiring.
Figure 2.3:Crimp Terminals
6.8 mm (0.27" )
or less
For M3.5 (0.14")
6.8 mm (0.27")
or less
For M3.5 (0.14")
4) The terminal tightening torque is 0.5 to 0.8 N•m. Tighten securely to avoid malfunction.
5) Cut off all phases of power source before installation or performing wiring work 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-2
FX2N-32DP-IF Profibus-DP Interface UnitWiring and Mounting Arrangements 2
2.2.2Wiring for 32DP-IF and Profibus-DP Network
To connect the 32DP-IF to a Profibus-DP network use only the Profibus connectors and
shielded twisted-pair cable complying with EN50170.
Please use terminating resistors and Profibus connectors as shown in the DP-master manual
and Profibus connector manual.
The 32DP-IF does not have a terminating resi stance built-in.
Figure 2.4:Wiring about 32DP-IF and Profibus-DP Network
For Profibus
connector, refer
to Figure 2.6.
100 ~ 240 V AC
For power circuit,
refer to Figure 2.5.
Shielded twisted-pair
cable complying with
Power line
circuit
Service supply
EN50170 to Profibus-
LCOM24+
DP network
N
Grounding plate
Grounding
resistance of
or less
100
Ω
(Class 3)
Figure 2.5:Wiring for Power Line Circuit
100 ~ 240 V AC
MC
MC
Connect to "N" terminals
FX
-32DP-IF
2N
Profibus-DP
Interface Unit
For noise prevention please attach at least 50 mm
(1.97") of the twisted-pai r cable along the grounding
plate to which the ground terminal is connected.
Emergency stopCircuit protection device
Power supply
MC
for loads
Fuse
MC
Power supply
for loads
Connect to "L" terminals
Figure 2.6:Profibus Connector
Shielded twisted-pair cable to
Profibus-DP network
-32DP-IF Profibus
FX
2N
Interface-DP Unit
2-3
FX2N-32DP-IF Profibus-DP Interface UnitWiring and Mounting Arrangements 2
2.2.3Wiring for Extension I/O Units/Bloc ks and Special Function Blocks
1) Wiring about 32DP-IF and special function bloc k
Connecting method is same as FX
sires programmable controller. For special function
2N
block’s wiring, refer to each user’s manual.
2) Wiring about 32DP-IF and Extension Unit
Connect “COM” terminal at the 32DP-IF t o “0V” t erminal at the extension unit. F or extension
unit’s wiring, refer to FX
Series Hardware Manual.
2N
3) Wiring about 32DP-IF and Extension Block
The wiring method for the “S/S” t erminal on the extension block s is sh o wn i n the Fi gures 2. 7
and 2.8.
For extension block’s wiring and special function block’s wiring, refer to each manual.
Operating Temperature0 to 55 °C (32 to 131 °F)
Storag e Temperature-20 to 70 °C (-4 to 158 °F)
Operating Humidity35 to 85% Relative Humidity, No condensation
Storage Humidity35 to 90% Relative Humidity, No condensation
Specifications 3
Vibration Resistance
- Direct Mounting
Vibration Resistance
- DIN rail Mounting
Shock Resistance
Noise Immunity1,000 Vp-p, 1microsecond, 30 - 100 Hz, tested by noise simulator
Dielectric Withstand Voltage 1,500 V AC > 1 min, tested between all points, terminals and ground
Insulation Resistance5 MΩ > at 500 V DC, tested between all points, terminals and ground
GroundingClass 3 (Grounding resistance is 100 Ω or less)
Planned CertificationsCE
Conforms to JIS C0040; 10 - 57 Hz: 0.75 mm Half Amplitude
57 - 150 Hz: 9.8 m/s
Sweep Count for X, Y, Z: 10 times (80 min in each direction)
Conforms to JIS C0040; 10 - 57 Hz: 0.035 mm Half Amplitude
57 - 150 Hz: 4.9 m/s
Sweep Count for X, Y, Z: 10 times (80 min in each direction)
Conforms to JIS C0041: 147m/s
3 times in each direction X, Y, and Z
3.2Power Supply Specifications
Table 3.2:Power Supply Specifications
ItemDescription
Power Supply100 ~ 240 V AC +10% -15%, 50/60 Hz
2
Acceleration
2
Acceleration
2
Acceleration, Action Time: 11 ms
Max. Allowable Momentary
Power Failure Period
Fuse (size) Rating3 A <φ 5 × 20 mm (0.2 × 0.79 inches)>
In-rush Current100 V AC Max. 40 A < 5 ms, 200 V AC Max. 60 A < 5 ms
Power Consumption35 VA
24 V DC Service Supply500 mA
Max. 5 V DC Bus Supply220 mA
10 ms at 100 V AC
(< 10 ms, 32DP-IF = RUN continue, > 10 ms, 32DP-IF = power down)
1.5M200 m (656')
3M, 6M, 12M100 m (328')
POWER LEDON when AC power is supplied.
RUN LED
BF LEDON when a communication error is detected. (No data exchange)
Maximum 256 points (see section 1.3)
400bytes can be sent and received during one bus cycle.
(input: 200 bytes, output: 200 bytes)
Connector for FX-20P-E or personal computer (MELSEC
MEDOC PLUS)
1,200 m (3,937')
ON when 32DP-IF is exchanging data with extension I/O blocks/
units and special function blocks.
DIA LEDON when notice of diagnostic data is detected.
3-2
FX2N-32DP-IF Profibus-DP Interface Unit
4.Advanced Devices
4.1Data Registers
Table 4.1:Supported Data Register List
ItemsDescription
D0 ~ D99
D100 ~ D199
D200 ~ D299
*1 If the 32DP-IF is in data exch ange mode , the sent dat a to a DP-master can be moni tored
by reading data registers D0 ~ D99 in the programming tool.
For example of allocating device, refer to section 4.1.1.
*2 If the 32DP-IF is in data exchange mode, the received data from a DP-master can be
monitored by reading data registers D100 ~ D199 in the programming tool.
For example of allocating device, refer to section 4.1.1.
Input (sent) data to DP-master
Output (received) data from DP-master
Parameter data
Advanced Devices 4
*1
*2
*3
*3 The data registers D200 to D299 contain the user parameter data which sent by the DP-
master. After power on, when the 32DP-IF is in the search baud rate state or the wait
parameter state, these data register contain the default parameter data.
For user parameter, refer to chapter 6. For default parameter settings, refer to appendix
A.
In configuring 32DP-IF GSD file, first assign special function blocks, second extension I/O
units/blocks’ input data, and finally extension I/O units/blocks’ output data. The physical
placement of the module does not have to correspond with the GSD file order.
Any de vic e of typ e M or D t hat i s marked wi th a “()” or “()” cannot be set b y the pr og r amming tool. In the case of M devices this means the associated coil cannot be driven but all
device can be monitored. For data devices D, new values cannot be written to the register
by a user but the register contents can be monitored.
Symbol Summary:
• automatically written to by the 32DP-IF
automatically written to by the DP-master
•
•
32DP-IF send an extended diagnosis message to DP-master if marking device is ON.
When this bit is changed from OFF to ON, the parameter D200
~ D299 (made by the programming tool) is written to special
function blocks’ BFM. After the write is completed, this bit is
turned automatically to OFF.
All physical switch gear for activating outputs is disabled. However, for debugging purposes the logical state of these outputs
(D100 ~ D199) can be set, but remain disabled in the actual
module.
Table 4.6:Special Data Registers (D8020 ~ D8039)
Diagnostic
Device
NameDescription
D8020
D8021
D8022
D8023
D8024
D8025
D8026
D8027
D8028Reserved
()
()
()
()
()
()
()
()
Data exchange
status
Swap byte orderSee note 1.
Length of input
(sent) data in byte
Length of output
(received) data in
byte
Baud rateSee note 2.
Communication
status
Profibus module
ID (PNO ID code)
Slave address
Data register D8020 contains a status bit for data exchange.
If this is “1”, 32DP-IF is in data exchange mode.
If this is “0”, 32DP-IF is not in data exchange mode.
The values held in these devices are copied from the input data
length and output data length setting in the DP-master.
See note 3.
PNO-Nr.F232 (Hex )
(This number contains the Profibus module ID number for the
32DP-IF.)
The slave address is set only by the 32DP-IF’s DIP s witches.
The slave address value is 0 to 126. The address change by a
Profibus-DP Class 2 master via the network or by a programming device is not supported.
D8029
() ()
Error statusSee note 4.
Note 1: Swap byte order
Some DP-masters handle lower bytes and higher bytes of a word in a reverse order than the 32DPIF. T o enab le the module to communicate with these masters, bit 0 of data register D8021 can be set.
If bit 0 is “1”, the low order byte and the high order byte of each user data word and of the user specific diagnosis will be swapped. Bit 0 of D8021 can also be set or reset by the second user defined
parameter byte received from a master. The default value after power up is “0”.
This device shows the current baud rate of the Profibus-DP network. The baud rate depends on the
DP-master settings. The following table shows the supported baud rates and the value of D8024. If
the module is in baud search mode, this value frequently changes until the module has found a supported baud rate as follows.
This device is the 32DP-IF’s communication status. According to the status of 32DP-IF the
bits are set and reset as follows.
Table 4.8: Communication Status in D8025
Bit No.Description1 (ON)0 (OFF)
Bit 0Module on-line/off-lineModule on-lineModule off-line
Bit 1Reserved
BIt 2Diagnosis flag
Bit 3Reserved
Bit 4, 5DP-status
Bit 6, 7DP-watchdog state
Bit 8Reserved
BIt 9
Bit 10
Bit 11
Bit 12
Bit 13
Clear data global control
Unfreeze global control
Freeze global control
Unsync global control
Sync global control
New diagnosis not yet fetched by
DP-master
New diagnosis fetched by
DP-master
(bit 5, 4) = (0, 0)Wait parameter state
(bit 5, 4) = (0, 1)Wait configuration state
(bit 5, 4) = (1, 0)Data exchange state
(bit 5, 4) = (1, 1)Not possible
(bit 7, 6) = (0, 0)Baud search state
(bit 7, 6) = (0, 1)Baud control state
(bit 7, 6) = (1, 0)DP search state
(bit 7, 6) = (1, 1)Not possible
*1
Clear data command receivedNo clear data command received
*2
Unfreeze command receivedNo unfreeze command received
*3
Freeze command receivedNo freeze command received
*4
Unsync command receivedNo unsync command received
*5
Sync command receivedNo sync command received
Bit 14, 15 Reserved
*1 Clear data global control:When this command is received, the 32DP-IF set to “0” the output
*2 Unfreeze global control:The UNFREEZE control command stops freeze control mode. The
*3 Freeze global control:The DP-master sends a FREEZE control command to a group of DP-
*4 Unsync global control:The UNSYNC command stops SYNC contro l mode. The output da ta
*5 Sync global control:The DP-master sends a SYNC control com mand to a group of DP-
data (D100 ~ D199) of extension units/blocks connected it.
input data (D0 ~ D99) of extension units/blocks connected to the
32DP-IF is immediately sent to the DP-master.
slaves to hold their curre nt input s tatus. The input da ta (D0 ~ D9 9) of
extension units/blocks connected to the 32DP-IF are withheld until
the next FREEZE/UNFREEZE control command is received.
(D100 ~ D199) send from the DP-master is immediately transmitted
to extension units/blocks connected to the 32DP-IF.
slaves to synchro nize their current ou tput states. Th e output data
(D100 ~ D199) of extension units/blocks connected to the 32DP-IF
remains constant until the next SYNC/UNSYNC command is
received.
Data register D8029 reflects t he error st atus of t he 32DP-IF. In case of a general error (bit 0
= ON) the module tries to send a static diagnosis to the DP-master. In this case normal data
exchange is not possible. If bit 0 returns to the Off state, the static diagnosis me ssage is
also reset.
The definition of the error bit is shown in the table below.
Table 4.9:Error status in D8029
Bit No.Description0 (OFF)1 (ON)
Bit 0general errorNo general error
Bit 1Reserved
Bit 2
Bit 3 ~ 5Reserved
Bit 6
(ref. Table
4.11)
Bit 7
(ref. Table
4.11)
Bit 8, 9Reserved
Bit 10
(ref. Table
4.11)
Bit 11
(ref. Table
4.11)
External 24 V po wer
error
I/O bus errorNo I/O bus error
Operation errorNo operation error
configuration error
Parameter error
Power supply is
normal
Configuration
data valid
Parameter data
valid
This bit is ON if one or more error bits (bit 2, 6,
7) are ON. Check Bit 2, 6 and 7 in D8029.
DC 24 V power supply failure
I/O bus error occurred. Check extension bus
cable for I/O extension units/blocks and error
code in D8060.
Operation error occurred. Check extension bus
cable for special function blocks, and DP-master parameter, and error code in D8067 and
D8068.
Invalid configuration data received. Check configuration for 32DP-IF in the DP-master and
D8040 ~ D8055.
Invalid parameter data received. Check parameter for 32DP-IF in the DP-master and D200 ~
D299, and error code in D8064and D8068.
4.2.3Configuration Status (M8040 ~ M8059 and D8040 ~ D8059)
M8040 ~ M8059 are reserved. The conf igur at ion b yt es i n D8 040 ~ D8059 d efi ne the a mount of
data which is exchanged between the corresponding I/O units/blocks, special function blocks
and the DP-master.
Table 4.10:Special Data Registers (D8040 ~ D8059)
Diagnostic DeviceNameDescription
*1
*1
*1
The data registers D8040~D8055 display the
*1
actual configuration of the node station. After
*1
power on, when the 32DP-IF is in the search
baud rate state or in the wait configuration
*1
state, these data registers contain the default
configuration data.
This device contains the lowest device address that caused the
error. Check D8061
0No error
6102
6103
6129
6406
6407
6708
Operation circuit error: Please contact a service representative.
I/O bus error: Check extension cable for Extension I/O
units/blocks.
BFM #29 (error status) of a connected special function
block shows a value that is different from “0 ”. Please
check the diagnosis message at the DP-master.
0No error
Parameter error for extension units/blocks: Check error
code in D8068, and parameter in the DP-master.
Parameter length error: Parameter data too long, check
parameter’s length in the DP-master.
0No error
Operation error: Operation error for transmitting special
function block is occurred, check error code in D8068, and
DP-master parameter, and extension cable.
Parameter error
and operation
()
D8068 (
D8069Reserved
)
error
This device contains the lowest special function block’s address
that caused the error. Check D8064 and D8067.
Slave address of 32DP-IF for Profibus network is set by the ON/OFF configuration of DIP
switches. Slave address setting range is 0 ~ 126. When 32DP-IF’s power supply is turned ON,
the slave address is the sum total of these DIP switch values.DIP Switches
643216
Address Setting 5
8
4
2
1
This is DIP switch value.
ON
This DIP switch is not
used for the address
setting. Please leave in
the OFF position.
Note:
If the address of 32DP-IF is changed, the 32DP-IF must be turned OFF and ON again in
order to activate the new address.
5.2Example Address Setting
If slave address of 32DP-IF is set to “22”, DIP switches are as shown below.
Some bytes of input data and output data exchanged with the DP-master (the 32DP-IF’s configuration) must be defined by user parameter. Also defined by user parameters are how the
exchanged data should be distributed between the available I/O points and special function
blocks. Some applications require initial settings, like gain and offset of analog blocks. For
these purposes, the 32DP-IF requ ires a set of parameter da ta, which must be deter mine d by
the user parameter.
For “afte r power on” parameter, refer appendix A. For user parameter example, refer to appendix B.
Note:
User parameters become valid for 32DP-IF and special function blocks (ex. FX2N-4AD, FX2N4DA).
Table 6.1:User Parameter Configuration
User paramete r
for 32DP-IF
User paramete r
for first special
function block
User paramete r
for second special
function block
1 + (2 + m
Byte No.
0
1
2
:
:
1 + (2 + m
1 + (2 + m
:
:
1
*1) + (2 +m2 *1)
User Parameter 6
*1
1
)
*1
1
) +1
:
:
, m2: Total length of parameter data for this special function b lock.
*1 This byte number is the first parameter data of first special function block.
*2 Type code of special function block is as following table. This code in the parameter must
be written first in the Lower byte and second in the higher byte.
Table 6.2:Type Code of Special Function Blocks
TypeBFM 30 Code DecBFM30 Code Hex
2N
FX
-4ADK201007DA Hex
2N
-4AD-TCK203007EE Hex
FX
2N
FX
-4AD-PTK204007F8 Hex
2N
FX
-4DAK30200BCC Hex
*3 b: This value is number of BFM for adjusting.
*4 Number of exchanged BFM for input or output data (n=0 ~ 32) defines how many words
are reserved for data exchange with the DP-master. The following bytes define the BFM
addresses of those words.
For e xampl e K3 K1 K2 K5 defines 3 words of input data, read fr om BFM #1, BFM #2 and
BFM #5 of the corres ponding spec ial function block or written to BFM #1, BFM # 2 and
BFM #5.
*5 The format of this parameter byte is “bit 7 = write flag” and “bit 6 ~ bit 0 = BFM address”.
If “bit 7 = ON (1)”, the data of the following two bytes are written to the BFM specified in
bit 6 ~ bit 0. If bit7 = 0, the f ol lo wi ng tw o b yt es will be ignored. This mechanism is use d to
write all parameter data fro m the GSD file or D200 ~ D299 to the B FM of the specia l
function block.
Figure 6.2:Order BFM No. for adjusting BFMs
bit 7
bit 0
BFM No. for adjusting
Writing flag:
Bit 7 = ON (1): Write to BFM
Bit 7 = OFF (0): Not write to BFM
*6 This byte number is the last para meter data of first special function block.
*7 This byte number is the first parameter data of second special function block.
If 32DP-IF uses 4 special function blocks, user parameter m ust be made 4 patterns (b yte
No. “2” ~ “5 + n + 3 × b”).
The user parameter data and configuration of the 32DP-IF must always be consistent. To
ensure that the user parameter data and the confi guration of the 32DP-IF are matching
each other , the user par ameter data set sh ould alw ays be constructed by using the GSD f ile
that has been delivered wit h the 32DP-IF.
6.2.1Config ur ing Slave Paramete r by GSD file
The parameter setting of t he 32DP-IF can be enti rely def ined usi ng t he GSD file t hat comes on
the disk together with 32DP-IF. For an easy adjustment of all user parameter data, the
Mitsubishi Profimap Software V2.X or a configuration software from another vendor which is
supporting extended parameter setting should be used.
Note:
In configuring 32DP-IF GSD file, first assign special function blocks, second extension I/O
units/blocks’ input data, and finally extension I/O units/blocks’ output data. The physical
placement of the module does not have to correspond with the GSD file order.
6.2.2Configuring Slave Parameter by Programming Tool
The process of defining a parameter using the programming tool is shown in Figure 6.3.
Please only use a programming tool if configuring a single special function block. It is recom-
mended to utilize the functionality of the GSD file when configuring more than one. As it is
much easier to use f or this purpose.
Caution:
Any mistake in changing D200 ~ D299 can lead to a different interptetation of the ProfibusDP data, which can result in a malfunction of the connected I/O units/blocks and special
function blocks.
Figure 6.3:Process Making Parameter Data by Programming Tool
1. Input parameter data in D200 ~ D299.
2. Turning M8020 from OFF to ON, 32DP-IF send parameter
(D200 ~ D299) extention units/blocks. After this data
furnish to be sent, M8020 is reset automatically.
3. Setting end
6-4
FX2N-32DP-IF Profibus-DP Interface Unit
7.Diagnostic Message
7.1Diagnostic Massage Frame
When a diagnostic error occurs in the 32DP-IF, a diagnostic message is sent form the 32DP-IF
to the DP-master as shown in Figure 7.1. Refer to section 4.2 for the diagnostic message
description.
Note:
If the DP-master receives a diagnos tic message, make provisions for the system to act
safely in accordance with the error message.
Figure 7.1: Diagnostic Massage Frame
Byte No.0123
Description
Total length of diagnostic massage data
is 9 (09 Hex)
Lower byte of D8029Higher byte of D8029 Lower byte of D8004
First diagnostic message
Diagnostic Message 7
Second diagnostic
message
Byte No.4567
Second diagnostic
Description
Byte No.8
Description
message
Higher byte of D8004
Higher byte of last
diagnostic message
*2
data
Lower byte of diagnostic
Third diagnostic message
Higher byte of error
*1
code
*1
*1 This diagnostic message is either number of momentary power failures or the error code
relating to the contents of D8004 (byte No. 3, 4). For error code, refer to section 4.2.4 or
8.3.3.
*2 This diagnostic message is either “0” or the contents of D8068.
If the 32DP-IF does not seem to operate normally, check the following items.
1) Check the status of the “POWER LED”.
Table 8.1:POWER LED Check
StatusDescription
LitPower source is OK.
OtherwisePossible AC power failure, check AC power line and power source.
2) Check the status of the “RUN LED”
Table 8.2:RUN LED Check
StatusDescription
Lit
Otherwise
The 32DP-IF will exchange data with extension units/blocks and special function
blocks.
The 32DP-IF will exchange only input data with extension units/blocks. Check position
of the RUN/STOP switch. If the switch is in the STOP position, change to RUN.
If this switch is RUN position, check power supply for special function blocks and
extension I/O units/blocks.
3) Check the status of the “BF LED”
Table 8.3:BF LED Check
StatusDescription
Unlit32DP-IF will exchange data with Profibus-DP network.
Check D8024. If D8024 does not show a stable baud rate (i.e. always changing) then
Otherwise
check DP-ne twork cables.
Check M8004. If M8004 is ON, refer to Table 8.6.
4) Check the status of the “DIA LED”
Table 8.4:DIA LED Check
StatusDescription
UnlitDiagnostic data is not detected.
Otherwise
Check status of M8004, and DP-master setting.
If M8004 is ON, refer to Table 8.6.
This device contains the lowest device address that caused the
error. Check D8061
0Not error
6102
6103
6129
0Not error
6201Parity/ overrun/ framing error
6202Communications character error
6203
6204Data format error
Operation circuit error: Please contact a service representative.
I/O bus error: Check extension cable for Extension I/O
units/blocks.
BFM #29 (error status) of a connected special function
block shows a value that is different from “0 ”. Please
check the diagnosis message at the DP-master.
Communication data sum check
error
= 8061, identifies M8061.
Description
identifies wh ich error flag is
Check the cable
connection
between programming tool and
32DP-IF.
D8064Parameter error
D8067Operation error
Parameter error
D8068
and operation
error
6205Command error
0Not error
6406
6407
6407
This device contains the lowest special function block’s address
that caused the error. Check D8064 and D8067.
Parameter error for extension units/blocks: Check error
code in D8068, and parameter in the DP-master.
Parameter length error: Parameter data too long, check
parameter’s length in the DP-master.
0Not error
Operation error: Operation error for transmitting special
function block is occurred, check error code in D8068, and
DP-master parameter, and extension cable.
Default setting is
OFF (0), byte data
are not swapped
within a word.
1
Bit 0Bit 1Bit 2
I/O block status is
checked in every
cycle: Y/N
Default setting is
OFF (0), the status
check of the I/O
units/blocks is not
performed in every
cycle.
Special function
block’s BFM #29
(Error status) is
checked: Y/N.
Default setting is
OFF (0), BFM #29
of all connected
special function
blocks is not
checked in ev ery
cycle.
Appendix A
User Parameter for First Special Function Block
Byte No.
3
456
Total length m of
Meaning
Description
Byte No.
Meaning
Description
T y pe code of special
function block, lower
byte of BFM 30
.....
.....
.....
*1
Type code of special
function block,
higher byte of BFM
*1
30
User Parameter for Last (y *4 th) Special Function Block
2 + 4 × (y *4 - 1) + 1
parameter data for
this special function
block.
*2
m = 2
....
Type code of special
function block, lower
byte of BFM 30
*1
.....
Contains n = 0, as
BFM addresses will
be assigned dynam-
*3
ically
2 + 4 × y
*4
Contains n = 0, as
BFM addresses will
be assigned dynam-
*3
ically
*1 Type code of special function block is as following table. This code in the parameter must
be written first Lower byte and second higher byte
Table A-1: Type Code of Special Function Blocks
TypeBFM 30 Code DecBFM30 Code Hex
2N
FX
-4ADK201007DA Hex
2N
FX
-4AD-TCK203007EE Hex
2N
FX
-4AD-PTK204007F8 Hex
2N
-4DAK30200BCC Hex
FX
*2 After power on, the default setting of this parameter for every special function block is 2.
A-1
FX2N-32DP-IF Profibus Interface unitAppendix A
*3 After power on, the default setting of this parameter is 0, as the BFM addresses f or read-
ing/writing command are not coded in the parameter data, but are sent together with the
Profibus data. For exchanged data, refer to appendix A-2.
*4 “y” is number of connected special function blocks to 32DP-IF. (y = 1 8)
A-2Exchanged Data by Default Parameter
After power on, the bus node does not know about the I/O features of the connected special
function blocks. So each special function block is assigned to one reading command and one
writing command. The exchanged data is as follows:
Table A-2: Exchanged Parameter Data
TimesOutput area (send)Input area (receive)
Special function block’s BFM address is writ-
1st
ten for input data (Reading from 32DP-IF)
(Bit15 = write flag)
This data is written to special function block’s
2nd
BFM for output data.
Special function block’s BFM address is writ-
3rd
ten for output data (writing to 32DP-IF)
(Bit15 = write flag)
This value is BFM’s data read from special
function block.
This value was written to special function
block’s BFM.
(Written value is read back)
This value was special function block’ s BFM
address.
(Written value is read back)
Example
Reading BFM #17 and writing K1000 to BFM #9 in the special function block.
Table A-3: Example Exchanged Parameter Data
TimesOutput DataInput Data
8011hex = 11hex (17 dez = BFM #17) + 8000 hex
1st
(bit15=1)
2nd03E8 hex = (1000 dez)03E8 hex = hex value of BFM #9
FX2N-32DP-IF Profibus-DP Interface UnitsAppendix B
B-2Setting the Number of Average fo r Leveled Input Data
The user parameter settings are as shown in FX2N-4AD example. For FX2N-4AD-PT and FX2N4AD-TC, the settings must correspond to their respective BFM locations. For definitions of the
BFM’ s, refer to each modules user’s manual.
Table B-5:Setting number of average for leveled input data of FX2N-4AD.
FX2N-32DP-IF Profibus-DP Interface UnitsAppendix B
B-3Adjusting Offset and Gain
The user parameter settings are as shown in FX2N-4 AD ex a m p le . For F X2N-4DA, the settings
must correspond to their respective BFM locations. For definitions of the BFM’s, refer to each
modules user’s manual.
Note:
To adjust offset/gain, follow process in Figure B-1.
Going to next step, must be delay times as follows.
Table B-6:Delay Times
ItemsDelay Times
2N
FX
-4AD300 ms
2N
FX
-4DA3 s
Figure B-1:Process for Adjusting Offset/Gain
First step (Table B-7): Ready for adjust ing
Going to next step, must be delay time as show Table B-1.
Second step (Table B-8, B-9): Offset and gain data write to FX2N-4AD or FX2N-4DA
Going to next step, must be delay time as show Table B-1.
If adjusting other channel or setting
again, return to second step.
Going to next step, must be delay time as show Table B-1.
Last step (Table B-10): Protected these setting data
B-6
FX2N-32DP-IF Profibus-DP Interface UnitsAppendix B
1) First step in adjusting offset/gain
Table B-7:First Step in Adjusting Offset/Gain for FX2N-4AD
FX2N-32DP-IF Profibus-DP Interface UnitsAppendix B
B-4Changing the High Speed Mode/Normal Mode
The user parameter settings are as shown in FX2N-4 AD ex a m p le . For F X2N-4DA, the settings
must correspond to their respective BFM locations. For definitions of the BFM’s, refer to each
modules user’s manual.
Table B-11:Changing the High Speed Mode/Normal Mode for FX2N-4AD
Total length of parameter bytes for this
special function block is 9 bytes (byte
No. 4 ~ 12).
Example: number of BFM for data
exchanged every cycle is 4
BFMs (BFM #9 ~ #12).
Example: Using high speed mode, BFM
#15 is set to “0001 H”.
D20107DA H
D2020409 H
D2030A09 H
D2040C0B H
D205018F H
D2060000 H
Lower
Lower
Lower
Higher
Lower
Lower
Lower
Lower
B-11
FX2N-32DP-IF Profibus-DP Interface UnitsAppendix B
B-5Returning to Default Settings
The example of s etting the user parameter is the one of FX2N-4AD. For FX2N-4DA, the settings
must correspond to their respective BFM locations. For the meaning of BFM, refer to each
user’s manual
1) First step of retur ning to default for FX
2N
-4AD
Table B-12:First Step of Retur n ing to Default Settings for FX2N-4AD