FieldServer FS-8700-66 User Manual

-
Driver Version:
1.02
A Sierra Monitor Company
(Supplement to the FieldServer Instruction Manual)
FS-8700-66 GE SNP
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after May 1, 2001
Document Revision: 9
FS-8700-66_GE-SNP Manual Table of Contents
TABLE OF CONTENTS
1.
GE_SNP Description ...................................................................................................... 3
2.
Driver Scope of Supply .................................................................................................. 4
2.1.
Supplied by FieldServer Technologies for this driver.................................................. 4
3.
Hardware Connections .................................................................................................. 5
4.
Configuring the FieldServer as a GE_SNP Client ........................................................ 8
4.1.
Data Arrays/Descriptors............................................................................................. 8
4.2.
Client Side Connection Descriptors............................................................................ 9
4.3.
Client Side Node Descriptors ....................................................................................10
4.4.
Client Side Map Descriptors......................................................................................10
4.4.1. FieldServer Related Map Descriptor Parameters...................................................10
4.4.2. Driver Related Map Descriptor Parameters............................................................11
4.4.3. Timing Parameters ................................................................................................11
4.4.4. Map Descriptor Example 1 – Simple Read.............................................................12
4.4.5. Map Descriptor Example 2 – Simple Write.............................................................12
4.4.6. Map Descriptor Example 3 – Handling Bits............................................................13
5.
Configuring the FieldServer as a GE_SNP Server ......................................................14
5.1.
Server Side Connection Descriptors .........................................................................14
5.2.
Server Side Node Descriptors...................................................................................15
5.3.
Server Side Map Descriptors ....................................................................................16
5.3.1. FieldServer Specific Map Descriptor Parameters...................................................16
5.3.2. Driver Specific Map Descriptor Parameters ...........................................................16
5.3.3. Timing Parameters ................................................................................................17
5.3.4. Map Descriptor Example........................................................................................18
Appendix A. Troubleshooting Tips....................................................................................19
Appendix B. Error Messages .............................................................................................20
Appendix B.1. Driver Stats ..................................................................................................22
Appendix C. Advanced Topics...........................................................................................25
Appendix C.1. SNP Node Names .......................................................................................25
Appendix C.2. Scaling.........................................................................................................26
Appendix C.3. Server Response NAK, Major and Minor Error Codes .................................26
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 3 of 29FS-8700-66_GE-SNP Manual Page 3 of 29
1. GE_SNP Description
The GE-SNP Serial driver allows the FieldServer to transfer data to and from devices over either RS-232 or RS-485 using GE-SNP Serial protocol. The FieldServer can emulate either a Server or Client.
The FieldServer provides functions to read and write PLC memory and change the privilege level. Standard SNP mailbox messages are used. The driver does not support Datagram messages and cannot parse them. These messages are defined by the SNP protocol to allow multiple data types to be packed into one message. They are not commonly used by the HMI and 3rd party applications and are inconsistent with the FieldServer’s Write Through and Port Expander capabilities.
The driver can expose communications statistics in a Data Array so that downstream devices can monitor them.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 4 of 29FS-8700-66_GE-SNP Manual Page 4 of 29
2. Driver Scope of Supply
2.1. Supplied by FieldServer Technologies for this driver
FieldServer Technologies PART #
Description
FS-8915-10 UTP cable (7 foot) for RS-232 use FS-8917-03 RJ45 to DB9M connector adapter FS-8700-66 Driver Manual.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 5 of 29FS-8700-66_GE-SNP Manual Page 5 of 29
04
3. Hardware Connections
The FieldServer is connected to the GE PLC in one of two ways.
Almost every GE PLC has a RS-232 and RS-485 port. Possible cable configurations are illustrated below.
A converter is required to connect between RS-232 and RS-485. An example of connection configurations for the Model480TLED connector is depicted overleaf. Any equivalent connector can be used.
RS-485 port
Cable 1
RS-485 port
15 pin female
FieldServer GE-PLC
C
a
b
l
e
4
RS-232 port
Pin 1 at bottom
Cable 1
FieldServer
+
Tx
-
+
Rx
-
Gnd
RS-232 port
3
e
l
b
a
C
Cable 2
GE
10
+
Tx
-
11
12
+
Rx
-
13
7
Gnd
RJ11
Cable 2
FieldServer
Tx
Rx
Gnd
-
GE
5
Rx
Tx
2
3
Gnd
4
1
CTS
*
6
RTS
CONNECTION DIAGRAM
BASE NAME: FILE NAME:
GE SNP
DATE: 2/2/ BY: MF
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 6 of 29FS-8700-66_GE-SNP Manual Page 6 of 29
Remote Serial
Device – 4 wire
TDA(-) TDB (+)
- (A)
GND
RDB(+) RDA(-)
GND
FS-8917-01
From FieldServer
ECHO
4800
9600
19.2K
38.4K
4W/2W
4W/2W
TERM.
TB1
TB2
JP1
SD
RTS
RS- 232 TO RS-422/485
2
3
OPTICALLY ISOLATED
2
RS-232
3
CONVERTER
Recceive
4
5
7
7
B&B
Transmit
electronics
MODEL 485OTLED
J2
DB25F
21787
91035
O N
1 2 3 4 5 6 7 8
SR-422/485
422/ 485 GND
TDA(-)
TDB(+)
RDA(-)
RDB(+)
+12V
R-232
GND
Converter for Cable 3: From RS-232 on FieldServer to RS-485 on device.
Remote Serial
Device – 2 wire
+ (B)
RS-232 Device
Rx
2
Tx
3
RTS
5
GND
J2
7
Note: Pins 4&5 and pins 6,8&20 are bridged internally to allow for RS-232 devices that need hardware control.
RTS
GND
Rx
Tx
DB25F
RS-232 TO RS-422/485 OPTICALLY ISOLATED
2
3
RS-232
CONVERTER
4
7
B&B
MODEL 485OTLED
Recceive
Transmit
electronics
91035
4800
9600
O N
1 2 3 4 5 6 7 8
SR-422/485
19.2K
38.4K
TDA(-)
TDB(+)
RDA(-)
RDB(+)
422/485
+12V
R-232
GND
GND
ECHO
4W/2W
4W/2W
TERM.
JP1
TB1
TB2
Converter for Cable 4: From RS-485 on FieldServer to RS-323 on device.
CONNECTION DIAGRAM
RS-485 to RS-232 using
Model4850 TLED connector.
SD
RTS
GE SNP
FieldServer
R1 or R2
+ (B)
- (A)
GND
BASE NAME:
FILE NAME:
FS-8700-66-1
DATE: 2/16/08
BY: MC
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 7 of 29FS-8700-66_GE-SNP Manual Page 7 of 29
RJ45
g
b
w
b
y e
r
l
l
h
u
a
e
l
i
l
e
c
e
t
o
e
k
n
w
5
2
3
6
7
5 3 2 7 6
Horner
232
to
422
CPU or 2ndary port
PLC
Pri or 2ndary port
Horner
232
to
422
2
5
3
w
n
k
e t
o
e
e
c
i
l
l
e
u
a
h
r
l
l
e
g
w
b
y
b
9 pin
9 pin
9 pin
9 pin
15 pin
15 pin
Ethernet cable segment
RJ45
g
b
w
b
y e
r
l
l
h
a
u
e
l
i
l
e
c
e
t
o
e
k
n
w
5 3 2
null modem
Com1
PC
9 pin
9 pin
25 pin
GE LOGICMASTER PC Software to PLC
9 pin
RJ45
RJ45
P1-P8
Typical
FieldServer
Cable
CONNECTION DIAGRAM
GE SNP
BASE NAME: FILE NAME:
(408)-262-2299
DATE: 2/2/04 BY: MF
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 8 of 29FS-8700-66_GE-SNP Manual Page 8 of 29
4. Configuring the FieldServer as a GE_SNP 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 GE_SNP 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 GE_SNP 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
Data_Array_Name Provide name for Data Array
Data_Array_Format
Provide data format. Each Data Array can only take on one format.
Number of Data Objects. Must be
Data_Array_Length
larger than the data storage area required by the Map Descriptors for the data being placed in this array.
Example
// Data Arrays Data_Arrays Data_Array_Name, Data_Format, Data_Array_Length DA_AI_01, UInt16, 200 DA_AO_01, UInt16, 200 DA_DI_01, Bit, 200 DA_DO_01, Bit, 200
Up to 15 alphanumeric characters Float, Bit, UInt16, SInt16, Packed_Bit, Byte, Packed_Byte, Swapped_Byte
1-10,000
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Page 9 of 29FS-8700-66_GE-SNP Manual Page 9 of 29
4.2. Client Side Connection Descriptors
Section Title
Connections
Column Title Function Legal Values
Port
Protocol Specify protocol used SNP
Baud* Specify baud rate
Parity* Specify parity Data_Bits* Specify data bits Stop_Bits* Specify stop bits Handshaking* Hnadshaking is not supported Poll _Delay* Time between internal polls
Timeout
Example
// Client Side Connections
Connections Port, Protocol, Baud, Parity, Handshaking, Poll_Delay P1, SNP, 19200, Odd, None, 0.100s
GE Port Defaults
Baud 19,200 19,200 Data Bits 8 8 Parity Odd Odd Stop Bits 1 1 Max Link Idle Time 10 Secs 5 Secs
GE Port Capabilities
Baud 300, 600, 1200, 2400, 4800, 9600, 19200 Data Bits 8 Parity Odd, Even, None Stop Bits 1, 2 Max Link Idle Time 1 to 60 Secs
Specify which port the device is connected to the FieldServer
P1-P8, R1-R21
110 – 19200, standard baud rates only (Vendor limitation), 19200 Even, Odd, None, Mark, Space 7, 8
1 None
0-32000 seconds, 1 second The timeout specified for the connection is used as the data link layer timeout. It is also used as the timeout for each Map Descriptor if a timeout is not explicitly defined for a Map Descriptor.
Series 90-30 PLC’s Series 90-70 PLC’s
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-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com
Loading...
+ 20 hidden pages