Manual SPH PROFIBUS-DP Master - Slave Module - FEH237

Download as pdf or txt
Download as pdf or txt
You are on page 1of 60

TL52,53,54/ FUJI/ PAGE1-3

series

USER’S MANUAL

PROFIBUS-DP Master Module (Type: NP1L-PD1)


PROFIBUS-DP Master Module (Type: NP1L-PD2)
PROFIBUS-DP Interface Module (Type: NP1L-RP1)
PROFIBUS-DP Slave Module (Type: NP1L-PS1)

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.

<For SX-Programmer Expert (D300win)>

Title Manual No. Contents


User’s Manual Instructions (Expert), FEH200 Describes the memory, language and system definitions of
MICREX-SX series SPH the MICREX-SX series.
User’s Manual Hardware, FEH201 Describes the system configuration, hardware specifications
MICREX-SX series SPH and operations of modules in the MICREX-SX series SPH.
User’s Manual SX-Programmer Expert (D300win) FEH257 Describes the functions and the operations of SX-Programmer
<Reference>, MICREX-SX series Expert (D300win) V3.
User’s Manual SX-Programmer Expert (D300win) FEH257-1 Describes the operating instructions of the LD/FBD editor
<LD/FBD Editor Operations>, MICREX-SX series added to SX-Programmer Expert (D300win).

<For SX-Programmer Standard (Standard loader)>

Title Manual No. Contents


User’s Manual Instructions (Standard), FEH588 Describes the memory, language and system definitions of
MICREX-SX series SPH the MICREX-SX series.
User’s Manual Hardware, FEH201 Describes the system configuration, hardware specifications
MICREX-SX series SPH and operations of modules in the MICREX-SX series SPH.
User’s Manual SX-Programmer Standard FEH598 Describes the functions and the operations of SX-Programmer
<Reference>, MICREX-SX series Standard V3.

* 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.

Even some items indicated by "Caution" may result in a serious accident.


Both safety instruction categories provide important information. Be sure to strictly observe these instructions.

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.

Printed on * Manual No. Revision contents

Sep. 2002 FEH237 First edition

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.

July 2018 FEH237f Specifications of NP1L-PD2 were added.


(The suffix “f” is added to the manual No. in accordance with the Japanese version.)
Contents

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 3 System Configuration


3-1 Limits on mounting..............................................................................................................................3-1
3-1-1 Mounting position...........................................................................................................................................3-1
3-1-2 Number of mountable modules......................................................................................................................3-3
3-2 Registration of system configuration...................................................................................................3-4
3-2-1 System definition by loader............................................................................................................................3-4
3-2-2 Registration of PROFIBUS-DP configuration.................................................................................................3-6
3-3 I/O address assignment......................................................................................................................3-10
3-3-1 Rules for address assignment.......................................................................................................................3-10
3-3-2 Address assignment example........................................................................................................................3-10
3-4 PROFIBUS-DP slave system..............................................................................................................3-12
3-4-1 Slave system configuration example.............................................................................................................3-12
3-4-2 Setting on master station side........................................................................................................................3-13
3-4-3 Setting on slave station side..........................................................................................................................3-15

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

Section 5 RAS Information..........................................................................................................5-1


5-1 Diagnosis by Loader...........................................................................................................................5-1
5-1-1 Diagnosis procedure......................................................................................................................................5-1
5-1-2 System RAS...................................................................................................................................................5-2
5-1-3 Bus transmission information.........................................................................................................................5-2
5-1-4 Dump list........................................................................................................................................................5-3

Appendix 1 GSD File


Appendix 1-1 For NP1L-PS1 hardware version V20 or earlier.................................................................App.1-1
Appendix 1-2 For NP1L-RP1 and NP1L-PS1 hardware version V21 or later...........................................App.1-4

Appendix 2 System Configuration of NP1L-PD2


Appendix 2-1 Registration of NP1L-PD2...................................................................................................App.2-1
Appendix 2-1-1 Registration of master....................................................................................................................App.2-1
Appendix 2-1-2 Registration of slave devices.........................................................................................................App.2-2
Appendix 2-2 Registration example of NP1L-RP1....................................................................................App.2-4
Appendix 2-3 I/O address assignment......................................................................................................App.2-6
Appendix 2-3-1 Rules for address assignment........................................................................................................App.2-6
Appendix 2-3-2 Address assignment example........................................................................................................App.2-6
Section 1 Overview
PROFIBUS-DP master module “NP1L-PD1/PD2” is a communication module that has the master function for “PROFIBUS-DP”,
which is an open device level network. You can construct one PROFIBUS-DP system using only one NP1L-PD1/PD2 module.
PROFIBUS-DP interface module “NP1L-RP1” is an interface module to construct an I/O group-type unit of “PROFIBUS-DP”.
PROFIBUS-DP slave module “NP1L-PS1” is a communication module that communicates with devices that have the master
function for “PROFIBUS-DP” at the I/O level.

1-1 What is PROFIBUS-DP?


“PROFIBUS” is the IEC661158 international standards and the EN57170 European Fieldbus Standard open network.
PROFIBUS-DP (Decentralized Periphery) makes it possible to transmit data at a high speed between field devices such as
controllers, remote I/O and drives.

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) Flexible system configuration


The basic configuration consists of one DP master station and multiple DP slave stations. Maximum 126 devices (including
master stations) can be connected. However, a repeater is necessary to be connected to 33 or more devices.

(3) Transmission speed


You can select any desired one of 9 transmission speeds (9.6, 19.2, 93.75, 187.5, 500, 1500, 3000, 6000 and 12000 kbps).
However, the transmission speed depends on the specifications of slave devices or master devices.

1-3 Difference between NP1L-DP1 and NP1L-DP2


(1) Configurator to be used
* Configurator maker
CONF-PDP * NetTool for Profibus *
HMS Industrial Networks K.K. (HMS Japan)
NP1L-DP1 Applicable Not applicable
NP1L-DP2 Not applicable Applicable

(2) Operation specifications


1) Terminating resistor
For NP1L-PD1, a terminating resistor is equipped on the module and you can turn it ON/OFF by the switch.
For NP1L-PD2, no terminating resistor is equipped on the module. Supply terminating resistor on the connector side.

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

1-4 Supported versions


(1) NP1PL-PD1/PD2

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

NP1L-PS1 Supported version


SPH300 Software version: V25 or later
SPH200 Software version: V30 or later
SPH2000 All versions
SPH3000 All versions
D300winV2 V2.2.5.0 or later
D300winV3 V3.1.1.0 or later
Standard loader V2.1.0.0 or later

(3) NP1L-RP1

NP1L-PS1 Supported version


SPH300 Software version: V25 or later
SPH200 Software version: V30 or later
SPH2000 Software version: V01 or later
SPH3000 All versions
D300winV3 V3.3.0.0 or later
Standard loader V2.2.0.0 or later

1-2
Section 2 Specifications

2-1 General specifications


Item Specification
Operating ambient
0 to 55°C
temperature
Storage temperature -25 to 70°C
Physical Relative humidity 20 to 95%RH, no condensation
environmental
conditions Pollution degree 2, no condensation
Corrosion immunity Free from corrosive gases. Not stained with organic solvents
2000m or less above sea level
Operating altitude
Transport condition: 70kPa (equivalent to 3000m above sea level) or more

Mechanical Vibration Half amplitude: 0.15mm, Constant acceleration: 19.6 m/s2


service Peak acceleration: 147 m/s2
conditions Shock
Three times in each direction
Noise immunity 1.5kV, Rise time 1ns, Pulse width 1µs (noise simulator)
Electrical Electrostatic discharge Contact discharge: ±6kV, Aerial discharge: ±8kV (Class 3 of IEC 61000-4-2)
service
Radiated,
conditions
radio-frequency, 80 MHz to 1000 MHz: 10 V/m (Class 3 of IEC 61000-4-3)
electromagnetic field
Isolation method Photocoupler
Dielectric strength 500V AC for 1 minute between communication wires and frame ground
10MΩ or more between communication wires and frame ground
Insulation resistance
(with 500V DC megger)
Number of occupied slots 1
NP1L-PD1:
24V DC, 200mA or less (supplied from the power supply module via the base board)
NP1L-PD2:
24V DC, 200mA or less (supplied from the power supply module via the base board)
Internal current consumption
NP1L-RP1:
24V DC, 150mA or less (supplied from the power supply module via the base board)
NP1L-PS1:
24V DC, 150mA or less (supplied from the power supply module via the base board)
Structure Panel-mounted type, IP20
Cooling method Air cooling

Installation NP1L-PD1: Approx. 250 g (module alone)


conditions NP1L-PD2: Approx. 250 g (module alone)
Mass
NP1L-RP1: Approx. 180 g (module alone)
NP1L-PS1: Approx. 180 g (module alone)
Outside dimensions W35*H105*D87mm (excl. protrusion)

2-1
Section 2 Specifications

2-2 Transmission specifications


2-2-1 List of transmission specifications
(1) Transmission specifications of NP1L-PD1/PD2

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)

(2) Transmission specifications of NP1L-RP1/NP1L-PS1

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

2-2-2 Response speed


(1) NP1L-PD1/PD2 Response time of output data
NP1L-PD1/PD2 response time of output data means the time required for data on an application to be output from the
PROFIBUS-DP master module to the PROFIBUS-DP slave station.

<Elements for calculating response speed>

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)

Slave station The corresponding addresses of the PROFIBUS-DP slave


internal processing time stations that are assigned to A are set ON at this timing.
4)

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.

<Sample calculation of output data response time (Max. value)>


When V32 or later software version of NP1L-PD1/PD2 is used in a single CPU system under the following condition
• SX bus tact time = 2 ms
• Size of output data = 6 words
• Processing time of slave station = 1 ms (an assumed value)
• Transmission speed = 12Mbps
then,
Output response time = 1) + 2) + 3) + 4) = 2 + (1.5 + 0.01 x 6) x 2 + 1 + 1 = 7.12 ms

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.

<Elements for calculating response speed>

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

<Sample calculation of input data response time>


When V32 or later software version of NP1L-PD1/PD2 is used in a single CPU system under the following condition
• SX bus tact time = 2 ms
• Size of input data = 6 words
• Processing time of slave station = 1 ms (an assumed value)
then,
Input response time = 1) + 2) + 3) + 4) = 1 + 1 + (1.2 + 0.01 x 6) x 2 + 2 = 6.52 ms

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.

<Elements for calculating response speed>

Data from the master station


is received.

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

(4) NP1L-PS1 Response time of output data


NP1L-PS1 response time of output data means the time required for data on an application to be output on the PROFIBUS
transmission from the PROFIBUS-DP slave module.

<Elements for calculating response speed>

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.

Put the cursor on “MASTER”


in the configuration tree.

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

2-3 Names and functions


2-3-1 NP1L-PD1/PD2
(1) Names
1) Status Indication LED

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.

Symbol Color Description


ON: When NP1L-PD1/PD2 is operating normally
ONL Green Blink: When SX bus is being connected
OFF: When SX bus is abnormal
ON: When NP1L-PD1/PD2 is abnormal (module internal hardware error) or another fatal fault factor is
ERR Red
detected by software
T/R Green ON: When PROFIBUS-DP communication is established and being performed
SER Red Blink: When in STOP mode (When the mode switch is set to “STOP”)
MS Green ON: When NP1L-PD1/PD2 is operating normally
MS Red ON: When NP1L-PD1/PD2 is abnormal
NS Green ON: When the network is normal
NS Red ON: When the network is abnormal

2) RUN/STOP mode selection switch


Set this switch to “STOP” (configuration mode) to download the configuration data of PROFIBUS-DP to NP1L-PD1/PD.
In STOP mode, no data is transmitted between the SX CPU module and PROFIBUS-DP and the “SER” LED blinks.
RUN

STOP  STOP mode (configuration mode)

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.

4) Terminating resistor ON/OFF switch (for NP1L-PD1 only)


When NP1L-PD1 is connected at the cable end, be sure to set this switch to ON; set it to OFF when connected in the middle of
the cable.
When using NP1L-PD2, set the terminating resistor of the profibus connector.

5) Configurator connector
This is a D-sub 9-pin male connector used to connect a configurator (personal computer) via RS-232C communication.

Pin No. Signal direction Signal name Description


1 − Not connected

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.

Pin No. Direction of signal


1 Shield
2 Not connected
PROFIBUS-DP
3 Line B (wire color = red)
4 Request to Send (RTS) * No wiring id required for this signal.
5 Ground 5V (M5) * No wiring id required for this signal.
Potential 5V (Potential free 5V)
6
* No wiring id required for this signal.
Inch screw (#4-40 screw)
7 Not connected
* For the wiring, see “Section 4 Wiring.” 8 Line A (wire color = green)
9 Not connected
Metal part, screw To be shielded

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

2) Station No. selection switch

Nameplate (on the right side)


7 8
3) Terminating resistor ON/OFF switch
4 5 6

9 0 1
2 3

7 8
4 5 6

9 0 1

2 3

TERM. 4) PROFIBUS connector


OFF ON

PROFIBUS-DP
5) Version No.

NP1L-
PS1

(2) Functions
1) Status indication LED
This LEDs indicate the current status of NP1L-RP1/PS1.

Symbol Color Description


ON: When NP1L-RP1/PS1 is operating normally
Blink: When SX bus is being connected, or when waiting for communication with the PROFIBUS master
ONL Green module to be established
OFF: When the communication cable is disconnected, or when SX bus is abnormal (e.g. No SX bus
terminating plug is attached.)
ON: When RP1/PS1 is abnormal (module internal hardware error) or another fatal fault factor is detected
ERR Red
by the software, or when no I/O module is mounted on the base board (for NP1L-RP1 only)
T/R Green ON: When PROFIBUS-DP communication is established and being performed
ON: When system definition is abnormal (when the number of I/O words is 0/0 word, when the number
SER Red of input or output words exceeds 122 words, or when the total number of I/O words exceeds 128
words.)
MS Green ON: When NP1L-RP1/PS1 is operating normally
MS Red ON: When NP1L-RP1/PS1 is abnormal
NS Green ON: When the network is normal
NS Red ON: When the network is abnormal

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

 Low-order digit of station No. (lower switch) x 10


2 3

3) Terminating resistor ON/OFF switch


When NP1L-RP1/PS1 is connected at the cable end, be sure to set this switch to ON; set it to OFF when connected in the
middle of the cable.

4) PROFIBUS connector
This is a D-sub 9-pin male connector.

Pin No. Direction of signal


1 Shield
2 Not connected
PROFIBUS-DP
3 Line B (wire color = red)
4 Request to Send (RTS) * No wiring id required for this signal.
5 Ground 5V (M5) * No wiring id required for this signal.
Potential 5V (Potential free 5V)
6
* No wiring id required for this signal.
Inch screw (#4-40 screw)
7 Not connected
* For the wiring, see “Section 4 Wiring.” 8 Line A (wire color = green)
9 Not connected
Metal part, screw To be shielded

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

3-1 Limits on mounting


3-1-1 Mounting position
(1) NP1L-PD1/PD2/NP1L-PS1
To use a PROFIBUS-DP master module (Type: NP1L-PD1/DP2) and a PROFIBUS-DP slave module (Type: NP1L-PS1),
connect them to the SX bus of MICREX-SX series SPH. Therefore, they can be mounted on any slot on a base board that is
directly connected to the SX bus, but not on OPCN-1, DeviceNet, T-link or other remote I/O base boards.

NP1L-PD1/PD2/NP1L-PS1 can be mounted on any slot except those for a power supply module.

<Base board other than 6-slot base board>

Mountable slots

<3 or 6-slot base board>

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

I/O I/O I/O I/O


Power CPU Power
supply supply

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

Power supply module I/O module

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

3-1-2 Number of mountable modules


(1) Limit on the number of mountable I/O master and slave modules
Up to eight NP1L-PD1/PD2 modules and NP1L-PS1 modules can be connected in one configuration. However, when a T-link,
OPCN-1, DeviceNet or other I/O master module or slave module is connected, the maximum number of mountable modules is
eight including them.

(Number of mounted NP1L-PD1/PD2 module) + (Number of mounted NP1L-PS1 modules)


+ (Number of other I/O master modules mounted) + (Number of other I/O slave modules mounted) <= 8

(2) Limit on the number of mountable communication and function modules


In addition, when the modules listed below are connected to the same configuration, the system must be configured such that
the total number of NP1L-PD1/PD2, NP1L-PS1 and the following modules becomes 16 or less.

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

3-2 Registration of system configuration


For MICREX-SX systems, basically you need to register all the modules and units that are used for one configuration in the
system definition. However, when a PROFIBUS-DP system is included in an SX system, register only the NP1L-PD1/PD2
module that is used as a master in the system definition of the loader. The PROFIBUS-DP slave stations connected to NP1L-
PD1/PD2 needs to be registered using a commercially available software called “configurator”.

NP1L-PD1/PD2
Register in the system definition of the loader.
RUN

STOP

CONFIGURATION
INTERFACE

TERM.

Register using a configurator for PROFIBUS-DP.


OFF ON

Configuration data can be directly downloaded to NP1L-PD1/DP2 via RS-232C.


PROFIBUS-DP

NP1L-
PD1

Slave station 1 Slave station 2 Slave station 3 Slave station 4

* The applicable configurator depends on the PROFIBUS master module type.


See the table below.

NP1L-PD1 NP1L-PD2 Remark


Configurator type CONF-PDP NetTool for PROFIBUS Supported OS
• CONF-PDP: Up to Wndows XP
HMS Industrial Networks K.K. (HMS Japan) • NetTool for PROFIBUS: Up to WIndows 10
Maker Tel: +81 45 478 5340
Fax: +81 45 476 0315

3-2-1 System definition by loader


Set the number of words that is occupied by the slave stations connected to the NP1L-PD1/PD2 module on the “PROFIBUS-DP
master parameter setting” dialog in the system definition of the loader. Since the slave stations connected to NP1L-PD1/PD2 are
registered using a “configurator,” you do not need to register them in the system definition of the loader.

<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

3-2-2 Registration of PROFIBUS-DP configuration


Download the configuration data of the PROFIBUS-DP stations set with a configurator directly to the nonvolatile memory of the
NP1L-PD1/PD2 module.
Notes:
For how to use the configurator, refer to the manual of the configurator to be used.

(1) Procedure for registering PROFIBUS-DP configuration data in NP1L-PD1/PD2


1) Perform system definition in the loader.
Then, download the system definition to the SX_CPU and reset it. Confirm that the SX system starts up normally.
2) Create configuration data with the configurator.
3) Set the “mode selection switch” on the front of NP1L-PD1/PD2 to “STOP” (STOP mode) to turn on the power supply to the
SX system. In STOP mode, the status indication LED “SER” of the NP1L-PD1/PD2 module blinks.
4) Connect the communication cable (RS-232C cable supplied with configurator) to the configurator connector on the front of
the NP1L-PD1/PD2 module, and then download the PROFIBUS-DP configuration data from the configurator (personal
computer) to the NP1L-PD1/PD2 module.

* 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.

I/O group-type unit of PROFIBUS-DP with NP1L-RP1

16-point 32-point 16-point 16-point 32-point


input input output output output

3-9
Section 3 System Configuration

3-3 I/O address assignment


3-3-1 Rules for address assignment
PROFIBUS-DP slave devices are allocated to the I/O area, like the I/O modules directly connected to SX bus. The rules for
assigning addresses are as follows:

<D300win>
Period Period

Prefix SX bus station No. Word No. Bit address (0 to 15)

%IX (bit), %IW (word), %ID (double-word)


%QX (bit), %QW (word), %QD (double-word)

<Standard loader>
Period

Prefix SX bus station No. Word No. + Bit address (0 to F)

X (bit), WX (word), DX (double-word)


Y (bit), WY (word), DY (double-word)

3-3-2 Address assignment example


(1) System configuration example

NP1L-PD1 becomes
PROFIBUS system configuration screen of the configurator
a master.

Slave 1 (Input: 16 points)

Slave 2 (Output: 32points)


NP1L-PD1
SX bus station No.1

Slave 3 (Input:16 points × 1, 32 points × 1)


(Output:16 points × 2, 32 points × 1)

I/O group-type unit of


PROFIBUS-DP with
NP1L-RP1

16-point 32-point 16-point 16-point 32-point


input input output output output

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.

(3) Address assignment


In the system configuration example of 3-3-2 (1), when the numbers of input and output words for the slave stations connected
to NP1L-PD1 are both set to 6 on the “PROFIBUS-DP master parameter setting” dialog in the system definition of the loader,
addresses are assigned in the following manner:

Slave 1: Input 16 points %IW1.0(WX1.0)

Slave 3: Input 16 points (Slot 1) %IW1.1(WX1.1)

Slave 3: Input 32 points (Slot 2) %IW1.2(WX1.2)


Input:
6 words
%IW1.3(WX1.3)

No corresponding slave station %IW1.4(WX1.4) (Unused area)

No corresponding slave station %IW1.5(WX1.5) (Unused area)

Slave 2: Output 32 points %QW1.6(WX1.6)

%QW1.7(WX1.7)

Output: Slave 3: Output 16 points (Slot 3) %QW1.8(WX1.8)


6 words
Slave 3: Output 16 points (Slot 4) %QW1.9(WX1.9)

Slave 3: Output 32 points (Slot 5) %QW1.10(WX1.10)

%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

3-4 PROFIBUS-DP slave system


I/O data (total number of I/O words: max.128) can be exchanged with a PLC system from other manufacturers which has the
PROFIBUS-DP master function or an SPH system with a PROFIBUS-DP master module.

3-4-1 Slave system configuration example


The I/O assignment of a PROFIBUS-DP slave system is explained below taking a MICREX-SX system as an example.

Supposing,
Number of words occupied by PROFIBUS-DP slave: Input/Output = 2/2 words
SX bus station No.: 3

Master station NP1L-PD1/PD2 Slave station NP1L-PS1

%IW1.0 (WX1.0) %IW3.0 (WX3.0)

%IW1.1 (WX1.1) %IW3.1 (WX3.1)

%QW1.2 (WY1.2) %QW3.2 (WY3.2)

%QW1.3 (WY1.3) %QW3.3 (WY3.3)


Flows of data

* ( ) indicates address representation for Standard loader.

• 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

3-4-2 Setting on master station side


The setting procedure with the configurator on the master station side is described below taking the case where the MICREX-
SX system (NP1L-PD1 is the master) is the master as an example. On the master side, register the slave stations and set the
number of words with the configurator.
* For NP1L-PD2, use a different type of configurator. For the setting procedure, see “Appendix 2.”

(1) Registration of PROFIBUS-DP slave modules


‹‹In the [Insert] menu of the configurator, click [Slave]. The following [Insert Slave] screen opens.
By selecting “Anybus-S”, the PROFIBUS-DP slave module is displayed on the configuration tree.

Set the station No.

Displayed on the configuration tree.

* 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.

Number of words selection table

Address table

‹‹On the number of words selection table, click the number of words which you want to set.

IN/OUT INPUT OUTPUT


1/1 Byte 1 Byte 1 Byte
1/1 Word 1 Word 1 Word
2/2 Word 2 Word 2 Word
4/4 Word 4 Word 4 Word
8/8 Word 8 Word 8 Word
16/16 Word 16 Word 16 Word
32/32 Word 32 Word 32 Word
64/64 Word 64 Word 64 Word

* 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

3-4-3 Setting on slave station side


<Operating procedure>
‹‹To insert a slave module, select the preceding module and click the [Insert] button.

‹‹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

4-1 Connector and cable


Select a proper connector and cable for NP1L-PD1/PD2, NP1L-RP1 and NP1L-PS1, referring to the below.

Inch screw (#4-40)

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).

Maker Type Remarks


6XV-830-0EH10 Standard type
6XV-830-3EH10 High bending strength type
Siemens AG
6XV-830-0LH10 Fire and corrosion resistant type
6XV-830-0FH10 High twisting strength type
Fujikura, Ltd. F-LINK-P AWG22 x 1P

4-1-2 Connector
(1) Contact (D-sub 9-pin male)

Maker Type Remarks


Japan Aviation Electronics
DE-9P-N Wire soldering type
Industry, Ltd.
HIROSE ELECTRIC CO., LTD. HDEB-9P Wire soldering type
OMRON CORP. XM2A-0901 Wire soldering type
Daiichi Denshi Kogyo K.K. 17JE-23090-02 Wire soldering type

(2) Cover

Maker Type Remarks

Japan Aviation Electronics DE-C1-J6-S6 Ordinary type (plastic)


Industry, Ltd. DE-C4-J6-S1 EMI adapted type (aluminum die cast / nickel plated)
HDE-CTF (4-40) Ordinary type (plastic)
HIROSE ELECTRIC CO., LTD.
HDE-CTH (4-40) EMI adapted type (plastic / nickel plated)
OMRON CORP. XM2S-0913 EMI adapted type (plastic / nickel plated)
Daiichi Denshi Kogyo K.K. 17JE-09H-1C EMI adapted type (plastic / nickel plated)

4-1
Section 4 Wiring

4-2 D-sub 9-pin connector internal wiring


Wire a D-sub 9-pin connector as follows:

Connector

Pin No.
Line B (red)
3)
Line A (green) PROFIBUS-DP dedicated cable
8)

1) Shield

4-3 Connecting location of NP1L-PD1/PD2/RP1/PS1 on PROFIBUS-DP


When using a commercially available D-sub 9-pin connector, NP1L-PD1/PD2/RP1/PS1 is recommended to be connected at the
cable end on PROFIBUS. In this case, be sure to set the “terminating resistor ON/OFF switch” to ON.

<When connected at the cable end> <When connected in the middle of the cable>

2 cables are connected to


the D-sub 9-pin connector.

* 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

4-4 PROFIBUS-DP dedicated connector


PROFIBUS-DP dedicated connectors are structured, taking the cable branching into consideration. Compared with commercially
available D-sub 9-pin connectors, connector inside wiring is easy. The table below shows an example of PROFIBUS-DP
dedicated connector maker.

Maker Type Remarks


Direction of cable: 90°
6ES7 972-0BA11-0XA0
(with built-in terminating resistor)
Siemens AG
Direction of cable: 35°
6ES7 972-0BA40-0XA0
(with built-in terminating resistor)

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.

Cable direction 90° type Cable direction 35° type

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

5-1 Diagnosis by Loader


If an error occurs in NP1L-PD1/PD2/PS1, you can perform failure diagnosis by the loader.

5-1-1 Diagnosis procedure


 For D300win, display the control dialog and click the [Failure diagnosis] button. The “Failure diagnosis” dialog appears.
For Standard loader, display the “Resource” dialog and click the [Failure diagnosis] button. The “Failure diagnosis” dialog
appears.

* This is an example of failure diagnosis when using a loader V3.


For NP1L-PD1/PD2, you can also diagnose it with a loader V2
(V2.2.3.1 or later).

Click here.

The detail RAS information of the selected module


is displayed on the right side of the dialog.

* 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

5-1-2 System RAS


On the system RAS window, “Type information” and “Module intensive status information” are displayed.

Type information

Module intensive status information

(1) Type information


Information on the module such as the module group type, type information, and software version is displayed.

(2) Module intensive status information


A summary of the module’s status is displayed.

5-1-3 Bus transmission information


If noise interferes with the SX bus transmission line or if the wiring of SX bus is defective, various errors that are related to the
SX bus transmission are counted.

5-2
Section 5 RAS Information

5-1-4 Dump list


In the dump list, “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 provided.

(1) PROFIBUS transmission status information


In the PROFIBUS-DP master module (Type: NP1L-PD1/PD2), “Summary of transmission status”, “Setting information” and “Status
information” are provided. This information of the PROFIBUS-DP slave module (Type: NP1L-PS1) is the internal code that is
used basically by FUJI engineer for adjustment.

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)

• Summary of transmission status


This information is the internal code that is used basically by FUJI engineer for adjustment.
• Setting information
Indicates whether or not slave station setting exists in the configurator, one bit for one slave station.

Configuration data of Configuration data of ...................... Configuration data of


station Nos. 0 to 15 station Nos. 16 to 31 station Nos. 112 to 126

0008:0002 0000 0000 0000 0000 0000 0000 0000

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

0000:0002 00D2 01D2 0000 0000 0000 0000 0000


0008:0000 0000 0000 0000 0000 0000 0000 0000
0018:0000 0000 0000 0000 0000 0000 0000 0000
0020:0000

• Error information
15 8 7 0

Error detected slave station No. Error code


00h to 7Dh D2h: Disconnection of slave station

<NP1L-PS1>
Error information Error code

0000:0000 0000 0000 0000 0000 0000 0000 0000


0008:0000 0000 0000 0000 0000 0000 0000 0000
0018:0000 0000 0000 0000 0000 0000 0000 0000
0020:0000
• Error information • Error code
0000: Normal 0000: Master station is normal
0001: Abnormal 0001: Master station is abnormal

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

Unused CPU error


ROM error

RAM error
Subprocessor error

(5) Communication firmware information


The firmware information (version, etc.) of the communication card installed in the NP1L-PD1/PD2 module is displayed.

* This information is the internal code that is used


basically by FUJI engineer for adjustment.

(6) PROFIBUS initial setting information


The initial setting of the communication card installed in the NP1L-PD1/PD2 module is displayed.

* This information is the internal code that is used


basically by FUJI engineer for adjustment.

5-6
Appendix 1 GSD File

Appendix 1-1 For NP1L-PS1 hardware version V20 or earlier


NP1L-PS1 whose hardware version is V20 or earlier uses GSD file (Hms_1003.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 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 hardware features


Redundancy = 0 ; not supported
Repeater_Ctrl_Sig =2 ; TTL
24V_Pins =0 ; not connected
Implementation_Type = "SPC3"

; 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

; Maximum polling frequency


Min_Slave_Intervall =1 ; 100 us

; Maximum supported sizes


Modular_Station = 1 ; modular
Max_Module = 24
Max_Input_Len = 244
Max_Output_Len = 244
Max_Data_Len = 416
Modul_Offset =1

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

; 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

App.1-4
Appendix 1 GSD File
MaxTsdr_1.5M = 25
MaxTsdr_3M = 50
MaxTsdr_6M = 100
MaxTsdr_12M = 200

; Supported hardware features


Redundancy =0 ; not supported
Repeater_Ctrl_Sig =2 ; TTL
24V_Pins =0 ; not connected
Implementation_Type = "NP30"

; 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

; Maximum polling frequency


Min_Slave_Intervall =1 ; 100 us

; Parameterization related keywords


Max_User_Prm_Data_Len = 0

; Maximum supported sizes


Modular_Station = 1 ; modular
Max_Module = 24
Max_Input_Len = 244
Max_Output_Len = 244
Max_Data_Len = 416
Modul_Offset =1

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

Appendix 2-1 Registration of NP1L-PD2


Appendix 2-1-1 Registration of master
On the configuration screen of the configurator (NetTool for PROFIBUS), register NP1L-PD2 as a PROFIBUS master.
‹‹Select “Anybus-M DPV1” from the master selection screen of the configurator, and then drag and drop it to the right side of
the screen.

Inserted PROFIBUS master

‹‹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

Appendix 2-1-2 Registration of slave devices


Drag and drop the slave device to be used from the left side to the right side of the screen to connect to the master.
‹‹Drag and drop the slave device to be used to the right side of the screen. It is inserted as shown below.

‹‹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

Appendix 2-2 Registration example of NP1L-RP1


This subsection describes the registration procedure of NP1L-RP1 taking the following configuration as an example.

I/O group-type unit with NP1L-RP1

16-point 32-point 16-point 16-point 32-point


NP1L-RP1 input input output output output

‹‹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.

* Set the slave station No. of NP1L-RP1 following


the procedure described in “Appendix 2-2.”

Select I/O modules mounted on the NP1L-RP1


base board from the “Anybus-S DPV1” group.

App.2-4
Appendix 2 System Configuration of NP1L-PD2
‹‹As shown below, register the I/O modules in the mounted order.

I/O group-type unit with NP1L-RP1

16-point 32-point 16-point 16-point 32-point


input input output output output

App.2-5
Appendix 2 System Configuration of NP1L-PD2

Appendix 2-3 I/O address assignment


Appendix 2-3-1 Rules for address assignment
PROFIBUS-DP slave devices are allocated to the I/O area, like the I/O modules directly connected to SX bus. The rules for
assigning addresses are as follows:

<D300win>
Period Period

Prefix SX bus station No. Word No. Bit address (0 to 15)

%IX (bit), %IW (word), %ID (double-word)


%QX (bit), %QW (word), %QD (double-word)

<Standard loader>
Period

Prefix SX bus station No. Word No. + Bit address (0 to F)

X (bit), WX (word), DX (double-word)


Y (bit), WY (word), DY (double-word)

Appendix 2-3-2 Address assignment example


(1) System configuration example

NP1L-PD2 becomes
the master.

Slave 1 (Input: 16 points)

Slave 2 (Input: 16 points × 1, 32 points × 1)


NP1L-PD2
(Output: 16 points × 2, 32 points × 1)
SX bus station No. 1

16-point 32-point 16-point 16-point 32-point


I/O group-type unit input input output output output
with NP1L-RP1

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.

(3) Address assignment


When the numbers of input and output words that are occupied by the slave stations connected to NP1L-PD2 are both set to 8
in the NP1L-PD2 parameter in the system definition of the loader, addresses are assigned in the following manner:

Slave 1: Input 16 points %IW1.0 (WX1.0)

Slave 2: Input 16 points (Slot 1) %IW1.1 (WX1.1)

Slave 2: Input 32 points (Slot 2) %IW1.2 (WX1.2)

Input: %IW1.3 (WX1.3)


8 words
No corresponding slave station %IW1.4 (WX1.4) (Unused area)

No corresponding slave station %IW1.5 (WX1.5) (Unused area)

No corresponding slave station %QW1.6 (WX1.6) (Unused area)

No corresponding slave station %QW1.7 (WX1.7) (Unused area)

Slave 2: Output 16 points (Slot 3) %QW1.8 (WY1.8)

Slave 2: Output 16 points (Slot 4) %QW1.9 (WY1.9)

Slave 2: Output 32 points (Slot 5) %QW1.10 (WY1.10)

%QW1.11 (WY1.11)
Output:
8 words
No corresponding slave station %QW1.12 (WY1.12) (Unused area)

No corresponding slave station %QW1.13 (WY1.13) (Unused area)

No corresponding slave station %QW1.14 (WY1.14) (Unused area)

No corresponding slave station %QW1.15 (WY1.15) (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.

You might also like