Sie sind auf Seite 1von 14

A Sierra Monitor Company

Driver Manual
(Supplement to the FieldServer Instruction Manual)

FS-8700-62 J-Bus

APPLICABILITY & EFFECTIVITY Effective for all systems manufactured after May 1, 2001

Driver Version: 4.01 Document Revision: 4

FS-8700-62 J-Bus Driver Manual

Table of Contents

TABLE OF CONTENTS
1. 2. J-Bus 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 Hardware...................................................................................4 Hardware Connections........................................................................................................5 Configuring the FieldServer as a J-Bus 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. Client Side Map Descriptor Example.......................................................................9 Configuring the FieldServer as a J-Bus Server ..............................................................10 5.1. Server Side Connection Descriptors ............................................................................10 5.2. Server Side Node Descriptors ......................................................................................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. Server Side Map Descriptor: Example1 ................................................................13 5.3.4. Server Side Map Descriptor: Example 2 ...............................................................13

3. 4.

5.

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-62 J-Bus Driver Manual

Page 3 of 14

1. J-Bus Description
The J-Bus driver allows the FieldServer to transfer data to and from devices over either RS-232 or RS-485 using J-Bus 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-62 J-Bus Driver Manual

Page 4 of 14

2. Driver Scope of Supply 2.1. Supplied by FieldServer Technologies for this driver
DESCRIPTION UTP cable (7 foot) for RS-232 use RJ45 to DB25M connection adapter Driver Manual.

FIELDSERVER PART # FS-8915-10 FS-8917-01 FS-8700-62

2.2.

Provided by the Supplier of 3rd Party Equipment

2.2.1. Required 3rd Party Hardware


PART # DESCRIPTION J-Bus 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-62 J-Bus Driver Manual

Page 5 of 14

3. Hardware Connections
The FieldServer is connected to the J-Bus Device as shown in connection drawing. Configure the J-Bus Device according to manufacturers 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 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. 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 DB25F-02 WHITE DB25F-04 BROWN YELLOW DB25F-07 GREEN RED BLACK DB25F-05 ORANGE DB25F-03 BLUE

8917-03 WIRE LIST DB9M 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 DB9M-02 DB9M08 DB9M-06 DB9M-05 DB9M-04 DB9M-07 DB9M-03 COLOUR GREY BROWN YELLOW GREEN RED BLACK ORANGE BLUE

DB9F

8917-02 WIRE LIST FUNCTION FROM Rx RJ45-01 GND RJ45-04 Tx RJ45-08 TO DB9F-03 DB9F-05 DB9F-02 COLOUR WHITE GREEN BLUE

RJ45 Connector

OR

(408)-262-2299

FIELDSERVER J-BUS CONNECTION DIAGRAM


BASE NAME: FILE NAME: DATE: 1/31/06 BY: MC

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-62 J-Bus Driver Manual

Page 6 of 14

4. Configuring the FieldServer as a J-Bus 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 a J-Bus 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 J-Bus 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

Function 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.

Data_Array_Format

Legal Values Up to 15 alphanumeric characters Float, Bit, UInt16, SInt16, Packed_Bit, Byte, Packed_Byte, Swapped_Byte 1-10,000

Data_Array_Length

Example // Data Arrays

Data_Arrays Data_Array_Name, DA_AI_01, DA_AO_01, DA_DI_01, DA_DO_01,

Data_Array_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-62 J-Bus Driver Manual

Page 7 of 14

4.2.

Client Side Connection Descriptors

Section Title Connections Column Title

Function Legal Values Specify which port the device is Port P1-P8, R1-R21 connected to the FieldServer 110 115200, standard baud Baud* Specify baud rate rates only Parity* Specify parity Even, Odd, None, Mark, Space Data_Bits* Specify data bits 7, 8 Stop_Bits* Specify stop bits 1 Protocol Specify protocol used J-Bus Handshaking* Specify hardware handshaking RTS, RTS/CTS, None Poll Delay* Time between internal polls 0-32000 seconds, 0.5 seconds Example // Client Side Connections

Connections Port, Protocol, P8, J-Bus,

Baud, 9600,

Parity, None,

Data_Bits, 8,

Stop_Bits, 1

Handshaking, None,

Poll_Delay 0.100s

4.3.

Client Side Node Descriptors

Section Title Nodes Column Title Node_Name Node_ID Protocol Connection Example // Client Side Nodes

Function Provide name for node

Legal Values Up to 32 alphanumeric characters

Modbus station address of physical Server 1-255 node Specify protocol used J-Bus Specify which port the device is connected to P1-P8, R1-R21 the FieldServer

Nodes Node_Name, PLC 1,

Node_ID, 1,

Protocol, J-Bus,

Connection P8

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-62 J-Bus Driver Manual

Page 8 of 14

4.4. 4.4.1.

Client Side Map Descriptors FieldServer Related Map Descriptor Parameters


Column Title Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function 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

4.4.2.
Node_Name Data _ Type Address Length

Driver Related Map Descriptor Parameters


Column Title Function Name of Node to fetch data from Data type of the related Jbus register Starting address of read block Specifies how many register bits etc. to read Legal Values One of the node names specified in Client Node Descriptor above AR, AI, DI, DO 0 - 65535 0 125 for Analog values 0 2000 for Binary values

Scaling zero in Data -32767 to 32767, 0 Array Scaling max in Data -32767 to 32767, 100 Data_Array_High_Scale* Array Scaling zero in -32767 to 32767, 0 Node_Low_Scale* Connected Node Scaling max in -32767 to 32767, 100 Node_High_Scale* Connected Node Data_Array_Low_Scale*

4.4.3.

Timing Parameters
Function Seconds per Scan Legal Values 0-32000, 1

Column Title Scan_Interval*

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-62 J-Bus Driver Manual

Page 9 of 14

4.4.4. Client Side Map Descriptor Example.


// Client Side Map Descriptors
Data_Array_Name, DA_AI_01, DA_AO_01, Data_Array_Offset, 0, 0, Function, RDBC, RDBC, Node_name, PLC 1 PLC 1 Data_Type, AR, AR, Address, 0, 0, Length, 20, 20, Scan_Interval 1.000s 1.000s

Map_Descriptors Map_Descriptor_Name, CMD_AI_01, CMD_AO_01,

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-62 J-Bus Driver Manual

Page 10 of 14

5. Configuring the FieldServer as a J-Bus 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 J-Bus Client. The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable the FieldServer for (Driver Name) 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

Function Legal Values Specify which port the device is connected Port P1-P8, R1-R22 to the FieldServer 110 115200 standard baud Baud* Specify baud rate rates only Even, Odd, None, Mark, Parity* Specify parity Space Data_Bits* Specify data bits 7, 8 Stop_Bits* Specify stop bits 1 Protocol Specify protocol used J-Bus Handshaking* Specify hardware handshaking RTS, RTS/CTS, None Example // Server Side Connections

Connections Port, Protocol, P1, J-Bus,

Baud, 9600,

Parity, None,

Data_Bits, 8,

Stop_Bits, 1,

Handshaking None

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-62 J-Bus Driver Manual

Page 11 of 14

5.2.

Server Side Node Descriptors

Section Title Nodes Column Title Node_Name Node_ID Protocol Example //

Function Provide name for node Node ID of physical Server node Specify protocol used

Legal Values Up to 32 alphanumeric characters 1 255 J-Bus

Server Side Nodes

Nodes Node_Name, MBP_Srv_11,

Node_ID, 11,

Protocol J-Bus

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-62 J-Bus Driver Manual

Page 12 of 14

5.3. 5.3.1.

Server Side Map Descriptors FieldServer Specific Map Descriptor Parameters

Section Title Map_Descriptors Column Title

Legal Values Up to 32 alphanumeric Map_Descriptor_Name Name of this Map Descriptor characters Name of Data Array where One of the Data Array names Data_Array_Name data is to be stored in the from Data Array section FieldServer above Starting location in Data 0 to maximum specified in Data_Array_Offset Array Data Array section above Function of Client Map Function Server Descriptor

Function

5.3.2.
Column Title Node_Name Data_Type Address Length

Driver Specific Map Descriptor Parameters


Function Name of Node to fetch data from Data type of the related J-bus register Starting address of read block Specifies how many register bits etc. to read Legal Values One of the node names specified in Client Node Descriptor above AR, AI, DI, DO 0 - 65535 0 125 for Analog values 0 2000 for Binary values

Scaling zero in Data -32767 to 32767, 0 Array Scaling max in Data Data_Array_High_Scale* -32767 to 32767, 100 Array Scaling zero in Node_Low_Scale* -32767 to 32767, 0 Connected Node Scaling max in Node_High_Scale* -32767 to 32767, 100 Connected Node Data_Array_Low_Scale*

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-62 J-Bus Driver Manual

Page 13 of 14

5.3.3. Server Side Map Descriptor: Example1


// 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, MBP_Srv_11, MBP_Srv_11, Data_Type, 30001, 40001, Address, 200, 200, Length, 0, 0, Data_Array_Low_Scale, 100, 100, Data_Array_High_Scale, 0, 0, Node_Low_Scale, 10000, 10000, Node_High_Scale

5.3.4. Server Side Map Descriptor: Example 2


// Server Side Map Descriptors 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, MBP_Srv_11, MBP_Srv_11,

Data Type, 10001, 00001,

Address, 200, 200,

Length

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-62 J-Bus Driver Manual

Page 14 of 14

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