FieldServer FS-8700-113 Computer Drive User Manual

A Sierra Monitor Company
Driver Manual
(Supplement to the FieldServer Instruction Manual)
FS-8700-113 Profibus X30 DP Slave
Driver
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after May 1, 2001
Driver Version:
1.00
Document Revision: 11
FS-8700-113_Profibus_X30_DP_Slave Driver Manual
Table of Contents
TABLE OF CONTENTS
1.
2.
PROFIBUS X30 DP SLAVE DESCRIPTION ................................................................... 3
DRIVER SCOPE OF SUPPLY......................................................................................... 4
2.1.
Supplied by FieldServer Technologies for this driver .................................................. 4
2.2.
Provided by the Supplier of 3rd Party Equipment ........................................................ 4
2.2.1. Required 3rd Party Software .................................................................................... 4
2.2.2. Required 3rd Party Configuration ............................................................................. 4
2.3.
Additional files Required for the Driver ....................................................................... 4
3.
3.1.
4.
HARDWARE CONNECTIONS ........................................................................................ 5
Hardware Connection Tips / Hints .............................................................................. 5
CONFIGURING THE FIELDSERVER AS A PROFIBUS DP SERVER ........................... 6
4.1.
Profibus Settings ........................................................................................................ 6
4.2.
Server Side Connection Descriptors........................................................................... 7
4.3.
Server Side Node Descriptors .................................................................................... 7
4.4.
Server Side Map Descriptors...................................................................................... 8
4.4.1. FieldServer Specific Map Descriptor Parameters .................................................... 8
4.4.2. Driver Specific Map Descriptor Parameters............................................................. 8
4.4.3. Map Descriptor Example. ........................................................................................ 9
APPENDIX A. ADVANCED TOPICS .................................................................................... 10
Appendix A.1. X30 Profibus LED indicators....................................................................... 10
Appendix A.2. Setting the FieldServer’s Profibus Station Address ..................................... 11
Appendix A.3. Understanding Driver Communication Statistics.......................................... 11
APPENDIX B. TROUBLESHOOTING................................................................................... 12
Appendix B.1. FieldServer as a Profibus Slave .................................................................. 12
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
1.
Page 3 of 14
Profibus X30 DP Slave Description
The FieldServer Profibus DP Slave driver can be used to emulate a single Slave station on a
Profibus network. DP Masters can open a connection of up to 244 Bytes of Input and 244 Bytes
of Output data, but not exceeding a combined total of 416 Bytes to the FieldServer. The
FieldServer can be added to the Profibus network with the use of the supplied GSD file for the
ANYBUS card. Connection to the Profibus network is via a DB9 port on the ANYBUS card.
Max Nodes Supported
FieldServer Mode
Nodes
Server
1
Comments
The FieldServer can only emulate one Profibus DP Slave
station
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
2.
Page 4 of 14
Driver Scope of Supply
2.1.
Supplied by FieldServer Technologies for this driver
FieldServer Technologies
PART #
FS-8700-113
X30-Profibus_DP_Slave
2.2.
Description
Driver Manual.
Profibus X30 DP Slave Card
Provided by the Supplier of 3rd Party Equipment
Required 3rd Party Software
2.2.1.
Profibus Network Configuration Tool
Required 3rd Party Configuration
2.2.2.
Connection to a properly terminated Profibus network.
2.3.
Additional files Required for the Driver
Filename
Config.csv
"Anybus
gsd file"
"Always Loaded By
External
FieldServer
Application
Technologies"
X
X
Comments
Template loaded if no custom
configuration ordered, otherwise
Custom configuration loaded.
The Anybus template gsd file is
supplied with the FieldServer and
needs to be built up for the particular
application
by
the
Master
configuration software
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
3.
Page 5 of 14
Hardware Connections
The FieldServer is connected to the Profibus network as shown in the connection drawing
below.
Network termination switches
Profibus DB9 connector
Profibus Status LEDs
Profibus connector pinouts
Pin
Housing
1
2
3
4
5
6
7
8
9
Name
Shield
Not connected
Not connected
B-Line
RTS
GND BUS
+5 V BUS
Not connected
A-Line
Not connected
Profibus Address switches
Description
Connected to PE
Positive RxD/TxD according to RS 485 specification
Request To Send*
Isolated GND from RS 485 side*
Isolated +5 V from RS 485 side*
Negative RxD/TxD according to RS 485 specification
-
* +5V BUS and GND BUS are used for bus termination. Some devices, like optical transceivers
(RS485 to fibre optics) might require external power supply from these pins. RTS is used in some
equipment to determine the direction of transmission. In normal applications only A-Line, B-Line
and Shield are used.
3.1.
Hardware Connection Tips / Hints
Use the recommended network cable and terminators as specified by the Profibus network
organization and/or the manufacturer of your network equipment.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
4.
Page 6 of 14
Configuring the FieldServer as a Profibus DP Server
For a detailed discussion on FieldServer configuration, please refer to the FieldServer
Configuration Manual. The information that follows describes how to expand upon the factory
defaults provided in the configuration files included with the FieldServer (See “.csv” filesprovided
with the FieldServer).
This section documents and describes the parameters necessary for configuring the FieldServer
to communicate with a Profibus DP Master.
The configuration file tells the FieldServer about its interfaces, and the routing of data required.
In order to enable the FieldServer for Profibus communications, the driver independent
FieldServer buffers need to be declared in the “Data Arrays” section, the FieldServer virtual
Node(s) needs to be declared in the “Server Side Nodes” section, and the data to be provided to
the Clients needs to be mapped in the “Server Side Map Descriptors” section. Details on how to
do this can be found below.
Note that in the tables, * indicates an optional parameter, with the bold legal value being the
default.
4.1.
Profibus Settings
Section Title
Bridge
Column Title
System_Station_Address*
Function
Profibus Station Address of the FieldServer
Legal Values
1-125
Note:
The Profibus Station Address can also be set via the two rotary switches on the side of the
FieldServer in which case the System_Station_Address setting must be omitted from the
configuration file. The settings specified in the configuration file will override the settings on
these switches.
Example
// Bridge
Bridge
Title,
Profibus DP,
System_Station_Address
5
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
Page 7 of 14
Server Side Connection Descriptors1
4.2.
Section Title
Connections
Column Title
Adapter
Function
Adapter Name
Legal Values
Prof_DP_MS
Example
// Server Side Connections
Connections
Adapter
Prof_DP_MS
4.3.
Server Side Node Descriptors
Section Title
Nodes
Column Title
Node_Name
Protocol
Function
Provide name for Node
Specify protocol used
Legal Values
Up to 32 alphanumeric characters
Anybus_Prof_DP_S
Example
//
Server Side Nodes
Nodes
Node_Name,
Prof_5,
Protocol
Anybus_Prof_DP_S
Only one Server Node may be defined for each connection.
If you are interested to know when support for multiple virtual Server Nodes on a single
connection will be provided please contact the Sales Department."
1
The X30 Profibus card auto-senses the Baud rate
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
4.4.
Page 8 of 14
Server Side Map Descriptors
4.4.1.
FieldServer Specific Map Descriptor Parameters
Column Title
Function
Map_Descriptor_Name Name of this Map Descriptor
Data_Array_Name
Data_Array_Offset
Function of Server Map
Descriptor
Function
4.4.2.
Driver Specific Map Descriptor Parameters
Column Title
Node_Name
Name of Data Array where
data is to be stored in the
FieldServer
Starting location in Data
Array
Legal Values
Up to 32 alphanumeric
characters
One of the Data Array names
from “Data Array” section
above
0 to maximum specified in
“Data Array” section above
RDBC -Reads data from the
local input buffer
WRBC -Writes data to the
local output buffer
Function
Name of Node
Profibus_Data_Type Data Type of local buffer
Address
Byte offset into local buffer
Length
Number of
Profibus_Data_Type items in
local buffer
Legal Values
One of the Node names
specified in “Server Node
Descriptor” above
BYTE, WORD, FLOAT, BOOL
RDBC: 0 – 243
WRBC: 0 – 243
BYTE: 1 – 244
WORD: 1 – 122
FLOAT: 1 – 61
BOOL: 1 – 1952
Important Note:
The combined total length of all Map Descriptors may not exceed 416 bytes.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
Data_Array_Name,
Input_Data,
Output_Data,
Function,
RDBC,
WRBC,
Node_Name,
Prof_5,
Prof_5,
Profibus_Data_Type,
WORD,
WORD,
Page 9 of 14
Length,
100,
100,
Scan_Interval
1s
1s
Note that each address
refers to an individual
local input and output
buffer. Each buffer can
contain up to 244 bytes,
although the combined
total is limited to 416
bytes.
Address,
0,
0,
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
Write function Map
Descriptor puts
data from the
Output_Data Data
Array onto the
Profibus network.
Data_Array_Offset,
0,
0.
Map Descriptor Example.
Read function Map
Descriptor gets data
from the Profibus
network and stores it
in the Input_Data
Data Array.
Map Descriptor
Map_Descriptor_Name,
Get_Data,
Put_Data,
// Server side Map Descriptor
4.4.3.
FS-8700-113 X30 Profibus DP Slave Driver Manual
FS-8700-113 X30 Profibus DP Slave Driver Manual
Page 10 of 14
Appendix A. Advanced Topics
Appendix A.1. X30 Profibus LED indicators
LED 1 – Not used
LED 2 – Slave Online Status
Color
Green
Off
Frequency
-
Description
Slave is online on the Profibus network
Slave is not online on the Profibus network
LED 3 – Slave Offline Status
Color
Red
Off
Frequency
-
Description
Slave is offline on the Profibus network
Slave is not offline on the Profibus network
LED 4 – Fieldbus Diagnostics
Color
Frequency
Red
1 Hz
Red
2 Hz
Red
Off
4 Hz
-
Description
Error in configuration: IN and/or OUT length set during
initialization of the Slave is not equal to the length set during
configuration of the network.
Error in User Parameter data: The length/contents of the
User Parameter data set during initialization of the Slave is
not equal to the length/contents set during configuration of
the network.
Error in initialization of the Profibus communication ASIC.
No diagnostics present.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
Page 11 of 14
Appendix A.2. Setting the FieldServer’s Profibus Station Address
The Station Address can be set in the FieldServer’s CSV file using the
System_Station_Address, (refer to Section 4.1), or it can be set with the two rotary switches
as indicated on the connection diagram. The left switch selects the left decimal digit and the
right switch the right decimal digit of the Station Address.
Note that the software setting with the System_Station_Address overrides the hardware
setting with the rotary switches.
Appendix A.3. Understanding Driver Communication Statistics
When connecting with Ruinet to the FieldServer, there are communication statistics
displayed on the Connection, Node and Map descriptor screens for the Profibus DP driver.
The Transmit (Tx) message count indicates the number of times the driver wrote output
data into the Profibus hardware card’s output buffers for transmission on the Profibus
network. It does not indicate the actual number of transmissions on the Profibus network.
The Receive (Rx) message count indicates the number of times the driver read input data
from the Profibus hardware card’s input buffers. It does not indicate the number of actual
messages received on the Profibus network.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
Page 12 of 14
Appendix B. Troubleshooting
Appendix B.1. FieldServer as a Profibus Slave
If no communication is being experienced between a Profibus Master and a FieldServer
Profibus Slave, check for the following most common issues:
• The Node_ID must match the System_Station_Address in the configuration
o Having these two parameters match in the configuration tells the FieldServer that
the buffer referenced in the Node_ID refers to the buffers in the Profibus card
attached to the FieldServer.
• The gsd file must match the FieldServer hardware being used
o FieldServer offers several hardware platforms that support Profibus. Each
hardware platform requires its own gsd file. Ensure that the gsd file being used
is the correct file for the hardware platform in use.
o The gsd file can be opened with a text editor. The Vendor and model name can
be checked in this file. For the FieldServer X30 Profibus Slave, the Vendor is
“HMS Industrial Networks AB”, and the Model Name is “ANYBUS-S PDP”. The
current revision is 1.5, which uses Hardware revision 1.6 and software release
1.2.
• The byte count for the gsd profile must match the byte count configured in the
FieldServer
o The gse being used is either going to allow the Client (via the network
configuration tool) to select the bytes to be used, or the byte make-up will be
fixed and specified in the gse. Either way, the largest byte offset used by the
Client must match the largest byte offset configured in the FieldServer.
o When selecting byte count with a network configuration tool, the total amount of
bytes/words/bits setup per Input/Output buffer in the FieldServer configuration
Map Descriptors must match those selected in the network configuration tool
otherwise a connection length mismatch will occur and the connection will not be
established. The FieldServer shows the connection size it expects on the F
(driver message) screen in the RUI utility in order that this value may be checked
against the network configuration tool.
• The direction of the communications (Input/Output Buffer) may be incorrectly configured.
o Buffer names can be confusing, especially when looking at the Slave. The
buffers are named according to their direction of communication in the Master.
Hence, an Input buffer in the Slave will write data to the Master, and data will be
received from the Master in the output buffer.
o Remember that as a Slave, the FieldServer will have to write data into the input
buffer (function=wrbc), and read data from the output buffer (function=rdbc).
• The Profibus card may be faulty.
o If this is the case, then there will be an error message in the FieldServer RUI
error screen indicating that the card could not be reached. Check for this
message. If it is there, try opening up the FieldServer and re-seating the card. If
this does not help, contact FieldServer Technical support for jumper settings on
the card, and further possible troubleshooting or return authorization.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
•
Page 13 of 14
The Data Type/Offset/Length combination may be incorrectly set up
o In the FieldServer configuration, the Offset Parameter refers to the buffer offset in
bytes (starting at 0), regardless of data type.
o The Length parameter always refers to length in items, which means Float data
will be the number of float values, Word data will be the number of words, etc.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com
FS-8700-113 X30 Profibus DP Slave Driver Manual
Page 14 of 14
THIS PAGE INTENTIONALLY LEFT BLANK
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldServer.com