FieldServer FS-8700-42 Computer Drive User Manual

A Sierra Monitor Company
Driver Manual
(Supplement to the FieldServer Instruction Manual)
FS-8700-42 Spectronics
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after May 1, 2001
Driver Version:
1.00
Document Revision: 4
FS-8700-42_Spectronics Driver Manual
Table of Contents
Table of Contents
1.
Spectronics Description .....................................................................................................3
2.
Driver Scope of Supply .......................................................................................................4
2.1. Supplied by FieldServer Technologies for this driver .....................................................4
2.2. Provided by Supplier of 3rd Party Equipment..................................................................4
3.
Hardware Connections........................................................................................................5
4.
Configuring the FieldServer as a Spectronics Client .......................................................6
4.1. Data Arrays/Descriptors .................................................................................................6
4.2. Client Side Connection Descriptors ................................................................................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.
Timing Parameters ..................................................................................................8
4.4.4.
Map Descriptor Example. ........................................................................................9
5.
Configuring the FieldServer as a Spectronics Server....................................................10
5.1. Server Side Connection Descriptors ............................................................................10
5.2. Server Side Node Descriptors ......................................................................................11
5.3. Server Side Map Descriptors........................................................................................11
5.3.1.
FieldServer Specific Map Descriptor Parameters..................................................11
5.3.2.
Driver Specific Map Descriptor Parameters ..........................................................11
5.3.3.
Map Descriptor Example. ......................................................................................12
Appendix A. Advanced Topics – Spectronics ....................................................................13
Appendix A.1. Default Data Types........................................................................................13
Appendix A.2. Single Writes .................................................................................................13
Appendix A.3. Write-Thru Operation.....................................................................................13
Appendix A.4. Connection to York Modbus Microgateway...................................................14
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-42_Spectronics Driver Manual
1.
Page 3 of 15
Spectronics Description
The Spectronics driver allows the FieldServer to transfer data to and from devices over either
RS-232 or RS-485 using Spectronics 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-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-42_Spectronics Driver Manual
2.
Page 4 of 15
Driver Scope of Supply
2.1.
Supplied by FieldServer Technologies for this driver
FieldServer Technologies
PART #
FS-8915-10
FS-8917-01
FS-8700-01
2.2.
Description
7’ Patch Cable
RJ45 to DB25M connector adapter
Driver Manual
Provided by Supplier of 3rd Party Equipment
PART #
DESCRIPTION
Spectronics 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-42_Spectronics Driver Manual
3.
Page 5 of 15
Hardware Connections
It is possible to connect a Spectronics device to any of the existing serial ports on the
FieldServer1. These ports simply need to be configured for Spectronics in the configuration file.
Configure the Spectronics device according to manufacturer’s instructions.
8917-01 WIRE LIST
DB25M
FUNCTION
RX
CTS
DSR
GND
GND
DTR
RTS
TX
FROM
RJ45-01
RJ45-02
RJ45-03
RJ45-04
RJ45-05
RJ45-06
RJ45-07
RJ45-08
FUNCTION
RX
CTS
DSR
GND
GND
DTR
RTS
TX
FROM
RJ45-01
RJ45-02
RJ45-03
RJ45-04
RJ45-05
RJ45-06
RJ45-07
RJ45-08
FUNCTION
RX
CTS
DSR
GND
GND
DTR
RTS
TX
FROM
RJ45-01
RJ45-02
RJ45-03
RJ45-04
RJ45-05
RJ45-06
RJ45-07
RJ45-08
TO
COLOUR
DB25M-03 WHITE
DB25M-05 BROWN
YELLOW
DB25M-07 GREEN
RED
BLACK
DB25M-04 ORANGE
DB25M-02
BLUE
8917-04 WIRE LIST
DB25F
Typical DB9/DB25
kit assemblies are
shown here. Refer
to the third party
device literature
for exact
configuration
required.
TO
COLOUR
DB25F-02 WHITE
DB25F-04 BROWN
YELLOW
DB25F-07 GREEN
RED
BLACK
DB25F-05 ORANGE
DB25F-03
BLUE
8917-03 WIRE LIST
DB9M
TO
DB9M-02
DB9M08
DB9M-06
DB9M-05
DB9M-04
DB9M-07
DB9M-03
COLOUR
GREY
BROWN
YELLOW
GREEN
RED
BLACK
ORANGE
BLUE
8917-02 WIRE LIST
DB9F
FUNCTION FROM
Rx
RJ45-01
GND
RJ45-04
Tx
RJ45-08
TO
DB9F-03
DB9F-05
DB9F-02
COLOUR
WHITE
GREEN
BLUE
OR
RJ45 to
EIA232
Connector
Connect
to 2-wire
RS-485
network
RJ45 Connector
(408)-262-2299
FIELDSERVER
MODBUS RTU
CONNECTION DIAGRAM
BASE NAME:
FILE NAME:
DATE: 4/20/04
BY:
MC
1
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction
manual for details of the ports available on specific hardware.
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-42_Spectronics Driver Manual
4.
Page 6 of 15
Configuring the FieldServer as a Spectronics 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 Spectronics 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 Spectronics 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
Data_Array_Name
Data_Array_Format
Data_Array_Length
Function
Legal Values
Up to 15 alphanumeric
Provide name for Data Array
characters
Provide data format. Each FLOAT, BIT, UInt16, SInt16,
Data Array can only take on Packed_Bit, Byte,
one format.
Packed_Byte, Swapped_Byte
Number of Data Objects. Must
be larger than the data
storage area required by the 1-10,000
map descriptors for the data
being placed in this array.
Example
// Data Arrays
Data_Arrays
Data_Array_Name,
DA_AI_01,
DA_AO_01,
DA_DI_01,
DA_DO_01,
Data_Format,
UInt16,
UInt16,
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-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com
FS-8700-42_Spectronics Driver Manual
4.2.
Page 7 of 15
Client Side Connection Descriptors
Section Title
Connections
Column Title
Port
Function
Specify which port the device is connected
to the FieldServer
Baud*
Specify baud rate
Parity*
Data_Bits*
Stop_Bits*
Protocol
Handshaking*
Poll Delay*
Specify parity
Specify data bits
Specify stop bits
Specify protocol used
Specify hardware handshaking
Time between internal polls
Legal Values
P1-P8, R1-R22
110 – 115200, standard baud
rates only
None (Vendor limitation)
8 (Vendor limitation)
1 (Vendor limitation)
Spectronics
RTS, RTS/CTS, None
0-32000 s, 1 s
Example
Client Side Connections
//
Connections
Port,
Protocol,
P8,
Spectronics,
4.3.
Baud,
9600,
Parity,
None,
Handshaking,
None,
Poll_Delay
0.100s
Client Side Node Descriptors
Section Title
Nodes
Column Title
Node_Name
Node_ID
Protocol
Port
Function
Legal Values
Up to 32 alphanumeric
characters
Provide name for node
Station address of physical server
node
Specify protocol used
Specify which port the device is
connected to the FieldServer
1-255
Spectronics
P1-P8, R1-R22
Example:
//
Client Side Nodes
Nodes
Node_Name,
Spec_device1,
Node_ID,
1,
Protocol,
Spectronics,
Port
P8
2
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction
manual for details of the ports available on specific hardware.
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-42_Spectronics Driver Manual
4.4.
Page 8 of 15
Client Side Map Descriptors
4.4.1.
FieldServer Related Map Descriptor Parameters
Column Title
Map_Descriptor_Name
Data_Array_Name
Data_Array_Offset
Function
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
Driver Related Map Descriptor Parameters
Column Title
Function
Node_Name
Length
Address
Data_Array_Low_Scale*
Data_Array_High_Scale*
Node_Low_Scale*
Node_High_Scale*
4.4.3.
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
One of the node names
Name of Node to fetch
specified in “Client Node
data from
Descriptor” above
Length of Map Descriptor
1-125 (Register,AI)
Starting address of read
40001, 30001, etc
block
-2,147,483,648 to
Scaling zero in Data Array
2,147,483,647, 0
-2,147,483,648 to
Scaling max in Data Array
2,147,483,647, 100
Scaling zero in Connected -2,147,483,648 to
Node
2,147,483,647, 0
Scaling max in Connected -2,147,483,648 to
Node
2,147,483,647, 100
Timing Parameters
Column Title
Scan_Interval
Function
Rate at which data is polled
Legal Values
≥0.001s
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-42_Spectronics Driver Manual
4.4.4.
Page 9 of 15
Map Descriptor Example.
// Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
CMD_AI_01,
CMD_AO_01,
CMD_DI_01,
CMD_DO_01,
Data_Array_Name,
DA_AI_01,
DA_AO_01,
DA_DI_01,
DA_DO_01,
Data_Array_Offset,
0,
0,
0,
0,
Function,
RDBC,
RDBC,
RDBC,
RDBC,
Node_Name,
Spec_Device1,
Spec_Device1,
Spec_Device1,
Spec_Device1,
Address,
30001,
40001,
10001,
00001,
Length,
20,
20,
20,
20,
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
1.000s
1.000s
1.000s
1.000s
FS-8700-42_Spectronics Driver Manual
5.
Page 10 of 15
Configuring the FieldServer as a Spectronics 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” sample files
provided with the FieldServer).
This section documents and describes the parameters necessary for configuring the FieldServer
to communicate with a Spectronics Client.
The configuration file tells the FieldServer about its interfaces, and the routing of data required.
In order to enable the FieldServer for Spectronics 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 Descriptors
Section Title
Connections
Column Title
Port
Function
Specify which port the device is connected
to the FieldServer
Baud*
Specify baud rate
Parity*
Specify parity
Data_Bits*
Stop_Bits*
Protocol
Handshaking*
Specify data bits
Specify stop bits
Specify protocol used
Specify hardware handshaking
Legal Values
P1-P8, R1-R23
110 – 115200 standard baud
rates only
Even, Odd, None, Mark,
Space
7, 8
1 (Vendor limitation)
Spectronics
RTS, RTS/CTS, None
Example
//
Server Side Connections
Connections
Port,
P1,
Protocol,
Spectronics,
Baud,
9600,
Parity,
None,
Handshaking
None
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.
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-42_Spectronics Driver Manual
5.2.
Page 11 of 15
Server Side Node Descriptors
Section Title
Nodes
Column Title
Node_Name
Node_ID
Protocol
Function
Provide name for node
Node ID of physical server node
Specify protocol used
Legal Values
Up to 32 alphanumeric characters
1 – 255
Spectronics
Example
Nodes
Node_Name,
Spec_Srv_11,
5.3.
Node_ID,
11,
Protocol
Spectronics
Server Side Map Descriptors
5.3.1.
FieldServer Specific Map Descriptor Parameters
Column Title
Map_Descriptor_Name
Data_Array_Name
Data_Array_Offset
Function
5.3.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 Server 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
Column Title
Function
Node_Name
Name of Node to fetch data
from
Data_Type
Length
Address
Data_Array_Low_Scale*
Data_Array_High_Scale*
Node_Low_Scale*
Node_High_Scale*
Data type
Length of Map Descriptor
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
Register, Coil, AI, DI
1 - 125
40001, 30001, etc
-32767 to 32767, 0
-32767 to 32767, 100
-32767 to 32767, 0
-32767 to 32767, 100
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-42_Spectronics Driver Manual
5.3.3.
Page 12 of 15
Map Descriptor Example.
// Server Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name,
SMD_AI_01,
SMD_AO_01,
Data_Array_Name,
DA_AI_01,
DA_AO_01,
Data_Array_Offset,
0,
0,
Function,
Server,
Server,
Node_name,
Spec_Srv_11,
Spec_Srv_11,
Address,
30001,
40001,
Length,
200,
200,
Map Descriptors
Map_Descriptor_Name,
SMD_DI_01,
SMD_DO_01,
Data_Array_Name,
DA_DI_01,
DA_DO_01,
Data_Array_Offset,
0,
0,
Function,
Server,
Server,
Node_name,
Spec_Srv_11,
Spec_Srv_11,
Address,
10001,
00001,
Length
200
200
Data_Array_Low_Scale,
0,
0,
Data_Array_High_Scale
100,
100,
Node_Low_Scale
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
Node_High_Scale
10000
10000
FS-8700-42_Spectronics Driver Manual
Page 13 of 15
Appendix A. Advanced Topics – Spectronics
Appendix A.1. Default Data Types
When a Spectronics address range is specified, a particular Data Type is implied. The
defaults are as follows:
Address range
40001 - 49999
30001 - 39999
10001 - 19999
00001 - 09999
Data_Type
Register
Analog _Input
Digital_Input
Coil
Function Code (Write)
16
n/a.
n/a.
15
Function Code (Read)
3
4
2
1
Appendix A.2. Single Writes
When writing the default data types can be overwritten using the “Single_Coil” and
“Single_Register” settings as part of the Map Descriptor configuration. In that case the
Function codes for writes will be as follows:
Address range Data_Type
Function Code (Write)
40001 - 49999
Single_Register 6
30001 - 39999
Coil
5.
Example: FC 6 = Write Single Register
Add a parameter to the Spectronics client side Map Descriptor called Data_Type.
If you specify the Data_Type as Single_Register and the Function as WRBC or WRBX,
then a Spectronics poll with FC 6 will be generated.
Of course Single_Register implies a length of one, and even if you try to set the length
longer in the csv file, the length is limited to 1 in the driver.
Appendix A.3. Write-Thru Operation
Consider a client Map Descriptor that is configured to read data using a FC 3 (Read Multiple
Register) operation. It is now possible do a write thru operation on the existing Client Map
Descriptor by storing data to the Client Map Descriptors Data Array.
The Write Cache Map Descriptor that is created will use the following function codes
depending on the Cache Map Descriptor Length and the Clients Node Type.
Single Register Write - FC 6 - When the length of the Cache Map Descriptor is one. This will
normally be the case.
Multiple Register Write – FC 16 - When the length of the Cache Map Descriptor is larger
than one or the Node_Type has been set to “Block_Mode”.
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-42_Spectronics Driver Manual
Page 14 of 15
Appendix A.4. Connection to York Modbus Microgateway
If connecting the FieldServer to a York Modbus Microgateway, the Node_ID of the
Microgateway is defined by the address DIP switches. If switch 4 is set to ‘On’ and the other
switches are set to ‘off’ then Node_ID of the Microgateway is ‘247’, the parity is ‘Even’, and
the stop bits are 1. Other Node_ID combinations can be found in the York Modbus
Microgateway Installation Manual.
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-42_Spectronics Driver Manual
Page 15 of 15
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
Download PDF

advertising