A Sierra Monitor Company
Driver Manual
(Supplement to the FieldServer Instruction Manual)
FS-8704-07 AB_CSP
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after May 1, 2001
FS-8704-07_AB-CSP Manual
Page 3 of 15
1.
Allen Bradley AB_CSP Description
The AB_CSP driver allows the FieldServer to transfer data to and from devices over AB_CSP
Ethernet 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.
FS-8704-07_AB-CSP Manual
Page 4 of 15
2.
Hardware/Software
2.1. Supplied by FieldServer Technologies for this Driver
FieldServer Technologies PART #
FS-8915-10
FS-8704-07
DESCRIPTION
Ethernet cable (7 foot)
Driver Manual
2.2.
Provided by Supplier of 3rd Party Equipment
PART # DESCRIPTION
AB_CSP compatible PLC, e.g. SLC5/05 etc. 1
AB_CSP Client, e.g. Wonderware, Intellution FIX, GE Cimplicity, etc. 2
1 If FieldServer used as Allen Bradley AB_CSP Client
2 If FieldServer used as Allen Bradley AB_CSP Server.
FS-8704-07_AB-CSP Manual
Page 5 of 15
3.
Hardware Connections
Make sure the device IP_address is configured to be on the same IP network as the
FieldServer. Use a crossover cable if the FieldServer is connected directly to the PLC device.
Use a straight cable if the FieldServer is connected to a hub.
Configure the PLC according to manufacturer’s instructions
PLC
Ethernet Interface
SITE
FS-8915-10
ETHERNET
FS-8915-10
(408)-262-2299
FIELDSERVER
AB-CSP
CONNECTION DIAGRAM
BASE NAME:
FILE NAME:
DATE: 5/04/04
BY: MC
FS-8704-07_AB-CSP Manual
Page 6 of 15
4.
Configuring the FieldServer as a AB-CSP 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 an AB-CSP 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 AB-CSP 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
Provide data format. Each Data
Array can only take on one format.
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.
INT16, INT32, BIT,
FLOAT
Data_Array_Format
Data_Array_Length
1-10,000
Example
// Data Arrays
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,
FS-8704-07_AB-CSP Manual
Page 7 of 15
4.2.
Client Side Connection Descriptors
Section Title
Connections
Column
Title
Legal
Values
Function
Specify which port the device is connected to the
FieldServer
Specify protocol used
Adapter
Protocol
N1
AB_CSP
Example
// Client Side Connections
Connections
Adapter,
N1,
Protocol
AB_CSP
4.3.
Client Side Node Descriptors
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 (PLC)
1-255
Must be on the same
subnet as the server or
gateway
IP address of physical server
node (PLC)
IP_Address
Protocol
Specify protocol used
AB_CSP
Specify on which port the
Adapter
device is connected to the N1
FieldServer
Specify PLC
Communications type.
PLC_Type
PLC3, PLC5, SLC5
Example
// Client Side Nodes
Nodes
Node_Name, Node_ID,
Protocol,
AB_CSP,
PLC_Type,
SLC5,
IP_Address,
192.168.1.13, N1
Adapter
PLC_01,
1,
FS-8704-07_AB-CSP Manual
Page 8 of 15
4.4.
4.4.1.
Client Side Map Descriptors Client Side Map Descriptors
FieldServer Related Map Descriptor Parameters
Column Title
Function
Name of this Map
Descriptor
Name of Data Array
where data is to be
stored in the
Legal Values
Up to 32 alphanumeric
characters
Map_Descriptor_Name
Data_Array_Name
One of the Data Array
names from “Data Array”
section above
FieldServer
Starting location in Data 0 to maximum specified in
Data_Array_Offset
Function
Array
“Data Array” section above
Function of Client Map
Descriptor
RDBC, WRBC, WRBX
4.4.2.
Driver Related Map Descriptor Parameters
Column Title
Node_Name
Function
Name of Node to fetch
data from
Legal Values
Client Side Nodes
File_Type
File type in PLC
N, B, F, S
0-255
File_Number
File Number in PLC
Starting address of read
block
Address
0 – 255
Data_Array_Low_Scale*
Data_Array_High_Scale*
Scaling zero in Data Array -32767 to 32767, 0
Scaling max in Data Array
-32767 to 32767, 100
Scaling zero in Connected
Node
Scaling max in Connected
Node
Override the default
command
Node_Low_Scale*
Node_High_Scale*
AB_Command
-32767 to 32767, 0
-32767 to 32767, 100
Unprotected Command
Typed
FS-8704-07_AB-CSP Manual
Page 9 of 15
4.4.3.
Map Descriptor Example
// Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, File_Type, File_Number, Address, Length, Scan_Interval
CMD_AI_01,
CMD_AO_01,
DA_AI_01,
DA_AO_01,
0,
0,
RDBC,
RDBC,
PLC_01,
PLC_01,
N,
N,
10,
11
0,
0,
16,
16,
1.0s
1.0s
Map_Descriptors
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, File_Type, File_Number, Address, Length, Scan_Interval
CMD_DI_01,
CMD_DO_01,
DA_DI_01,
DA_DO_01,
0,
0,
RDBC,
RDBC,
PLC_01,
PLC_01,
B,
B
12,
13,
0,
0,
16,
16,
1.0s
1.0s
FS-8704-07_AB-CSP Manual
Page 10 of 15
5.
Configuring the FieldServer as an AB_CSP Server
5.1.
Server Side Connection Descriptors
Section Title
Connections
Column Title
Function
Specify which port the device
is connected to the
FieldServer
Legal Values
Adapter
N1
Protocol
Specify protocol used
AB_CSP
Must be on the same
subnet as the client or
gateway
Virtual IP address of
FieldServer
IP_Address optional
Example
// Server Side Connections
Connections
Adapter,
N1,
Protocol,
AB_CSP,
IP_address
192.168.2.1
5.2.
Server Side Node Descriptors
Section Title
Nodes
Column Title
Function
Legal Values
Up to 32 alphanumeric
characters
Node_Name
Provide name for node
Node ID of physical server
node
Specify protocol used
Specify PLC
Node_ID
Protocol
1-255
AB_CSP
PLC_Type
PLC3, PLC5, SLC5
Communications type.
Example
// Server Side Nodes
Nodes
Node_Name,
ABE_Srv_11,
Node_ID,
11,
Protocol,
AB_CSP,
PLC_Type
SLC5
FS-8704-07_AB-CSP Manual
Page 11 of 15
5.3.
5.3.1.
Server Side Map Descriptors
FieldServer Related Map Descriptor Parameters
Column Title
Function
Name of this Map
Descriptor
Name of Data Array
where data is to be
stored in the
Legal Values
Up to 32 alphanumeric
characters
Map_Descriptor_Name
Data_Array_Name
One of the Data Array
names from “Data Array”
section above
FieldServer
Starting location in Data 0 to maximum specified in
Data_Array_Offset
Function
Array
“Data Array” section above
Function of Client Map
Descriptor
Server
5.3.2.
Driver Related Map Descriptor Parameters
Column Title
Function
Legal Values
One of the node names
specified in “Server Side
Nodes” above
Name of Node to fetch
data from
Node_Name
File_Type
File type in PLC
File number in PLC
N, B, F, I, O, S
0-255
File_Number
Starting address of read
block
Address
0 - 255
Data_Array_Low_Scale*
Data_Array_High_Scale*
Scaling zero in Data Array -32767 to 32767, 0
Scaling max in Data Array
-32767 to 32767, 100
Scaling zero in Connected
Node
Scaling max in Connected
Node
Node_Low_Scale*
Node_High_Scale*
-32767 to 32767, 0
-32767 to 32767, 100
FS-8704-07_AB-CSP Manual
Page 12 of 15
5.3.3.
Map Descriptor Example
// Client Side Map descriptors
Map_Descriptors
Map_Descriptor_Name,
SMD_AI_01,
Data_Array_Name,
DA_AI_01,
DA_AO_01,
Data_Array_Offset,
0,
0,
Function,
Server,
Server,
Node_Name,
ABE_Srv_11,
ABE_Srv_11,
File_Type,
N,
N,
File_Number,
10,
11,
Address,
0,
0,
Length,
16,
16,
Data_Array_Low_Scale,
0,
0,
Data_Array_High_Scale,
100,
100,
Node_Low_Scale,
0,
0,
Node_High_Scale
100
100
SMD_AO_01,
Map_Descriptors
Map_Descriptor_Name,
SMD_DI_01,
Data_Array_Name,
DA_DI_01,
DA_DO_01,
Data_Array_Offset,
0,
0,
Function,
Server,
Server,
Node_Name,
ABE_Srv_11,
ABE_Srv_11,
File_Type,
B,
B,
File_Number,
12,
13,
Address,
0,
0,
Length
16
16
SMD_DO_01,
FS-8704-07_AB-CSP Manual
Page 13 of 15
Appendix A. Troubleshooting
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 crash RS view as the AB_CSP will attempt to map N21: 0-100
If set up as
Server Map 1: N21: 0-100, no problems are experienced
FS-8704-07_AB-CSP Manual
Page 14 of 15
Appendix B. 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
A2
A2
A2
A2
A2
AA
AA
AB
-
N7: 3, L5
B3/4: 5, L7
B3/4: 5, L8
I: 13, L5
SLC5
-
-
O
S
-
O: 13, L5
52: 3, L5
Protected Typed
Logical Read
FS-8704-07_AB-CSP Manual
Page 15 of 15
Appendix C. Revision History
Driver Doc.
Date
Resp Format
Comment
Ver.
Rev.
2/3/04
MF
MF
1.00
1
Formatting updated. Revision table added.
Added connection diagram. Converted final
chapters to appendices. Removed nonsense
text.
5/6/04
Meg Meg
JD
1.00
1.00
2
3
6/14/04
Releasing
Changed Appendix numbering to letters and
added borders and shading. Corrected example
table formatting. Removed some commas in
12/27/04 Meg Meg
1.00
4
example.
Created Troubleshooting section.
DUR0522.
|