Manual SPH PROFIBUS-DP Master - Slave Module - FEH237
Manual SPH PROFIBUS-DP Master - Slave Module - FEH237
Manual SPH PROFIBUS-DP Master - Slave Module - FEH237
series
USER’S MANUAL
FEH237f
Preface
Thank you for purchasing Fuji Electric Programmable Controller MICREX-SX Series.
This User’s Manual describes the specifications of the PROFIBUS-DP master/slave/interface modules for the MICREX-SX
series.
Read this manual carefully to ensure correct operation and also read the corresponding user’s manuals listed below.
* In addition to the above manuals, the following Fuji Electric Co.,Ltd.site offers various manuals and technical documents
associated with MICREX-SX series.
URL http://www.fujielectric.com
Notes
1. This manual may not be reproduced in whole or part in any form without prior written approval by the manufacturer.
2. The contents of this manual (including specifications) are subject to change without prior notice.
3. If you find any ambiguous or incorrect descriptions in this manual, please write them down (along with the manual No.
shown on the cover) and contact FUJI.
Safety Precautions
Be sure to read the “Safety Precautions” thoroughly before using the module.
Here, the safety precautions items are classified into “Warning” and “Caution”.
Warning : Incorrect handling of the device may result in death or serious injury.
Caution : Incorrect handling of the device may result in minor injury or physical damage.
Warning
zz Never touch any part of charged circuits as terminals and exposed metal portion while the power is turned ON. It may
result in an electric shock to the operator.
zz Turn OFF the power before mounting, dismounting, wiring, maintaining or checking, otherwise, electric shock, erratic
operation or troubles might occur.
zz Place the emergency stop circuit, interlock circuit or the like for safety outside the PLC. A failure of PLC might break or
cause problems to the machine.
Safety Precautions
Caution
zz Do not use one found damaged or deformed when unpacked, otherwise, failure or erratic operation might be caused.
zz Do not shock the product by dropping or tipping it over, otherwise, it might be damaged or troubled.
zz Follow the directions of the operating instructions when mounting the product. If mounting is improper, the product might
drop or develop problems or erratic operations.
zz Use the rated voltage and current mentioned in the operating instructions and manual. Use beyond the rated values might
cause fire, erratic operation or failure.
zz Operate (keep) in the environment specified in the operating instructions and manual. High temperature, high humidity,
condensation, dust, corrosive gases, oil, organic solvents, excessive vibration or shock might cause electric shock, fire,
erratic operation or failure.
zz Select a wire size to suit the applied voltage and carrying current. Tighten the wire terminals to the specified torque.
Inappropriate wiring or tightening might cause fire, malfunction, failure, or might cause the product to drop from its mounting.
zz Contaminants, wiring chips, iron powder or other foreign matter must not enter the device when installing it, otherwise,
erratic operation or failure might occur.
zz Remove the dust-cover seals of modules after wiring, otherwise, fire, accidents, failure or fault might occur.
zz Connect the ground terminal to the ground, otherwise, an erratic operation might occur.
zz Periodically make sure the terminal screws and mounting screws are securely tightened.
Operation at a loosened status might cause fire or erratic operation.
zz Put the furnished connector covers on unused connectors, otherwise, failure or erratic operation might occur.
zz Install the furnished terminal cover on the terminal block, otherwise, electric shock or fire might occur.
zz Sufficiently make sure of safety before program change, forced output, starting, stopping or anything else during a run.
The wrong operation might break or cause machine problems.
zz Engage the loader connector in a correct orientation, otherwise, an erratic operation might occur.
zz Before touching the PLC, discharge any static electricity that may have been collected on your body. To discharge it, touch a
grounded metallic object. Static electricity might cause erratic operation or failure of the module.
zz Be sure to install the electrical wiring correctly and securely, observing the operating instructions and manual. Wrong or loose
wiring might cause fire, accidents, or failure.
zz When disengaging the plug from the outlet, do not pull the cord, otherwise, break of cable might cause fire or failure.
zz Do not attempt to change system configurations (such as installing or removing I/O modules) while the power is ON,
otherwise, failure or erratic operation might occur.
zz Do not attempt to repair the module by yourself contact your Fuji Electric agent. When replacing the batteries, correctly and
securely connect the battery connectors, otherwise, fire, accidents or failure might occur.
zz Clean this product after power-off using a towel that is moistened with lukewarm water and then wrung tightly. Do not use
thinner or other organic solvents, as the module surface might become deformed or discolored.
zz Do not remodel or disassemble the product, otherwise, a failure might occur.
zz Follow the regulations of industrial wastes when the device is to be discarded.
zz The modules covered in these operating instructions have not been designed or manufactured for use in equipment or
systems which, in the event of failure, can lead to loss of human life.
zz If you intend to use the modules covered in these operating instructions for special applications, such as for nuclear energy
control, aerospace, medical, or transportation, please consult your Fuji Electric agent.
zz Be sure to provide protective measures when using the module covered in these operating instructions in equipment which,
in the event of failure, may lead to loss of human life or other grave results.
zz External power supply (such as 24V DC power supply) which is connected to DC I/O should be strongly isolated from AC
power supply, otherwise, accident or failure might occur. (Use of EN60950 conforming power supply is recommended.)
Revision
* The manual No. is printed at the bottom right of the cover of this manual.
Nov. 2004 FEH237a • Specifications of slave module (type: NP1L-PS1) were added.
• Specifications of response speed were altered.
• Operations for using SX-Programmer Standard were added.
Aug. 2005 FEH237b In I/O point specification, normal mode (I/O 128 words) and I/O extension mode (I/O 510
words) were added.
Feb. 2007 FEH237c “I/O extension + redundant mode” was added to the extension mode setting switch.
Aug. 2008 FEH237d Specifications of Interface module (type: NP1L-RP1) were added.
Preface
Safety Precautions
Revision
Contents
Section 1 Overview
1-1 What is PROFIBUS-DP?.....................................................................................................................1-1
1-2 Features..............................................................................................................................................1-1
1-3 Difference between NP1L-DP1 and NP1L-DP2..................................................................................1-1
1-4 Supported versions.............................................................................................................................1-2
Section 2 Specifications
2-1 General specifications.........................................................................................................................2-1
2-2 Transmission specifications................................................................................................................2-2
2-2-1 List of transmission specifications..................................................................................................................2-2
2-2-2 Response speed............................................................................................................................................2-3
2-3 Names and functions..........................................................................................................................2-8
2-3-1 NP1L-PD1/PD2..............................................................................................................................................2-8
2-3-2 NP1L-RP1/PS1..............................................................................................................................................2-10
2-4 Dimensions.......................................................................................................................................2-12
2-4-1 NP1L-PD1/PD2..............................................................................................................................................2-12
2-4-2 NP1L-RP1/NP1L-PS1....................................................................................................................................2-12
Section 4 Wiring
4-1 Connector and cable.........................................................................................................................4-1
4-1-1 Cable..............................................................................................................................................................4-1
4-1-2 Connector......................................................................................................................................................4-1
4-2 D-sub 9-pin connector internal wiring..................................................................................................4-2
4-3 Connecting location of NP1L-PD1/PD2/RP1/PS1 on PROFIBUS-DP................................................4-2
4-4 PROFIBUS-DP dedicated connector..................................................................................................4-3
Contents
1-2 Features
(1) Open system
PROFIBUS-DP slave devices can be connected. (There are 300 or more vendors of PROFIBUS-DP slave devices.)
DP slave devices are approved by the PROFIBUS Association, and their compatibility is confirmed.
2) LED indication
• Lighting condition of “NS” LED
NP1L-PD1: ON when network is normal. (ON even if all the slave stations are dropped.)
NP1L-PD2: ON during data communication with one or more slave stations (OFF if all the slave stations are dropped.)
• In “STOP” mode
NP1L-PD1: “MS” and “NS” turn ON. “SER” blinks.
NP1L-PD2: “MS” and “NS” turn OFF. “SER” blinks.
3) Start-up time
The start-up time of NP1PD2 is approximately five seconds longer than that of NP1L-PD1.
1-1
Section 1 Overview
Software version is earlier than Software version is V33 or later, or I/O extension + redundant mode
NP1L-PD1/ V33, or normal mode or I/O extension is used with V34 or later version
PD2 PROFIBUS extension mode is mode is used
used with V33 or later version
SPH300 Software version: V56 or later Software version: V64 or later Not supported
SPH200 Not supported Software version: V34 or later Not supported
NP1PM-256H (All versions)
SPH2000 All versions All versions
Other types are not supported.
SPH3000 All versions All versions Not supported
D300winV2 V2.2.3.1 or later Not supported Not supported
D300winV3 All versions V3.3.0.0 or later V3.4.0.0 or later
Standard Normal mode: V2.2.1.0 or later
V2.0.3.0 or later Not supported
loader I/O extension mode: V2.2.2.1 or later
* If NP1PL-PD2 does not appear on your programming tool, select NP1PL-PD1 on the system definition screen.
(2) NP1L-PS1
(3) NP1L-RP1
1-2
Section 2 Specifications
2-1
Section 2 Specifications
Item Specification
Communication function PROFIBUS-DP(V0) Master function (DPM1: Master class 1)
Number of connectable slave stations Max. 32 (Max. 126 when repeaters are used)
Station No. (station address) setting range 0 to 125
Transmission line format Bus configuration (multi-drop)
Communication protocol Conforming to EN50170 and DIN19245
Data exchange method 1:N (polling/selecting system)
9.6k, 19.2k, 93.75k, 187.5k, 500k, 1.5M, 3M, 6M, 12M (bps)
Transmission speed
* Set by configurator.
Max. transmission distance depends on the transmission speed.
9.6/19.2/93.75kbps: 1200m 187.5kbps: 1000m,
Transmission distance
500kbps: 400m, 1.5Mbps: 200m
3/6/12Mbps: 100m
Normal mode: Max. 128 words in total (Note 1)
PROFIBUS extension mode: Max. 510 words in total (Note1)
Number of I/O words I/O extension mode: Max. 510 words in total (Note 1) (Note 3)
* In PROFIBUS extension mode, Max. 255 words for input and Max. 255
words for output
Cable PROFIBUS-DP dedicated cable (Note 2)
Item Specification
Communication function PROFIBUS-DP(V0) Slave function
GSD file HMS_1003. GSD
Station No. (station address) setting range 0 to 99 (decimal)
Transmission line format Bus configuration (multi-drop)
Communication protocol Conforming to EN50170 and DIN19245
Data exchange method 1:N (polling/selecting system)
9.6k, 19.2k, 93.75k, 187.5k, 500k, 1.5M, 3M, 6M, 12M (bps)
Transmission speed
* Set by configurator.
Max. transmission distance depends on the transmission speed.
9.6/19.2/93.75kbps: 1200m 187.5kbps: 1000m,
Transmission distance
500kbps: 400m, 1.5Mbps: 200m
3/6/12Mbps: 100m
Input: Max. 122 words, Output: Max. 122 words
Number of I/O words Max. 128 words in total
*Depends on the parameter setting in the system definition (D300win)
Cable PROFIBUS-DP dedicated cable (Note 2)
Notes:
1) Restriction on the number of I/O words of I/O master in a multi-CPU configuration
Configure to satisfy the following formula in a multi-CPU configuration.
2048 > Number of CPU modules x (Number of I/O words of I/O master + 8)
+ Number of modules except CPU modules x 1.5
+ Total number of words of I/O modules directly connected to SX bus + 5 (words)
2) For the details of a PROFIBUS-DP dedicated cable, see “Section 4 Wiring.”
3) To use the I/O extension mode, use a CPU module and loader that support it.
2-2
Section 2 Specifications
Notes:
Output variable A The processing time of the application program is not taken into consideration
Turn ON by application program.
SX bus tact
synchronization delay time
1)
NP1L-PD1/PD2
internal processing time
2)
Transmission time
(Bus cycle)
3)
1) The time required for the output information written in output variable A to be transmitted to NP1L-PD1/PD2 via SX bus
= Max. one tact time
2) The time required to transmit the data from SX bus to the output buffer of NP1L-PD1/PD2
Earlier than V32:
(PD1/PD2 processing time) = 61 + 0.18 x Number of words (ms)
V32 or later:
(PD1/PD2 processing time Max. value) = 1.5 + (1.2 + 0.01 x Number of words) x 2 (ms) (In single-CPU system)
(PD1/PD2 processing time Min. value) = 1.5 + (1.2 + 0.01 x Number of words) (ms) (In single-CPU system)
(PD1/PD2 processing time Max. value) = 1.2 + 0.2 x Number of CPU modules + 0.02 x Number of words
+ (1.2 + 0.01 x Number of words) x 2 (ms) (In multi-CPU system)
(PD1/PD2 processing time Min. value) = 1.2 + 0.2 x Number of CPU modules + 0.02 x Number of words
+ (1.2 + 0.01 x Number of words) (ms) (In multi-CPU system)
Notes:
The number of words is set in the parameter in system definition.
3) The time required to transmit the data from the output buffer of NP1L-PD1/PD2 to the PROFIBUS-DP slave station
(Bus cycle)
a This transmission time depends on the transmission speed, the data size, etc. For the details of the bus cycle, see “(5) Bus
cycle”.
4) The time required for the PROFIBUS-DP slave station to receive the data and output processed data = Depends on the
specifications of the slave station.
Notes:
Bus cycle is assumed to be 1 ms in this example.
2-3
Section 2 Specifications
(2) NP1L-PD1/PD2 Response time of input data
NP1L-PD1/PD2 response time of input data means the time required for input ON data of the PROFIBUS-DP slave station to be
transmitted to an application program via the PROFIBUS-DP master module.
Input data
Slave station
internal processing time
1)
Transmission time
(Bus cycle)
2)
NP1L-PD1/PD2
internal processing time
3)
At this timing the data is captured into the corresponding
SX bus tact
variable of the application program.
Synchronization delay time
4) However, the processing time of the application is not taken
into consideration.
1) The time required for the PROFIBUS-DP slave station to transmit the data that is input from an external device to the output
buffer of the slave station = Depends on the specifications of the slave station.
2) The time required to transmit the data from the output buffer of the slave station to NP1L-PD1/PD2 (Bus cycle)
a This transmission time depends on the transmission speed, the data size, etc. For the details of the bus cycle, see “(5) Bus
cycle”.
3) The time required to transmit the data to the SX bus transmission buffer of NP1L-PD1/PD2
Earlier than V32
(PD1/PD2 processing time) = 80 + 0.2 x Number of words (ms)
V32 or later
(PD1/PD2 processing time Max. value) = (1.2 + 0.01 x Number of words) + 1.5 x 2 (ms) (In single-CPU system)
(PD1/PD2 processing time Min. value) = (1.2 + 0.01 x Number of words) + 1.52 (ms) (In single-CPU system)
(PD1/PD2 processing time Max. value) = (1.2 + 0.01 x Number of words) + (1.2 + (0.2 x Number of CPU modules)) x 2 (ms)
(In multi-CPU system)
(PD1/PD2 processing time Min. value) = (1.2 + 0.01 x Number of words) + 1.2 + (0.2 x Number of CPU modules) (ms)
(In multi-CPU system)
Notes:
The number of words is set in the parameter in system definition.
4) The time required to transmit the data from NP1L-PD1/PD2 to the I/O memory of the CPU via SX bus = Max. one tact time
Notes:
Bus cycle is assumed to be 1 ms in this example.
2-4
Section 2 Specifications
(3) NP1L-PS1 Response time of input data
NP1L-PS1 response time of input data means the time required until the CPU (application) receives the data after the
PROFIBUS-DP slave station receives it from the master station.
Slave module
internal processing time
1)
At this timing the data is captured into the corresponding
SX bus tact variable of the application program.
synchronization However, the processing time of the application is not taken
delay time 2)
into consideration.
1) The time required for the PROFIBUS-DP slave module to transmit the received data from the master module to the buffer for
transmitting it to the SX bus
(PS1 processing time Max. value) = (0.8 + 0.01 x Number of I/O words) + 3 (ms)
(PS1 processing time Min. value) = (0.8 + 0.01 x Number of I/O words) + 0.1 (ms)
Notes:
The number of words is set in the parameter in system definition.
2) The time required to transmit the data from NP1L-PS1 to the I/O memory of the CPU via SX bus = Max. one tact time
Turn ON ouput
by application program.
Notes:
The processing time of the application program is not taken into consideration
SX bus tact
synchronization delay time
1)
At this timing the data is sent out on the PROFIBUS transmission.
Slave module
internal processing time
2)
1) The time required for the data given in the application to be transmitted to the slave module = Max. one tact time
2) The time required for the PROFIBUS slave module to output the sent data from the CPU on the PROFIBUS transmission
(PS1 processing time Max. value) = (0.8 + 0.01 x Number of I/O words) + 3 (ms)
(PS1 processing time Min. value) = (0.8 + 0.01 x Number of I/O words) + 1.5 (ms)
Notes:
The number of words is set in the parameter in system definition.
2-5
Section 2 Specifications
(5) Bus cycle (Transmission time of PROFIBUS)
The transmission time = Bus cycle is defined by the PROFIBUS specifications.
The data format is basically 11-bit configuration; the transmission header is 9 bytes for the data of a slave and Start, Stop and
Parity are added per byte. In addition, the response time during data transmission, etc. depends on the transmission speed (baud
rate) and individual products.
You can check the bus cycle by using the dedicated software (configurator) when creating configuration data of PROFIBUS.
* For NP1L-PD2, use a different type of configurator. For the setting procedure, see “Appendix 2.”
After creating configuration data of PROFIBUS, put the cursor on “MASTER” in the configuration tree, and then click [Bus
Parameter] in the [Settings] menu. The “Bus Parameter” dialog appears. Click the [Edit] button.
2-6
Section 2 Specifications
The bus cycle is displayed on the “Target Rotation Time” part.
When the transmission speed (Baud rate) is changed on this screen, the “Target Rotation Time” also changes with it.
If 12000kbps is changed into 6000kbps on the above screen, the “Target Rotation Time” changes as shown below.
2-7
Section 2 Specifications
ONL T/R
MS NS 2) RUN/STOP mode selection switch
ERR SER
RUN
3) Extension mode selection switch
5) Configurator connector STOP
4) Terminating resistor ON/OFF switch CONFIGURATION Nameplate (on the right side)
*For PD1 only INTERFACE
6) PROFIBUS connector
TERM.
OFF ON
PROFIBUS-DP
7) Version No.
NP1L-
PD1
(2) Functions
1) Status indication LED
This LEDs indicate the current status of NP1L-PD1/PD2.
2-8
Section 2 Specifications
3) Extension mode selection switch
This switch is used to set the number of I/O points that the master module can control.
4
Not used SW1 SW2 Mode
3
MODE OFF OFF Normal mode (Note 1)
2 Notes:
1 ON OFF PROFIBUS extension mode (current mode) 1) Supported by software version V33
ON or later.
OFF ON I/O extension mode (Note 1)
2) Supported by software version V34
ON ON I/O extension + Redundant mode (Note 2) or later.
5) Configurator connector
This is a D-sub 9-pin male connector used to connect a configurator (personal computer) via RS-232C communication.
CONFIGURATION
2 IN RXD Receive data
INTERFACE
3 OUT TXD Send data
4 OUT DTR Data terminal ready
5 − GND GND
6 − Not connected
Inch screw (#4-40 screw)
7 OUT RTS Request to send
* For the wiring, see “Section 4 Wiring.” 8 IN CTS Send enable
9 − Not connected
Metal part, screw − Safety ground
6) PROFIBUS-DP connector
This is a D-sub 9-pin female connector.
7) Version No.
The hardware and firmware versions of NP1L-PD1/PD2 are indicated.
21 Hardware version
33 Firmware version
2-9
Section 2 Specifications
2-3-2 NP1L-RP1/PS1
(1) Names
1) Status Indication LED
ONL T/R
MS NS
ERR SER
9 0 1
2 3
7 8
4 5 6
9 0 1
2 3
PROFIBUS-DP
5) Version No.
NP1L-
PS1
(2) Functions
1) Status indication LED
This LEDs indicate the current status of NP1L-RP1/PS1.
2-10
Section 2 Specifications
2) Station No. selection switch
This switch is used to set the PROFIBUS-DP station No. The setting range is 00 to 99 (in decimal notation).
7 8
4 5 6
9 0 1
2 3
High-order digit of station No. (upper switch) x 1
7 8
4 5 6
9 0 1
4) PROFIBUS connector
This is a D-sub 9-pin male connector.
5) Version No.
The hardware and firmware versions of NP1L-RP1/PS1 are indicated.
20 Hardware version
30 Firmware version
2-11
Section 2 Specifications
2-4 Dimensions
2-4-1 NP1L-PD1/PD2 Unit: mm
35 (52) (45) 90
105
2-4-2 NP1L-RP1/NP1L-PS1
(Note)
35 (52) (45) 90
7 8
4 5 6
9 0 1
2 3
105
7 8
4 5 6
9 0 1
2 3
Notes:
The bending radius of the cable needs to be taken into consideration.
2-12
Section 3 System Configuration
NP1L-PD1/PD2/NP1L-PS1 can be mounted on any slot except those for a power supply module.
Mountable slots
Mountable slots
Notes:
NP1L-PD1/PD2/NP1L-PS1 cannot be mounted on a T-link, OPCN-1, or other slave station base board.
NP1L-RT1
NP1L-TL1
3-1
Section 3 System Configuration
(2) NP1L-RP1
Only one NP1L-RP1 module can be mounted on a base board of PROFIBUS slave station. Mount it on the right side of a power
supply module. On an NP1L-RP1 base board, you can mount SPH series I/O modules to construct a I/O group-type unit of
PROFIBUS.
Base board
NP1L-RP1
Terminating plug
Notes:
In principle, I/O modules can be mounted on an NP1L-RP1 base board, however the following modules, which require a high-
speed response, are not recommended be mounted on it.
Name Type
24V DC high-speed input NP1X3206-A
Transistor sink output with pulse output function output function NP1Y32T09P1-A
Positioning control module NP1F-MP2, NP1F-MA2, NP1F-HP2
High-speed counter module NP1F-HC8, NP1F-HC2
3-2
Section 3 System Configuration
Name Type
T-link master module NP1L-TL1
T-link slave module NP1L-TS1
OPCN-1 master module NP1L-JP1
OPCN-1 slave module NP1L-JS1
DeviceNet master module NP1L-DN1
DeviceNet slave module NP1L-DS1
P-link module NP1L-PL1
PE-link module NP1L-PE1
FL-net module NP1L-FL1
LE-net loop module NP1L-LL1/LL2
LE-net module NP1L-LE1
General purpose communication module NP1L-RS1/RS2/RS3/RS4/RS5
Memory card interface module NP1L-MM1
ADS-net module NP1L-AD1
Ethernet module NP1L-ET1/ET2
Web module NP1L-WE1
LONWORKS interface module NP1L-LW1
POD directly connected to SX bus -
* The modules listed above obtain a “circuit No.” when they are registered in an SPH system.
3-3
Section 3 System Configuration
NP1L-PD1/PD2
Register in the system definition of the loader.
RUN
STOP
CONFIGURATION
INTERFACE
TERM.
NP1L-
PD1
<Operating procedure>
Double-click “System_Definition” in the project tree. The system definition screen opens. When using Standard loader in
Package Display mode, click [System Definition] in the [PLC functions] menu to display the system definition screen.
3-4
Section 3 System Configuration
On the system definition screen, select the module under which NP1L-PD1/PD2 is to be inserted (CPU module in this
example), and then click the [Insert] button. The “Module insert” dialog opens.
Select NP1L-PD1/PD2 of the mode to be used.
Click here.
* Select NP1L-PD1/PD2 according to the mode to be used. The following four modes are provided.
• Standard mode g PROFIBUS-DP Master (V33 or more)
• PROFIBUS extension mode g PROFIBUS-DP Master (Ext)
• I/O extension mode g PROFIBUS-DP Master (I/O Ext: V33 or more)
• I/O extension + SPH2000 redundant mode g PROFIBUS-DP Master (I/O Ext + Redundant: V34 or more)
On the “Module insert” dialog box, click the [Parameter...] button. The “PROFIBUS-DP master parameter setting” dialog
opens. Set the total number of input and output words for the slave stations that are connected to NP1L-PD1/PD2, and then
click the [OK] button.
Notes:
Register the PROFIBUS-DP master module in fail-soft operation setting of the CPU parameter.
If you need to set the CPU as fatal fault when a slave drops out from the system, set the user fatal fault bit to ON by an
application.
3-5
Section 3 System Configuration
* To actually perform PROFIBUS-DP communication in the SX system, you need to set the “mode selection switch” of the
NP1L-PD1/PD2 module to “RUN (operation mode)” to turn on the power supply to the SX system again.
Notes:
1) The mode set by the “mode selection switch” takes effect when the SX system (NP1L-PD1/PD2) is powered on.
Even if you change the “mode selection switch” position during operation (while the SX system is activated), the change
does not take effect, and the mode set at power-on continues to take effect. When you want to change the mode, be sure to
turn the power supply of the SX system to off and on again after changing the mode switch setting.
2) Even when the mode selection switch is set to “RUN”, configuration data can be downloaded from the configurator.
However, when download is performed, the I/O operation of the slave stations stops, and the CPU module goes in a fatal
fault condition the moment the download is completed. In addition, if the “Firmware/Reset” or “I/O Monitor” is executed from
the configurator, the system stops due to a fatal fault or I/O data are instantaneously turned off. Therefore, do not perform
operation from the configurator when the mode selection switch is set at “RUN.” If you need to perform it, be sure to check
that there will be no problem on the system before execution.
3-6
Section 3 System Configuration
(2) Registration of NP1L-PD1
Register NP1L-PD1 as a PROFIBUS-DP master in the configuration screen of the configurator (SYCON).
In the [Insert] menu of the menu bar on the configurator (SYCON), click [Master]. The “Insert Master” screen opens. Select
“Profibus-DP Master” to register it in the “Selected Master.” Be sure to set the master station No. to “0” (zero).
Notes:
NP1L-PD1 stores the information (normal/abnormal) of the master station in the “Remote I/O master - I/O module
configuration / fault information” area of the CPU internal memory, together with the information of the slave stations.
The information of the master station is always displayed at the bit position for “station No. = 0”. Therefore, be sure to set the
master station No. to 0 in the configurator. Even if the master station No. is set to a number other than 0 in the configurator, the
information of the master station is displayed at the bit position of 0. Under this condition, if a slave station whose station No. is
0 exists, the information of the master station is given higher priority.
3-7
Section 3 System Configuration
(2) Registration of NP1L-RP1
In the configurator, register the I/O group-type unit of PROFIBUS-DP with NP1L-RP1 as one slave unit.
Register the slave in the configuration screen of the configurator (SYCON). Select “Anybus-S PDP(FW2x)” here.
Double-click here.
After inserting the slave, register the I/O modules mounted on the NP1L-RP1 base board.
Double-click on the configuration screen in the configurator. The “Slave Configuration” screen appears.
3-8
Section 3 System Configuration
As shown in the figure below, register the I/O modules in the mounted order.
3-9
Section 3 System Configuration
<D300win>
Period Period
<Standard loader>
Period
NP1L-PD1 becomes
PROFIBUS system configuration screen of the configurator
a master.
3-10
Section 3 System Configuration
(2) Address table of the configurator
The address table for the system configuration example shown in (1) is as follows.
• Slave 1: 16-point input (1 WORD)
• Slave 2: 32-point input (2 WORD)
• Slave 3: I/O group-type unit of PROFIBUS-DP with NP1L-RP1
On the “Address Table” screen of the configurator, you need to assign an address viewed from SX_CPU for each slave station.
%QW1.7(WX1.7)
%QW1.11(WX1.11)
Notes:
The numbers of input and output words set in the configurator must match those of the actual configuration.
If the numbers of input and output words set in the configurator is smaller than those of the actual configuration:
a I/O data exceeding the configurator setting are not refreshed.
If the numbers of input and output words set in the configurator is greater than those of the actual configuration:
a NP1L-PD1 does not start up normally. Communication does not start, either.
(The “ONL” LED of NP1L-RP1 blinks. The “NS” LED (red) of NP1L-PD1 turns on.)
3-11
Section 3 System Configuration
Supposing,
Number of words occupied by PROFIBUS-DP slave: Input/Output = 2/2 words
SX bus station No.: 3
• For the I/O assignment, always first comes input and then output from each CPU.
• The number of I/O words occupied by the PROFIBUS-DP slave modules must be set in the configurator for the master side
system, and set in the loader for the slave side system.
Make sure that the number of I/O words set on the master side matches that on the slave side.
3-12
Section 3 System Configuration
* The GSD file name of the PROFIBUS-DP slave module (Type: NP1L-PS1) differs depending on the hardware version of the
product.
• Hardware version V20 or earlier a Hms_1003.Gsd
• Hardware version V21 or later a Hmsb1003.gsd
The GSD file can be downloaded from the “Software libraries” in “Programmable Controllers” in Fuji Electric Co.,Ltd.site.
(http://www.fujielectric.com)
For the contents of the GSD file, see “Appendix 1 GSD file”.
3-13
Section 3 System Configuration
(2) Setting of the number of I/O words
Set the number of words occupied by the PROFIBUS-DP slave module. This number of words occupied by the slave module
becomes the number of words for data communication between the master station and the slave station.
Click the slave module part on the configuration tree screen. The “Slave Configuration” screen opens.
Double-click here.
Address table
On the number of words selection table, click the number of words which you want to set.
* There are 24 selectable patterns of the number of words as shown in the table above. The selected pattern is displayed on
the address table.
* If the total number of words is within the specifications, multiple patterns can be selected. For example, when you want to
set 40 words for input and 16 words for output, select 32 words and 8 words in input and then select 16 words in output.
* If 1 byte is selected, an area for one word is occupied.
3-14
Section 3 System Configuration
Select “I/O master” for Module group type and then select “NP1L-PS1” from Outline specification.
Next, click the [Parameter] button. The “PROFIBUS-DP slave parameter setting” dialog box opens. Set the number of words
for communication with the master station, and then click the [OK] button.
Notes:
The number of the input words on the master side becomes the number of the output words on the slave side and the number
of the output words on the master side becomes the number of the input words on the slave side. Especially when the number
of the input words and output words are different, be sure to note the point.
3-15
Section 3 System Configuration
Set the fail-soft operation of the PROFIBUS-DP slave module. Click the [Fail-Soft operation setting] tab on the “CPU
parameter” dialog box and register the slave module as shown below.
Notes:
If the slave module is not registered for fail-soft and communication with the master station stops due to disconnection of the
master station or power-cut, the whole slave system stops operation as a communication error.
3-16
Section 4 Wiring
Cable
Use commercially available cable for PROFIBUS-DP
(shielded twisted pair cable).
Connector
Use commercially available D-sub 9-pin (male) connector.
PROFIBUS-DP dedicated connectors are marketed.
See “4-4 PROFIBUS-DP dedicated connector.”
4-1-1 Cable
Use a commercially available cable for PROFIBUS-DP (shielded twisted-pair cable).
4-1-2 Connector
(1) Contact (D-sub 9-pin male)
(2) Cover
4-1
Section 4 Wiring
Connector
Pin No.
Line B (red)
3)
Line A (green) PROFIBUS-DP dedicated cable
8)
1) Shield
<When connected at the cable end> <When connected in the middle of the cable>
* NP1L-PD1/PD2/RP1/PS1 can be connected in the middle of a cable. However, in this case, 2 signal cables are connected to
the D-sub 9-pin connector.
4-2
Section 4 Wiring
Notes:
1) The product type and specifications may be changed.
2) When a dedicated connector is used, it may protrude over the configurator connector of NP1L-PD1/PD2, depending on its
shape. The configurator cannot be connected during communication.
3) When a terminating resistor needs to be used, be sure to use either one of the terminating resistor on NP1L-PD1/PD2/PS1/
RP1 or that on the dedicated connector.
4-3
Section 5 RAS Information
Click here.
* As shown above, [System RAS], [Bus transmission] and [Dump list] are provided in the detail RAS information of the
NP1L-PD1/PD2 and NP1L-PS1 module. You can select each information by clicking the corresponding tab.
• On the [System RAS] window, “Type information” and “Module intensive status information” are displayed.
• On the [Bus transmission] window, “SX bus transmission information” is displayed.
• On the [Dump list] window, “PROFIBUS transmission status information”, “Remote I/O station error information”, “Remote
I/O station intensive status information”, “On board hard error factor”, “Communication firmware information (for PD1/PD2
only)” and “PROFIBUS initial setting information (for PD1/PD2 only)” are displayed.
Notes:
“Setting error factor” is displayed on the dump list window, which, however, is not supported by NP1L-PD1/PD2/PS1.
5-1
Section 5 RAS Information
Type information
5-2
Section 5 RAS Information
0000:4020 0000 0000 0000 0000 0000 0000 0000 Summary of transmission status (8 words)
0008:0006 0000 0000 0000 0000 0000 0000 0000 Setting information (8 words)
0010:0000 0000 0000 0000 0000 0000 0000 0000 Status information (8 words)
0018:0000 0000 0000 0000 0000 0000 0000 0000 Diagnosis enable information (8 words)
0 0 0 2
0002 0000000000000010
Slave station No.: 01
In this example, one slave station of station No. 1 is set.
• Status information
Indicates the status of slave station, one bit for one slave station. When a slave station is communicating normally, the
corresponding bit is set ON.
• Diagnosis enable information
Indicates whether or not the diagnosing function of the configurator can be used, one bit for one slave station. When the
diagnosing function can be used for a slave station, the corresponding bit is set ON.
5-3
Section 5 RAS Information
(2) Remote I/O station error information
If the NP1L-PD1/PD2/PS1 module that has shifted over to ordinary communication mode detects an error on a slave station, the
error contents are displayed on this area and notified to the CPU.
<NP1L-PD1/PD2>
In the following cases, the NP1L-PD1/PD2 module that has shifted over to ordinary communication mode stores the error
contents and the corresponding station No. in this area and notifies them to the CPU:
1) When the NP1L-PD1/PD2 module detects disconnection of a slave station by an error such as no response
2) When the NP1L-PD1/PD2 module detects a notice of an error from a slave station
<NP1L-PS1>
Only first two words are used. Whether or not there is a communication error and whether or not the master station is normal are
indicated.
<NP1L-PD1/PD2>
Error counter Error information
• Error information
15 8 7 0
<NP1L-PS1>
Error information Error code
5-4
Section 5 RAS Information
(3) Remote I/O station intensive status information
<NP1L-PD1/PD2>
In this area, the status of each slave station that is connected to the master module is stored, in the order of station No.
<NP1L-PS1>
The status of connection between the slave module and the master station is displayed. Only first one word is used and all
other words are not used (fixed to “0”).
<NP1L-PD1/PD2>
Status of Status of Status of
station No. 0 station No. 1 station No. 7
Status code:
0000h: Nothing is set, or no station is connected.
0080h: Normal
00D2h: Slave station is disconnected.
<NP1L-PS1>
Status code:
0080h: Master station is normal.
00D2h: Master station is disconnected.
5-5
Section 5 RAS Information
(4) On board hard error RAS
The error status of the processor, peripheral ROM, RAM, etc. that are used for the module is displayed.
If this type of error information is displayed, the module’s hardware is abnormal, and it is necessary to replace or repair the
module.
15 8 7 3 0
0000h 0 0 0 0 0 0 0 0 0 0 0 0
RAM error
Subprocessor error
5-6
Appendix 1 GSD File
;============================================================
; Profibus Device Database of HMS Industrial Networks.
; Model : ANYBUS-S PDP
; Description : ANYBUS-S Profibus DP slave
; Language : English
; Date : 12 March 2004
; Author : HMS Industrial Networks AB
;
; MODIFICATIONS:
; 05 February 2001:
; -Version changes
; -Added support for baudrate 45.45 kbit
;
; 08 May 2003:
; - Corrected 'GSD_Revision' to '2'.
; - Corrected 'MaxTsdr_45.45' from 250 to 60.
; - Changed 'Revision' to 1.2
;
; 14 May 2003:
; - Corrected 'MaxTsdr_xxx' for all baudrates according to the new specification.
; - Changed 'Revision' to 1.3
;
; 3 September 2003:
; - Changed 'Revision' to 1.4
; - Changed 'Hardware_Release' to 1.5
; - Changed 'Software_Release' to 1.2
;
; 12 March 2004:
; - Changed 'Hardware_Release' to 1.6
; - Changed 'Revision' to 1.5
;
;============================================================
#Profibus_DP
GSD_Revision = 2
; Device identification
Vendor_Name = "HMS Industrial Networks AB"
Model_Name = "ANYBUS-S PDP"
Revision = "Version 1.5"
Ident_Number = 0x1003
Protocol_Ident = 0 ; DP protocol
Station_Type = 0 ; Slave device
FMS_supp = 0 ; FMS not supported
Hardware_Release = "Version 1.6"
Software_Release = "Version 1.2"
; Supported baudrates
9.6_supp = 1
19.2_supp =1
45.45_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
App.1-1
Appendix 1 GSD File
; Maximum responder time for supported baudrates
MaxTsdr_9.6 = 15
MaxTsdr_19.2 = 15
MaxTsdr_45.45 = 15
MaxTsdr_93.75 = 15
MaxTsdr_187.5 = 15
MaxTsdr_500 = 15
MaxTsdr_1.5M = 25
MaxTsdr_3M = 50
MaxTsdr_6M = 100
MaxTsdr_12M = 200
; Supported DP features
Freeze_Mode_supp =1 ; supported
Sync_Mode_supp =1 ; supported
Auto_Baud_supp =1 ; supported
Set_Slave_Add_supp =0 ; not supported
Fail_Safe =0 ; Slave does not accept data frames with zero data length in state CLEAR.
Slave_Family =0
Max_Diag_Data_Len =6
; Definition of modules
Module = "IN/OUT: 1 Byte" 0x30
EndModule
;
Module = "IN/OUT: 2 Byte ( 1 word)" 0x70
EndModule
;
Module = "IN/OUT: 4 Byte ( 2 word)" 0x71
EndModule
;
Module = "IN/OUT: 8 Byte ( 4 word)" 0x73
EndModule
;
Module = "IN/OUT: 16 Byte ( 8 word)" 0x77
EndModule
;
Module = "IN/OUT: 32 Byte (16 word)" 0x7F
EndModule
;
Module = "IN/OUT: 64 Byte (32 word)" 0xC0,0x5F,0x5F
EndModule
;
Module = "IN/OUT: 128 Byte (64 word)" 0xC0,0x7F,0x7F
EndModule
;
Module = "INPUT: 1 Byte" 0x10
EndModule
App.1-2
Appendix 1 GSD File
;
Module = "INPUT: 2 Byte ( 1 word)" 0x50
EndModule
;
Module = "INPUT: 4 Byte ( 2 word)" 0x51
EndModule
;
Module = "INPUT: 8 Byte ( 4 word)" 0x53
EndModule
;
Module = "INPUT: 16 Byte ( 8 word)" 0x57
EndModule
;
Module = "INPUT: 32 Byte (16 word)" 0x5F
EndModule
;
Module = "INPUT: 64 Byte (32 word)" 0x40,0x5F
EndModule
;
Module = "INPUT: 128 Byte (64 word)" 0x40,0x7F
EndModule
;
Module = "OUTPUT: 1 Byte" 0x20
EndModule
;
Module = "OUTPUT: 2 Byte ( 1 word)" 0x60
EndModule
;
Module = "OUTPUT: 4 Byte ( 2 word)" 0x61
EndModule
;
Module = "OUTPUT: 8 Byte ( 4 word)" 0x63
EndModule
;
Module = "OUTPUT: 16 Byte ( 8 word)" 0x67
EndModule
;
Module = "OUTPUT: 32 Byte (16 word)" 0x6F
EndModule
;
Module = "OUTPUT: 64 Byte (32 word)" 0x80,0x5F
EndModule
;
Module = "OUTPUT: 128 Byte (64 word)" 0x80,0x7F
EndModule
;
App.1-3
Appendix 1 GSD File
Appendix 1-2 For NP1L-RP1 and NP1L-PS1 hardware version V21 or later
NP1L-RP1/NP1L-PS1 whose hardware versions is V21 or later uses GSD file (Hmsb1003.gsd). You can download the GSD
file from the “Software libraries” in “Programmable Controllers” in Fuji Electric Co.,Ltd.site. In addition, by creating the following
contents with a text editor etc. and supplying “GSD” to the extension, it can be used as a GSD file.
;================================================================
; Profibus Device Database of HMS Industrial Networks.
;
; Model: ANYBUS-S PDP
; Description: Anybus-S PROFIBUS DP-V0 slave
; Language: English
; Author: HMS Industrial Networks
; WWW: www.anybus.com
;
; Revision log:
; 2.03 2008-01-17 Changed Vendor_Name and Model Name.
; 2.02 2007-10-24 Changed the keyword Fail_Safe's value to 1.
; 2.01 2007-06-21 Changed Software_Release and Revision.
; 2.00 2007-05-14 Changed Hardware_Release to 2.0, changed Software_Release
; to 2.0, changed GSD_Revision to 5, changed Revision 1.6,
; added keyword Max_User_Prm_Data_Len.
; 1.05 2004-03-12 Changed Hardware_Release to 1.6, changed Software_Release
; to 1.5.
; 1.04 2003-09-03 Changed Revision to 1.4, changed Hardware_Release to 1.5,
; changed Software_Release to 1.2.
; 1.03 2003-05-14 Corrected MaxTsdr_xxx for all baudrates according to the
; new specification, changed revision to 1.3.
; 1.02 2003-05-08 Corrected GSD_revision to 2, corrected MaxTsdr_45.45
; from 250 to 60, changed Revision to 1.2.
; 1.01 2001-02-05 Version changes, added support for baudrate 45.45 kbit.
;
;================================================================
#Profibus_DP
GSD_Revision =5
; Device identification
Vendor_Name = "HMS Industrial Networks"
Model_Name = "Anybus-S PDP (FW 2.x)"
Revision = "Version 2.03"
Ident_Number = 0x1003
Protocol_Ident =0 ; DP protocol
Station_Type =0 ; Slave device
FMS_supp =0 ; FMS not supported
Hardware_Release = "Version 2.00"
Software_Release = "Version 2.01"
; Supported baudrates
9.6_supp =1
19.2_supp =1
45.45_supp =1
93.75_supp =1
187.5_supp =1
500_supp = 1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
App.1-4
Appendix 1 GSD File
MaxTsdr_1.5M = 25
MaxTsdr_3M = 50
MaxTsdr_6M = 100
MaxTsdr_12M = 200
; Supported DP features
Freeze_Mode_supp =1 ; supported
Sync_Mode_supp =1 ; supported
Auto_Baud_supp =1 ; supported
Set_Slave_Add_supp =0 ; not supported
Fail_Safe =1
Slave_Family =0
Max_Diag_Data_Len =6
; Definition of modules
Module = "IN/OUT: 1 Byte" 0x30
1
EndModule
;
Module = "IN/OUT: 2 Byte ( 1 word)" 0x70
2
EndModule
;
Module = "IN/OUT: 4 Byte ( 2 word)" 0x71
3
EndModule
;
Module = "IN/OUT: 8 Byte ( 4 word)" 0x73
4
EndModule
;
Module = "IN/OUT: 16 Byte ( 8 word)" 0x77
5
EndModule
;
Module = "IN/OUT: 32 Byte (16 word)" 0x7F
6
EndModule
;
Module = "IN/OUT: 64 Byte (32 word)" 0xC0,0x5F,0x5F
7
EndModule
;
Module = "IN/OUT: 128 Byte (64 word)" 0xC0,0x7F,0x7F
8
App.1-5
Appendix 1 GSD File
EndModule
;
Module = "INPUT: 1 Byte" 0x10
9
EndModule
;
Module = "INPUT: 2 Byte ( 1 word)" 0x50
10
EndModule
;
Module = "INPUT: 4 Byte ( 2 word)" 0x51
11
EndModule
;
Module = "INPUT: 8 Byte ( 4 word)" 0x53
12
EndModule
;
Module = "INPUT: 16 Byte ( 8 word)" 0x57
13
EndModule
;
Module = "INPUT: 32 Byte (16 word)" 0x5F
14
EndModule
;
Module = "INPUT: 64 Byte (32 word)" 0x40,0x5F
15
EndModule
;
Module = "INPUT: 128 Byte (64 word)" 0x40,0x7F
16
EndModule
;
Module = "OUTPUT: 1 Byte" 0x20
17
EndModule
;
Module = "OUTPUT: 2 Byte ( 1 word)" 0x60
18
EndModule
;
Module = "OUTPUT: 4 Byte ( 2 word)" 0x61
19
EndModule
;
Module = "OUTPUT: 8 Byte ( 4 word)" 0x63
20
EndModule
;
Module = "OUTPUT: 16 Byte ( 8 word)" 0x67
21
EndModule
;
Module = "OUTPUT: 32 Byte (16 word)" 0x6F
22
EndModule
;
Module = "OUTPUT: 64 Byte (32 word)" 0x80,0x5F
23
EndModule
;
Module = "OUTPUT: 128 Byte (64 word)" 0x80,0x7F
24
EndModule
;
App.1-6
Appendix 2 System Configuration of NP1L-PD2
Double-click the inserted master or right-click it and then select [Object Properties]. The “Master properties” screen opens.
On the [PROFIBUS] tab window, set the master station No. to “0” (always 0), select the baud rate (any baud rate), and select
“DP” for the profile. Then, click the [OK] button.
App.2-1
Appendix 2 System Configuration of NP1L-PD2
Double-click the inserted icon and set the slave station No.
App.2-2
Appendix 2 System Configuration of NP1L-PD2
Select the number of I/O points of the slave station on the left side of the screen, and drag and drop ti to the table at the lower
right.
App.2-3
Appendix 2 System Configuration of NP1L-PD2
Drag and drop “Anybus-S DPV1” from the slave device list on the left side of the screen to the right side to insert it.
Then, register the I/O modules to be mounted on the NP1L-RP1 base board.
App.2-4
Appendix 2 System Configuration of NP1L-PD2
As shown below, register the I/O modules in the mounted order.
App.2-5
Appendix 2 System Configuration of NP1L-PD2
<D300win>
Period Period
<Standard loader>
Period
NP1L-PD2 becomes
the master.
App.2-6
Appendix 2 System Configuration of NP1L-PD2
(2) Address table of configurator
The figure below shows the address table of the system configuration example in (1).
• Slave 1: 16-point input (1 WORD)
• Slave 2: I/O group-type unit with NP1L-RP1
On the address table of the configurator, you need to assign each slave station an address viewed from SX_CPU.
%QW1.11 (WY1.11)
Output:
8 words
No corresponding slave station %QW1.12 (WY1.12) (Unused area)
Notes:
The numbers of input and output words set in the configurator must match those of the actual configuration.
If the numbers of input and output words set in the configurator is smaller than those of the actual configuration:
a I/O data exceeding the configurator setting are not refreshed.
If the numbers of input and output words set in the configurator is greater than those of the actual configuration:
a NP1L-PD2 does not start up normally. Communication does not start, either.
(The “ONL” LED of NP1L-RP1 blinks. The “NS” LED (red) of NP1L-PD2 turns on.)
App.2-7
Fuji Electric Co., Ltd.
Gate City Ohsaki, East Tower,
11-2, Osaki 1-chome, Shinagawa-ku, Tokyo 141-0032, Japan
E-mail: micrex-sx@fujielectric.com
URL: http://www.fujielectric.com/
Materials covered in this document are subject to revision due to the modification of the product.