Advantys STB Standart Ethernet Modbus TCPIP - Applications Guide - 02 - 2009
Advantys STB Standart Ethernet Modbus TCPIP - Applications Guide - 02 - 2009
Advantys STB
Standard Ethernet Modbus TCP/IP
Network Interface Module
Applications Guide
31003688.06
2/2009
www.schneider-electric.com
31003688 2/2009
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What Is a Network Interface Module? . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What Is Advantys STB? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
STB NIP 2212 Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet Communications and Connectivity . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4 IP Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How the STB NIP 2212 Obtains IP Parameters . . . . . . . . . . . . . . . . . . . .
The IP Address Assignment Process . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31003688 2/2009
7
9
13
14
16
20
22
23
24
26
28
30
33
35
37
39
42
45
46
49
50
53
55
56
59
60
62
65
66
67
72
81
89
91
92
92
93
94
96
98
100
101
102
104
105
106
110
112
115
118
124
125
126
127
130
134
135
136
138
140
141
142
146
148
149
151
152
154
155
156
157
31003688 2/2009
159
159
161
162
163
165
169
173
174
177
179
180
184
186
187
188
191
193
195
197
202
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
205
229
31003688 2/2009
31003688 2/2009
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with
the device before trying to install, operate, or maintain it. The following special
messages may appear throughout this documentation or on the equipment to warn
of potential hazards or to call attention to information that clarifies or simplifies a
procedure.
31003688 2/2009
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by
qualified personnel. No responsibility is assumed by Schneider Electric for any
consequences arising out of the use of this material.
31003688 2/2009
At a Glance
Document Scope
This Guide describes the hardware and software features of the Advantys
STB NIP 2212, which enables an island of Advantys STB modules to function as a
node on an Ethernet LAN.
The Ethernet LAN on which an island resides uses Transport Control
Protocol/Internet Protocol as its transport layer. The Modbus protocol runs over the
TCP/IP layer. This way, an Ethernet host device can control an island with Modbus
commands. The Modbus protocol allows devices that can connect only to the RS232 port on other Advantys STB NIMs to connect to the STB NIP 2212s fieldbus
port, too.
The following information appears in this guide:
z the role of the standard NIM as the gateway between Ethernet TCP/IP and the
Advantys STB island
z the NIMs integrated power supply and its role in the distribution of logic power
across the island bus
z common external interfaces:
z the two-pin connector to an external SELV-rated power supply
z RS-232 interface to optional devices, including the Advantys configuration
software and an HMI panel
z
z
z
z
z
z
z
31003688 2/2009
Reference Number
31007715 (E),
31007716 (F),
31007717 (G),
31007718 (S),
31007719 (I)
31007720 (E),
31007721 (F),
31007722 (G),
31007723 (S),
31007724 (I)
31007725 (E),
31007726 (F),
31007727 (G),
31007728 (S),
31007729 (I)
31007730 (E),
31007731 (F),
31007732 (G),
31007733 (S),
31007734 (I)
You can download these technical publications and other technical information from
our website at www.schneider-electric.com.
10
31003688 2/2009
31003688 2/2009
11
12
31003688 2/2009
Introduction
31003688 2/2009
Introduction
1
Introduction
This chapter provides a general overview of the Advantys STB standard network
interface module and the Advantys STB island bus. The chapter concludes with an
introduction to the specific features of the STB NIP 2212 NIM.
What's in this Chapter?
This chapter contains the following topics:
Topic
31003688 2/2009
Page
14
16
20
22
13
Introduction
Role
data exchange
The NIM manages the exchange of input and output data between the island and the
fieldbus master. Input data, stored in native island bus format, is converted to a fieldbusspecific format that can be read by the fieldbus master. Output data written to the NIM by
the master is sent across the island bus to update the output modules and is automatically
reformatted.
configuration services
Custom services can be performed by the Advantys configuration software. These services
include changing the operating parameters of the I/O modules, fine-tuning island bus
performance, and configuring reflex actions. The Advantys Configuration Software runs on
a computer attached to the NIMs CFG interface (see page 33). (For NIMs with Ethernet port
connectivity, you can also connect to the Ethernet port.)
human-machine
interface (HMI)
operations
A serial Modbus HMI panel can be configured as an input and/or output device on the island.
As an input device, it can write data that can be received by the fieldbus master; as an output
device, it can receive updated data from the fieldbus master. The HMI can also monitor
island status, data, and diagnostic information. The HMI panel must be attached to the NIMs
CFG port.
14
31003688 2/2009
Introduction
4
2
6
P M
PDM
IO
IO
IO
IO
IO
1
2
3
4
5
6
7
8
31003688 2/2009
fieldbus master
external 24 VDC power supply, the source for logic power on the island
external device connecting to the CFG port: a computer running the Advantys
Configuration Software or an HMI panel
power distribution module (PDM): provides field power to the I/O modules
island node
island bus terminator plate
other nodes on the fieldbus network
fieldbus network terminator (if required)
15
Introduction
the STB XBE 1100 EOS module, which is the last module in a segment if the
island bus is extended
the STB XBE 1300 BOS module, which is the first module in an extension
segment
The BOS module has a built-in 24-to-5 VDC power supply similar to the NIM. The
BOS power supply also provides logic power to the STB I/O modules in an extension
segment.
16
31003688 2/2009
Introduction
Extension modules are connected by lengths of STB XCA 100x cable that extend
the island communication bus from the previous segment to the next BOS module:
1
2
3
4
5
6
7
8
9
10
primary segment
NIM
STB XBE 1100 EOS bus extension module(s)
1 m length STB XCA 1002 bus extension cable
first extension segment
STB XBE 1300 BOS bus extension module for the first extension segment
4.5 m length STB XCA 1003 bus extension cable
second extension segment
STB XBE 1300 BOS bus extension module for the second extension segment
STB XMP 1100 termination plate
Bus extension cables are available in various lengths, ranging from 0.3 m (1 ft) to
14.0 m (45.9 ft).
Preferred Modules
An island bus can also support those auto-addressable modules referred to as
preferred modules. Preferred modules do not mount in segments, but they do count
as part of the 32-module maximum system limit.
A preferred module can connect to an island bus segment via an STB XBE 1100
EOS module and a length of STB XCA 100x bus extension cable. Each preferred
module has two IEEE 1394-style cable connectors, one to receive the island bus
signals and the other to transmit them to the next module in the series. Preferred
modules are also equipped with termination, which must be enabled if a preferred
module is the last device on the island bus and must be disabled if other modules
follow the preferred device on the island bus.
31003688 2/2009
17
Introduction
Preferred modules can be chained to one another in a series, or they can connect
to Advantys STB segments. As shown in the following figure, a preferred module
passes the island bus communications signal from the primary segment to an
extension segment of Advantys STB I/O modules:
1
2
3
4
5
6
7
8
9
primary segment
NIM
STB XBE 1100 EOS bus extension module
1 m length STB XCA 1002 bus extension cable
preferred module
1 m length STB XCA 1002 bus extension cable
extension segment of Advantys STB I/O modules
STB XBE 1300 BOS bus extension module for the extension segment
STB XMP 1100 termination plate
18
31003688 2/2009
Introduction
1
2
3
4
5
6
7
8
9
primary segment
NIM
STB XBE 1100 EOS bus extension module
1 m length STB XCA 1002 bus extension cable
extension segment
STB XBE 2100 CANopen extension module
STB XMP 1100 termination plate
typical CANopen cable
standard CANopen device with 120 termination
31003688 2/2009
19
Introduction
Open Modbus
An open implementation of the proprietary Modbus protocol runs over TCP/IP on the
Ethernet LAN on which the STB NIP 2212 resides. The fieldbus (Ethernet) port
(see page 26) on the STB NIP 2212 is configured for Port 502 SAP functionality.
Port 502 is the well-known port for Modbus over TCP that was assigned to
Schneider Electric by the Internet Authority (IANA).
20
31003688 2/2009
Introduction
31003688 2/2009
21
Introduction
22
31003688 2/2009
2
Introduction
This chapter describes the external features of the STB NIP 2212, including its
Ethernet port, network cable requirements, and power requirements.
What's in this Chapter?
This chapter contains the following topics:
Topic
External Features of the STB NIP 2212
31003688 2/2009
Page
24
26
Rotary Switches
28
LED Indicators
30
CFG Interface
33
35
Logic Power
37
Selecting a Source Power Supply for the Islands Logic Power Bus
39
Module Specifications
42
23
The physical features of the STB NIP 2212 are described briefly in the following
table:
24
Feature
Function
Ethernet interface
MAC ID
space provided to record Write the IP address that you assign to this STB NIP 2212
IP address
here.
31003688 2/2009
31003688 2/2009
Feature
Function
LED array
A hinged flap on the NIMs front panel that covers the CFG
interface (see page 33) and the RST button (see page 55).
25
The RJ-45 connector is an eight-pin female connector. The eight pins connect
horizontally along the top. Pin 8 has the leftmost position, and pin 1 is the rightmost.
The pin-out for the RJ-45 complies with the information in the following table:
26
Pin
Description
tx+
tx-
rx+
reserved
reserved
31003688 2/2009
Pin
Description
rx-
reserved
reserved
description
max. length
application
data rate
connector to the
fieldbus interface
10Base-T
data transmission
10 Mbits/s
eight-pin male
Note: There are many 8-pin male connectors that are compatible with the RJ-45 fieldbus interface on the
STB NIP 2212. Refer to the Transparent Factory Network Design and Cabling Guide (490 USE 134 00) for a list of
approved connectors.
NOTE: For technical specifications of CAT5 cables, refer to FCC Part 68, EIA/TIA568, TIA.TSB-36, and TIA TSB-40.
About STP/UTP Cabling
Select STP or UTP cable according to the noise level in your environment:
z Use STP cabling in high electrical noise environments.
z UTP cabling is acceptable in low electrical noise environments.
31003688 2/2009
27
Rotary Switches
Introduction
The STB NIP 2212 is a single node on an Ethernet LAN and, in turn, the Internet.
An STB NIP 2212 must have a unique IP address. The two rotary switches on the
NIM provide a simple, easy way to assign an IP address to the STB NIP 2212.
Physical Description
The two rotary switches are positioned one above the other on the front of the
STB NIP 2212. The upper switch represents the tens digit, and the lower switch
represents the ones digit:
28
31003688 2/2009
For a BootP-served IP address (see page 61), select either of the two BOOTP
positions on the bottom switch.
If you set the bottom switch to either of the two INTERNAL positions, the
IP address will be assigned by one of the following methods:
z if the STB NIP 2212 is direct from the factory, it has no software set
IP parameters and will use a MAC-based IP address (see page 60).
z a fixed IP address using the STB NIP 2212 web configuration pages
(see page 105)
z a web-configured role name (see page 118) in association with a
DHCP server
NOTE: The STB NIP 2212 requires a valid IP address to communicate on the
Ethernet network and with a host. You must power cycle the STB NIP 2212 to
configure the STB NIP 2212 with an IP address set with these rotary switches.
NOTE: Do not change the rotary switch settings except when you are installing or
configuring the NIM. If you change the switch settings at any other time, you will lose
Ethernet communications with the island.
For information about how the STB NIP 2212 prioritizes IP addressing options, refer
to the IP parameterization flow chart (see page 62).
31003688 2/2009
29
LED Indicators
Introduction
Six LEDs on the STB NIP 2212 NIM visually indicate the operational status of the
island bus on an Ethernet LAN. The LED array is located toward the top of the NIM
front bezel:
z LED 10T ACT (see page 30) indicates whether the Ethernet LAN and the
Ethernet port are healthy and alive.
z LED LAN ST (see page 30) indicates events on the Ethernet LAN.
z LEDs RUN, PWR, ERR, and TEST indicate activity on the island and/or events
on the NIM.
Description
The illustration shows the six LEDs used by the Advantys STB NIP 2212:
30
Pattern
Meaning
on or blinking
off
31003688 2/2009
Label
LAN ST (green)
Pattern
Meaning
steady on
steady off
blinking
blink: 3
blink: 4
blink: 5
blink: 6
Meaning
blink: 2
blink: 2
off
off
off
blink: 1
off
off
blink: 3
on
off
blink: 8
off
blinking
(steady)
off
off
The NIM is configuring (see page 45) or autoconfiguring (see page 49) the island busthe bus is
not started.
blinking
off
on
off
blink: 6
off
off
blink: 2
off
off
blink: 2
off
blink: 5
31003688 2/2009
blink: 2
31
RUN
(green)
Meaning
off
blinking
(steady)
off
z module ID error
z auto-addressing (see page 46) failure
z mandatory module (see page 177) configuration
error
z process image error
z auto-configuration/configuration (see page 49)
error
z island bus management error
z receive/transmit queue software overrun error
32
on
off
off
on
blink 3
off
on
blink: 2
off
blink: 4
off
off
off
on
off
[any]
[any]
on
The TEST LED is on steadily while the device connected to the CFG port is in control.
31003688 2/2009
CFG Interface
Purpose
The CFG port is a connection point to the island for:
z a computer running the Advantys configuration software
z an HMI panel
Physical Description
The CFG port is an RS-232 interface. It is located under a hinged flap on the front
of the NIM:
Valid Values
data bits
7/8
stop bits
1/2
parity
none/odd/even
even
RTU/ASCII
RTU
Modbus address
1...247
NOTE: To restore all of the CFG ports communication parameters to their factory
default settings, push the RST button (see page 55) on the NIM. Be aware,
however, that this action overwrites all of the islands current configuration values
with factory default values.
You can also password protect a configuration, thereby putting the island in
protected mode (see page 187). If you do this, however, the RST button is disabled
and you are not able to use it to reset port parameters.
31003688 2/2009
33
Connections
An STB XCA 4002 programming cable must be used to connect the computer
running the Advantys Configuration Software or a Modbus-capable HMI panel to the
NIM via the CFG port.
The programming cable follows these specifications:
Parameter
Description
model
function
34
communications protocol
cable length
2 m (6.23 ft)
cable connectors
cable type
multiconductor
31003688 2/2009
1
2
Connectors
Use either:
z a screw type power connector, available in a kit of 10 (model STB XTS 1120)
z a spring clamp power connector, available in a kit of 10 (model STB XTS 2120)
31003688 2/2009
35
The following illustrations show two views of each power connector type. A front and
back view of the STB XTS 1120 screw type connector is shown on the left, and a
front and back view of the STB XTS 2120 spring clamp connector is shown on the
right:
1
2
3
4
5
Each entry slot accepts a wire in the range 0.14 to 1.5 mm2 (28 to 16 AWG).
Each connector has a 3.8 mm (0.15 in) pitch between the entry slots.
36
31003688 2/2009
Logic Power
Introduction
Logic power is a 5 VDC power signal on the island bus that the I/O modules require
for internal processing. The NIM has a built-in power supply that provides logic
power. The NIM sends the 5 V logic power signal across the island bus to support
the modules in the primary segment.
External Source Power
CAUTION
IMPROPER GALVANIC ISOLATION
The power components are not galvanically isolated. They are intended for use
only in systems designed to provide SELV isolation between the supply inputs or
outputs and the load devices or system power bus. You must use SELV-rated
supplies to provide 24 VDC source power to the NIM.
Failure to follow these instructions can result in injury or equipment damage.
Input from an external 24 VDC power supply (see page 39) is needed as the source
power for the NIMs built-in power supply. The NIMs built-in power supply converts
the incoming 24 V to 5 V of logic power. The external supply must be rated safety
extra low voltage (SELV-rated).
Logic Power Flow
The figure below shows how the NIMs integrated power supply generates logic
power and sends it across the primary segment:
31003688 2/2009
37
The figure below shows how the 24 VDC signal is distributed to an extension
segment across the island:
The logic power signal is terminated in the STB XBE 1100 module at the end of the
segment (EOS).
Island Bus Loads
The built-in power supply provides logic bus current to the island. If the logic bus
current drawn by the I/O modules exceeds the available current, install additional
STB power supplies to support the load. Consult the Advantys STB System
Planning and Installation Guide for the current provided and consumed by
Advantys STB modules at various operating temperatures and voltages.
38
31003688 2/2009
Selecting a Source Power Supply for the Islands Logic Power Bus
Logic Power Requirements
An external 24 VDC power supply is needed as the source for logic power to the
island bus. The external power supply connects to the islands NIM. This external
supply provides the 24 V input to the built-in 5 V power supply in the NIM.
The NIM delivers the logic power signal to the primary segment only. Special
STB XBE 1300 beginning-of-segment (BOS) modules, located in the first slot of
each extension segment, have their own built-in power supplies, which will provide
logic power to the STB I/O modules in the extension segments. Each BOS module
that you install requires 24 VDC from an external power supply.
Characteristics of the External Power Supply
CAUTION
IMPROPER GALVANIC ISOLATION
The power components are not galvanically isolated. They are intended for use
only in systems designed to provide SELV isolation between the supply inputs or
outputs and the load devices or system power bus. You must use SELV-rated
supplies to provide 24 VDC source power to the NIM.
Failure to follow these instructions can result in injury or equipment damage.
The external power supply needs to deliver 24 VDC source power to the island. The
supply that you select can have a low range limit of 19.2 VDC and a high range limit
of 30 VDC. The external supply must be rated safety extra low voltage (SELV-rated).
The SELV-rating means that SELV isolation is provided between the power supplys
inputs and outputs, the power bus, and the devices connected to the island bus.
Under normal or single-fault conditions the voltage between any two accessible
parts, or between an accessible part and the protective earth (PE) terminal for Class
1 equipment, will not exceed a safe value (60 VDC max.).
Calculating the Wattage Requirement
The amount of power (see page 37) that the external power supply must deliver is
a function of the number of modules and the number of built-in power supplies
installed on the island.
The external supply needs to provide 13 W of power for the NIM and 13 W for each
additional STB power supply (like an STB XBE 1300 BOS module). For example, a
system with one NIM in the primary segment and one BOS module in an extension
segment would require 26 W of power.
31003688 2/2009
39
1
2
3
4
5
6
7
8
40
31003688 2/2009
31003688 2/2009
41
Module Specifications
Specifications Detail
The general specifications for the STB NIP 2212, which is the Ethernet network
interface module (NIM) for an Advantys STB island bus, appear in the following
table:
General Specifications
dimensions
width
height
depth
70 mm (2.756 in)
input voltage
24 VDC nominal
5 VDC nominal
2% variation due to temperature drift,
intolerance, or line regulation
1% load regulation
< 50 m output impedance up to
100 kHz
1.2 A @ 5 VDC
isolation
no internal isolation
Isolation must be provided by an
external 24 VDC source power supply,
which must be SELV-rated.
addressable modules
supported
per segment
16 maximum
per island
32 maximum
segments supported
primary (required)
one
extension (optional)
six maximum
42
31003688 2/2009
General Specifications
standards
Ethernet conformance
IEEE 802.3
B20
HTTP
Port 80 SAP
SNMP
MTBF
EN 61131-2
-40 to 85 C
0 to 60 C
agency certifications
*This product supports operation at normal and extended temperature ranges. Refer to the Advantys STB System
Planning and Installation Guide, 890 USE 171 00 for a complete summary of cabalities and limitations.
31003688 2/2009
43
44
31003688 2/2009
3
Introduction
The information in this chapter describes the auto-addressing and autoconfiguration processes. An Advantys STB system has an auto-configuration
capability in which the actual configuration of I/O modules on the island is read and
saved to Flash.
The removable memory card is discussed in this chapter. The card is an
Advantys STB option for storing configuration data offline. Factory default settings
can be restored to the island bus I/O modules and the CFG port by engaging the
RST button.
The NIM is the physical and logical location of all island bus configuration data and
functionality.
What's in this Chapter?
This chapter contains the following topics:
Topic
How Do Modules Automatically Get Island Bus Addresses?
31003688 2/2009
Page
46
49
How to Install the STB XMP 4440 Optional Removable Memory Card
50
How to Configure the Island with the STB XMP 4440 Optional Removable
Memory Card
53
55
56
45
46
31003688 2/2009
An Example
For example, if you have an island bus with eight I/O modules:
1
2
3
4
5
6
7
8
9
10
11
NIM
STB PDT 3100 (24 VDC power distribution module)
STB DDI 3230 24 VDC (2-channel digital input module)
STB DDO 3200 24 VDC (2-channel digital output module)
STB DDI 3420 24 VDC (4-channel digital input module)
STB DDO 3410 24 VDC (4-channel digital output module)
STB DDI 3610 24 VDC (6-channel digital input module)
STB DDO 3600 24 VDC (6-channel digital output module)
STB AVI 1270 +/-10 VDC (2-channel analog input module)
STB AVO 1250 +/-10 VDC (2-channel analog output module)
STB XMP 1100 (island bus termination plate)
The NIM would auto-address it as follows. Note that the PDM and the termination
plate do not consume island bus addresses:
Module
31003688 2/2009
Physical
Location
NIM
127
10
11
not applicable
47
48
31003688 2/2009
31003688 2/2009
49
How to Install the STB XMP 4440 Optional Removable Memory Card
Introduction
CAUTION
LOSS OF CONFIGURATIONMEMORY CARD DAMAGE OR CONTAMINATION
The cards performance can be degraded by dirt or grease on its circuitry.
Contamination or damage may create an invalid configuration.
z
z
z
50
31003688 2/2009
Action
Punch out the removable memory card from the plastic card on which it is
shipped.
Make sure that the edges of the card are smooth after you punch it out.
31003688 2/2009
Open the card drawer on the front of the NIM. If it makes it easier for you to work,
you may pull the drawer completely out from the NIM housing.
Align the chamfered edge (the 45 corner) of the removable memory card with
the one in the mounting slot in the card drawer. Hold the card so that the chamfer
is in the upper left corner.
Seat the card in the mounting slot, applying slight pressure to the card until it
snaps into place. The back edge of the card must be flush with the back of the
drawer.
51
52
Action
Push the removable memory card out of the drawer through the round opening
at the back. Use a soft but firm object like a pencil eraser.
31003688 2/2009
How to Configure the Island with the STB XMP 4440 Optional Removable
Memory Card
Introduction
A removable memory card is read when an island is powered on. If the configuration
data on the card is valid, the current configuration data in Flash memory is
overwritten.
A removable memory card can be active only if an island is in edit mode. If an island
is in protected mode (see page 187), the card and its data are ignored.
Configuration Scenarios
The following discussion describes several island configuration scenarios that use
the removable memory card. The scenarios assume that a removable memory card
is already installed in the NIM:
z initial island configuration
z replace the current configuration data in Flash memory in order to:
z apply custom configuration data to your island
z temporarily implement an alternative configuration; for example, to replace an
island configuration used daily with one used to fulfill a special order
z
z
copying configuration data from one NIM to another, including from a failed NIM
to its replacement; the NIMs must run the same fieldbus protocol
configuring multiple islands with the same configuration data
NOTE: Whereas writing configuration data from the removable memory card to the
NIM does not require use of the optional Advantys configuration software, you must
use this software to save (write) configuration data to the removable memory card
in the first place.
Edit Mode
Your island must be in edit mode to be configured. In edit mode, the island can be
written to as well as monitored.
Edit mode is the default operational mode for the Advantys STB island:
z A new island is in edit mode.
z Edit mode is the default mode for a configuration downloaded from the Advantys
configuration software to the configuration memory area in the NIM.
31003688 2/2009
53
Action
Result
54
31003688 2/2009
CAUTION
UNINTENDED EQUIPMENT OPERATION/CONFIGURATION OVERWRITTENRST BUTTON
Do not attempt to restart the island with the RST button. Pushing the RST button
reconfigures the island with default settings (no custom parameters).
Failure to follow these instructions can result in injury or equipment damage.
The RST button is located immediately above the CFG port (see page 33), and
behind the same hinged cover:
Holding down the RST button for 2 seconds or longer causes Flash memory to be
overwritten, resulting in a new configuration for the island.
If the island is already auto-configured, there is no consequence other than the
island stops during the configuration process. However, island parameters that you
previously customized with the Advantys Configuration Software are overwritten by
default parameters during the configuration process.
Engaging the RST Button
To engage the RST button, it is recommended that you use a small screwdriver with
a flat blade no wider than 2.5 mm (.10 in). Do not use a sharp object that might
damage the RST button, nor a soft item like a pencil that might break off and jam the
button.
31003688 2/2009
55
CAUTION
UNINTENDED EQUIPMENT OPERATION/CONFIGURATION DATA OVERWRITTENRST BUTTON
Do not attempt to restart the island by pushing the RST button. Pushing the RST
button (see page 55) causes the island bus to reconfigure itself with factory default
operating parameters.
Failure to follow these instructions can result in injury or equipment damage.
The RST function allows you to reconfigure the operating parameters and values of
an island by overwriting the current configuration in Flash memory. RST functionality
affects the configuration values associated with the I/O modules on the island, the
operational mode of the island, and the CFG port parameters.
The RST function is performed by holding down the RST button (see page 55) for at
least two seconds. The RST button is enabled only in edit mode. In protected mode
(see page 187), the RST button is disabled; pressing it has no effect.
NOTE: Network settings, such as the fieldbus baud and the fieldbus node ID, remain
unaffected.
RST Configuration Scenarios
The following scenarios describe some of the ways that you can use the RST
function to configure your island:
z Restore factory-default parameters and values to an island, including to the I/O
modules and the CFG port (see page 33).
z Add a new I/O module to a previously auto-configured (see page 49) island.
If a new I/O module is added to the island, pressing the RST button forces the
auto-configuration process. The updated island configuration data is
automatically written to Flash memory.
56
31003688 2/2009
Action
If you have a removable memory card installed, remove it (see page 52).
Hold the RST button (see page 55) down for at least two seconds.
31003688 2/2009
Description
The NIM auto-addresses (see page 46) the I/O modules on the island and
derives their factory-default configuration values.
The NIM overwrites the current configuration in Flash memory with configuration
data that uses the factory-default values for the I/O modules.
57
58
31003688 2/2009
IP Parameters
31003688 2/2009
IP Parameters
4
Introduction
The information in this chapter describes how IP parameters are assigned to the
STB NIP 2212.
What's in this Chapter?
This chapter contains the following topics:
Topic
31003688 2/2009
Page
60
62
59
IP Parameters
NOTE: Refer to the IP parameters flow chart (see page 62) for information about
how the STB NIP 2212 prioritizes IP address assignment options.
Deriving an IP Address from a Media Access Control (MAC) Address
The 32-bit default IP address for the STB NIP 2212 is composed of the last four
octets of its 48-bit Media Access Control (MAC) address. The MAC address, or
Institute of Electrical and Electronics Engineers, Inc. (IEEE) global address is
assigned at the factory. The MAC address for an STB NIP 2212 is located on the
front bezel under the Ethernet port (see page 24).
A MAC address is stored in hexadecimal format. The numbers in the MAC address
must be converted from hexadecimal to decimal notation to derive the default
IP address. Use the following steps:
Step
Action
NOTE: There are many resources for converting hex numbers to decimal numbers.
We recommend using the Windows calculator in scientific mode.
NOTE: An IP address is derived from the MAC address only when the IP address is
not otherwise provided by:
z
z
z
a BootP server
a DHCP server
a user configured IP setting
For more information about how the STB NIP 2212 prioritizes IP address
assignment options, refer to the IP parameters flowchart (see page 62) and fallback
IP addressing (see page 63).
60
31003688 2/2009
IP Parameters
Server-Assigned IP Addresses
A server-assigned IP address may be obtained from either a BootP or a DHCP
server. A BootP server must be invoked using either BOOTP position on the lower
rotary switch (see page 28). A DHCP-served IP address is associated with a
role name.
Role Name
A role name is a combination of the Ethernet NIM part number STBNIP2212 and a
numeric value, e.g., STBNIP2212_123.
A role name may be assigned in one of two ways:
z
z
using the numeric settings (00 to 159) on the rotary switches (see page 28)
setting the lower rotary switch to an INTERNAL position, powering on the
STB NIP 2212, and completing the Role Name setting (see page 122).
Customer-Configured IP Address
If your STB NIP 2212 does not have a role name, you can configure an IP address
directly on the Configured IP web page (see page 106). Set the lower rotary switch
to an INTERNAL position, power on the STB NIP 2212, and complete the web page.
31003688 2/2009
61
IP Parameters
62
31003688 2/2009
IP Parameters
31003688 2/2009
63
IP Parameters
z
When communicating with a DHCP server, the STB NIP 2212 makes four requests
using the Ethernet II frame format, then makes four requests using the 802.3 frame
format. If the STB NIP 2212 completes making this cycle of requests before it
receives an IP address from the DHCP server:
64
31003688 2/2009
Services
31003688 2/2009
5
Introduction
This chapter describes the services provided by the STB NIP 2212 network
interface module.
What's in this Chapter?
This chapter contains the following sections:
Section
31003688 2/2009
Topic
Page
5.1
Modbus Messaging
5.2
IP Addressing
92
5.3
93
5.4
101
5.5
SNMP Services
148
5.6
Other Services
159
66
65
Services
5.1
Modbus Messaging
Introduction
The STB NIP 2212 implements the Modbus Messaging server service.
This section describes how data stored in the process image is exchanged between
the STB NIP 2212 and the Ethernet network, via Modbus over TCP/IP.
What's in this Section?
This section contains the following topics:
Topic
Modbus Messaging Service Description
66
Page
67
72
81
89
91
31003688 2/2009
Services
1
2
3
31003688 2/2009
67
Services
1
2
3
4
68
retrieved data
client request
server response
data retrieval
31003688 2/2009
Services
A device may implement a Modbus client service, a Modbus server service, or both,
depending on the requirements of the device. A client is able to initiate Modbus
messaging requests to one or more servers. The server responds to requests
received from one or more clients.
A typical HMI or SCADA application implements a client service to initiate
communications with PLCs and other devices for information gathering. An I/O
device implements a server service so that other devices can read and write its I/O
values. Because the device does not need to initiate communications, it does not
implement a client service.
A PLC implements both client and server services so that it can initiate
communications to other PLCs and I/O devices and respond to requests from other
PLCs, SCADA, HMIs and other devices.
31003688 2/2009
69
Services
Description
0x or %M
1x or %I
Input bits
3x or %IW
Input words
4x or %MW
6x
In addition to the function codes for reading and writing data within these areas,
there are codes for statistics, programming, device identification, and exception
responses. The Modbus server can make data available based on the following
limits:
z
z
70
31003688 2/2009
Services
31003688 2/2009
71
Services
NOTE: An HMI panel or a device running the Advantys configuration software can
also exchange data with an island via the CFG port (see page 33) on the
STB NIP 2212.
Modbus over TCP/IP Communications
Master devices use Modbus messaging (see page 89) to read and write data to
specific registers in the process image. The Modbus protocol is understood
regardless of the network type.
The Modbus protocol uses a 16-bit word data format.
Data Exchange Process
Data stored in the process image is exchanged between the STB NIP 2212 and the
Ethernet network via Modbus over TCP/IP. First, data from the Ethernet host is
written to the output data image area (see page 74) in the NIMs process image.
Then, status, echo output, and input data information from the I/O modules on the
island are placed in the input data image area (see page 76). In this location, the
Modbus master can access them over the TCP/IP network, or over the CFG port.
Data within the output and the input areas of the process image is organized in the
order that the I/O modules are assembled (see page 73) on the island bus.
72
31003688 2/2009
Services
data objects, which are operating values that the master either reads from the
input modules or writes to the output modules
status objects, which are module health records sent to the input area of the
process image by all of the I/O modules and read by the master
echo output data objects, which the digital output modules send to the input
process image; these objects are usually a copy of the data objects, but they can
contain useful information if a digital output channel is configured to handle the
result of a reflex action.
1
2
3
4
5
6
7
8
9
10
11
31003688 2/2009
73
Services
Module Type
N1
N2
N3
N4
N5
N6
N7
N8
The PDM and the termination plate are not addressable (see page 46), so they
exchange neither data objects nor status objects with the fieldbus master.
The Output Data Process Image
The output data process image contains the data written to the island from the
Modbus over TCP/IP host. This data is used to update the output modules on the
island bus. In the sample island bus assembly, there are four output modulesthree
digital output modules and one analog output module.
74
31003688 2/2009
Services
Each digital output module uses one Modbus register for its data. The analog output
module requires two registers, one for each output channel. Therefore, a total of five
registers (registers 40001 through 40005) are needed to accommodate the four
output modules in the sample island bus assembly.
1
2
The value represented in register 40004 is in the range +10 to -10 V, with 11-bit resolution
plus a sign bit in bit 15.
The value represented in register 40005 is in the range +10 to -10 V, with 11-bit resolution
plus a sign bit in bit 15.
The digital modules use the LSBs to hold and display their output data. The analog
module uses the MSBs to hold and display its output data.
31003688 2/2009
75
Services
Digital input modules use one register to report data and the next to report status.
Digital output modules use one register to report echo output data and the next
to report status.
NOTE: The value in an echo output data register is basically a copy of the value
written to the corresponding register in the output data process image area
(see page 74). Generally, the fieldbus master writes this value to the NIM, and the
echo is of not much interest. If an output channel is configured to perform a reflex
action (see page 180), however, the echo register provides a location where the
fieldbus master can view the current value of the output.
The analog input module uses four contiguous registers:
z
z
z
z
76
31003688 2/2009
Services
In total, the Modbus over TCP/IP sample island bus requires 18 registers (registers
45392 through 45409) to support our configuration:
31003688 2/2009
77
Services
78
31003688 2/2009
Services
31003688 2/2009
79
Services
80
31003688 2/2009
Services
31003688 2/2009
81
Services
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
82
31003688 2/2009
Services
Error Reporting
Each bit in register 45358 indicates a specific global error condition. A value of 1
indicates an error:
Fatal error. Because of the severity of the error, no further communications are possible
on the island bus.
2 Module ID errorA standard CANopen device is using a module ID reserved for the
Advantys STB modules.
3 Auto-addressing has failed.
4 Mandatory module configuration error.
5 Process image erroreither the process image configuration is inconsistent or it could not
be set up during auto-configuration.
6 Auto-configuration errora module is not in its configured location, and the NIM cannot
complete auto-configuration.
7 An island bus management error was detected by the NIM.
8 Assignment errorthe initialization process in the NIM has detected a module assignment
error.
9 Internal triggering protocol error.
10 Module data length error.
11 Module configuration error.
Node Configuration
The next eight contiguous registers (registers 45359 through 45366) display
locations where modules have been configured on the island bus. This information
is stored in Flash memory. At start up, the actual locations of the modules on the
island are validated by comparing them to the configured locations stored in
memory. Each bit represents one configured location:
z
z
31003688 2/2009
A value of 1 in a bit indicates that a module has been configured for the
associated location.
A value of 0 in a bit indicates that a module has not been configured for the
associated location.
83
Services
The first two registers, shown below, provide the 32 bits that represent the module
locations available in a typical island configuration. The remaining six registers
(45361 through 45366), are available to support the islands expansion capabilities:
Node Assembly
The next eight contiguous registers (registers 45367 through 45374) indicate the
presence or absence of configured modules in locations on the island bus. This
information is stored in Flash memory. At start up, the actual locations of the
modules on the island are validated by comparing them to the configured locations
stored in memory. Each bit represents a module:
z
z
84
A value of 1 in a given bit indicates that the configured module is not present.
A value of 0 indicates that the correct module is present in its configured location,
or that the location has not been configured.
31003688 2/2009
Services
The first two registers, shown below, provide the 32 bits that represent the module
locations available in a typical island configuration. The remaining six registers
(45369 through 45374) are available to support the islands expansion capabilities:
Emergency Messages
The next eight contiguous registers (registers 45375 through 45382) indicate the
presence or absence of newly received emergency messages for individual
modules on the island. Each bit represents a module:
z
z
31003688 2/2009
A value of 1 in a given bit indicates that a new emergency message has been
queued for the associated module.
A value of 0 in a given bit indicates that no new emergency messages have been
received for the associated module since the last time the diagnostic buffer was
read.
85
Services
The first two registers, shown below, provide the 32 bits that represent the module
locations available in a typical island configuration. The remaining six registers
(45377 through 45382) are available to support the islands expansion capabilities:
Fault Detection
The next eight contiguous registers (registers 45383 through 45390) indicate the
presence or absence of operational faults detected on the island bus modules. Each
bit represents a module:
z
z
86
A value of 1 in a bit indicates that the associated module is operating and that no
faults were detected.
A value of 0 in a bit indicates that the associated module is not operating either
because it has a fault or because it has not been configured.
31003688 2/2009
Services
The first two registers, shown below, provide the 32 bits that represent the module
locations available in a typical island configuration. The remaining six registers
(45385 through 45390) are available to support the islands expansion capabilities:
31003688 2/2009
87
Services
1
2
3
4
5
6
7
8
9
10
11
12
13
88
FDR server 1 statusa value of 1 in bit 0 indicates that server 1 is not available
FDR server 2 statusa value of 1 in bit 1 indicates that server 2 is not available
FDR error a value of 1 in bit 2 indicates that either the NIM has received an invalid or 0length parameter file from a server or (the NIM has corrupted data or a length mismatch,
two examples of an invalid file).
Ethernet traffic overload errorthe NIM has experienced at least one Ethernet traffic
overload condition. This bit will not be reset until the next power cycle.
Ethernet traffic overload statusthe NIM has recently experienced an Ethernet traffic
overload condition. This bit will clear automatically, 15 seconds after the register is first
read following an overload condition.
Module failurebit 8 is set to 1 if any module on the island bus fails.
A value of 1 in bit 9 indicates an internal failureat least one global bit was set.
A bit value of 1 in bit 10 indicates an external failurethe problem is on the fieldbus.
A value of 1 in bit 11 indicates that the configuration is protectedthe RST button is
disabled, and the island configuration requires a password to write to it; a bit value of 0
indicates that the island configuration is unprotectedthe RST button is enabled, and the
configuration is not password-protected.
A value of 1 in bit 12 indicates that the configuration on the removable memory card is
invalid.
A value of 1 in bit 13 indicates that reflex action functionality has been configured. (For
NIMs with firmware version 2.0 or greater.)
A value of 1 in bit 14 indicates that one or more island modules have been hot-swapped.
(For NIMs with firmware version 2.0 or greater.)
Island bus output data mastera value of 0 in bit 15 indicates that the fieldbus master
device is controlling the output data of the islands process image; a bit value of 1 indicates
that the Advantys configuration software or an HMI panel is controlling the output data of
the islands process image.
31003688 2/2009
Services
Protocol Type
Command Length
two-byte field
value for Modbus is
always 0
two-byte field
one-byte
value is the size of the
rest of the message
Destination ID
Modbus Message
n-byte field
first byte is the Modbus
function code
Command
Valid Range
19999
125
14697
125
15120 and
94889999
053
N/A
16
15120 and
94889999
100
22
15120 and
94889999
31003688 2/2009
21
89
Services
Modbus
Subfunction
Function Code or Subindex
Command
Valid Range
23
15120 and
94889999
100 (write)
19999 (read)
125 (read)
Ethernet Statistics
Ethernet statistics comprise status information and errors related to data
transmissions to and from the STB NIP 2212 over the Ethernet LAN.
Ethernet statistics are held in a buffer until the get Ethernet statistics command is
issued, and the statistics are retrieved.
The clear Ethernet statistics command clears all of the statistics currently held in
the buffer except the MAC address and the IP address.
The following table lists the Ethernet statistics used by the Advantys STB system:
Word No.
in Buffer
Description
Comment
0002
MAC address
cannot be cleared
03
board status
0405
rx interrupt
0607
tx interrupt
08
09
total collisions
1011
1213
1415
1617
framing errors
1819
overflow errors
2021
CRC errors
2425
rx buffer errors
2627
tx buffer errors
2829
silo underflow
3031
late collision
3233
lost carrier
3435
collision tx failure
3637
IP address
cannot be cleared
3853
reserved
always 0
90
31003688 2/2009
Services
31003688 2/2009
Error Code
Error Type
Description
0x01
Illegal function
0x03
Illegal Modbus
data value
91
Services
5.2
IP Addressing
92
31003688 2/2009
Services
5.3
Introduction
The STB NIP 2212 network interface module supports the faulty device
replacement service. This service simplifies the process of replacing a failed or
failing STB NIP 2212, by automatically configuring the replacement devices IP
address and parameter settings.
What's in this Section?
This section contains the following topics:
Topic
31003688 2/2009
Page
94
96
98
100
93
Services
1
2
3
4
5
94
FDR server
server configuration
operating parameter file transferred to the FDR client
FDR client (replacement device)
rolename assignment
31003688 2/2009
Services
FDR Components
As implemented in the STB NIP 2212 network interface module, the FDR service
comprises 1 or 2 FDR servers and 1 or more STB NIP 2212 clients. Each server is
a passive device; it simply stores the network parameters for the devices on the
network. To configure the server, create a list of the devices connected to the
network (each identified by a role name) and their IP parameters. After the FDR
service is enabled, the server responds to requests from the FDR clients.
The STB NIP 2212 FDR client is a network device that stores its parameters on the
FDR server to facilitate replacement of the device. Each client is assigned a role
name that uniquely identifies it from other devices on the network. After the device
is connected to the network, it sends a copy of its operating parameters to the
server. These parameters should always be sufficient to enable a replacement
STB NIP 2212 client to be configured to operate exactly as the original
STB NIP 2212 client. An update can be senteither manually or automaticallyto the
server when there is a change in the clients operating parameters.
If a STB NIP 2212 client device fails, the following occurs:
31003688 2/2009
Sequence
Event
Your service personnel must assign the same role name to the replacement
device.
The device receives the IP parameters and then connects to the FDR server
and downloads a copy of its network parameters.
After the parameters are downloaded, the device implements the parameters
and operation resumes.
95
Services
software versioning
removable memory (SIM) card
server model types
role name settings
configuration sequence
Software Versions
The faulty device replacement service requires the installation of the following
software on your STB NIP 2212:
z
z
To check the software versions installed on your STB NIP 2212, check the
Properties page of your STB NIP 2212s embedded web server. To do this:
Step
Action
Use your internet browser to access your STB NIP 2212s web server
(see page 103). A username and password dialog opens.
Enter your web server username and password (see page 127) and click OK.
The Properties web page opens.
SIM Card
You may need to equip the Advantys island, of which the STB NIP 2212 is a part,
with an STB XMP 4400 removable memory (SIM) card. This SIM card retains the
island operating parameters.
NOTE: If you need to save only the network parametersand not the settings of
other island operating parametersthe FDR server (see page 119) stores that data
without the requirement of a SIM card.
96
31003688 2/2009
Services
Server Types
Only servers that support the faulty device replacement service can be installed as
FDR servers on your network. These include:
z
z
NOTE: If your network is configured to use dual FDR servers, both servers must be
of the same type: both Quantum NOE, or both Premium ETY.
Role Name Setting
The faulty device replacement service requires that the:
z
z
Configuration Sequence
Before powering up your STB NIP 2212, be sure to first configure your FDR server
(or servers) with a list containing the role name and associated IP address for each
STB NIP 2212 on the network.
NOTE: If your network is configured to use dual FDR servers, both FDR servers
must be configured with the same list of role names and associated IP addresses.
31003688 2/2009
97
Services
98
31003688 2/2009
Services
z
z
z
z
Additionallyl, the configuration port parameters (see page 141) are also saved.
31003688 2/2009
99
Services
status of the:
z FDR service
z IP address assignment process
z operating parameters file backup and restore process
z
z
z
z
Refer to the FDR Diagnostics page (see page 142) for more detailed information
about the contents of this embedded web server page.
100
31003688 2/2009
Services
5.4
Introduction
The STB NIP 2212 NIM provides an embedded web server that can be used to
configure and diagnose the device.
What's in this Section?
This section contains the following topics:
Topic
About the Embedded Web Server
31003688 2/2009
Page
102
104
105
106
110
112
115
118
124
125
126
127
130
134
Ethernet Statistics
135
136
138
140
141
142
146
101
Services
Security
The STB NIP 2212 web site provides two levels of security:
z
A required web access username and password combination (see page 127),
whichdepending upon your configuration password selection (below)provides
either read-only or read/write web site access.
An optional configuration password (see page 130); if the configuration password
is:
z enabled, the web access username/password combination provides read-only
access, and the configuration password provides write access to the
STB NIP 2212 web site
z disabled, the web access username/password combination alone provides
both read and write access to the STB NIP 2212 web site
Getting Help
Page-level help is available for every STB NIP 2212 web page. To display the help
text for a page, click on the word Help. It is located at the top of the web page and
to the right of the STB NIP 2212 banner.
102
31003688 2/2009
Services
Action
Result
Product Support
For information on how to contact Schneider-Electric for customer assistance for
your STB NIP 2212 NIM, select the Support menu command to open the Support
web page (see page 125).
31003688 2/2009
103
Services
1
2
3
4
5
6
104
STB NIP 2212 banner. The role name (if configured) and the IP address in current use
display in the web banner.
Click on the word Home to return to the STB NIP 2212 home page.
Click on the word Help to display the help text for this web page.
The network activity icon indicates which communications protocols are active. The top
light represents HTTP, the middle light Modbus, and the bottom light FTP. If a protocol is
active, the light representing it is lit. For more information, drag the mouse over the light.
Navigation tabs.
Schneider Electric copyright information.
31003688 2/2009
Services
Configured IP
Configure SNMP
Master Controller
Master Configurator
FDR ConfigurationorRole Name (see Note, below)
Reboot
Click on an option to open the associated embedded web server configuration page.
NOTE: Web server versions 1.19.1 and later display an FDR Configuration page;
earlier versions of the web server display a Role Name page.
31003688 2/2009
105
Services
106
31003688 2/2009
Services
IP Parameters
The IP address for the STB NIP 2212 has the four parameters, which are described
in the following table:
Parameter
Description
IP address
subnet mask
gateway
frame type
Ethernet format used by the STP NIP 2212. For example, the
STB NIP 2212 can use either the Ethernet II or the IEEE 802.3
frame format. Ethernet II is the default.
Note: The IP address for the STB NIP 2212 is written in dotted decimal format.
Click on ...
Reset
Default
Save
Action
Comment
If your STB NIP 2212 has a role name, you must remove
it by deleting the Role Name setting (see page 118).
31003688 2/2009
107
Services
Step
Action
Comment
10
11
108
Action
Comment
31003688 2/2009
Services
Step
Action
Comment
31003688 2/2009
109
Services
Field Name
Description
Agent
Location
Contact
Set
Get
Community
110
31003688 2/2009
Services
31003688 2/2009
111
Services
112
Field Name
Description
Master x ID*
Reservation Time
31003688 2/2009
Services
Field Name
Description
Holdup Time
The amount of time in ms that output modules will hold their current state
without an update by a Modbus write command (see page 89). When
the module hold-up time out expires, the outputs will be driven to their
defined fallback states (see page 184).
Note: The holdup time must be defined via the Master Controller web
page. Holdup time out parameters and values are stored in nonvolatile
Flash memory.
Note: When write commands to an Ethernet NIM are stopped, an output
module located on the NIMs island maintains its output states from that
time until any pre-programmed timeout value expires. After that, the
predefined fallback states are set.
The state the STB NIP 2212 enters upon the failure of the Ethernet
communication link, either:
z Fallback: the outputs immediately assume their defined fallback
states on link failure. This is the default setting.
z Holdup: the outputs hold their current state for the holdup time set
in this page, before assuming their defined fallback states.
* If you do not enter an IP address, then write access to the NIM will be obtained by the first
non-Web page configured controller that writes to it.
Action
Type the IP address for each master controller (up to three) that you want to set
up.
Type a value for the reservation time (0 ... 120000 ms). This is the amount of time
allocated to any non-Web page configured controller. The default setting is
60000 ms (1 min).
Type a value in ms for the holdup time. The default setting is 1000 ms. (1 sec).
The valid values are:
z values in the range 300 ... 120,000 ms.
z a value of 0 ms signifying indefinite hold up time
Note: You must enter the holdup value via the web page.
31003688 2/2009
113
Services
Step
Action
Select a link failure mode, which determines the STB NIP 2212s behavior when
the Ethernet communications link fails:
z Holdup: the STB NIP 2212 waits the holdup time before assuming its fallback
state, or
z Fallback: the STB NIP 2212 immediately assumes its fallback state
Click the Save button to store information to the STB NIP 2212s Flash memory
and in RAM.
114
31003688 2/2009
Services
local host that resides on the same Ethernet LAN as the island
remote host that communicates with the Ethernet LAN on which the island
resides
device connecting to the STB NIP 2212, serially, via the CFG port
A master configurator will pre-empt configuration mastery for the Advantys STB
island from any other configurator during its reservation time.
31003688 2/2009
115
Services
Legal Values
Description
protocol
IP
Serial
Disabled
Reservation Time
0 ... 120000 ms, with a 1 ms resolution time The amount of time in ms allocated to a master
for writing configuration data to the
STB NIP 2212. Other masters attempting to
configure the island during this time will receive
an error message.
The default reservation time is 60,000 ms (1 min).
Reservation time is self-renewing.
Action
116
Type a value for the reservation time (0 ... 120000 ms). This is the amount of
time allocated to the master configurator for writing configuration data to the
island. The default setting is 60000 ms (1 min).
Click on the Save button to store the information about the master configurator
in the STB NIP 2212s Flash memory and in RAM.
31003688 2/2009
Services
31003688 2/2009
117
Services
The FDR Configuration web page contains the settings, including role name, for the
STB NIP 2212s faulty device replacement service. When you replace a faulty
STB NIP 2212, the FDR service saves you the task of manually reconfiguring the
replacement device by automatically:
z
z
z
The Role Name configuration web page contains the role name assigned to the
STB NIP 2212. This role name is used by the STB NIP 2212 to request an IP
address from a DHCP server.
Both configuration pages are described, below.
Role Name
You can assign, edit, or delete a role name for an STB NIP 2212 in both the FDR
Configuration and the Role Name web pages. A role name is a concatenation of the
STBNIP2212 part number, an underscore character (_), and three numeric
characters, e.g., STBNIP2212_002.
A role name is the priority IP address assignment method used by the
STB NIP 2212 (see page 62). If a role name is assigned, the IP address for the
STB NIP 2212 is always associated with it.
NOTE: You will not be able to assign a configured IP (see page 61) or the default
IP address (see page 60), unless you first remove the role name.
118
31003688 2/2009
Services
FDR Settings
FDR web page settings include:
Setting
Description
Role Name
Server 1 IP Address1 The IP address of the first FDR server that stores the STB NIP 2212
operating parameters.
Server 2 IP Address1 The IP address of the second FDR server that stores the
STB NIP 2212 operating parameters.
Check Time
(minutes)
1
31003688 2/2009
The time period for the performance of either Auto Restore or Auto
Backup functions, as described in the Auto Sync Mode field, below.
Values range from 2...1500 minutes, with a default of 30 minutes.
When multiple FDR servers are active on the network, at least one of server IP address
settings is required. If only 1 FDR server is active on the network, no server IP address
settings are required.
119
Services
Setting
Description
Use Local
Configuration
When multiple FDR servers are active on the network, at least one of server IP address
settings is required. If only 1 FDR server is active on the network, no server IP address
settings are required.
FDR Commands
Use the 4 command buttons at the bottom of the FDR Configuration web page to
execute the following functions:
120
Command
Description
Save
Saves edits made to the FDR Configuration values to the STB NIP 2212
flash memory, overwriting the previously stored values.
Reset
Restore
Backup
Manually uploads saved operating parameters from STB NIP 2212 flash
memory to an FDR server.
31003688 2/2009
Services
Action
Comment
31003688 2/2009
121
Services
the Role Name page (for embedded web site versions earlier than 1.19.1) or
the FDR Configuration page (for embedded web site versions 1.19.1 and later)
Action
Comment
122
31003688 2/2009
Services
Step
Action
Comment
Click on the Save button to save your role name to the The role name appears in the banner at the top
Flash memory and in RAM.
of each STB NIP 2212 web page.
Note: Saving the role name, however, does not
configure the STB NIP 2212 with it. You must
reboot the STB NIP 2212 (see step 8) to
configure it with a role name and to have a
DHCP server assign an IP address
(see page 61).
10
Action
1 Set the lower rotary switch to an INTERNAL position (see page 28), and power cycle
the STB NIP 2212.
2 Open the STB NIP 2212 web site.
3 Click on the Configuration tab to display the Configuration menu.
4 Select either:
z FDR Configuration if your web server version is 1.19.1 or higher, or
z Role Name, if your web server version is earlier than 1.19.1.
5 Highlight the role name to select it. Then press the Delete key on your keyboard.
6 Click Save.
Note: The role name is deleted from Flash memory.
31003688 2/2009
123
Services
applies the island operating parameters, that were stored in flash memory, to
island devicesincluding the STB NIP 2212 network interface module, and
clears the history in the STB NIP 2212s FDR Diagnostics (see page 142) web
page
124
31003688 2/2009
Services
31003688 2/2009
125
Services
126
31003688 2/2009
Services
31003688 2/2009
127
Services
128
Action
Result
Navigate to your url: http://configured IP address. The STB NIP 2212 home page is displayed.
31003688 2/2009
Services
Step
Action
Result
Select the Change Web Access Password option. The Change Web Access Password page is
displayed.
10
11
31003688 2/2009
129
Services
130
Action
Result
31003688 2/2009
Services
Step
Action
Result
Click Save.
authorize write privileges on the STB NIP 2212 embedded web server pages,
and
configure an Advantys STB island bus using the Advantys configuration software
(see page 187)
If your island already has a configuration password that was set using the Advantys
configuration software, you must use that password as the configuration password
for your STB NIP 2212 embedded web server pages, and vice versa.
31003688 2/2009
131
Services
1
2
132
Action
Result
Click Login.
31003688 2/2009
Services
Step
Action
Result
31003688 2/2009
133
Services
Ethernet Statistics
Network Interface Module Registers
I/O Data Values
Island Configuration
Island parameters
FDR Diagnostics (only for embedded web server versions 1.19.1 or higher)
Error Log
Click on an option to open the related embedded web server diagnostics page.
134
31003688 2/2009
Services
Ethernet Statistics
Introduction
The Ethernet Statistics web page reports status information and errors that are
related to data transmissions to and from the STB NIP 2212 over the Ethernet LAN.
Refresh Rate
The statistics on this page are updated at the rate of one per second.
Sample Ethernet Statistics Web Page
A sample Ethernet Statistics web page appears in the following figure:
1
2
3
4
5
31003688 2/2009
135
Services
136
To ...
Add button.
Save button.
31003688 2/2009
Services
Format Feature
The format feature allows you to select whether the content of the NIM registers is
displayed in decimal or hexadecimal notation.
Sample NIM Registers Web Page
A sample NIM Registers web page appears in the following figure:
1
2
3
4
5
6
7
8
31003688 2/2009
137
Services
138
31003688 2/2009
Services
1
2
3
4
5
6
7
8
31003688 2/2009
139
Services
140
31003688 2/2009
Services
31003688 2/2009
141
Services
Description
The availability of FDR services:
z Operational: FDR service available
z Not Operational: FDR service unavailable
Naming Scheme
142
31003688 2/2009
Services
31003688 2/2009
Parameter
Description
IP Status
File Status
DHCP Attempts
Address Server
File Server
File Name
File Header
File Checksum
File Size
File Updated
Manual Backup
Services
144
Parameter
Description
IP Status
File Status
DHCP Attempts
Address Server
File Server
File Name
File Header
File Checksum
File Size
File Updated
Manual Backup
Services
31003688 2/2009
Parameter
Description
Auto Backup
The number of auto backups since the last system reboot. Resets to 1
after 65520 is reached.
Note: The auto backup procedure is configured in the FDR Configuration
web page.
Manual Restore
Auto Restore
The number of auto restore procedures since the last system reboot.
Resets to 1 after 65520 is reached.
Note: The auto restore procedure is configured in the FDR Configuration
web page.
FTP Errors
The number times the STB NIP 2212 encountered an error while
attempting to read a configuration file downloaded from the FDR server,
since the last system reboot. Resets to 1 after 65520 is reached.
Sync Errors
The number of times the STB NIP 2212 tried and failed to connect to the
FDR server, since the last system reboot. Resets to 1 after 65520 is
reached.
145
Services
Do ...
146
Comment
31003688 2/2009
Services
To ...
Do ...
Comment
31003688 2/2009
147
Services
5.5
SNMP Services
Introduction
The STB NIP 2212 supports the simple network management protocol (SNMP).
What's in this Section?
This section contains the following topics:
Topic
148
Page
149
151
152
154
155
156
157
31003688 2/2009
Services
The SNMP manager initiates communications with the agent. An SNMP manager
can query, read data from and write data to other host devices. An SNMP manager
uses UDP to establish communications with an agent device via an "open" Ethernet
interface.
When the STB NIP 2212 is successfully configured with SNMP, the STB NIP 2212
agent and the SNMP manager devices can recognize one another on the network.
The SNMP manager can then transmit data to and retrieve data from the
STB NIP 2212.
Network Management Application
SNMP software allows an SNMP manager (remote PC) to monitor and control the
STB NIP 2212. Specifically, SNMP services are used to monitor and manage:
z
z
z
z
performance
faults
configuration
security
149
Services
z
GetRequestAn SNMP manager uses the "Get" PDU to read the value of one
or more management information base (MIB) (see page 152) objects from the
STB NIP 2212 agent.
SetRequestAn SNMP manager uses the "Set" PDU to write a value to one or
more objects resident on the STB NIP 2212 agent.
These PDUs are used in conjunction with MIB objects to get and set information
contained in an Object Identifier (OID).
SNMP PDU Structure
An SNMP message is the innermost part of a typical network transmission frame, as
shown in the following illustration:
150
31003688 2/2009
Services
The SNMP agent is configured using the STB NIP 2212s embedded web server.
Refer to the Configure SNMP Web Page (see page 110) topic for instructions on
how to configure SNMP settings.
31003688 2/2009
151
Services
152
31003688 2/2009
Services
31003688 2/2009
153
Services
Description
Port 502_Messaging(2)
web(5)
equipment_profiles(7)
subtree that identifies objects for each type of device in the TFE
product portfolio
154
31003688 2/2009
Services
Available Values
port502Status(1)
idle
port502 SupportedProtocol(2)
supported protocols
port502IPSecurity(3)
status of IP security
disableddefault
operational
enabled
port502MaxConn(4)
33
port502LocalConn(5)
always 0
port502RemConn(6)
0 ... 32
port502 IPSecurityTable(7)
port502ConnTable(8)
port502MsgIn(9)
port502MsgOut(10)
port502MsgOutErr(11)
port502AddStackStat(12)
port502AddStackStatTable(13)
MsgIn
MsgOut
disabled
enabled
31003688 2/2009
155
Services
Indication
Available Values
webStatus(1)
1idle
webPassword(2)
2operational
Note: Disabling the webPassword service will disable the default HTTP password
(see page 127) for the STB NIP 2212 embedded web server.
156
31003688 2/2009
Services
Description
Comment
profileVersion(2)
profileCommunicationServices
(3)
profileGlobalStatus(4)
profileConfigMode(5)
available values
z 1local: the IP configuration is
created locally
z 2DHCP-served: the IP
configuration is created remotely
by a DHCP server
profileRoleName(6)
profileBandwidthMgt(7)
profileBandwidthDistTable(8)
profileLEDDisplayTable(9)
not available
displays a table giving the name and state
of each modules LEDs
profileSlot(10)
value=127
profileCPUType(11)
Advantys STB
profileTrapTableEntries
Max(12)
profileTrapTable(13)
not used
profileSpecified(14)
255
profileIPAddress(15)
IP address in use
31003688 2/2009
157
Services
Service
Description
profileNetMask(16)
profileIPGateway(17)
profileMacAddress(18)
158
Comment
31003688 2/2009
Services
5.6
Other Services
TFTP Service
Description
Trivial File Transfer Protocol (TFTP) is a simple client/server protocol that may be
used instead of FTP to transfer files. It uses UDP port number 69 and is
implemented on top of the UDP transport layer.
With TFTP most of the features of a regular FTP are removed. It can perform only
read and write operations from/to a remote server; it cannot list directories, and it
has no provisions for user authentication or security. TFTP can be implemented in
simple devices.
During a TFTP connection, files are transferred between the client and the
server.The recipient of the file issues a confirmation that the file was received
without errors.The protocol does not permit retransmission of only part of a file that
contains an error; the entire file must be retransmitted. This can represent a delay
in the transmission time. However, the probability of errors in the file due to
transmission or transmission loss is not very high.
The STB NIP 2212 implements the TFTP client service, as part of the faulty device
replacement (FDR) service (see page 93), where TFTP is used to transfer operating
parameters between the STB NIP 2212 and the FDR server.
31003688 2/2009
159
Services
160
31003688 2/2009
Connection Examples
31003688 2/2009
Connection Examples
6
Introduction
The information in this chapter provides two examples showing how to connect and
commission an Advantys STB island with an STB NIP 2212 gateway on a Modbus
TCP/IP network. The first example uses PL7; the second example uses Unity Pro.
What's in this Chapter?
This chapter contains the following topics:
Topic
Introduction
31003688 2/2009
Page
162
Network Architecture
163
Sample Configuration
165
169
161
Connection Examples
Introduction
Overview
The connection example that follows describes how to connect and commission an
Advantys STB island with an STB NIP 2212 Ethernet gateway module. The
connection example does not use a specific Ethernet host because Modbus over
TCP/IP is an open protocol.
Assumptions
The connection example is based on the following assumptions:
z
z
z
162
31003688 2/2009
Connection Examples
Network Architecture
Architectural Diagram
The physical network shown in the following figure is representative of how
Advantys STB islands can have various Ethernet hosts and how the islands can be
configured as nodes on the Ethernet:
1
2
3
4
31003688 2/2009
PC Ethernet host
switches
PLC Ethernet host
Advantys STB islands with STB NIP 2212 gateways
163
Connection Examples
The following table describes the cabling guidelines for the network shown in the
figure above:
Type of Connection
Cabling Guidelines
crossover cable
through a switch as recommended shielded (STP) or unshielded (UTP) electrical, twisted pair Category (CAT5)
by Schneider Electric
cabling (see page 26)
Note: Compatible switch, hub, connector, and cable selections are described in the Transparent Factory Network
Design and Cabling Guide (490 USE 134 00).
164
31003688 2/2009
Connection Examples
Sample Configuration
Example
A representative island bus assembly with an STB NIP 2212 gateway is shown in
the following figure:
1
2
3
4
The I/O modules in the sample assembly have the following island bus addresses:
31003688 2/2009
I/O Model
Module Type
Modules Island
Bus Address
Modules Island
Bus Address
N1
N2
N3
N4
N5
165
Connection Examples
I/O Model
Module Type
Modules Island
Bus Address
Modules Island
Bus Address
N6
N7
N8
The PDM and the termination plate are not addressable (see page 46).
Modbus over TCP/IP View of the Sample Island Configuration
The order in which the Advantys STB I/O modules in the sample island
(see page 165) are physically assembled determines the order in which data will
appear in the input and output data image areas (see page 191) of the process
image.
z
z
input data includes all of the I/O modules on an Advantys STB island bus that
contain status, data, and/or echo output data
output data contains only data
No bit-packing is used.
Standard Modbus 4x and 3x message formats are the addressing mechanism.
Input Process Image
The I/O modules in the sample island (see page 165) require 18 Modbus registers
in the input data image area (see page 76). The following table shows how these
registers are organized:
Modbus 15
Register
45392
14
13
12
11
10
emptyset to 0
N1 data
emptyset to 0
N1 status
emptyset to 0
N2 echo
emptyset to 0
N2 status
emptyset to 0
N3 data
emptyset to 0
N3 status
166
31003688 2/2009
Connection Examples
Modbus 15
Register
14
13
12
11
10
45398
N4 echo
STB DDO 3410 feedback
45399
N4 status
STB DDO 3410 status
45400
N5 data
STB DDI 3610 data
45401
N5 status
STB DDI 3610 status
45402
N6 echo
STB DDI 3600 feedback
45403
N6 status
STB DDI 3600 status
45404
N7channel 1 data
AVI 1270 channel 1data
45405
N7 channel 1 status
AVI 1270 channel 1 status
45406
N7channel 2 data
AVI 1270 channel 2 data
45407
N7 channel 2 status
AVI 1270 channel 2 status
45408
N8 channel 1 status
AVI 1250 channel 1 status
45409
N8 channel 2 status
AVI 1250 channel 2 status
31003688 2/2009
167
Connection Examples
14
13
40001
emptyset to 0
40002
emptyset to 0
40003
emptyset to 0
40004
N8 channel 1 data
40005
N8 channel 2 data
12
11
10
N2 data
168
31003688 2/2009
Connection Examples
Field
Example
command
0x003
register count
word count
0x002
starting point
starting register
0x40004
Response: The response is the reply from the device. It contains the contents of the
registers in which the requested data is located. In this case, register 40004 contains
data 1234, and register 40005 contains data 6789:
31003688 2/2009
Description
Field
Example
command
0x003
register count
word count
0x002
returned value
0x1234
returned value
0x6789
169
Connection Examples
Reference Descriptions
The xs following the leading character (3/4) represent a four-digit Modbus register
address:
z
3xxxx
Read input registers. A 3x reference register contains a 16-bit number received
from an external source, e.g., an analog signal.
4xxxx
Read/write output or holding registers. A 4x reference register is used to store 16bits of numerical data (binary or decimal), or to send the data from the CPU to an
output channel.
Subfunction
or Subindex
Hexadecimal
Description
0x03
0x04
0x06
0x08
16
0x10
22
0x16
23
0x17
6
8
sub index 21
Action
Execute a function, specify the function code and the register address of the
selected input or output channel.
The Modbus master (i.e., PC, PLC) sends a request to the STB NIP 2212.
z If no exception is returned, the STB NIP 2212 responds to the master by
to the master.
170
31003688 2/2009
Connection Examples
31003688 2/2009
Code in
Hexadecimal
Description
0x01
illegal function
0x02
0x03
0x04
171
Connection Examples
172
31003688 2/2009
7
Introduction
This chapter describes the advanced and/or optional configuration features that you
can add to an Advantys STB island.
What's in this Chapter?
This chapter contains the following topics:
Topic
STB NIP 2212 Configurable Parameters
31003688 2/2009
Page
174
177
Prioritizing a Module
179
180
184
186
187
188
191
193
Test Mode
195
Run-Time Parameters
197
Virtual Placeholder
202
173
General Information
For general information about the NIM module (model name, version number,
vendor code, etc.), do the following:
Step
Action
Comment
Open your island configuration with the The STB NIP 2212 is the leftmost module
Advantys configuration software.
in your island bus assembly.
174
Action
Comment
31003688 2/2009
Action
Comment
Action
Result
31003688 2/2009
175
Step
Action
Result
176
Action
Comment
31003688 2/2009
31003688 2/2009
Condition
Response
The NIM stops the island bus. The island enters fallback
mode (see page 184). I/O modules and preferred
devices assume their fallback values.
The NIM stops the island bus. The island enters fallback
mode. I/O modules and preferred devices assume their
fallback values.
177
WARNING
UNINTENDED EQUIPMENT OPERATION/LOSS OF CONFIGURATIONRST
BUTTON WHILE RECOVERING FROM MANDATORY STOP
Pushing the RST button (see page 55) causes the island bus to reconfigure itself
with factory-default operating parameters, which do not support mandatory I/O
status.
z
z
178
31003688 2/2009
Prioritizing a Module
Summary
Using the Advantys configuration software, you can assign priority to digital input
modules in your island assembly. Prioritization is a method of fine tuning the NIMs
I/O scan of the island bus. The NIM will scan modules with priority more frequently
than other island modules.
Limitations
You can prioritize only modules with digital inputs. You cannot prioritize output
modules or analog modules. You can prioritize only 10 modules for a given island.
31003688 2/2009
179
The island bus optimizes reflex response time by assigning the highest transmission
priority to its reflex actions. Reflex actions take some of the processing workload off
the fieldbus master, and they offer a faster, more efficient use of system bandwidth.
How Reflex Actions Behave
WARNING
UNEXPECTED OUTPUT OPERATION
For outputs that are configured to respond to reflex actions, the output state
represented in the islands network interface module (NIM) may not represent the
actual states of the outputs.
z
z
z
Turn off field power before you service any equipment connected to the island.
For digital outputs, view the echo register for the module in the process image
to see the actual output state.
For analog outputs, there is no echo register in the process image. To view an
actual analog output value, connect the analog output channel to an analog
input channel.
180
31003688 2/2009
Some blocks, such as the timers, require reset and/or trigger inputs to control the
reflex action. The following example shows a timer block with three inputs:
The trigger input starts the timer at 0 and accumulates time units of 1, 10, 100 or
1000 ms for a specified number of counts. The reset input causes the timer
accumulator to be reset.
An input to a block may be a Boolean value, a word value, or a constant, depending
on the type of reflex action it is performing. The enable input is either a Boolean or
a constant always enabled value. The operational input to an block such as a digital
latch must always be a Boolean, whereas the operational input to an analog latch
must always be a 16-bit word.
You will need to configure a source for the blocks input values. An input value may
come from an I/O module on the island or from the fieldbus master via a virtual
module in the NIM.
NOTE: All inputs to a reflex block are sent on a change-of-state basis. After a
change-of-state event has occurred, the system imposes a 10 ms delay before it
accepts another change of state (input update). This feature is provided to minimize
jitter in the system.
31003688 2/2009
181
Result
Boolean logic
Boolean value
digital output
integer compare
Boolean value
digital output
counter
16-bit word
timer
Boolean value
digital output
digital latch
Boolean value
digital output
analog latch
16-bit word
analog output
182
31003688 2/2009
For example, say you want to combine a counter block and a compare block in a
nested reflex action. You want the result of the counter to be the operational input to
the compare block. The compare block will then produce a Boolean as its result:
Result 2 (from the compare block) is the result that the nested reflex action will send
to an actual output. Because the result of a compare block needs to be mapped to
a digital action module, result 2 is mapped to channel 4 on an STB DDO 3410 digital
output module.
Result 1 is used only inside the moduleit provides the 16-bit operational input to
the compare block. It is mapped to the same STB DDO 3410 digital output module
that is the action module for the compare block.
Instead of specifying a physical channel on the action module for result 1, the
channel is set to none. In effect, you are sending result 1 to an internal reflex buffer
where it is stored temporarily until it is used as the operational input to the second
block. You are not really sending an analog value to a digital output channel.
Number of Reflex Blocks on an Island
An island can support up to 10 reflex blocks. A nested reflex action consumes two
blocks.
An individual output module can support up to two reflex blocks. Supporting more
than one block requires that you manage your processing resources efficiently. If
you are not careful with your resources, you may be able to support only one block
on an action module.
Processing resources are consumed quickly when a reflex block receives its inputs
from multiple sources (different I/O modules on the island and/or virtual modules in
the NIM). The best way to preserve processing resources is to:
z
z
31003688 2/2009
use the always enabled constant as the enable input whenever possible
use the same module to send multiple inputs to a block whenever possible
183
z
z
NOTE: If a mandatory (or any other) module fails, it needs to be replaced. The
module itself does not go into its fallback state.
In all of these fallback scenarios, the NIM disables the heartbeat message.
Heartbeat Message
The Advantys STB system relies on a heartbeat message to ensure the integrity and
continuity of communications between the NIM and the island modules. The health
of island modules and the overall integrity of the Advantys STB system are
monitored through the transmission and reception of these periodic island bus
messages.
Because island I/O modules are configured to monitor the NIMs heartbeat
message, output modules will go into their fallback states if they do not receive a
heartbeat message from the NIM within the defined interval.
Fallback States for Reflex Functions
Only an output module channel to which the result of a reflex action (see page 180)
has been mapped can operate in the absence of the NIMs heartbeat message.
When modules that provide input for reflex functionality fail or are removed from the
island, the channels that hold the result of those reflex actions go into their fallback
states.
184
31003688 2/2009
In most cases, an output module that has one of its channels dedicated to a reflex
action will go to its configured fallback state if the module loses communication with
the fieldbus master. The only exception is a two-channel digital output module that
has both of its channels dedicated to reflex actions. In this case, the module may
continue to solve logic after a loss of fieldbus communication. For more information
about reflex actions, refer to the Reflex Actions Reference Guide (890 USE 183).
Configured Fallback
To define a customized fallback strategy for individual modules, you are required to
use the Advantys configuration software. Configuration is done channel by channel.
You can configure a single modules multiple channels with different fallback
parameters. Configured fallback parametersimplemented only during a
communications failureare part of the configuration file stored in the NIMs nonvolatile Flash memory.
Fallback Parameters
You can select either of two fallback modes when configuring output channels with
the Advantys configuration software:
z
z
hold last valueIn this mode, outputs retain the last values they were assigned
before the failure.
predefined valueIn this (default) mode, you can select either of two fallback
values:
z 0 (default)
z
The permissible values for fallback parameters in the predefined value mode for
discrete and analog modules and reflex functions appear in the following table:
Module Type
discrete
0/off (default)
analog
0 (default)
1/on
31003688 2/2009
185
186
Action
Comment
Install the card (see page 51) in the host Saving the configuration data to the
NIM, then use the Store to SIM card
removable memory card is optional.
command.
This operation overwrites old data on
the SIM card.
31003688 2/2009
Password Characteristics
A password must meet the following criteria:
It must be between 0 and 6 characters in length.
z Only alphanumeric ASCII characters are permitted.
z The password is case-sensitive.
z
31003688 2/2009
187
188
31003688 2/2009
Each block has a fixed number of registers reserved for its use. Whether or not all
the registers reserved for that block are used in an application, the number of
registers allocated to that block remains constant. This permits you to know at all
times where to begin looking for the type of data of interest to you.
31003688 2/2009
189
For example, to monitor the status of the I/O modules in the process image, look at
the data in block 11 beginning at register 45392.
Reading Register Data
All the registers in the data image can be read by an HMI panel connected to the
island at the NIMs CFG port (see page 33). The Advantys configuration software
reads all this data, and displays blocks 1, 2, 5, 8, 10, 11, and 12 in the Modbus Image
screen in its I/O Image Overview.
Writing Register Data
Some registers, usually configured number of registers in block 12 (registers
49488 through 49999) of the data image, may be written to by an HMI panel
(see page 193).
The Advantys configuration software or an HMI panel may also be used to write data
to the registers in block 1 (registers 40001 through 44096). The configuration
software or the HMI panel must be the island bus master in order for it to write to the
data imagei.e., the island must be in test mode.
190
31003688 2/2009
where:
z
z
z
Some output modules, such as the one in the example above, utilize a single data
register. Others may require multiple registers. An analog output module, for
example, would use separate registers to represent the values for each channel,
and might use the 11 or 12 most significant bits to display analog values in
IEC format.
Registers are allocated to output modules in the output data block according to their
addresses on the island bus. Register 40001 always contains the data for the first
output module on the islandthe output module closest to the NIM.
31003688 2/2009
191
NOTE: The requirements of each output module in the Advantys STB family are
described in the Advantys STB Hardware Components Reference Guide
(890 USE 172).
A detailed view of how the registers are implemented in the output data block is
shown in the process image example.
Output Data Read/Write Capabilities
The registers in the output data process image are read/write-capable.
You can read (i.e., monitor) the process image using an HMI panel or the Advantys
configuration software. The data content that you see when you monitor the output
data image registers is updated in near-real time.
The islands fieldbus master also writes updated control data to the output data
process image.
Input Data and I/O Status Process Image
The input data and I/O status block (registers 45392 through 49487) handles the
input data and I/O status process image. Every I/O module on the island bus has
information that needs to be stored in this block.
z
Each digital input module reports data (the on/off status of its input channels) in
one register of input data and I/O status block, then reports its status (e.g., the
presence or absence of errors) in the next register.
Each analog input module uses four registers in the input data and I/O status
block. It represents the analog data for each channel in separate registers and
the status of each channel in separate registers. Analog data is usually
represented with 11- or 12-bit resolution in the IEC format; status in an analog
input channel is usually represented by a series of status bits that report the
presence or absence of an out-of-range value in a channel.
Each digital output module reports an echo of its output data to a register in the
input data and I/O status block. Echo output data registers are essentially copies
of the register values that appear in the output data process image. This data is
usually not of much interest, but it can be useful in the event that a digital output
channel has been configured for a reflex action. In this case, the fieldbus master
can see the bit value in the echo output data register even though the output
channel is being updated inside the island bus.
Each analog output module uses two registers in the input data and I/O status
block to report status. Status in an analog output channel is usually represented
by a series of status bits that report the presence or absence of an out-of-range
value in a channel. Analog output modules do not report data in this block.
A detailed view of how the registers in the input data and I/O status block are
implemented is shown in the process image example.
192
31003688 2/2009
push buttons
switches
a data entry keypad
To use an HMI panel as an input device on the island, you need to enable the HMIto-fieldbus master block in the islands data image (see page 189) and specify the
number of registers in this block that you want to use for HMI-to-fieldbus master data
transfers. You must use the Advantys configuration software to make these
configuration adjustments.
The HMI-to-fieldbus master block can comprise up to 512 registers, ranging from
register 49488 to 49999. (Your actual register limit will be dictated by your fieldbus.)
This block follows immediately after the standard input data and I/O status process
image (see page 192) block (registers 45392 through 49487) in the islands data
image.
The HMI panel writes the input data to a specified number of registers in the HMIto-fieldbus master block. The NIM manages the transfer of the HMI data in these
registers as part of the overall input data transferit converts the 16-bit register data
to a fieldbus-specific data format and transfers it together with the standard input
data and I/O status process image to the fieldbus. The fieldbus master sees and
responds to HMI data as if it were standard input data.
31003688 2/2009
193
display indicators
buttons or screen images that change color or shape
data display screens (for example, temperature read-outs)
To use the HMI panel as an output device, you need to enable the fieldbus-to-HMI
block in the islands data image (see page 189) and specify the number of registers
in this block that you want to use. You need to use the Advantys configuration
software to make these adjustments to your configuration.
The fieldbus master-to-HMI block can comprise up to 512 registers, ranging from
register 44097 to 44608. This block follows immediately after the standard output
data process image (see page 191) block (registers 40001 through 44096) in the
islands data image.
The fieldbus master writes output update data in native fieldbus format to the HMI
data block concurrent with writing this data to the output data process image area.
The output data is placed in the fieldbus master-to-HMI block. Upon request by the
HMI via a Modbus read command, the role of the NIM is to receive this output data,
convert it to16-bit Modbus format, and send it over the Modbus connection at the
CFG port to the HMI panel.
NOTE: The read command enables all Modbus registers to be read, not just those
in the block reserved for fieldbus master-to-HMI data exchange.
194
31003688 2/2009
Test Mode
Summary
Test Mode indicates that the output data of the STB islands process image is not
controlled by a fieldbus master device, but is instead controlled by either the
Advantys STB configuration software or an HMI. When the STB island is operating
in Test Mode, the fieldbus master cannot write the STB islands outputs, but can
continue to read its inputs and diagnostic data.
Test Mode is configured off-line, downloaded with the island configuration, then
activated online.
Select Test Mode Settings in the Online menu to open the Test Mode configuration
window, where you can select a test mode setting. Test Mode settings are stored
with other STB island configuration settings both in the NIMs flash memory and in
a SIM card, if one is attached to the NIM.
When Test Mode is activated, the NIMs TEST LED is lit, and bit #15 of the NIM
Status word in register 45391 is set to 1.
NOTE: Loss of Modbus communications will not affect Test Mode.
There are three Test Mode settings:
z
z
z
The following sections describe the process and effect of activating Test Mode.
Temporary Test Mode
When operating online, use the Advantys STB configuration software - and not an
HMI - to activate Temporary Test Mode, by selecting Test Mode in the Online menu.
Once activated, Temporary Test Mode will be deactivated by:
z
z
z
z
z
31003688 2/2009
195
downloading a new island configuration to the NIM (or inserting a SIM card with
a new island configuration into the NIM and cycling power to the NIM)
performing Autoconfiguration.
NOTE: Password Test Mode must be activated only by using the NIMs
configuration port. For security reasons, all attempts to enter Password Test Mode
using the fieldbus (via NIM models NIC2212, NIP2212, or NMP2212) fail.
196
31003688 2/2009
Run-Time Parameters
Introduction
For STB modules, the Advantys Configuration Software provides the run-time
parameters feature (RTP). It can be used for monitoring and modifying selected I/O
parameters and Island bus status registers of the NIM while the Island is running.
This feature is available only in standard STB NIMs with firmware version 2.0 or
later.
RTP must be configured using the Advantys Configuration Software before it can be
used. RTP is not configured by default. Configure RTP by selecting Configure runtime Parameters in the Options tab of the NIM Module Editor. This will allocate
necessary registers within the NIMs data process image that support this feature.
Request and Response Blocks
Once configured, use the RTP feature by writing up to 5 reserved words in the NIMs
output data process image (the RTP request block) and by reading the value of 4
reserved words in the NIMs input data process image (the RTP response block).
The Advantys Configuration Software displays both blocks of reserved RTP words
in the Islands I/O Image Overview dialog box, both in the Modbus Image tab and
- for NIMs with a separate fieldbus image - in the Fieldbus Image tab. In each tab,
the blocks of reserved RTP words appear after the block of process I/O data and
before the block of HMI data (if any).
NOTE: The Modbus address values of the RTP request and response blocks are
the same in all standard NIMs. The fieldbus address values of the RTP request and
response blocks depend upon the network type. Use the Fieldbus Image tab of the
I/O Image Overview dialog box to obtain the location of the RTP registers. For
Modbus Plus and Ethernet networks, use the Modbus register numbers.
Exceptions
Any parameter you modify using the RTP feature will not retain its modified value if
1 of the following events occurs:
z Power is cycled to the NIM.
z A Reset command is issued to the NIM using the Advantys Configuration
Software.
z A Store to SIM Card command is issued using the Advantys Configuration
Software.
z The module whose parameter has been modified is hot-swapped.
If a module is hot-swapped, as indicated by the HOT_SWAP indicator bit, you can
use the RTP feature to detect which module has been hot-swapped and to
restore the parameters to their previous values.
31003688 2/2009
197
Test Mode
When the NIM is operating in test mode, the NIMs output data process image including the RTP request block - can be controlled either by the Advantys
Configuration Software or by an HMI (depending upon the test mode configured).
Standard Modbus commands can be used to access the RTP words. If the NIM is
in test mode, the fieldbus master cannot write to the RTP request block in the NIMs
output data process image.
RTP Request Block Words Definitions
The following table lists RTP request block words:
Modbus
Address
Upper Byte
Lower Byte
Data Type
Attribute
45130
sub-index
toggle + length
unsigned 16
RW
45131
unsigned 16
RW
45132
data byte 2
unsigned 16
RW
45133
data byte 3
unsigned 16
RW
45134
toggle + CMD
Node ID
unsigned 16
RW
NOTE: The RTP request block is also presented in the manufacturer specific area of the
CANopen fieldbus as an object with a dedicated index of 0x4101 and sub-index 1 to 5
(data type = unsigned 16, attribute = RW).
The toggle+CMD and toggle+length bytes are located at the ends of the
register range to let the NIM validate the consistency of the data wrapped within
these bytes (in case RTP request block words are not updated in a single scan). To
form a complete and valid RTP request, both toggle bits must be identical, and they
must differ from their previous valid value.
NOTE: Make sure that either toggle+CMD or toggle+length is the last byte you
write when sending a request. Your request will be executed when the toggle bits in
both of these bytes are set equal to each other (and different from their previous
valid value). If you have not yet set values for all other bytes in the RTP request
block, you may perform unintended operations.
198
31003688 2/2009
Upper Byte
Lower Byte
Data Type
Attribute
45303
RO
45304
data byte 2
unsigned 16
RO
45305
data byte 3
unsigned 16
RO
45306
RO
NOTE: The RTP response block is also presented in the manufacturer specific area of the
CANopen fieldbus as an object with a dedicated index of 0x4100 and sub-index 1 to 4
(data type = unsigned 16, attribute = RO).
toggle+CMD echo bytes are located at the end of the register range to let you
validate the consistency of the data wrapped within these bytes (in case RTP
response block words are not updated in a single scan). The NIM updates the status
byte and the 4 data bytes (if applicable) before updating the toggle+CMD echo
bytes in Modbus register 45303 and 45306 to equal the value of the toggle+CMD
byte of the corresponding RTP request. You must first check that both toggle+CMD
bytes match the toggle+CMD byte in the RTP request block before making use of
the data inside the RTP response block.
Valid RTP Commands
The following list shows valid commands (CMDs):
Command (CMD) Code
(Except
the msb)
31003688 2/2009
Allowed State
of the
Addressed
Node
Data Bytes
0x08
127
N/A
Disable RTP
0x09
127
N/A
199
Allowed State
of the
Addressed
Node
Data Bytes
Reset Hot-Swap
Bit
0x0A
1-32
N/A
Read Parameter
0x01
1-32, 127
pre-operational
operational
data bytes in
response,
length to be
given
Write Parameter
0x02
1-32
operational
data bytes in
request, length
to be given
The most significant bit of an RTP request blocks toggle+CMD byte is the toggle
bit. A new command is identified when the value of this bit changes and matches the
value of the toggle bit in the toggle+length byte.
A new RTP request is processed only if the preceding RTP request has finished.
Overlapping RTP requests are not allowed. A new RTP request made before the
completion of a preceding request will be ignored.
To determine when an RTP command has been processed and its response is
complete, check the values of the toggle+CMD echo bytes in the RTP response
block. Continue to check both toggle+CMD bytes in the RTP response block until
they match the RTP request blocks toggle+CMD byte. Once they match, the
contents of the RTP response block is valid.
Valid RTP Status Messages
The following list shows valid status messages:
200
Status Byte
Code
Comment
Success
0x00 or 0x80
0x01
Illegal CMD
0x82
0x83
Illegal Node ID
0x84
0x85
Illegal Index
0x86
31003688 2/2009
Status Byte
Code
Comment
0x87
0x88
0x89
SDO Aborted
0x90
General Failure
0xFF
The most significant bit of the status byte in the RTP response block indicates
whether RTP is enabled (1) or disabled (0).
31003688 2/2009
201
Virtual Placeholder
Summary
The virtual placeholder feature lets you create a standard island configuration and
depopulated variations of that configuration that share the same fieldbus process
image, thereby letting you maintain a consistent PLC or fieldbus master program for
various island configurations. The depopulated islands are physically built using
only those modules that are not marked as not present, thus saving cost and space.
As part of an Advantys STB island custom configuration, you can set Virtual
Placeholder status for any STB I/O or preferred third-party module whose node
address is assigned by the NIM during auto-addressing.
After a module has been assigned Virtual Placeholder status, you can physically
remove it from its Advantys STB island base, while retaining the islands process
image. All modules that physically remain in the Advantys STB island configuration
will retain their previous node addresses. This lets you physically alter the design of
your island, without having to edit your PLC program.
NOTE: Advantys configuration software is required to set Virtual Placeholder status.
Setting Virtual Placeholder Status
To set Virtual Placeholder status:
202
Step
Action
31003688 2/2009
For example, the following island configuration contains a NIM, a PDM, 2 digital
Input modules, 2 digital output modules, a digital relay output module, an analog
input module, and an analog output module:
After you assign Virtual Placeholder status to the DRC 3210 digital relay output
module (by selecting Not Present in its Options tab), the Advantys STB
configuration software marks the virtual placeholder module with a red "X" as shown
below:
For example, when you physically construct the above configuration, you would
build the island without the DRC-3210 and its base.
NOTE: Any reflex output, that is configured to use a virtual placeholder module as
an input, will constantly be in fallback.
31003688 2/2009
203
204
31003688 2/2009
Glossary
31003688 2/2009
Glossary
0-9
100Base-T
An adaptation of the IEEE 802.3u (Ethernet) standard, the 100Base-T standard
uses twisted-pair wiring with a maximum segment length of 100 m (328 ft) and
terminates with an RJ-45 connector. A 100Base-T network is a baseband network
capable of transmitting data at a maximum speed of 100 Mbit/s. "Fast Ethernet" is
another name for 100Base-T, because it is ten times faster than 10Base-T.
10Base-T
An adaptation of the IEEE 802.3 (Ethernet) standard, the 10Base-T standard uses
twisted-pair wiring with a maximum segment length of 100 m (328 ft) and terminates
with an RJ-45 connector. A 10Base-T network is a baseband network capable of
transmitting data at a maximum speed of 10 Mbit/s.
802.3 frame
A frame format, specified in the IEEE 802.3 (Ethernet) standard, in which the header
specifies the data packet length.
A
agent
1. SNMP the SNMP application that runs on a network device.
2. Fipio a slave device on a network.
31003688 2/2009
205
Glossary
analog input
A module that contains circuits that convert analog DC input signals to digital values
that can be manipulated by the processor. By implication, these analog inputs are
usually direct. That means a data table value directly reflects the analog signal
value.
analog output
A module that contains circuits that transmit an analog DC signal proportional to a
digital value input to the module from the processor. By implication, these analog
outputs are usually direct. That means a data table value directly controls the analog
signal value.
application object
In CAN-based networks, application objects represent device-specific functionality,
such as the state of input or output data.
ARP
The ARP (address resolution protocol) is the IP network layer protocol, which uses
ARP to map an IP address to a MAC (hardware) address.
auto baud
The automatic assignment and detection of a common baud rate as well as the
ability of a device on a network to adapt to that rate.
auto-addressing
The assignment of an address to each Island bus I/O module and preferred device.
auto-configuration
The ability of Island modules to operate with predefined default parameters. A
configuration of the Island bus based completely on the actual assembly of I/O
modules.
B
basic I/O
Low-cost Advantys STB input/output modules that use a fixed set of operating
parameters. A basic I/O module cannot be reconfigured with the Advantys
Configuration Software and cannot be used in reflex actions.
206
31003688 2/2009
Glossary
BootP
BootP (bootstrap protocol) is an UDP/IP protocol that allows an internet node to
obtain its IP parameters based on its MAC address.
BOS
BOS stands for beginning of segment. When more than 1 segment of I/O modules
is used in an Island, an STB XBE 1200 or an STB XBE 1300 BOS module is
installed in the first position in each extension segment. Its job is to carry Island bus
communications to and generate logic power for the modules in the extension
segment. Which BOS module must be selected depends on the module types that
shall follow.
bus arbitrator
A master on a Fipio network.
C
CAN
The CAN (controller area network) protocol (ISO 11898) for serial bus networks is
designed for the interconnection of smart devices (from multiple manufacturers) in
smart systems for real-time industrial applications. CAN multi-master systems
ensure high data integrity through the implementation of broadcast messaging and
advanced error mechanisms. Originally developed for use in automobiles, CAN is
now used in a variety of industrial automation control environments.
CANopen protocol
An open industry standard protocol used on the internal communication bus. The
protocol allows the connection of any enhanced CANopen device to the Island bus.
31003688 2/2009
207
Glossary
CI
This abbreviation stands for command interface.
CiA
CiA (CAN in Automation) is a non-profit group of manufacturers and users dedicated
to developing and supporting CAN-based higher layer protocols.
CIP
Common Industrial Protocol. Networks that include CIP in the application layer can
communicate seamlessly with other CIP-based networks. For example, the
implementation of CIP in the application layer of an Ethernet TCP/IP network
creates an EtherNet/IP environment. Similarly, CIP in the application layer of a CAN
network creates a DeviceNet environment. Devices on an EtherNet/IP network can
therefore communicate with devices on a DeviceNet network via CIP bridges or
routers.
COB
A COB (communication object) is a unit of transportation (a message) in a CANbased network. Communication objects indicate a particular functionality in a
device. They are specified in the CANopen communication profile.
configuration
The arrangement and interconnection of hardware components within a system and
the hardware and software selections that determine the operating characteristics of
the system.
CRC
cyclic redundancy check. Messages that implement this error checking mechanism
have a CRC field that is calculated by the transmitter according to the messages
content. Receiving nodes recalculate the field. Disagreement in the two codes
indicates a difference between the transmitted message and the one received.
D
DDXML
Device Description eXtensible Markup Language
208
31003688 2/2009
Glossary
device name
A customer-driven, unique logical personal identifier for an Ethernet NIM. A device
name (or role name) is created when you:
z combine the numeric rotary switch setting with the NIM (for example,
STBNIP2212_010), or . . .
z edit the Device Name setting in the NIM's embedded web server pages
After the NIM is configured with a valid device name, the DHCP server uses it to
identify the island at power up.
DeviceNet protocol
DeviceNet is a low-level, connection-based network that is based on CAN, a serial
bus system without a defined application layer. DeviceNet, therefore, defines a layer
for the industrial application of CAN.
DHCP
dynamic host configuration protocol. A TCP/IP protocol that allows a server to
assign an IP address based on a device name (host name) to a network node.
differential input
A type of input design where two wires (+ and -) are run from each signal source to
the data acquisition interface. The voltage between the input and the interface
ground are measured by two high-impedance amplifiers, and the outputs from the
two amplifiers are subtracted by a third amplifier to yield the difference between the
+ and - inputs. Voltage common to both wires is thereby removed. Differential design
solves the problem of ground differences found in single-ended connections, and it
also reduces the cross-channel noise problem.
digital I/O
An input or output that has an individual circuit connection at the module
corresponding directly to a data table bit or word that stores the value of the signal
at that I/O circuit. It allows the control logic to have discrete access to the I/O values.
DIN
Deutsche industrial norms. A German agency that sets engineering and
dimensional standards and now has worldwide recognition.
Drivecom Profile
The Drivecom profile is part of CiA DSP 402 (profile), which defines the behavior of
drives and motion control devices on CANopen networks.
31003688 2/2009
209
Glossary
E
economy segment
A special type of STB I/O segment created when an STB NCO 1113 economy
CANopen NIM is used in the first location. In this implementation, the NIM acts as a
simple gateway between the I/O modules in the segment and a CANopen master.
Each I/O module in an economy segment acts as a independent node on the
CANopen network. An economy segment cannot be extended to other STB I/O
segments, preferred modules or enhanced CANopen devices.
EDS
electronic data sheet. The EDS is a standardized ASCII file that contains information
about a network devices communications functionality and the contents of its object
dictionary. The EDS also defines device-specific and manufacturer-specific objects.
EIA
Electronic Industries Association. An organization that establishes
electrical/electronic and data communication standards.
EMC
electromagnetic compatibility. Devices that meet EMC requirements can operate
within a systems expected electromagnetic limits without error.
EMI
electromagnetic interference. EMI can cause an interruption, malfunction, or
disturbance in the performance of electronic equipment. It occurs when a source
electronically transmits a signal that interferes with other equipment.
EOS
This abbreviation stands for end of segment. When more than 1 segment of I/O
modules is used in an Island, an STB XBE 1000 or an STB XBE 1100 EOS module
is installed in the last position in every segment that has an extension following it.
The EOS module extends Island bus communications to the next segment. Which
EOS module must be selected depends on the module types that shall follow.
Ethernet
A LAN cabling and signaling specification used to connect devices within a defined
area, e.g., a building. Ethernet uses a bus or a star topology to connect different
nodes on a network.
210
31003688 2/2009
Glossary
Ethernet II
A frame format in which the header specifies the packet type, Ethernet II is the
default frame format for NIM communications.
EtherNet/IP
EtherNet/IP (the Ethernet Industrial Protocol) is especially suited to factory
applications in which there is a need to control, configure, and monitor events within
an industrial system. The ODVA-specified protocol runs CIP (the Common Industrial
Protocol) on top of standard Internet protocols, like TCP/IP and UDP. It is an open
local (communications) network that enables the interconnectivity of all levels of
manufacturing operations from the plants office to the sensors and actuators on its
floor.
F
fallback state
A known state to which an Advantys STB I/O module can return in the event that its
communication connection fails.
fallback value
The value that a device assumes during fallback. Typically, the fallback value is
either configurable or the last stored value for the device.
FED_P
Fipio extended device profile. On a Fipio network, the standard device profile type
for agents whose data length is more than 8 words and equal to or less than 32
words.
Fipio
Fieldbus Interface Protocol (FIP). An open fieldbus standard and protocol that
conforms to the FIP/World FIP standard. Fipio is designed to provide low-level
configuration, parameterization, data exchange, and diagnostic services.
Flash memory
Flash memory is nonvolatile memory that can be overwritten. It is stored on a special
EEPROM that can be erased and reprogrammed.
31003688 2/2009
211
Glossary
FRD_P
Fipio reduced device profile. On a Fipio network, the standard device profile type for
agents whose data length is two words or less.
FSD_P
Fipio standard device profile. On a Fipio network, the standard device profile type
for agents whose data length is more than two words and equal to or less than 8
words.
full scale
The maximum level in a specific rangee.g., in an analog input circuit the maximum
allowable voltage or current level is at full scale when any increase beyond that level
is over-range.
function block
A function block performs a specific automation function, such as speed control. A
function block comprises configuration data and a set of operating parameters.
function code
A function code is an instruction set commanding 1 or more slave devices at a
specified address(es) to perform a type of action, e.g., read a set of data registers
and respond with the content.
G
gateway
A program or hardware that passes data between networks.
global_ID
global_identifier. A 16-bit integer that uniquely identifies a devices location on a
network. A global_ID is a symbolic address that is universally recognized by all other
devices on the network.
GSD
generic slave data (file). A device description file, supplied by the devices
manufacturer, that defines a devices functionality on a Profibus DP network.
212
31003688 2/2009
Glossary
H
HMI
human-machine interface. An operator interface, usually graphical, for industrial
equipment.
hot swapping
Replacing a component with a like component while the system remains
operational. When the replacement component is installed, it begins to function
automatically.
HTTP
hypertext transfer protocol. The protocol that a web server and a client browser use
to communicate with one another.
I
I/O base
A mounting device, designed to seat an Advantys STB I/O module, hang it on a DIN
rail, and connect it to the Island bus. It provides the connection point where the
module can receive either 24 VDC or 115/230 VAC from the input or output power
bus distributed by a PDM.
I/O module
In a programmable controller system, an I/O module interfaces directly to the
sensors and actuators of the machine/process. This module is the component that
mounts in an I/O base and provides electrical connections between the controller
and the field devices. Normal I/O module capacities are offered in a variety of signal
levels and capacities.
I/O scanning
The continuous polling of the Advantys STB I/O modules performed by the COMS
to collect data bits, status, error, and diagnostics information.
31003688 2/2009
213
Glossary
IEC
International Electrotechnical Commission Carrier. Founded in 1884 to focus on
advancing the theory and practice of electrical, electronics, and computer
engineering, and computer science. EN 61131-2 is the specification that deals with
industrial automation equipment.
IEEE
Institute of Electrical and Electronics Engineers, Inc. The international standards
and conformity assessment body for all fields of electrotechnology, including
electricity and electronics.
industrial I/O
An Advantys STB I/O module designed at a moderate cost for typical continuous,
high-duty-cycle applications. Modules of this type often feature standard IEC
threshold ratings, usually providing user-configurable parameter options, on-board
protection, good resolution, and field wiring options. They are designed to operate
in moderate-to-high temperature ranges.
input filtering
The amount of time that a sensor must hold its signal on or off before the input
module detects the change of state.
214
31003688 2/2009
Glossary
input polarity
An input channels polarity determines when the input module sends a 1 and when
it sends a 0 to the master controller. If the polarity is normal, an input channel will
send a 1 to the controller when its field sensor turns on. If the polarity is reverse, an
input channel will send a 0 to the controller when its field sensor turns on.
INTERBUS protocol
The INTERBUS fieldbus protocol observes a master/slave network model with an
active ring topology, having all devices integrated in a closed transmission path.
IOC object
Island operation control object. A special object that appears in the CANopen object
dictionary when the remote virtual placeholder option is enabled in a CANopen NIM.
It is a 16-bit word that provides the fieldbus master with a mechanism for issuing
reconfiguration and start requests.
IOS object
Island operation status object. A special object that appears in the CANopen object
dictionary when the remote virtual placeholder option is enabled in a CANopen NIM.
It is a 16-bit word that reports the success of reconfiguration and start requests or
records errors in the event that a request fails.
IP
internet protocol. That part of the TCP/IP protocol family that tracks the internet
addresses of nodes, routes outgoing messages, and recognizes incoming
messages.
IP Rating
Ingress Protection rating according to IEC 60529.
IP20 modules are protected against ingress and contact of objects larger than
12.5 mm. The module is not protected against harmful ingress of water.
IP67 modules are completely protected against ingress of dust and contact. Ingress
of water in harmful quantity is not possible when the enclosure is immersed in water
up to 1 m.
31003688 2/2009
215
Glossary
L
LAN
local area network. A short-distance data communications network.
linearity
A measure of how closely a characteristic follows a straight-line function.
LSB
least significant bit, least significant byte. The part of a number, address, or field that
is written as the rightmost single value in conventional hexadecimal or binary
notation.
M
MAC address
media access control address. A 48-bit number, unique on a network, that is
programmed into each network card or device when it is manufactured.
mandatory module
When an Advantys STB I/O module is configured to be mandatory, it must be
present and healthy in the Island configuration for the Island to be operational. If a
mandatory module fails or is removed from its location on the Island bus, the Island
will go into a pre-operational state. By default, all I/O modules are not mandatory.
You must use the Advantys Configuration Software to set this parameter.
master/slave model
The direction of control in a network that implements the master/slave model is
always from the master to the slave devices.
216
31003688 2/2009
Glossary
Modbus
Modbus is an application layer messaging protocol. Modbus provides client and
server communications between devices connected on different types of buses or
networks. Modbus offers many services specified by function codes.
MOV
metal oxide varistor. A 2-electrode semiconductor device with a voltage-dependant
nonlinear resistance that drops markedly as the applied voltage is increased. It is
used to suppress transient voltage surges.
MSB
most significant bit, most significant byte. The part of a number, address, or field that
is written as the leftmost single value in conventional hexadecimal or binary notation.
N
N.C. contact
normally closed contact. A relay contact pair that is closed when the relay coil is deenergized and open when the coil is energized.
N.O. contact
normally open contact. A relay contact pair that is open when the relay coil is deenergized and closed when the coil is energized.
NEMA
National Electrical Manufacturers Association
NIM
network interface module. This module is the interface between an Island bus and
the fieldbus network of which the Island is a part. A NIM enables all the I/O on the
Island to be treated as a single node on the fieldbus. The NIM also provides 5 V of
logic power to the Advantys STB I/O modules in the same segment as the NIM.
31003688 2/2009
217
Glossary
NMT
network management. NMT protocols provide services for network initialization,
error control, and device status control.
O
object dictionary
Part of the CANopen device model that provides a map to the internal structure of
CANopen devices (according to CANopen profile DS-401). A devices object
dictionary (also called the object directory) is a lookup table that describes the data
types, communications objects, and application objects the device uses. By
accessing a particular devices object dictionary through the CANopen fieldbus, you
can predict its network behavior and build a distributed application.
ODVA
Open Devicenet Vendors Association. The ODVA supports the family of network
technologies that are built on the Common Industrial Protocol (EtherNet/IP,
DeviceNet, and CompoNet).
output filtering
The amount that it takes an output channel to send change-of-state information to
an actuator after the output module has received updated data from the NIM.
output polarity
An output channels polarity determines when the output module turns its field
actuator on and when it turns the actuator off. If the polarity is normal, an output
channel will turn its actuator on when the master controller sends it a 1. If the polarity
is reverse, an output channel will turn its actuator on when the master controller
sends it a 0.
218
31003688 2/2009
Glossary
P
parameterize
To supply the required value for an attribute of a device at run-time.
PDM
power distribution module. A module that distributes either AC or DC field power to
a cluster of I/O modules directly to its right on the Island bus. A PDM delivers field
power to the input modules and the output modules. It is important that all the I/O
clustered directly to the right of a PDM be in the same voltage groupeither
24 VDC, 115 VAC, or 230 VAC.
PDO
process data object. In CAN-based networks, PDOs are transmitted as unconfirmed
broadcast messages or sent from a producer device to a consumer device. The
transmit PDO from the producer device has a specific identifier that corresponds to
the receive PDO of the consumer devices.
PE
protective earth. A return line across the bus for fault currents generated at a sensor
or actuator device in the control system.
peer-to-peer communications
In peer-to-peer communications, there is no master/slave or client/server
relationship. Messages are exchanged between entities of comparable or
equivalent levels of functionality, without having to go through a third party (like a
master device).
PLC
programmable logic controller. The PLC is the brain of an industrial manufacturing
process. It automates a process as opposed to relay control systems. PLCs are
computers suited to survive the harsh conditions of the industrial environment.
PowerSuite Software
PowerSuite Software is a tool for configuring and monitoring control devices for
electric motors, including ATV31, ATV71, and TeSys U.
31003688 2/2009
219
Glossary
preferred module
An I/O module that functions as an auto-addressable device on an Advantys STB
Island but is not in the same form factor as a standard Advantys STB I/O module
and therefore does not fit in an I/O base. A preferred device connects to the Island
bus via an EOS module and a length of a preferred module extension cable. It can
be extended to another preferred module or back into a BOS module. If it is the last
device on the Island, it must be terminated with a 120 terminator.
premium network interface
A premium NIM has advanced features over a standard or basic NIM.
prioritization
An optional feature on a standard NIM that allows you to selectively identify digital
input modules to be scanned more frequently during a the NIMs logic scan.
process I/O
An Advantys STB I/O module designed for operation at extended temperature
ranges in conformance with IEC type 2 thresholds. Modules of this type often feature
high levels of on-board diagnostics, high resolution, user-configurable parameter
options, and higher levels of agency approval.
process image
A part of the NIM firmware that serves as a real-time data area for the data exchange
process. The process image includes an input buffer that contains current data and
status information from the Island bus and an output buffer that contains the current
outputs for the Island bus, from the fieldbus master.
producer/consumer model
In networks that observe the producer/consumer model, data packets are identified
according to their data content rather than by their node address. All nodes listen on
the network and consume those data packets that have appropriate identifiers.
Profibus DP
Profibus Decentralized Peripheral. An open bus system that uses an electrical
network based on a shielded 2-wire line or an optical network based on a fiber-optic
cable. DP transmission allows for high-speed, cyclic exchange of data between the
controller CPU and the distributed I/O devices.
220
31003688 2/2009
Glossary
R
reflex action
A simple, logical command function configured locally on an Island bus I/O module.
Reflex actions are executed by Island bus modules on data from various Island
locations, like input and output modules or the NIM. Examples of reflex actions
include compare and copy operations.
repeater
An interconnection device that extends the permissible length of a bus.
rms
root mean square. The effective value of an alternating current, corresponding to the
DC value that produces the same heating effect. The rms value is computed as the
square root of the average of the squares of the instantaneous amplitude for 1
complete cycle. For a sine wave, the rms value is 0.707 times the peak value.
role name
A customer-driven, unique logical personal identifier for an Ethernet NIM. A role
name (or device name) is created when you:
z
z
combine the numeric rotary switch setting with the NIM (for example,
STBNIP2212_010), or . . .
edit the Device Name setting in the NIM's embedded web server pages
After the NIM is configured with a valid role name, the DHCP server uses it to identify
the island at power up.
RTD
resistive temperature detect. An RTD device is a temperature transducer composed
of conductive wire elements typically made of platinum, nickel, copper, or nickeliron. An RTD device provides a variable resistance across a specified temperature
range.
31003688 2/2009
221
Glossary
RTP
run-time parameters. RTP lets you monitor and modify selected I/O parameters and
Island bus status registers of the NIM while the Advantys STB Island is running. The
RTP feature uses 5 reserved output words in the NIMs process image (the RTP
request block) to send requests, and 4 reserved input words in the NIMs process
image (the RTP response block) to receive responses. Available only in standard
NIMs running firmware version 2.0 or higher.
Rx
reception. For example, in a CAN-based network, a PDO is described as an RxPDO
of the device that receives it.
S
SAP
service access point. The point at which the services of 1 communications layer, as
defined by the ISO OSI reference model, is made available to the next layer.
SCADA
supervisory control and data acquisition. Typically accomplished in industrial
settings by means of microcomputers.
SDO
service data object. In CAN-based networks, SDO messages are used by the
fieldbus master to access (read/write) the object directories of network nodes.
segment
A group of interconnected I/O and power modules on an Island bus. An Island must
have at least 1 segment and, depending on the type of NIM used, may have as many
as 7 segments. The first (leftmost) module in a segment needs to provide logic
power and Island bus communications to the I/O modules on its right. In the primary
or basic segment, that function is filled by a NIM. In an extension segment, that
function is filled by an STB XBE 1200 or an STB XBE 1300 BOS module.
SELV
safety extra low voltage. A secondary circuit designed and protected so that the
voltage between any 2 accessible parts (or between 1 accessible part and the PE
terminal for Class 1 equipment) does not exceed a specified value under normal
conditions or under single-fault conditions.
222
31003688 2/2009
Glossary
SIM
subscriber identification module. Originally intended for authenticating users of
mobile communications, SIMs now have multiple applications. In Advantys STB,
configuration data created or modified with the Advantys Configuration Software can
be stored on a SIM and then written to the NIMs Flash memory.
single-ended inputs
An analog input design technique whereby a wire from each signal source is
connected to the data acquisition interface, and the difference between the signal
and ground is measured. For the success of this design technique, 2 conditions are
imperative: the signal source must be grounded, and the signal ground and data
acquisition interface ground (the PDM lead) must have the same potential.
sink load
An output that, when turned on, receives DC current from its load.
size 1 base
A mounting device, designed to seat an STB module, hang it on a DIN rail, and
connect it to the Island bus. It is 13.9 mm (0.55 in.) wide and 128.25 mm (5.05 in.)
high.
size 2 base
A mounting device, designed to seat an STB module, hang it on a DIN rail, and
connect it to the Island bus. It is 18.4 mm (0.73 in.) wide and 128.25 mm (5.05 in.)
high.
size 3 base
A mounting device, designed to seat an STB module, hang it on a DIN rail, and
connect it to the Island bus. It is 28.1 mm (1.11 in.) wide and 128.25 mm (5.05 in.)
high.
slice I/O
An I/O module design that combines a small number of channels (usually between
2 and 6) in a small package. The idea is to allow a system developer to purchase
just the right amount of I/O and to be able to distribute it around the machine in an
efficient, mechatronics way.
31003688 2/2009
223
Glossary
SM_MPS
state management_message periodic services. The applications and network
management services used for process control, data exchange, error reporting, and
device status notification on a Fipio network.
SNMP
simple network management protocol. The UDP/IP standard protocol used to
manage nodes on an IP network.
snubber
A circuit generally used to suppress inductive loadsit consists of a resistor in
series with a capacitor (in the case of an RC snubber) and/or a metal-oxide varistor
placed across the AC load.
source load
A load with a current directed into its input; must be driven by a current source.
standard I/O
Any of a subset of Advantys STB input/output modules designed at a moderate cost
to operate with user-configurable parameters. A standard I/O module may be
reconfigured with the Advantys Configuration Software and, in most cases, may be
used in reflex actions.
224
31003688 2/2009
Glossary
STD_P
standard profile. On a Fipio network, a standard profile is a fixed set of configuration
and operating parameters for an agent device, based on the number of modules that
the device contains and the devices total data length. There are 3 types of standard
profiles: Fipio reduced device profile (FRD_P), Fipio standard device profile
(FSD_P), and the Fipio extended device profile (FED_P).
stepper motor
A specialized DC motor that allows discrete positioning without feedback.
subnet
A part of a network that shares a network address with the other parts of a network.
A subnet may be physically and/or logically independent of the rest of the network.
A part of an internet address called a subnet number, which is ignored in IP routing,
distinguishes the subnet.
surge suppression
The process of absorbing and clipping voltage transients on an incoming AC line or
control circuit. Metal-oxide varistors and specially designed RC networks are
frequently used as surge suppression mechanisms.
T
TC
thermocouple. A TC device is a bimetallic temperature transducer that provides a
temperature value by measuring the voltage differential caused by joining together
two different metals at different temperatures.
TCP
transmission control protocol. A connection-oriented transport layer protocol that
provides reliable full-duplex data transmission. TCP is part of the TCP/IP suite of
protocols.
telegram
A data packet used in serial communication.
31003688 2/2009
225
Glossary
TFE
transparent factory Ethernet. Schneider Electrics open automation framework
based on TCP/IP.
Tx
transmission. For example, in a CAN-based network, a PDO is described as a
TxPDO of the device that transmits it.
U
UDP
user datagram protocol. A connectionless mode protocol in which messages are
delivered in a datagram to a destination computer. The UDP protocol is typically
bundled with the Internet Protocol (UPD/IP).
V
varistor
A 2-electrode semiconductor device with a voltage-dependant nonlinear resistance
that drops markedly as the applied voltage is increased. It is used to suppress
transient voltage surges.
voltage group
A grouping of Advantys STB I/O modules, all with the same voltage requirement,
installed directly to the right of the appropriate power distribution module (PDM) and
separated from modules with different voltage requirements. Never mix modules
with different voltage requirements in the same voltage group.
VPCR object
virtual placeholder configuration read object. A special object that appears in the
CANopen object dictionary when the remote virtual placeholder option is enabled in
a CANopen NIM. It provides a 32-bit subindex that represents the actual module
configuration used in a physical Island.
226
31003688 2/2009
Glossary
VPCW object
virtual placeholder configuration write object. A special object that appears in the
CANopen object dictionary when the remote virtual placeholder option is enabled in
a CANopen NIM. It provides a 32-bit subindex where the fieldbus master can write
a module reconfiguration. After the fieldbus writes to the VPCW subindex, it can
issue a reconfiguration request to the NIM that begins the remote virtual placeholder
operation.
W
watchdog timer
A timer that monitors a cyclical process and is cleared at the conclusion of each
cycle. If the watchdog runs past its programmed time period, it generates a fault.
31003688 2/2009
227
Glossary
228
31003688 2/2009
Index
31003688 2/2009
B
AC
Index
0-9
10Base-T, 26
802.3 standard, 22, 27, 42
A
ABL8 Phaseo power supply, 41
action module, 182
addressable module, 17, 46, 47, 74, 165
Advantys configuration software, 21, 33, 72,
89, 115, 131, 170, 171, 174, 177, 179, 181,
182, 186, 187, 190, 190, 192
auto-addressing, 17, 46, 57
auto-configuration
and reset, 49, 56, 57
defined, 49
initial configuration, 49
B
baud
CFG port, 33, 56
fieldbus interface, 56
BootP, 92
BootP server, 28, 60, 61, 63
C
Category 5 (CAT5) cabling, 27, 27, 42
31003688 2/2009
CFG port
devices connecting to, 14, 33, 34
master configurator, 115
parameters, 33, 57
physical description, 33
client
in a faulty device replacement operation,
95
community names, 150
configurable parameters, 174, 174
configuration data
restoring default settings, 33, 53, 57
saving, 53, 57
Configuration menu, 105
configuration password, 102, 130, 132, 132
connection management
for Modbus clients, 22
custom configuration, 49, 50, 53, 56, 177,
186, 187
customer support, 125
D
data exchange, 14, 31, 46, 72, 73, 135, 170,
193, 194
data image, 73, 189, 191, 193
data size, 175
default IP address, 60, 61, 63, 107, 108
DHCP, 92
DHCP server, 28, 60, 61, 63
229
Index
diagnostics block
in the process image, 81
island communications, 81
Diagnostics menu, 134
E
edit mode, 50, 53, 53, 54, 56
embedded web server
access, 103
help, 102
managing, 156
navigation, 103
overview, 20
process image, 72
product support, 125
security, 102, 127
troubleshooting, 81
Ethernet
host, 20, 21, 72, 162
port, 21, 26, 30, 72, 107, 115
specification, 27
statistics, 90, 135
Ethernet
specification, 22
Ethernet LAN, 20, 22, 26, 28, 30, 72, 90,
106, 115
extension cable, 17, 38
extension module, 15, 16, 37, 38, 39, 40, 46
extension segment, 15, 16, 37, 38, 39, 40
F
factory default settings, 33, 49, 53, 57
fallback state, 177, 184
fallback value, 177, 185
faulty device replacement
client, 95
configuration, 119
configuring, 98
diagnostics, 100
preconditions, 96
server, 95
230
fieldbus master
and the output data image, 192
communicating the islands status to, 88
configuring, 112
fieldbus-to-HMI block, 194
HMI-to-fieldbus block, 193
setting up communications with the island bus, 112
flash memory, 96
Flash memory
Advantys configuration software, 186
and reset, 55, 57
overwriting, 53, 57, 187
saving configuration data, 49
frame type
default, 22
Ethernet II, 22, 63, 89, 107
IEEE 802.3, 22, 63, 89, 107
function codes
Modbus, 70
H
HE-13 connector, 34
heartbeat message, 184
HMI panel
data exchange, 14, 21, 174, 175, 190,
190, 193, 194
functionality, 193
process image blocks, 193
hot-swapping
mandatory modules, 178
hot-swapping modules, 48, 177
HTTP server, 20, 72, 102, 103, 104, 127
I
initial configuration, 53, 54
inputs
to a reflex block, 181
Internet, 20, 20, 28, 60
Internet browser, 102
31003688 2/2009
Index
IP address
BootP, 28
change, 107, 123, 136
default, 60, 61, 63, 107, 108
MAC address, 60, 61, 63, 108
setting, 28, 60, 62, 107
software priorities, 63
IP address field, 106, 107
IP parameters, 62, 106, 107, 108
island
configuration data, 53
operational mode, 53
island bus
communications, 14
configuration data, 50, 57, 115, 140, 187
extending, 16, 17, 38
fallback, 184
IP address, 60, 105, 106, 122
LEDs, 31
maximum length, 19
operational mode, 31, 56
overview, 15, 16
status, 30, 81
termination, 15, 17
island bus example, 47, 73, 165
island bus node address
address range, 28
setting, 60, 106, 108
valid and invalid addresses, 28
island bus password, 187
L
LEDs
10T ACT, 30
and COMS states, 31
and reset, 31
ERR, 31
island bus, 31
LAN ST, 30
overview, 30
RUN, 31
TEST, 31
31003688 2/2009
logic power
considerations, 15, 17, 37, 37, 38, 39
integrated power supply, 14, 15, 37, 39,
39
signal, 37
source power supply, 15, 39
M
MAC address, 60, 61, 63, 108
mandatory I/O modules, 177, 177
mandatory module hot swapping, 178
MIB II, 152, 154
Modbus
function codes, 70
Modbus client, 69, 70
Modbus communication standard, 67
Modbus function codes, 89, 170, 171
Modbus messaging, 68
client services, 69, 70
Modbus TCP device implementation, 68
server services, 70, 71
Modbus over TCP/IP
and master controllers, 112
connection example, 162, 169
data formats, 63, 89, 166
fieldbus interface, 26
fieldbus master, 72, 73
input data image, 76
output data image, 75
Port 502 SAP, 20, 42
protocol, 21
troubleshooting, 81
Modbus protocol, 33, 34, 72, 89, 166, 188,
191, 193
Modbus server, 70, 71
N
nested reflex actions, 182
network architecture, 163
network considerations, 14, 20, 26, 28, 30,
54, 60
number of reflex blocks on an island, 183
231
Index
O
outputs
from a reflex block, 182
P
parameterization, 49
PDM, 37, 41, 46, 47, 74, 166
PLC, 20, 21, 89, 175
preferred module, 17
Premium ETY, 97
primary segment, 15, 16, 37, 39
prioritization, 179
private MIB, 152, 153, 154, 155, 157
process image
analog input and output module data, 76,
192
and reflex actions, 76
connection example, 169
custom view, 137
diagnostic block, 81
digital input and output module data, 76,
192
echo output data, 76
embedded web server, 72
fieldbus-to-HMI block, 194
graphical representation, 189
HMI blocks, 193
HMI-to-fieldbus block, 193
I/O status image, 76, 188, 192, 193
input data image, 76, 138, 192, 193
output data image, 74, 138, 191, 194
overview, 188
protected mode, 33, 50, 53, 54, 56, 102, 127,
131, 187
Q
Quantum NOE, 97
reflex action
and fallback, 184
and the echo output data image area, 73,
76, 192
overview, 180
reflex block types, 180
removable memory card, 50, 52, 53, 186
RJ-45 connector, 26, 27
role name, 61, 62, 63, 118
rotary switches, 28, 61, 61
RST button
and auto-configuration, 57
and Flash memory, 55, 57
caution, 55, 56
disabled, 33, 187
functionality, 49, 55, 56, 56
LED indications, 31
physical description, 55
run-time parameters, 197
S
security
configuration password, 130, 132
private community strings, 150
web access password, 128
web site, 127, 130, 132
Security menu, 126
server
in a faulty device replacement operation,
95
services, 65
faulty device replacement, 94
Modbus messaging, 67
Simple Network Management Protocol (SNMP), 20, 149, 150, 152, 154
SNMP
configuring, 151
SNMP agent, 149
SNMP manager, 149
R
reboot operation, 124
232
31003688 2/2009
Index
177, 186
STP (shielded twisted pair) cable, 27, 42
T
termination plate, 15, 47, 74, 166
test mode, 31
TFTP, 159
troubleshooting
emergency messages, 85
error log, 146
global bits errors, 83
island bus, 83, 84, 86, 138
Modbus registers, 136
STB NIP 2212, 88, 134, 135, 146, 152,
154
using the Advantys STB LEDs, 31
using the Ethernet LAN LEDs, 30
web-based, 134, 135, 136, 138, 146
with the Advantys configuration software,
81
with the HMI panel, 81
U
user datagram protocol (UDP), 149, 149
UTP (unshielded twisted pair) cable, 27, 42
V
virtual placeholder, 202
W
web access password, 102, 128
233
Index
web pages
Change Configuration Password, 130
Change Web Access Password, 128
Configure SNMP, 110, 111
Configured IP, 61, 106, 106, 107
Error Log, 146, 146
Ethernet Statistics, 135
FDR Configuration, 118, 119
FDR Diagnostics, 142
I/O Data Values, 139
Island Configuration, 140
Island Parameters, 141
login, 132, 132
Master Configurator, 116, 117
Master Controller, 112, 114
NIM Registers, 137
Properties, 104
Reboot, 124
Role Name, 61, 118, 122
234
31003688 2/2009
Index
31003688 2/2009
235
Index
236
31003688 2/2009