FieldServer FS-8700-122 Computer Drive User Manual

A Sierra Monitor Company
Driver Manual
(Supplement to the FieldServer Instruction Manual)
FS-8700-122
X30 Profibus DP Master
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after May 1, 2001
Driver Version:
1.01
Document Revision: 3
FS-8700-122 X30 Profibus DP Master Manual
Table of Contents
TABLE OF CONTENTS
1.
2.
X30 PROFIBUS DP MASTER 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
3.
3.1.
4.
HARDWARE CONNECTIONS ..........................................................................................5
Hardware Connection Tips / Hints ................................................................................5
CONFIGURING THE FIELDSERVER AS A X30 PROFIBUS DP MASTER CLIENT.......6
4.1.
FieldServer ...................................................................................................................6
4.2.
Data Arrays/Descriptors ...............................................................................................6
4.3.
Client Side Connection Descriptions ............................................................................7
4.4.
Client Side Node Descriptors .......................................................................................7
4.5.
Client Side Map Descriptors .........................................................................................8
4.5.1. FieldServer Related Map Descriptor Parameters......................................................8
4.5.2. Driver Related Map Descriptor Parameters ..............................................................8
4.5.3. Timing Parameters ....................................................................................................8
4.6.
Map Descriptor Example. .............................................................................................9
4.7.
Configuring the Embedded Profibus Database ..........................................................10
APPENDIX A. TROUBLESHOOTING TIPS............................................................................15
Appendix A.1. Connection Tips & Hints................................................................................15
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-122 X30 Profibus DP Master Manual
1.
Page 3 of 16
X30 Profibus DP Master Description
The FieldServer Profibus X30 DP Master driver can be used to transfer I/O data with up to 125
Profibus DP Slave devices. The FieldServer is programmed with an embedded database using
the required 3rd party configuration tool. The embedded database contains information on the
number of slaves and I/O modules to be transferred with each slave. The tool requires the input
of GSD/E files for each slave to be connected.
Max Nodes Supported
FieldServer Mode
Nodes
Comments
CLIENT
DPV1 MASTER
(CLASS 1) ONLY
125
The FieldServer can connect up to so many Profibus DP
Slave devices.
A maximum total of 1536 bytes can be transferred with all DP Slaves
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-122 X30 Profibus DP Master Manual
2.
Page 4 of 16
Driver Scope of Supply
2.1.
Supplied by FieldServer Technologies for this driver
FieldServer Technologies
PART #
FS-8700-122
X30-Profibus DP Master
2.2.
2.2.1.
Description
Driver Manual.
Profibus X30 DP Master Card
Provided by the Supplier of 3rd Party Equipment
Required 3rd Party Software
HMS Anybus NetTool for Profibus
2.2.2.
Required 3rd Party Configuration
Connection to a correctly terminated 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-122 X30 Profibus DP Master Manual
3.
Page 5 of 16
Hardware Connections
The FieldServer is connected to the Profibus network as shown in the connection drawing
below.
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-122 X30 Profibus DP Master Manual
4.
Page 6 of 16
Configuring the FieldServer as a X30 Profibus DP Master Client
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” sample files
provided with the FieldServer).
This section documents and describes the parameters necessary for configuring the FieldServer
to communicate with up to 125 Profibus DP Slaves.
4.1.
FieldServer
Section Title
FieldServer
Column Title
System_Station_Address
4.2.
Function
Profibus address of the X30 DP Master
Legal Values
0-125
Data Arrays/Descriptors
The configuration file tells the FieldServer about its interfaces, and the routing of data
required. In order to enable the FieldServer for X30 Profibus DP Master communications,
the driver independent FieldServer buffers need to be declared in the “Data Arrays” section,
the destination device addresses need to be declared in the “Client Side Nodes” section,
and the data required from the servers needs to be mapped in the “Client 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.
Section Title
Data_Arrays
Column Title
Function
Data_Array_Name
Provide name for Data Array
Data_Array_Format
Provide data format. Each Data Array
can only take on one format.
Data_Array_Length
Number of Data Objects. Must be
larger than the data storage area
required by the Map Descriptors for
the data being placed in this array.
Legal Values
Up to 15 alphanumeric
characters
Float, Bit, UInt16, SInt16,
Packed_Bit, Byte,
Packed_Byte,
Swapped_Byte
1-10,000
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-122 X30 Profibus DP Master Manual
Page 7 of 16
Example
//
Data Arrays
Data_Arrays
Data_Array_Name,
Byte_Output,
Byte_Input,
Word_Output,
Word_Input,
Float_Output,
Float_Input,
4.3.
Data_Array_Format,
Byte,
Byte,
Uint16,
Uint16,
Float,
Float,
Data_Array_Length
10
10
10
10
10
10
Client Side Connection Descriptions
Section Title
Connections
Column Title
Adapter
Function
Adapter Name
Legal Values
Prof_DP
Example
//
Client Side Connections
Connections
Adapter
Prof_DP
4.4.
Client Side Node Descriptors
Section Title
Nodes
Column Title
Node_Name
Node_ID
Protocol
Function
Provide name for node
Station address of
remote Profibus Slave
Specify protocol used
Legal Values
Up to 32 alphanumeric characters
physical
0-125
Anybus_Prof_DP_M
Example
//
Client Side Nodes
Nodes
Node_Name,
PDP_SLV003,
PDP_SLV125,
Node_ID,
3,
125,
Protocol
Anybus_Prof_DP_M
Anybus_Prof_DP_M
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-122 X30 Profibus DP Master Manual
4.5.
Page 8 of 16
Client Side Map Descriptors
4.5.1.
FieldServer Related Map Descriptor Parameters
Column Title
Map_Descriptor_Name
Data_Array_Name
Data_Array_Offset
Function
4.5.2.
Function
Name of this Map
Descriptor
Name of Data Array
where data is to be
stored in the
FieldServer
Starting location in Data
Array
Function of Client Map
Descriptor
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, WRBC
Driver Related Map Descriptor Parameters
Column Title
Node_Name
Profibus_Data_Type
Address
Length
Function
Legal Values
One of the node names
Name of Node to fetch
specified in “Client Node
data from
Descriptor” above
BYTE, WORD, BOOL,
Arrangement of buffer data
FLOAT
Starting address of buffer
0 - 243
in bytes
1 - 244 ( BYTE )
1 - 122 ( WORD )
Length of Map Descriptor
1 - 1952 ( BOOL )
1 - 61 ( FLOAT )
Important Note:
A maximum combined total length of 1536 bytes are permitted for all Map Descriptors
accessing Slave devices.
4.5.3.
Column Title
Scan_Interval
Timing Parameters
Function
Legal
Values
Rate at which data is transferred from FieldServer data
≥0.001s
arrays to Profibus Master buffers.
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-122 X30 Profibus DP Master Manual
4.6.
Page 9 of 16
Map Descriptor Example.
This example demonstrates the transfer of I/O data with Remote Profibus DP Slaves using Station Addresses of 1 and 125.
Map Descriptor
Map_Descriptor_Name,
Word_In_003,
Word_Out_003,
Byte_In_125,
Byte_Out_125,
Data_Array_Name,
Word_Input,
Word_Output,
Byte_Input,
Byte_Output,
Data_Array_Offset,
0,
0,
0,
0.
Function,
RDBC,
WRBC,
RDBC,
WRBC,
Node_Name,
PDP_SLV003,
PDP_SLV003,
PDP_SLV125,
PDP_SLV125,
Profibus_Data_Type,
WORD
WORD
BYTE,
BYTE,
Address,
0,
0,
0,
0,
Length,
50,
50,
120,
120,
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
Scan_Interval
1s
1s
1s
1s
FS-8700-122 X30 Profibus DP Master Manual
4.7.
Page 10 of 16
Configuring the Embedded Profibus Database
The X30 Profibus Master has to be configured with an embedded database that contains
information about the Profibus Network data rate and remote Slave devices to access. The
HMS Anybus NetTool for Profibus software must be installed and used for this purpose.
Connect a serial RS-232 cable from the PC with the tool installed to the serial connector on
the X30 as shown below:
1) Run the Tool and select Project-> New
2) Expand the Profibus Master Tree, select the ABM-DPV device and drag it onto the Bus
Configuration Screen. This is the X30 FieldServer Profibus DP Master device.
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-122 X30 Profibus DP Master Manual
Page 11 of 16
3) Expand the Profibus DP tree and drag the Slave Device you want to connect to onto the
Bus Configuration window.
Note: If your device does not show up, import the device’s GSD file by right clicking on
Profibus DP and selecting Install new GS*-file. The ANYBUS-S PDP Slave device is shown
here for illustration purposes.
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-122 X30 Profibus DP Master Manual
Page 12 of 16
4) Right-click on the Profibus Slave and assign its Profibus address.
5) Continue adding all other Slaves and setting their Profibus addresses.
6) Right click on the ABM-DPV Master device and select Object Properties. Set the Master
Station Address to the same as the System_Station_Address used in the FieldServer’s
config.csv file. Also set the desired Profibus Network 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-122 X30 Profibus DP Master Manual
Page 13 of 16
7) Select the first slave device, right-click on the Slot 1 line and choose Module selection.
Now you have to add I/O modules up to the total number of bytes or words that will be
transferred with this slave as set up in the config.csv file. For Example, for the Map
Descriptor for Slave1 using 50 Words In and Out, you would choose the following
modules:
8) Continue selecting other Slaves and adding modules for them as well.
Important Note: Changing of Input and Output Addresses are not allowed. All addresses
must be contiguous for the X30 Profibus to work correctly.
9) Select Online-> Driver selection and on the serial Tab, choose the serial port on the PC
connected to the X30 by clicking on Configure-> Configure path.
10) Make sure the X30 FieldServer is running and you’ve downloaded a matching
configuration file to it with Node and Map Descriptors for each slave you have just
configured Make sure you can connect with Ruinet to the X30 and there are no
configuration errors.
11) Choose Online-> Download configuration to install the embedded database in the X30.
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-122 X30 Profibus DP Master Manual
Page 14 of 16
Important Note:
Note that the X30 must be running with a valid configuration file before it will allow download
of a new database.
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-122 X30 Profibus DP Master Manual
Page 15 of 16
Appendix A. Troubleshooting tips
Appendix A.1. Connection Tips & Hints
An error message displays when trying to download the Profibus database?
• Ensure you have selected the correct serial port in the configure path setting.
• Ensure that the X30 is powered up with a valid configuration file declaring all the slaves
to be communicated with.
• Confirm that the Run Led is flashing.
• The following message on the E screen of Ruinet is shown when the X30 detects a
request for new database download:
Detected New Profibus Database!
Restarting FieldServer in 10 seconds...
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-122 X30 Profibus DP Master Manual
Page 16 of 16
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