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
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 3 of 16
1.
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.
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 4 of 16
2.
Driver Scope of Supply
2.1. Supplied by FieldServer Technologies for this driver
FieldServer Technologies
PART #
Description
FS-8915-10
FS-8917-06
FS-8700-03
UTP cable (7 foot) for RS-232 use
RJ45 to DB9M connection adapter
Driver Manual.
2.2.
Provided by the Supplier of 3rd Party Equipment
PART #
DESCRIPTION
AB DF1 compatible PLC, e.g. SLC5/03, PLC 5/40, etc. 1
DF1 Client, e.g. Wonderware, Intellution FIX, GE Cimplicity, etc. 2
1 If FieldServer used as Allen Bradley DF1 Client
2 If FieldServer used as Allen Bradley DF1 Server
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 5 of 16
3.
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
FROM
RJ45-01
RJ45-04
RJ45-08
TO
COLOUR
WHITE
GREEN
BLUE
Rx
GND
Tx
DB9F-03
DB9F-05
DB9F-02
(408)-262-2299
FIELDSERVER
DF1
CONNECTION DIAGRAM
BASE NAME:
FILE NAME:
DATE: 4/20/04
BY: MC
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 6 of 16
4.
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
Legal Values
Up to 15 alphanumeric
characters
Data_Array_Name
Provide name for Data Array
Data_Format
Data_Array_Length
Provides data format
Number of Data Objects
INT16, INT32, BIT, FLOAT
1-10,000
Example
// Data Arrays
Data_Array_Name,
DA_AI_01,
DA_AO_01,
DA_DI_01,
Data_Format,
Float,
Float,
Bit,
Bit,
Data_Array_Length
200
200
200
200
DA_DO_01,
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 7 of 16
4.2.
Client Side Connections
Section Title
Connections
Column Title
Function
Legal Values
Specify which port the device is
connected to the FieldServer
Specify baud rate
Specify parity
Specify data bits
Port
P1-P83
Baud*
Parity*
300 to 115200; 9600
Even, Odd, None
8
Data_Bits*
Handshaking*4
Specify hardware handshaking
RTS, RTS/CTS, None
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
Protocol *
Specify protocol used
Example
// Client Side Connections
Ports,
Port,
P8,
Protocol
DF1_FD
4.3.
Client Side Node Descriptors
Section Title
Nodes
Column Title
Node_Name
Function
Legal Values
Up to 32 alphanumeric characters
Provide name for node
Node ID of physical Server node
(PLC)
Node_ID
Protocol
Port
1-255
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
P1-P83
Specify protocol used
Specify which port the device is
connected to the FieldServer
Specify PLC
PLC_Type
PLC3, PLC5, SLC5
Communications type.
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
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 8 of 16
4.4.
4.4.1.
Client Side Map Descriptors
FieldServer Related Map Descriptor Parameters
Column Title
Function
Legal Values
Up to 32 alphanumeric
characters
Map_Descriptor_Name
Name of this Map Descriptor
Name of Data Array where
data is to be stored in the
FieldServer
One of the Data Array
names from “Data Array”
section above
Data_Array_Name
0 to maximum specified in
“Data Array” section above
Data_Array_Offset
Function
Starting location in Data Array
Function of Client Map
Descriptor
RDBC, WRBC, WRBX
4.4.2.
Driver Related Map Descriptor Parameters
Column Title
Function
Legal Values
One of the node names
specified in “Client Node
Descriptor” above
N, F, B, I, O5
Name of Node to fetch data
from
Node_Name
File_Type
File type in PLC
File_Number
Address
Data_Array_Low_Scale*
Data_Array_High_Scale*
File Number in PLC
Starting address of read block
Scaling zero in Data Array
Scaling max in Data Array
Scaling zero in Connected
Node
0-255
0 – 255
-32767 to 32767, 0
-32767 to 32767, 100
Node_Low_Scale*
Node_High_Scale*
-32767 to 32767, 0
Scaling max in Connected
Node
-32767 to 32767, 100
5 Not all PLC’s can support all File_Types. Refer to DFS for further information.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 10 of 16
5.
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
Function
Legal Values
Specify which port the device is connected
to the FieldServer
Port
P1-P86
Baud*
Parity*
Specify baud rate
Specify parity
Specify data bits
300 to 115200; 9600
Even, Odd, None
8
Data_Bits*
Handshaking*7 Specify hardware handshaking
RTS, RTS/CTS, None
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
Protocol
Specify protocol used
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
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 11 of 16
5.2.
Server Side Node Descriptions
Section Title
Nodes
Column Title
Function
Legal Values
Up to 32 alphanumeric
characters
Node_Name
Node_ID
Provide name for node
Node ID of physical Server
node
1-255
DF1_FD, DF1_HD_MASTER,
DF1_HD_SLAVE
Protocol
Specify protocol used
Specify PLC Communications
type.
PLC_Type
PLC3, PLC5, SLC5
Example
// Server Side Nodes
Nodes
Node_Name,
DF1_Srv_11,
Node_ID,
11,
Protocol,
DF1_FD,
PLC _Type
SLC5
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 12 of 16
5.3.
5.3.1.
Server Side Map Descriptors
FieldServer Specific Map Descriptor Parameters
Section Title
Map_Descriptors
Column Title
Function
Legal Values
Up to 32 alphanumeric
characters
Map_Descriptor_Name
Name of this Map Descriptor
Name of Data Array where
data is to be stored in the
FieldServer
One of the Data Array
names from “Data Array”
section above
Data_Array_Name
Starting location in Data
Array
Function of Client Map
Descriptor
0 to maximum specified in
“Data Array” section above
Data_Array_Offset
Function
Server
5.3.2.
Driver Specific Map Descriptor Parameters
Section Title
Map_Descriptors
Column Title
Function
Legal Values
One of the node names
specified in “Client Node
Descriptor” above
N, F, B, I, O8
Name of Node to fetch data
from
Node_Name
File_Type
File type in PLC
File_Number
File number in PLC
Starting address of read
block
0-255
Address
0 - 255
Data_Array_Low_Scale*
Data_Array_High_Scale*
Scaling zero in Data Array
Scaling max in Data Array
Scaling zero in Connected
Node
Scaling max in Connected
Node
-32767 to 32767, 0
-32767 to 32767, 100
Node_Low_Scale*
Node_High_Scale*
-32767 to 32767, 0
-32767 to 32767, 100
8 Not all PLC’s can support all File_Types. Refer to DFS for further information.
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
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:
Typical
Command
PLC_Type File_Type FNC
Read
FNC Write
N
F
B
N
F
B
1
1
1
1
1
1
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
0
0
2
0
67
26
Range Write
Range Write
Bit Write
Range Write
N7: 3, L5
PLC3
PLC5
F12: 3, L5
B3/4: 5, l5
N7: 3 , L5
F12: 3, L5
B3/4: 5, L5
Typed Write
Read Modify Write
Protected Typed
Logical Write
Protected Typed
Logical Write
Protected Typed
Logical Write
N
F
B
I
A2/A1
A2/A1
A2/A1
A2/A1
A2/A1
AA
AA
AB
-
N7: 3, L5
B3/4: 5, L7
B3/4: 5, L8
I: 13, L5
SLC5
-
-
O
-
O: 13, L5
Download from Www.Somanuals.com. All Manuals Search And Download.
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]
Download from Www.Somanuals.com. All Manuals Search And Download.
FS-8700-03 DF1 Driver Manual
Page 16 of 16
THIS PAGE INTENTIONALLY LEFT BLANK
Download from Www.Somanuals.com. All Manuals Search And Download.
|