EN
FieldServer logo
Official user manual

FieldServer FS-8700-66

29 pages·379 KB·Computer Drive·PDF·ENDEFRITNLJA
FieldServer FS-8700-66
Table of Contents 20 sections Driver Manual (Supplement to the FieldServer Instruction Manual) · FS-8700-66 GE SNP · APPLICABILITY & EFFECTIVITY · RJ11 · … ShowHide
Page 1 of the FieldServer FS-8700-66 user manual — Driver Manual (Supplement to the FieldServer Instruction Manual)
Page 1 · click to enlarge
Page 1
FieldServer FS-8700-66 — Driver Manual (Supplement to the FieldServer Instruction Manual) diagram (page 1)
Fig. 1 · Driver Manual (Supplement to the FieldServer Instruc…

A Sierra Monitor Company

Driver Manual (Supplement to the FieldServer Instruction Manual)

FS-8700-66 GE SNP

APPLICABILITY & EFFECTIVITY

Effective for all systems manufactured after May 1, 2001

Driver Version1.02 Document Revision: 9
Page 2 of the FieldServer FS-8700-66 user manual — Driver Manual (Supplement to the FieldServer Instruction Manual)
Page 2 · click to enlarge
Page 2
Page 2 of the FieldServer FS-8700-66 user manual — Driver Manual (Supplement to the FieldServer Instruction Manual)
Page 3 of the FieldServer FS-8700-66 user manual — Driver Manual (Supplement to the FieldServer Instruction Manual)
Page 3 · click to enlarge
Page 3
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

Page 4 of the FieldServer FS-8700-66 user manual — Driver Manual (Supplement to the FieldServer Instruction Manual)
Page 4 · click to enlarge
Page 4
2. Driver Scope of Supply

2.1. Supplied by FieldServer Technologies for this driver

FieldServer TechnologiesDescription PART # FS-8915-10UTP cable (7 foot) for RS-232 use FS-8917-03RJ45 to DB9M connector adapter FS-8700-66Driver Manual.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 5 of the FieldServer FS-8700-66 user manual — GE
Page 5 · click to enlarge
Page 5
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 15 pin female

RS-232 port RS-232 port

RJ11

Pin 1 at bottom

GE

GE SNP CONNECTION DIAGRAM

CTS 1 6 RTS *

BASE NAME: FILE NAME:

DATE: 2/2/04 BY: MF

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Show 24 more labels / short text on this page
Cable 1 · RS-485 port · FieldServer GE-PLC · Cable 4 · Cable 3 · Cable 2 · Cable 1 · FieldServer GE · + · + · Tx · Tx · - + · + · Rx · Rx · Gnd · Gnd · Cable 2 · FieldServer · Tx · Rx Tx · Rx Gnd · Gnd
Page 6 of the FieldServer FS-8700-66 user manual — RJ11
Page 6 · click to enlarge
Page 6
FieldServer FS-8700-66 — RJ11 diagram (page 6)
Fig. 2

Converter for Cable 3: From RS-232 on FieldServer to RS-485 on device.

Converter for Cable 4: From RS-485 on FieldServer to RS-323 on device.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 7 of the FieldServer FS-8700-66 user manual — PC
Page 7 · click to enlarge
Page 7

RJ45

black yellow blue white green

RJ45

6 7 2 3 5

5 3 2 7 6

black yellow blue white green

CPU or 2ndary port

PLC

Pri or 2ndary port

GE LOGICMASTER PC Software to PLC

232 to 422 9 pin

PC

RJ45

RJ45

P1-P8

GE SNP CONNECTION DIAGRAM

BASE NAME: FILE NAME:

DATE: 2/2/04 BY: MF

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Show 23 more labels / short text on this page
Ethernet cable segment · 9 pin · 9 pin · Horner · 232 to 422 · 9 pin · 9 pin · 15 pin · 25 pin · null modem · Horner · 15 pin · 9 pin · Com1 · 9 pin · yellow · white · green · black · blue · Typical FieldServer · Cable · (408)-262-2299
Page 8 of the FieldServer FS-8700-66 user manual — RJ45
Page 8 · click to enlarge
Page 8
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.

FieldServer FS-8700-66 — RJ45 diagram (page 8)
Fig. 3

Data_Array_Name Provide name for Data Array Up to 15 alphanumeric characters

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

FieldServer FS-8700-66 — RJ45 diagram (page 8)
Fig. 4

// 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

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Example

Page 9 of the FieldServer FS-8700-66 user manual — RJ45
Page 9 · click to enlarge
Page 9

4.2. Client Side Connection Descriptors

Column Title Function Legal Values

Port Specify which port the device is connected to the FieldServer P1-P8, R1-R21

Protocol Specify protocol used SNP

Baud* Specify baud rate 110 – 19200, standard baud rates only (Vendor limitation), 19200 Parity* Specify parity Even, Odd, None, Mark, Space Data_Bits* Specify data bits 7, 8 Stop_Bits* Specify stop bits 1 Handshaking* Hnadshaking is not supported None Poll _Delay* Time between internal polls 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.

FieldServer FS-8700-66 — RJ45 diagram (page 9)
Fig. 5

// Client Side Connections Connections Port, Protocol, Baud, Parity, Handshaking, Poll_Delay P1, SNP, 19200, Odd, None, 0.100s

FieldServer FS-8700-66 — RJ45 diagram (page 9)
Fig. 6
Series 90-30 PLC’sSeries 90-70 PLC’s Baud19,20019,200 Data Bits88 ParityOddOdd Stop Bits11 Max Link Idle Time10 Secs5 Secs
FieldServer FS-8700-66 — RJ45 diagram (page 9)
Fig. 7
Baud300, 600, 1200, 2400, 4800, 9600, 19200 Data Bits8 ParityOdd, Even, None Stop Bits1, 2 Max Link Idle Time1 to 60 Secs

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

Show 4 more labels / short text on this page
Section Title Connections · Timeout · Example · GE Port Defaults
Page 10 of the FieldServer FS-8700-66 user manual — RJ45
Page 10 · click to enlarge
Page 10

4.3. Client Side Node Descriptors

FieldServer FS-8700-66 — RJ45 diagram (page 10)
Fig. 8

Provide name for Node. The driver uses the Node name to establish a connection with the Server if the Node_ID is non-zero. If the Node_ID is zero then the driver ignores the Node name when logging onto the PLC and logs on using a Null name. Thus by setting the Node_ID to zero you can allow the driver to log onto a Node whose name is not known.

The parameter is used to control how the driver logs onto the PLC. Read the notes above (Node_Name)

Port Specify which port the device is connected to the FieldServer P1-P8, R1-R22

FieldServer FS-8700-66 — RJ45 diagram (page 10)
Fig. 9

// Client Side Nodes Nodes Node_Name, Node_ID, Protocol, Port PLC 1, 1, SNP, P8

4.4. Client Side Map Descriptors

4.4.1. FieldServer Related Map Descriptor Parameters

FieldServer FS-8700-66 — RJ45 diagram (page 10)
Fig. 10

Map_Descriptor_Name Name of this Map Descriptor Up to 32 alphanumeric characters

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_Offset Starting location in Data Array 0 to maximum specified in “Data Array” section above

Function Function of Client Map Descriptor RDBC, WRBC, WRBX

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

Page 11 of the FieldServer FS-8700-66 user manual — RJ45
Page 11 · click to enlarge
Page 11

4.4.2. Driver Related Map Descriptor Parameters

ColumnFunctionLegal Values Title Node Name _Name of Node to fetch data fromOne of the Node names specified in “Client Node Descriptor” above Data Type _Data typeDiscrete Inputs (%I) Discrete Outputs (%Q) Discrete Temporaries (%T) Discrete Internals (%M) Genius Global Data (%G) Analog Inputs (%AI) Analog Outputs (%AQ) Registers (%R) %SA Discrete %SB Discrete %SC Discrete %S Discrete (%S) LengthLength of Map Descriptor. Ensure that the length does not exceed the table in the PLC1-1000 AddressStarting address of read block / write block. The 1st element of each Data type Table is referred to as address one.1 , 2 , 3 Positive whole numbers Format*Use to override the default format for obtaining data. Bit tables are by default read by reading whole bytes at a time (If the Length is 10 then 10 bytes of data are read and placed in 10 Data Array locations) If you wish to read bits instead then use this parameter. (If the Length is 10 then 10 bits are read and each bit is stored in its own location.)Bit, Byte The format for %AI, %AQ and %R cannot be changed. GE Func* _This parameter is only specified when you create a write Map Descriptor to change the privilege level. If it is not specified the driver assumes the default (RW – Read/Write).CPL, RW

4.4.3. Timing Parameters

Column Title Function Legal Values Scan_Interval Rate at which data is polled ≥0.1s

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 12 of the FieldServer FS-8700-66 user manual — RJ45
Page 12 · click to enlarge
Page 12

This example provides a Map Descriptor to read 10 bytes of Discrete Input states, starting at the very first Discrete Input. The data is

stored in a Data Array called DA_DI and the first input is stored at location 100 in the array (101st element). The PLC is polled every 2

FieldServer FS-8700-66 — RJ45 diagram (page 12)
Fig. 11
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name Address Length Scan_Interval, Data_Type Read D1, DA_D1, 100, RDBC, PLC-1, 1, 10, 2.0, %1 The Node must The address and length Location in the Data have been Map Descriptor names specify the first element Array where the first Read will be defined in the may be used in driver and the number of element of data will be performed every Nodes section of error messages. It is not elements that must be stored. The arrays are 2.0s. the CSV file. essential, but it is useful read from the PLC’s zero referenced so an The Node Name to use unique names. data tables. GE PLC’s offset of 100 indicates connects this reference data tables the 101st element of the Map Descriptor Use the % symbol array. starting at element 1. to a Node which as you would if you Unless otherwise in turn connects were programming a specified, the driver The name of the Data Array RDBC = read block the Map GE PLC. reads bytes and words. in which the driver will store continuous. The driver Descriptor to a This Map Descriptor the data. The name must will read data from the port. reads bytes of data correspond to a Data Array PLC continuously. covering %I1 to %I79 defined in the Data Array section of the CSV file Data_Type%1 Scan_Interval,2.0, Length10, Address1, Node_NamePLC-1, Function,RDBC, Data_Array_Offset,100, Data_Array_Name,DA_D1, Map_Descriptor_Name,Read D1,

This example writes data from the FieldServer Data Array called DA_AO to the PLC identified as NODE1. The write is repeated

FieldServer FS-8700-66 — RJ45 diagram (page 12)
Fig. 12

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name Address Length Scan_Interval, Data_Type

29 inclusive (10 elements) Write continuously Write to the %AQ

Write_AO, DA_AO, 0, WRBC, Node1, 20, 10, 5.0, %AQ

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

every 5 seconds. Ten word values are written to the PLC’s %AQ Data Table starting at location 20.

4.4.4. Map Descriptor Example 1 – Simple Read

4.4.5. Map Descriptor Example 2 – Simple Write

seconds

Page 13 of the FieldServer FS-8700-66 user manual — RJ45
Page 13 · click to enlarge
Page 13

This example writes data from the FieldServer Data Array called DA_AO to the PLC identified as NODE1. The write is repeated

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, Address, Length, Scan_Interval, Data_Type, Format

Read_DI,, DA_T, 100, RDBC, PLC-1, 8, 2, 2.0, %T, Bit

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

The format parameter tells the driver to override the default

data type and read bits specifically. In this case the bits

are stored in the Data Array in two separate elements at

every 5 seconds. Ten word values are written to the PLC’s %AQ Data Table starting at location 20.

4.4.6. Map Descriptor Example 3 – Handling Bits

DA_T[100] and DA_T[101]

Page 14 of the FieldServer FS-8700-66 user manual — RJ45
Page 14 · click to enlarge
Page 14
5. Configuring the FieldServer as a GE_SNP 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 provided with the FieldServer).

This section documents and describes the parameters necessary for configuring the FieldServer to communicate with a GE_SNP Client.

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

5.1. Server Side Connection Descriptors

FieldServer FS-8700-66 — RJ45 diagram (page 14)
Fig. 13

Port Specify which port the device is connected to the FieldServer P1-P8, R1-R23

Baud* Specify baud rate 110 – 115200, standard baud rates only

Parity* Specify parity Even, Odd, None, Mark, Space Data_Bits* Specify data bits 7, 8 Stop_Bits* Specify stop bits 1 Handshaking* Specify hardware handshaking RTS, RTS/CTS, None Poll Delay Time between internal polls. 0-3200s, 1s Example // Server Side Connections Connections Port, Protocol, Baud, Parity, Handshaking P1, SNP, 19200, Odd, None

FieldServer FS-8700-66 — RJ45 diagram (page 14)
Fig. 14

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

Page 15 of the FieldServer FS-8700-66 user manual — P1-P8, R1-R2 4
Page 15 · click to enlarge
Page 15

5.2. Server Side Node Descriptors

Column Title Function Legal Values

The Node name is used differently in a Server Node Provide name for Node. The driver uses the Node name to establish a connection with the Server if the Node_ID is non- zero. See Section 6.3 for additional information.

Up to 32 alphanumeric characters

The parameter is used to control how the driver logs onto the PLC. Read the notes above (Node_Name)

Protocol Specify protocol used SNP.

In a number of FieldServer configurations it is common to omit the port when defining a Server Node this cannot be done with the SNP protocol unless the FieldServer is to be used to emulate only one Node and is not polling any other SNP devices.

P1-P8, R1-R2 4

Example // Server Side Nodes Nodes Node_Name, Node_ID, Protocol, Port PLC 1, 1, SNP, P8

FieldServer FS-8700-66 — P1-P8, R1-R2 4 diagram (page 15)
Fig. 15

4 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

Show 5 more labels / short text on this page
Section Title Nodes · Node_Name · Node_ID · 0,1 · Server_Hold_Timeout*
Page 16 of the FieldServer FS-8700-66 user manual — N/A
Page 16 · click to enlarge
Page 16

5.3. Server Side Map Descriptors

5.3.1. FieldServer Specific Map Descriptor Parameters

FieldServer FS-8700-66 — N/A diagram (page 16)
Fig. 16

Map_Descriptor_Name Name of this Map Descriptor Up to 32 alphanumeric characters

Data_Array_Name 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_Offset Starting location in Data Array 0 to maximum specified in “Data Array” section above

5.3.2. Driver Specific Map Descriptor Parameters

Column Title Function Legal Values

One of the Node names specified in “Client Node Descriptor” above

Node_Name Name of Node to fetch data from

Discrete Inputs (%I) Discrete Outputs (%Q) Discrete Temporaries (%T) Discrete Internals (%M) Genius Global Data (%G) Analog Inputs (%AI) Analog Outputs (%AQ) Registers (%R) %SA Discrete %SB Discrete %SC Discrete %S Discrete (%S)

Data type Use one of the Data Types specified in brackets.

Length of Map Descriptor Ensure that the length does not exceed the table length in the PLC.

1. 1000

Starting address of read block / write block The 1st element of each Data type Table is referred to as address one.

1 , 2 , 3 Positive whole numbers

Has no meaning on the Server as the driver responds based on the nature of the request If the Client requests byte data then the one byte is obtained from each array element. If the Client requests bits then one bit state is obtained from each array element.

N/A

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Show 4 more labels / short text on this page
Data_Type · Length · Address · Format
Page 17 of the FieldServer FS-8700-66 user manual — N/A
Page 17 · click to enlarge
Page 17

5.3.3. Timing Parameters

Column Title Function Legal Values

Scada_Hold_Timeout Specifies time Server side waits before responding to Client that Node is offline on FieldServer Client side. >1.0s

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 18 of the FieldServer FS-8700-66 user manual — N/A
Page 18 · click to enlarge
Page 18

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, Address, Length, Data_Type

This Map Descriptor will

be used to process

Register (%R) data.

Server-R-Data, TABLE_R, 0, Passive, PLC-1, 1, 1000, %R

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

This Map Descriptor can be

used to respond to a poll

that reads and writes to

addresses 1 to 1000. If a

poll attempts to read data at

address 1001, then if no

other Map Descriptor covers

that address space, a “no

datas” response will be sent.

This is a Server. It

responds to polls but

does no active work

itself.

to offset 0 (1st location)

in the array. If Client

reads %R15 then driver

responds with data from

5.3.4. Map Descriptor Example.

element 14 of the array.

If the Client is reading

then response data will

be obtained from this

table. If the Client is

will be stored in this

Show 4 more labels / short text on this page
Client read/writes of · Address1 corresponds · writing, incoming data · array
Page 19 of the FieldServer FS-8700-66 user manual — N/A
Page 19 · click to enlarge
Page 19

Appendix A. Troubleshooting Tips

  • Every 2 nd message Times Out A possible cause is that the poll frequency is so low that the time between polls is greater than the Max Link Idle Time (of the PLC). If the time is exceeded the connection is closed. Thus when the next poll is received by the PLC it ignores it and hence it times out in the FieldServer. After timing out, the driver re-establishes the connection for the next poll.
  • Very slow Comms Rate A timer known as the T1 timer is the minimum time that must pass before a response to a message can be sent. Both ends of a SNP connection have their own T1 timer (hard coded in the driver). When a connection is made the timers are exchanged and the larger of the two is used. The drivers T1 timer is set to a very small number. SNP message #6 indicates the size of the T1 timer. You may need to configure the PLC to improve communications.
  • Multidrop RS-485 networks. SNP protocol specifies that their may only be one master on a network at a time. When using nameless Nodes (Node_id=0) there may be one and only one PLC on the connection.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 20 of the FieldServer FS-8700-66 user manual — N/A
Page 20 · click to enlarge
Page 20

Appendix B. Error Messages

Message Explanation SNP:#1 FYI. The MapDesc called is too short.

The length of the Map Descriptor defined to expose driver statistics must be at least 660.5 SNP:#2 FYI. You could have used a MapDesc called to expose diagnostic info.

You may safely ignore this message. Read Appendix B.1 for information on how to expose the driver’s communication statistics using a Data Array.

The driver is required to use the larger of its own or the PLC’s T1 (Inter message) timer. This message is produced when the PLC returns a T1 timer that is larger than the driver’s timeout. Using this timer will mean that every message will timeout. Increase the timeout for the Node, connection or Map Descriptor as appropriate.5

SNP:#3 FYI. SNP device requires inter msg timer < timeout. Nid=.

A connection request has been received for the Node named in the error message but this Node has not been defined in the CSV file. The connection has not been established.5

SNP:#4 Error. Cant emulate Node=

This could result from a corrupted message or it may indicate an unexpected/unsupported aspect of the SNP protocol. If the message occurs frequently, take a log and report the error to FieldServer.

SNP:#5 Err. Total bytes expected/rcvd=%d/%d

This message requires no action. It reports the T1 timer value selected by the slave in milliseconds. If the value is large then this will slow the communications rate and you may wish to reconfigure the slave. SNP:#7 FYI. T1 timer reset to mSec.

SNP:#6 FYI. T1 timer set to mSec.

This is the FieldServer slave reporting its T1 timer after a Client has established a connection No action is required. SNP:8 FYI. Subsequent connect response ignored. NName=

No action is required. A Client has attempted to re- establish a connection that is already open.

This message uses two lines of the error log. It is printed when a slave declines a request. The major and minor faults are reported. These numbers are printed in hexadecimal. See Appendix C.3 for further details. The message reports the Map Descriptor which generated the rejected poll, the data type, the address and the number of elements being requested. Often this message will be the result of a poll that requests data past the end of a PLC data table or when the length is based on a bit count but the poll actually requests bytes.5

SNP:9 Err. Device declined request. Mjr=%x(h) Min=%x(h) Possible Offending Poll = addr=%d length=%d

This message is reported when the driver receives an unexpected SNP message. Record this information, take a log and report the error to FieldServer.

SNP:10 Err. Wrong msg type=%d(h) mbox=%x(h)

5 Edit the CSV, correct the problem and reset the FieldServer

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 21 of the FieldServer FS-8700-66 user manual — N/A
Page 21 · click to enlarge
Page 21

The length of some messages is variable and is dependent on settings or the particular implementation of the SNP. Normally this driver adjusts to use the largest size required by a Client or slave response but this message indicates that the driver’s maximum had been reached. The data has been discarded so it is important that the situation be remedied. The data type, address and the number of elements being requested are reported. Two possible solutions exist. Change the Client’s communications configuration and reduce the size of the text buffer length to 4096 bytes. Create two Map Descriptors that each read half the data.

SNP:11 Err. Max Tbuf Len. FieldServer cant go bigger than %d bytes Possible Offending Poll = addr=%d length=%d

This message requires no response. It indicates that the slave requires a longer text buffer than the driver’s default. The driver has adjusted its buffer to the new length indicated.

SNP:12 FYI. Max Tbuf Len. FieldServer != Device. Changed FieldServer to %d bytes

The driver has received an unexpected reply in response to a poll. Make a log, record the values reported in this message and contact FieldServer for support.

SNP:13 Err. Wrong msg type=%d(h) mbox=%x(h)

The driver has been polled by a Client and it has received an unexpected message. If the error occurs repeatedly then make a log, record the values reported in this message and contact FieldServer for support. There are a few variations of this message but they all indicate the same problem. SNP:#15 FYI. Node Station - forcing to 0

SNP:#14 Error. Attach Response. Unexpected !

The Node_ID has not been defined for a SNP Node. Read the notes in Appendix B.1 and in sections 4.3 and 5.2. 6 SNP:#16 Err. Addresses start at 1. MapDesc= GE devices number the elements of data tables starting at element 1.6 SNP:#17 Err. MapDesc= has bad data type. SNP:#18 Err. MapDesc= has bad data type.

Refer to section 4.4.2 for a list of valid data types.6

SNP:#19 Err. Mapdesc= has invalid length.

A Map Descriptor must have a length. The minimum length is “1”. 6 SNP:#20 Err. do diagnostic x SNP:#21 Err. do diagnostic x

If you see this error, report it to FieldServer tech support. The message is produced when a QA diagnostic is produced and should only ever be seen during testing by FieldServer Inc. SNP:#23 Err. Illegal Node_ID [%d] - Set to 1 Legal Node_ID’s are 0-65535.6

SNP:#22 Err. do diagnostic x

The CPU Id is a max 10 characters including the terminating Null character. The driver has found one that isn’t correctly formatted. This error may be ignored. It will not affect operation of the driver. It does mean the driver cannot store the name of the connected device in the stats array.

GE_SNP:#24 FYI. Parse Error: Attach: CPU ID is not Null terminated.

6 Edit the CSV, correct the problem and reset the FieldServer

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Message Explanation

Page 22 of the FieldServer FS-8700-66 user manual — N/A
Page 22 · click to enlarge
Page 22

Appendix B.1. Driver Stats

The statistics recorded by the GE-SNP Serial Driver are slightly different from the way that FieldServer driver normally records statistics. This difference arises from the fact that this driver is not a simple poll response driver. Bear in mind that a single poll can generate a large number of response fragments. Fragment Ack/nack messages are NOT counted as messages but the bytes sent/rcvd are counted. Connection messages are counted as messages and the bytes sent/rcvd are counted. This driver can expose these and additional statistics by writing data to a Data Array. A special Map Descriptor is required. The driver recognizes the Map Descriptor by its name which must be "SNP-stats”.

ExampleConfiguration of this special Map Descriptor

Nodes Node_Name, Protocol Null_Node, SNP Data_Arrays Data_Array_Name, Data_Format, Data_Array_Length SNP_STATS , UINT32 , 660 Map_Descriptors Map_Descriptor_Name, Data_Array_Name, Node_Name, Length snp-stats , SNP_STATS , Null_Node , 660 When the driver sees this Map Descriptor it uses the Data Array SNP_STATS (in this example) to store driver specific statistics. Only one of these Map Descriptors may be specified (per tier) per FieldServer. The driver stores the following stats for each port.. The offset into the Data Array can be found by multiplying the port number by 60

FieldServer FS-8700-66 — N/A diagram (page 22)
Fig. 17

0 GE_STAT_CPU_ID This is 10 bytes long. The numbers placed here correspond to the ASCII characters of the responding Node's name.

11 GE_STAT_T1_TIMER The current value of the T1 timer is reported here. The driver uses the larger of its own and the slave T1 Timer. 12 GE_STAT_MBOX_NAK_MAJOR 13 GE_STAT_MBOX_NAK_MINOR Most recent Mailbox Nak error code. See additional table below 14 GE_STAT_MBOX_NAK_CNT Mailbox Nak error Count 15 GE_STAT_MBOX_PROG_NUM 16 GE_STAT_MBOX_SWEEP Most recent Piggyback info

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 23 of the FieldServer FS-8700-66 user manual — 37 GE_STAT_DRV_ACT_NO_MAPDESC_R
Page 23 · click to enlarge
Page 23

17 GE_STAT_MBOX_PLC_STAT 18 GE_STAT_MBOX_PRIV_LVL

19 GE_STAT_NO_NODES If a poll for a SNP Node is received and there are no Nodes defined or there is no matching Node.

20 GE_STAT_CONNECT_ATTEMPT Counts the number of time a connection attempt is made

21 GE_STAT_CONNECT_RESPONSE Counts the number of times the driver responds to connection attempts when acting as a Server

22 GE_STAT_CONNECT_NO_RESPONSE Counts the number of connection attempts that timed out.

23 DRV_DLL_CLIENT_SENDS_MSG Counts the number of connection and poll messages sent by the Client (whole messages only)

Counts the number of simple ack/nak’s sent by Client. These ack/nak’s indicate messages if formatted correctly, however the device can not necessarily respond to the request.

24 DRV_DLL_CLIENT_SENDS_ACKNAK

25 DRV_DLL_CLIENT_SENDS_BYTES Byte count includes ack/nak's sent and all fragments and connection 26 DRV_DLL_SERVER_SENDS_MSG 27 DRV_DLL_SERVER_SENDS_ACKNAK 28 DRV_DLL_SERVER_SENDS_BYTES Same as for Client

29 DRV_DLL_CLIENT_RCVS_MSG Counts ack/nak’s, and all message fragments excluding attach responses 30 DRV_DLL_CLIENT_RCVS_BYTES Byte count from above messages

31 DRV_DLL_SERVER_RCVS_MSG Counts message fragments and ack/nak’s rcvd from Client but excludes Client responses to Server fragments 32 DRV_DLL_SERVER_RCVS_BYTES Byte count for above messages

33 DRV_DLL_TIMEOUT Count of timeouts caused by no response or ic_timeout at the DLL layer

34 DRV_DLL_ERROR Count of the number of times that the DLL layer went into an error state.

35 DRV_DLL_ERROR_CODE The error code from the most recent DLL error is stored here.

36 GE_STAT_DRV_ACT_NODE_OFFLINE_R Corresponds to slave driver actions in responding to a poll. The polled Node is offline.

Corresponds to slave driver actions in responding to a poll. There is no Map Descriptor that can be used to process the poll from the Client.

37 GE_STAT_DRV_ACT_NO_MAPDESC_R

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

NoMessage Description

Page 24 of the FieldServer FS-8700-66 user manual — 39 GE_STAT_DRV_ACT_NO_NODE_R
Page 24 · click to enlarge
Page 24

38 GE_STAT_DRV_ACT_NO_DATA_R Corresponds to slave driver actions in responding to a poll. There is no data available.

Corresponds to slave driver actions in responding to a poll. This should never happen as a connection would have been refused.

39 GE_STAT_DRV_ACT_NO_NODE_R

40 GE_STAT_DRV_ACT_NAK_R The slave cannot respond to a poll for one of the reasons above.

41 GE_STAT_DRV_ACT_NORMAL_R The Server has responded to a poll normally

42 GE_STAT_CD_UPD_CHECK A message is invalid because the checksum failed.

43 GE_STAT_CD_UPD_FUNCTION A message is invalid because the message type is not known.

44 GE_STAT_CD_UPD_NO_START A message is invalid because it begins with the wrong codes.

45 GE_STAT_CD_UPD_PROTO A message is invalid because it is unexpected in its current context or some other reason.

46 GE_STAT_CLIENT_SENDS_FRAG Counts the number of read/write message fragments sent by the Client.

47 GE_STAT_CD_UPD_IC_TIMEOUT Counts the number of times that an IC timeout error occurred at the DLL layer

48 GE_STAT_CD_UPD_MSG_IGNORED Counts the number of times a message was ignored. A message will be printed to the error log with the reason.

49 GE_STAT_CD_UPD_NAK Counts the number of times that the slave received a short nak from the Client

50 GE_STAT_CD_UPD_STREAMING Counts the number of times the DLL layer's buffer was too full to process additional incoming data.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

NoMessage Description

Page 25 of the FieldServer FS-8700-66 user manual — 39 GE_STAT_DRV_ACT_NO_NODE_R
Page 25 · click to enlarge
Page 25

Appendix C. Advanced Topics

Appendix C.1. SNP Node Names

The following notes describe how the Node name is used when the FieldServer is acting as a Server. When a Client attempts to establish a connection it may do so by sending the name of the Node it wishes to connect to or by sending a Null Node name. If the Client sends a Null Node name then the FieldServer will connect if any SNP Nodes have been defined for the same port as the Client using the Null name. In such a case the Node must be connected to a port (This is not always common with FieldServer Server configurations).

Example: Client uses Null name connection. In this case Node must be connected to the Client’s port; the Node name is ignored and only one SNP Node per port.

Ports Port, baud P1 , …. Nodes Node_Name, Port Node1, P1 If the Client uses the Node name during a connection attempt then the FieldServer uses the name to find a matching Node. The name must be an exact match. If a match is found then the connection can be established. In this case the Node does not have to be tied to a particular port and thus one Node could respond to different Clients polling it on different ports. If this method is used and the Node is tied to a port then the Client must poll on the same port.

Example: Client uses a specific name to connect. In this case provided there is a Node with a matching name the connection will be made

Ports Port, baud …. P1, …. Nodes Node_Name, Protocol Node1, SNP

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 26 of the FieldServer FS-8700-66 user manual — 39 GE_STAT_DRV_ACT_NO_NODE_R
Page 26 · click to enlarge
Page 26

Appendix C.2. Scaling

Scaling was added in version 1.02a and is not supported for earlier versions. Scaling is applied by the driver when bytes and registers are stored. When bit data is transferred in bit format than scaling is not applied. When bit data is transferred using bye format’s then scaling may be applied. Scaling is applied using the FieldServer’s standard Map Descriptor parameters.

Data_Array_Low_Scale, Data_Array_High_Scale, Device_Low_Scale, Device_High_Scale

Appendix C.3. Server Response NAK, Major and Minor Error Codes

From version 1.02c the when the Server responds with a MailBox Nak it now allocates different Major and Minor error codes to differentiate the NAK reasons. 0x05 0xbe No Such Node The request Node is not known by the Server. 0x05 0xbd No Data The Data age is greater than the CACHE_AGE setting. 0x05 0xbc Other Problems Eg. No Server MD’s defined for requested data.

Major Error Status Codes

Error Status Description 01h Illegal Service Request: Either not defined or not supported.

02h Insufficient Privilege: Minor status field contains the privilege level required for the service request 04h Protocol Sequence Error: The CPU has received a message that is out of order.

05h Service Request Error: Minor status field contains the request specific error code. See table of Minor Error Status Codes below.

06h Illegal Mailbox Type: Service request mailbox type is either undefined or unexpected. 07h The PLC CPU's Service Request Queue is full. The master should retry later.

It is recommended that the master wait a minimum of 10 ms before sending another service

Minor Error Status Codes

FieldServer FS-8700-66 — 39 GE_STAT_DRV_ACT_NO_NODE_R diagram (page 26)
Fig. 18

Decimal Hex Description -1 0FF Service request has been aborted. -2 0FE No privilege for attempted operation. -3 0FD Unable to perform auto configuration. -4 0FC I/O configuration is invalid. -5 0FB Cannot clear I/O configuration. -6 0FA Cannot replace I/O module. -7 0F9 Task address out of range. -8 0F8 Invalid task name referenced. -9 0F7 Required to log in to a task for service.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 27 of the FieldServer FS-8700-66 user manual — 39 GE_STAT_DRV_ACT_NO_NODE_R
Page 27 · click to enlarge
Page 27

Decimal Hex Description -10 0F6 Invalid sweep state to set. -11 0F5 Invalid password. -12 0F4 Invalid input parameter in request. -13 0F3 I/O configuration mismatch. -14 0F2 Invalid program cannot log in. -15 0F1 Request only valid from programmer. -16 0F0 Request only valid in stop mode. -17 0EF Programmer is already attached. -18 0EE Could not return block sizes. -19 0ED VMEbus error encountered. -20 0EC Task unable to be created. -21 0EB Task unable to be deleted. -22 0EA Not logged in to process service request. -23 0E9 Segment selector not valid in context. -24 0E8 No user memory is available to allocate. -25 0E7 Configuration is not valid. -26 0E6 CPU model number does not match. -27 0E5 DOS file area not formatted. -28 0E4 Segment for this selector does not exist. -29 0E3 CPU revision number does not match. -30 0E2 IOS could not delete configuration or bad type. -31 0E1 No I/O configuration to read or delete. -32 0E0 Service in process cannot login. -33 0DF Invalid Datagram connection address. -34 0DE Size of Datagram connection invalid. -35 0DD Unable to locate given connection ID. -36 0DC Unable to find connection address. -37 0DB Invalid segment selector in Datagram. -38 0DA Null pointer to data in segment selector. -39 0D9 Transfer type invalid for this selector. -40 0D8 Point length not allowed. -41 0D7 Invalid Datagram type specified. -42 0D6 Datagram connection boundary exceeded. -43 0D5 Invalid block name specified in Datagram. -44 0D4 Mismatch of configuration checksum. -45 0D3 User Program Module (UPM) read or write exceeded block end. -46 0D2 Invalid write mode parameter. -47 0D1 Packet size or total program size does not match input. -48 0D0 One or more PLC modules configured have unsupported revision. 49 0CF Specified device is unavailable in the system (not present). -50 0CE Specified device has insufficient memory to handle request. -51 0CD Attempt was made to read a device but no data has been stored on it. -52 0CC Data stored on device has been corrupted and is no longer reliable. -53 0CB A comm or write verify error occurred during save or restore. -54 0CA Device is write protected. -55 0C9 Login using non-zero buffer size required for block commands. -56 0C8 Password(s) already enabled and cannot be forced inactive. -57 0C7 Passwords are set to inactive and cannot be enabled or disabled. -58 0C6 Control Program (CP) tasks exist but requestor not logged into main CP. -59 0C5 No task-level Rack/Slot configuration to read or delete. -60 0C4 Verify with FA Card or EEPROM failed. -61 0C3 Text length does not match traffic type.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Page 28 of the FieldServer FS-8700-66 user manual — 39 GE_STAT_DRV_ACT_NO_NODE_R
Page 28 · click to enlarge
Page 28

Decimal Hex Description -62 0C2 The OEM key is NULL (inactive). -63 0C1 Invalid block state transition. -64 0C0 Bad OMF record checksum in store. -65 0BF Illegal OMF record type/data contents. -66 0B Bad Block Type given in Load/Store. -67 0BD Block Set (subblock name) not found. -68 0BC Block Type (e.g., data) not found. -69 0B Maximum length of a partial store exceeded. -70 0B Block Set already exists, cannot create. -71 0B9 Executable flag in TYPDEF record not set. -72 0B8 Size of the Segment Selector Table in TYPDEF record is not correct. -73 0B7 Segment length in Verify not equal to the segment length of block in the PLC. -74 0B6 Cyclic Redundancy Check (CRC) checksum comparison in Verify failed. -75 0B5 Additive checksum comparison in Verify failed. -76 0B4 Attempt to alter interrupt list in MAIN DECL BLOCK during RUN MODE. -77 0B3 Length limit exceeded; includes read past end of transferred data, writes past ofprogram block. -78 0B2 Program block already exists and cannot be replaced. Minor Error Status Codes: Program Load and Store Requests

80 50 Problem with sending mail to the slave Service Request task. (Series 90-70 PLC CPUs only).

81 51 Problem with getting mail from the slave Service Request task. (Series 90-70 PLC CPUs only).

85 55 Slave SNP task timed out before receiving SRP response. (Series 90-70 PLC CPUs only).

86 56 Slave SNP task could not find the requested Datagram connection. (Series 90-70 PLC CPUs only).

87 57 Slave SNP task encountered an error in trying to write the Datagram. (Series 90- 70 PLC CPUs only).

88 58 Slave SNP task encountered an error in trying to update the Datagram. Series 90-70 PLC CPUs only).

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Decimal, Hex, Description

Page 29 of the FieldServer FS-8700-66 user manual — THIS PAGE INTENTIONALLY LEFT BLANK
Page 29 · click to enlarge
Page 29

THIS PAGE INTENTIONALLY LEFT BLANK

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com

Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the FieldServer FS-8700-66

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the FieldServer FS-8700-66

Be the first to ask — other owners or our team will answer.

Original document

FieldServer FS-8700-66 manual PDF

29 pages·379 KB·Computer Drive·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…