FieldServer FS-8700-03 DF1 Computer Drive User Manual

A Sierra Monitor Company
Driver Manual
(Supplement to the FieldServer Instruction Manual)
FS-8700-03 DF1
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after May 1, 2001
Driver Version:
1.01
Document Revision: 16
FS-8700-03 DF1 Driver Manual
Table of Contents
TABLE OF CONTENTS
1.
Allen Bradley DF1 Description ...................................................................................... 3
2.
2.1.
2.2.
Driver Scope of Supply .................................................................................................. 4
Supplied by FieldServer Technologies for this driver.................................................. 4
Provided by the Supplier of 3rd Party Equipment ........................................................ 4
3.
Hardware Connections .................................................................................................. 5
4.
Configuring the FieldServer as a DF1 Client ................................................................ 6
4.1.
Data Arrays/Descriptors ............................................................................................. 6
4.2.
Client Side Connections............................................................................................. 7
4.3.
Client Side Node Descriptors ..................................................................................... 7
4.4.
Client Side Map Descriptors....................................................................................... 8
4.4.1. FieldServer Related Map Descriptor Parameters .................................................... 8
4.4.2. Driver Related Map Descriptor Parameters............................................................. 8
4.4.3. Map Descriptor Example......................................................................................... 9
5.
Configuring the FieldServer as a DF1 Server ..............................................................10
5.1.
Server Side Connection Descriptions........................................................................10
5.2.
Server Side Node Descriptions .................................................................................11
5.3.
Server Side Map Descriptors ....................................................................................12
5.3.1. FieldServer Specific Map Descriptor Parameters...................................................12
5.3.2. Driver Specific Map Descriptor Parameters ...........................................................12
5.3.3. Map Descriptor Example........................................................................................13
Appendix A. Driver Notes...................................................................................................14
Appendix A.1. Continuous Map Descriptors ........................................................................14
Appendix A.2. Checksum....................................................................................................14
Appendix A.3. Command Support.......................................................................................14
Appendix B.
Error Messages .............................................................................................15
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
1.
Page 3 of 16
Allen Bradley DF1 Description
The DF1 driver allows the FieldServer to transfer data to and from devices over RS-232 using
DF1 protocol. The FieldServer can emulate either a Server or Client.
The information that follows describes how to expand upon the factory defaults provided in the
configuration files included with the FieldServer.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
2.
Driver Scope of Supply
2.1.
Supplied by FieldServer Technologies for this driver
FieldServer Technologies
PART #
FS-8915-10
FS-8917-06
FS-8700-03
2.2.
PART #
1
2
Page 4 of 16
Description
UTP cable (7 foot) for RS-232 use
RJ45 to DB9M connection adapter
Driver Manual.
Provided by the Supplier of 3rd Party Equipment
DESCRIPTION
1
AB DF1 compatible PLC, e.g. SLC5/03, PLC 5/40, etc.
2
DF1 Client, e.g. Wonderware, Intellution FIX, GE Cimplicity, etc.
If FieldServer used as Allen Bradley DF1 Client
If FieldServer used as Allen Bradley DF1 Server
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
3.
Page 5 of 16
Hardware Connections
It is possible to connect an Allen Bradley PLC to any of the RS-232 ports. These ports simply
need to be configured for an Allen Bradley PLC in the configuration file.
ALLEN BRADLEY PLC
COMM 2
FS8917-06
RJ45 CAT 5 Cable
FS8915-10
8917-06 WIRE LIST
FUNCTION
Rx
GND
Tx
FROM
RJ45-01
RJ45-04
RJ45-08
TO
DB9F-03
DB9F-05
DB9F-02
COLOUR
WHITE
GREEN
BLUE
(408)-262-2299
FIELDSERVER
DF1
CONNECTION DIAGRAM
BASE NAME:
FILE NAME:
DATE: 4/20/04
BY:
MC
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
4.
Page 6 of 16
Configuring the FieldServer as a DF1 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 FS).
This section documents and describes the parameters necessary for configuring the FieldServer
to communicate with a DF1 Server
4.1.
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 DF1 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_Format
Data_Array_Length
Provides data format
Number of Data Objects
Legal Values
Up to 15 alphanumeric
characters
INT16, INT32, BIT, FLOAT
1-10,000
Example
//
Data Arrays
Data_Array_Name,
DA_AI_01,
DA_AO_01,
DA_DI_01,
DA_DO_01,
Data_Format,
Float,
Float,
Bit,
Bit,
Data_Array_Length
200
200
200
200
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
4.2.
Page 7 of 16
Client Side Connections
Section Title
Connections
Column Title
Baud*
Parity*
Data_Bits*
Handshaking*4
Function
Specify which port the device is
connected to the FieldServer
Specify baud rate
Specify parity
Specify data bits
Specify hardware handshaking
Protocol *
Specify protocol used
Port
Legal Values
P1-P83
300 to 115200; 9600
Even, Odd, None
8
RTS, RTS/CTS, None
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
Example
//
Client Side Connections
Ports,
Port,
P8,
4.3.
Protocol
DF1_FD
Client Side Node Descriptors
Section Title
Nodes
Column Title
Node_Name
Node_ID
Protocol
Port
PLC_Type
Function
Provide name for node
Node ID of physical Server node
(PLC)
Specify protocol used
Specify which port the device is
connected to the FieldServer
Specify PLC
Communications type.
Legal Values
Up to 32 alphanumeric characters
1-255
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
3
P1-P8
PLC3, PLC5, SLC5
Example
//
Client Side Nodes
Nodes
Node_Name,
PLC_01,
Node_ID,
1,
Protocol,
DF1_FD,
PLC _Type,
SLC5,
Port
P8
3
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction
manual for details of the ports available on specific hardware.
4
Handshaking is not supported, only the enabling of the RTS/CTS lines
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
4.4.
Client Side Map Descriptors
4.4.1.
FieldServer Related Map Descriptor Parameters
Column Title
Function
Map_Descriptor_Name
Name of this Map Descriptor
Data_Array_Name
Name of Data Array where
data is to be stored in the
FieldServer
Data_Array_Offset
Starting location in Data Array
Function
Function of Client Map
Descriptor
4.4.2.
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, WRBX
Driver Related Map Descriptor Parameters
Column Title
Function
Node_Name
Name of Node to fetch data
from
File_Type
File_Number
Address
Data_Array_Low_Scale*
Data_Array_High_Scale*
Node_Low_Scale*
Node_High_Scale*
5
Page 8 of 16
File type in PLC
File Number in PLC
Starting address of read block
Scaling zero in Data Array
Scaling max in Data Array
Scaling zero in Connected
Node
Scaling max in Connected
Node
Legal Values
One of the node names
specified in “Client Node
Descriptor” above
5
N, F, B, I, O
0-255
0 – 255
-32767 to 32767, 0
-32767 to 32767, 100
-32767 to 32767, 0
-32767 to 32767, 100
Not all PLC’s can support all File_Types. Refer to DFS for further information.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
Map Descriptor Example
Data_Array_Offset,
0,
0,
Data_Array_Name,
DA_DI_01,
DA_DO_01,
Function,
Rdbc,
Rdbc,
Function,
Rdbc,
Rdbc,
Node_Name,
PLC_01,
PLC_01,
Node_Name,
PLC_01,
PLC_01,
File_Type,
B,
B,
File_Type,
N,
N,
Page 9 of 16s
File_Number,
12,
13,
File_Number,
10,
11,
Address,
0,
0,
Address,
0,
0,
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
Data_Array_Offset,
0,
0,
Data_Array_Name,
DA_AI_01,
DA_AO_01,
Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
CMD_AI_01,
CMD_AO_01,
Map_Descriptors
Map_Descriptor_Name,
CMD_DI_01,
CMD_DO_01,
//
4.4.3.
FS-8700-03 DF1 Driver Manual
Length,
16,
16,
Length,
16,
16,
Scan_Interval
1.0s
1.0s
Scan_Interval
1.0s
1.0s
FS-8700-03 DF1 Driver Manual
5.
Page 10 of 16
Configuring the FieldServer as a DF1 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” files on the
driver diskette).
This section documents and describes the parameters necessary for configuring the FieldServer
to communicate with a DF1 Client.
The configuration file tells the FieldServer about its interfaces, and the routing of data required.
In order to enable the FieldServer for DF1 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.
5.1.
Server Side Connection Descriptions
Section Title
Connections
Column Title
Baud*
Parity*
Data_Bits*
7
Handshaking*
Function
Specify which port the device is connected
to the FieldServer
Specify baud rate
Specify parity
Specify data bits
Specify hardware handshaking
Protocol
Specify protocol used
Port
Legal Values
P1-P8
6
300 to 115200; 9600
Even, Odd, None
8
RTS, RTS/CTS, None
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
Example
//
Server Side Connections
Ports,
Port,
P1,
Protocol
DF1_FD
6
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction
manual for details of the ports available on specific hardware.
7
Handshaking is not supported, only the enabling of the RTS/CTS lines
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
5.2.
Page 11 of 16
Server Side Node Descriptions
Section Title
Nodes
Column Title
Function
Node_Name
Provide name for node
Node_ID
Node ID of physical Server
node
1-255
Protocol
Specify protocol used
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
PLC_Type
Specify PLC Communications
type.
PLC3, PLC5, SLC5
Legal Values
Up to 32 alphanumeric
characters
Example
//
Server Side Nodes
Nodes
Node_Name,
DF1_Srv_11,
Node_ID,
11,
Protocol,
DF1_FD,
PLC _Type
SLC5
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
5.3.
Server Side Map Descriptors
5.3.1.
FieldServer Specific Map Descriptor Parameters
Section Title
Map_Descriptors
Column Title
Function
Map_Descriptor_Name
Name of this Map Descriptor
Data_Array_Name
Data_Array_Offset
Function
5.3.2.
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
Server
Driver Specific Map Descriptor Parameters
Section Title
Map_Descriptors
Column Title
Node_Name
File_Type
File_Number
Address
Data_Array_Low_Scale*
Data_Array_High_Scale*
Node_Low_Scale*
Node_High_Scale*
8
Page 12 of 16
Function
Name of Node to fetch data
from
File type in PLC
File number in PLC
Starting address of read
block
Scaling zero in Data Array
Scaling max in Data Array
Scaling zero in Connected
Node
Scaling max in Connected
Node
Legal Values
One of the node names
specified in “Client Node
Descriptor” above
8
N, F, B, I, O
0-255
0 - 255
-32767 to 32767, 0
-32767 to 32767, 100
-32767 to 32767, 0
-32767 to 32767, 100
Not all PLC’s can support all File_Types. Refer to DFS for further information.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
Map_Descriptor_Name,
CMD_DI_01,
CMD_DO_01,
Data_Array_Offset,
0,
0,
Length,
16,
16,
Address,
0,
0,
Address,
0,
0,
File_Number,
12,
13,
File_Number,
10,
11,
File_Type,
B,
B,
File_Type,
N,
N,
Node_Name,
PLC_01,
PLC_01,
Node_Name,
PLC_01,
PLC_01,
Function,
Rdbc,
Rdbc,
Function,
Rdbc,
Rdbc,
Page 13 of 16
Length,
16,
16,
Scan_Interval
1.0s
1.0s
Data_Array_Low_Scale
1.0s
1.0s
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
Data_Array_Name,
DA_DI_01,
DA_DO_01,
Data_Array_Name,
DA_AI_01,
DA_AO_01,
Data_Array_Offset,
0,
0,
Map Descriptor Example
Server Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
CMD_AI_01,
CMD_AO_01,
//
5.3.3.
FS-8700-03 DF1 Driver Manual
FS-8700-03 DF1 Driver Manual
Page 14 of 16
Appendix A. Driver Notes
Appendix A.1. Continuous Map Descriptors
RS View has been known to crash if it tries to read a Server mapping that is discontinuous.
e.g.
Server map 1: N21: 0-31
Server map 2: N21: 32-100
This will panic the FieldServer and crash RS view as the DF1 will attempt to map N21: 0-100
If set up as:
Server Map 1: N21: 0-100 No problems are experienced
Appendix A.2. Checksum
You can now specify a checksum parameter for the serial connection.
The heading keyword is "Checksum" and the possible values are
1) BCC or 2) CRC-16
If nothing is specified it defaults to BCC.
Example:
Connections
Port,
P1,
Baud,
9600,
Protocol,
DF1_FD,
Checksum
CRC-16
The Checksum is valid for both DF1_FD and DF1_HD.
Appendix A.3. Command Support
The following commands are supported by the FieldServer for the various PLC types:
PLC_Type
PLC3
PLC5
SLC5
File_Type
FNC
Read
FNC
Write
N
F
B
N
F
B
1
1
1
1
1
1
0
0
2
0
67
26
N
A2/A1
F
A2/A1
B
A2/A1
Range Write
Range Write
Bit Write
Range Write
Typed Write
Read Modify Write
Protected Typed
Logical Write
Protected Typed
Logical Write
Protected Typed
Logical Write
I
A2/A1
O
A2/A1
Range Read
Range Read
Range Read
Range Read
Range Read
Range Read
Protected Typed
Logical Read
Protected Typed
Logical Read
Protected Typed
Logical Read
Protected Typed
Logical Read
Protected Typed
Logical Read
AA
AA
AB
Typical
Command
N7: 3, L5
F12: 3, L5
B3/4: 5, l5
N7: 3 , L5
F12: 3, L5
B3/4: 5, L5
N7: 3, L5
B3/4: 5, L7
B3/4: 5, L8
-
-
I: 13, L5
-
-
O: 13, L5
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver Manual
Page 15 of 16
Appendix B. Error Messages
DF1 Rem STS err F0-> Extended error code [See table below]
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-03 DF1 Driver 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-2269 Toll_Free: 888-509-1970 email: support@fieldserver.com
Download PDF

advertising