Summary of the content on the page No. 1
A Sierra Monitor Company
Driver Manual
(Supplement to the FieldServer Instruction Manual)
FS-8704-13 GE-SRTP Ethernet Driver
APPLICABILITY & EFFECTIVITY
Effective for all systems manufactured after January 1, 1999
Instruction Manual Part Number FS-8704-13
Version 1.00
Revision 1.a
9/26/2002
Summary of the content on the page No. 2
FS-8704-13 GE-SRTP Driver Manual TABLE OF CONTENTS 1. GE-SRTP Driver Description ...............................................................................................................................................1 2. Driver Scope of Supply..........................................................................................................................................................2 2.1 Supplied by FieldServer Technologies for this driver............................
Summary of the content on the page No. 3
FS-8704-13 GE-SRTP Driver Manual 1. GE-SRTP Driver Description The GE-SRTP driver allows the FieldServer to transfer data to and from devices over Ethernet using GE-SRTP Driver protocol. There are two Ethernet ports standard on the FieldServer. The FieldServer can emulate either a Server or Client. The GE-SRTP driver is capable of read & writing the data tables of a GE series 90 PLC which is equipped with an Ethernet port. The driver is capable of exposing its communication
Summary of the content on the page No. 4
FS-8704-13 GE-SRTP Driver Manual 2. Driver Scope of Supply 2.1 Supplied by FieldServer Technologies for this driver UTP cable (7 foot) for Ethernet connection UTP cable (7 foot) for RS232 use RJ45 to DB9F connector adapter RJ45 to DB25M connection adapter RS485 connection adapter Driver Manual. 2.2 Provided by user GE-SRTP System. FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042 Visit our website: www.fieldserver.com
Summary of the content on the page No. 5
FS-8704-13 GE-SRTP Driver Manual 3. Hardware Connections Make sure the device IP_address is configured to be on the same IP network as on the FieldServer. Use a crossover cable if the FieldServer is connected directly to the PLC device. Use a straight cable if the FieldServer is connected to a hub. ETHERNET CPU A CPU 364 1 2 P1 P2 P3 P4 P5 P6 P7 P8 R1 R2 N1 N2 RS485 10 Base T RS232 ETHERNET P1 P2 P3 P4 P5 P6 P7 P8 R1 R2 Net 1 Net 2 Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx
Summary of the content on the page No. 6
FS-8704-13 GE-SRTP Driver Manual 4. Configuring the FieldServer as a GE-SRTP Driver Client For a detailed discussion on FieldServer configuration, please refer to the instruction manual for the FieldServer. The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer (See “.csv” files on the driver diskette). This section documents and describes the parameters necessary for configuring the FieldServer
Summary of the content on the page No. 7
FS-8704-13 GE-SRTP Driver Manual 4.2 Client Side Connections Section Title Adapter Column Title Function Legal Values Adapter Specify which port the device is N1 connected to the FieldServer Protocol Specify protocol used GE_SRTP, SRTP Example // Client Side Connections Connections Adapter, Protocol N1, SRTP 4.3 Client Side Nodes Section Title Nodes Column Title Function Legal Values Node_Name Provide name for node Up to 32 alphanumeric characters Node
Summary of the content on the page No. 8
FS-8704-13 GE-SRTP Driver Manual 4.4.2 Driver Specific Map Descriptor Parameters Column Function Legal Values Title Node_Name Name of Node to fetch data from One of the node names specified in “Client Node Descriptor” above Data_Type Data type Discrete Inputs (%I) Discrete Outputs (%Q) Use one of the Data Types specified in brackets. Discrete Temporaries (%T) Discrete Internals (%M) Genius Global Data (%G) Analog Inputs (%AI) Analog Outputs (%AQ) Registers (%R) %SA Dis cret
Summary of the content on the page No. 9
FS-8704-13 GE-SRTP Driver Manual 4.4.4 Map Descriptor Example 1 – Simple Read. 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 st called DA_DI and the first input is stored at location 100 in the array (101 element). The PLC is polled every 2 seconds Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Scan_Interval, node_name, Address, Length, Data_Type CMD_AI_
Summary of the content on the page No. 10
FS-8704-13 GE-SRTP Driver Manual 4.4.5 Map Descriptor Example 2 – Simple Write This example writes data from the Fieldserver data array called DA_AO to the PLC identified as NODE1. The write is repeated every 5 seconds. Ten word values are written to the PLC’s %AQ Data Table starting at location 20. Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Scan_Interval, node_name, Address, Length, Data_Type Write_AO , DA_AO , 0
Summary of the content on the page No. 11
FS-8704-13 GE-SRTP Driver Manual 4.4.6 Map Descriptor Example 3 – Handling Bits. This example shows how to read 1 couple of bits from a data table rather than reading a whole byte. The bits can cross byte boundaries. Here we read 2 bits from table %T starting at bit 8. This is most useful when writing to the PLC in cases where you want to turn one particular bit on or off. Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Scan_Interval, node_name, Address, Length,
Summary of the content on the page No. 12
FS-8704-13 GE-SRTP Driver Manual 5. Configuring the FieldServer as a GE-SRTP Driver Server For a detailed discussion on FieldServer configuration, please refer to the instruction manual for the FieldServer. The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer (See “.csv” files on the driver diskette). This section documents and describes the parameters necessary for configuring the FieldServer
Summary of the content on the page No. 13
FS-8704-13 GE-SRTP Driver Manual 5.2 Server Side Connections Section Title Adapter Column Title Function Legal Values Adapter Specify which port the device is N1 connected to the FieldServer Protocol Specify protocol used GE_SRTP, SRTP Example // Server Side Connections Connections Adapter, Protocol N1, SRTP FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042 Visit our website: www.fieldserver.com
Summary of the content on the page No. 14
FS-8704-13 GE-SRTP Driver Manual 5.3 Server Side Nodes Section Title Nodes Column Title Function Legal Values Node_Name Provide name for node Up to 32 alphanumeric characters Node_ID Node ID of physical server 1-255 node Protocol Specify protocol used SRTP Example // Server Side Nodes Nodes Node_Name, Node_ID, Protocol, GE_Srv_11, 11, SRTP , 5.4 Server Side Map Descriptors 5.4.1 FieldServer Specific Map Descriptor Parameters Column Title Function L
Summary of the content on the page No. 15
FS-8704-13 GE-SRTP Driver Manual 5.4.2 Driver Specific Map Descriptor Parameters Column Title Function Legal Values Data_Type Data type Discrete Inputs (%I) Discrete Outputs (%Q) Use one of the Data Types Discrete Temporaries (%T) specified in brackets. Discrete Internals (%M) Genius Global Data (%G) Analog Inputs (%AI) Analog Outputs (%AQ) Registers (%R) %SA Discrete %SB Discrete %SC Discrete %S Discrete (%S) Length Length of Map Descriptor 1 - 1000 Ensure that the le
Summary of the content on the page No. 16
FS-8704-13 GE-SRTP Driver Manual 5.4.4 Map Descriptor Example. In this example the FieldServer can respond to polls the request %R data provided that the request is in the range of address indicated below. Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, Address, Length, Data_Type Server-R-Data , TABLE_R , 0 , passive, PLC1 , 1 , 1000 ,%R Address 1 This map descriptor This map descriptor
Summary of the content on the page No. 17
FS-8704-13 GE-SRTP Driver Manual 6. Driver Notes 6.1 Driver Stats The statistics recorded by the GE-SNPX Serial Driver are slightly different from the way that Fieldserver driver normally record statistics. This difference arises from the fact that this driver is not a simple poll response driver. Bare in mind that a single poll can generate a large number of response fragments. Fragment Ack/nack messages are NOT counted as message but the bytes sent/rcvd are counted. Connection m
Summary of the content on the page No. 18
FS-8704-13 GE-SRTP Driver Manual 10GE_STAT_MBOX_NAK_MINOR 11GE_STAT_MBOX_NAK_CNT 12GE_STAT_MBOX_PROG_NUM 13GE_STAT_MBOX_SWEEP 14GE_STAT_MBOX_PLC_STAT 15GE_STAT_MBOX_PRIV_LVL 16GE_STAT_DEV_CONNECT_RESP 17GE_STAT_SESS_CONNECT_RESP 18GE_STAT_SESS_RESPONSE 19GE_STAT_DEV_RESPONSE 20GE_STA T_SLAVE_BAD_PDU 21GE_STAT_SLAVE_SENDS_BAD_MBOX 22GE_STAT_SLAVE_SENDS_OTHER_NA
Summary of the content on the page No. 19
FS-8704-13 GE-SRTP Driver Manual *SRTP:#6 FYI. Connect remaining bytes non-zero This message requires no user action. It is intended for Fieldserver support engineers. *SRTP:#7 Err. Destination request not supported. *SRTP:#8 Err. Destination response not supported. The driver has received a message that it cannot respond to. The message received is not normally associated with reading / writing table memory and can be ignored by this driver. There is no corrective action that you