background image

FS-8704-14 EtherNet/IP Manual 

 

 

 

 

 

 

 

Page 7 of 30 

FieldServer Technologies

 1991 Tarob Court Milpitas, California 95035 USA   

Web

: www.fieldserver.com 

Tel

: (408) 262 2299   

Fax

: (408) 262 2269   

Toll Free

: (888) 509 1970   

email

: [email protected] 

5

 

CONFIGURING THE FIELDSERVER AS AN ETHERNET/IP 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. 

This section documents and describes the parameters necessary for configuring the FieldServer to communicate 
with an EtherNet/IP Server. 

 

The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable 
the FieldServer for EtherNet/IP 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. 

5.1

 

Client Side Connection Descriptions  

Section Title 
Adapter 
Column Title 

Function 

Legal Values 

Adapter 

Adapter Name 

N1, N2

Protocol 

Specify protocol used 

EtherNet/IP 

Example 

//    Client Side Connections   
 

 

Adapters 

 

Adapter 

, Protocol 

N1 

, EtherNet/IP 

 

5.2

 

Client Side Node Descriptors

3

 

Section Title 
Nodes 
Column Title 

Function 

Legal Values 

Node_Name 

Provide name for node 

Up to 32 alphanumeric characters 

IP_Address 

Address of Server 

Any valid address on subnet 

Protocol 

Specify protocol used 

EtherNet/IP 

Adapter 

Specify port Adapter used 

N1, N2

2

 

Plc_Type* 

Specify  the  type  of  remote  PLC.    Only 
required for PCCC Services 

MicroLogix, SLC5, 

PLC5

 

 

                                                                 

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. 

3

 Only one explicit connection is created per node.  All explicit Map Descriptors attached to that node will use the same explicit connection. 

Содержание FS-8704-14 EtherNet

Страница 1: ...Company APPLICABILITY EFFECTIVITY Effective for all systems manufactured after November 2011 Driver Manual Supplement to the FieldServer Instruction Manual FS 8704 14 EtherNet IP Driver Version 1 05 Document Revision 2 ...

Страница 2: ...ng the FieldServer as an EtherNet IP Server 12 6 1 Server Side Connection Descriptors 12 6 2 Server Side Node Descriptors 3 12 6 3 Server Side Map Descriptors 13 6 3 1 FieldServer Specific Map Descriptor Parameters 13 6 3 2 Server Specific Map Descriptor Parameters Unconnected Messages 13 6 3 3 Server Specific Map Descriptor Parameters Data Table Read Write 14 6 3 4 Driver Related Map Descriptor P...

Страница 3: ... 2269 Toll Free 888 509 1970 email support fieldserver com Appendix C Vendor Information 25 Appendix C 1 ControlLogix 25 Appendix C 2 Connection information Allen Bradley Message Blocks 25 Appendix C 3 FieldServer not recognised by RSlinx 25 Appendix D Reference 26 Appendix D 1 Error Messages 26 Appendix D 2 Classes and Attributes Supported 26 Appendix D 3 Error Codes 29 ...

Страница 4: ...tested at the FST factory using a PLC5 I785 ENET card The following data types were tested N F S The Driver also supports PCCC communication on SLC and MicroLogix Tested on MicroLogix 1400 Device Fragmented Services 0x52 is not supported by this driver The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer 1 ...

Страница 5: ...le to connect an EtherNet IP device to either port N1 or N2 1 on the FieldServer These ports must just be configured to use EtherNet IP in the configuration file FieldServer FieldServer Part 8915 10 UTP cable Connect to an Ethernet Port on the FieldServer N1 1 8 Hub Router Remote Ethernet IP Device 1 Not all ports shown are necessarily supported by the hardware Consult the appropriate Instruction ...

Страница 6: ...o facilitate correct storage of the relevant data Section Title Data_Arrays Column Title Function Legal Values 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 FLOAT BIT UInt16 SInt16 Byte Data_Array_Length Number of Data Objects Must be larger than the data storage area required by the Ma...

Страница 7: ...de 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 5 1 Client Side Connection Descriptions Section Title Adapter Column Title Function Legal Values Adapter Adapter Name N1 N2 2 Protocol Sp...

Страница 8: ...sages Column Title Function Legal Values EIP_Service The action to be performed Get_Attrib Set_Attrib EIP_Class Class to be polled One of the classes supported by the driver Refer to Appendix A 4 EIP_Attribute Attribute associated with the class given See particular attributes of each class Refer to Appendix A 4 EIP_Con_Typ The type of data transfer required Also referred to as the Transport Metho...

Страница 9: ...d in the specified format which may be different to the format of the tag being polled If the parameter is not set the Data Type of the Data Array will be used This parameter is only applicable to Data Table Write when FieldServer is the Client The Data Type of the Data Array will be used for Data Table Reads when the FieldServer is the Client Refer to Appendix A 4 for more information Float Uint1...

Страница 10: ...twork Any space delimited numerical value Refer to vendor s device documentation Also see Appendix A 3 0 0 File_Type Allen Bradley file type N Integer F Float O Output B Boolean I Input S Status File_Number Allen Bradley file number Any valid numerical value Length Number of data elements to be mapped If the number of data elements exceeds the Map Descriptor length the list of data elements will b...

Страница 11: ..._02 0s DA_AI_01 1 Rdbc Unconnected EIP_01 10 2 3 Get_Attrib 1 5 3 7 Map Descriptor Example 2 Data Table Messages Client Side Map Descriptors Map_Descriptors Map_Descriptor_Name Scan_Interval Data_Array_Name Data_Array_Offset EIP_Con_Typ Node_Name Function EIP_Service EIP_Path EIP_Tag_Name Length Cmd_Pro_09 0s DA_AI_05 0 Explicit EIP_01 Rdbc Data_Table_Read 1 1 analog_in_3 2 Cmd_Pro_10 0s DA_AI_06 ...

Страница 12: ...n 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 Client 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 6 1 Server Side Connection Descriptors S...

Страница 13: ..._Timeout Specifies the length of time that the FieldServer will reserve the Server side connection while waiting for the Client side to update data in Data Array if necessary 1 0s 6 3 2 Server Specific Map Descriptor Parameters Unconnected Messages Column Title Function Legal Values EIP_Service The action to be performed Get_Attrib Set_Attrib EIP_Class Class to be served One of the classes support...

Страница 14: ...e will be printed once per Map Descriptor Refer to Appendix D for further information For any given Map Descriptor there can be 200 Floats 400 Integers or 800 Bytes EIP_Structure_Handle This parameter is required only for read structures i e where EIP_Service is Data_Table_Read The driver supports read structures having members of same type i e all members are of type Byte Uint16 Uint32 or Float e...

Страница 15: ... Get_Attrib 1 SMD_PRO_02 DA_AI_01 1 Passive EIP_01 10 2 3 Get_Attrib 1 6 3 6 Map Descriptor Example 2 Data Table Messages Server Side Map Descriptors Map_Descriptors Map_Descriptor_Name Data_Array_Name Data_Array_Offset Node_Name Function EIP_Service EIP_Tag_Name Length SMD_PRO_09 DA_AI_05 0 EIP_01 Passive Data_Table_Read Analog_in_3 2 SMD_PRO_10 DA_AI_06 0 EIP_01 Passive Data_Table_Read Analog_in...

Страница 16: ... data The default Data Type of stored data is determined by the Data Type of the Data Array It is possible to configure the driver to store the data as a different type This can be achieved by specifying the data type under the parameter EIP_Data_Type Note that the EIP_DATA_TYPE parameter has meaning only for DATA_TABLE_WRITE where the FieldServer is the Client and for DATA_TABLE_READ where the Fi...

Страница 17: ...nections Adapter Protocol Turnaround_delay N1 Ethernet IP 0 01s Server Side Nodes Nodes Node_Name Protocol EIP_01 Ethernet IP Server Side Map Descriptors Map_Descriptors Map_Descriptor_Name Data_Array_Name Data_Array_Offset Node_Name Function EIP_SERVICE EIP_TAG_NAME Length FS_TO_PLC_DATA DA_Read 0 EIP_01 Passive DATA_TABLE_READ Read_Data 20 PLC_TO_FS_DATA DA_Write 0 EIP_01 Passive DATA_TABLE_WRIT...

Страница 18: ...r read and write data Step 2 Configure Message Tags for storage of Message Block data Step 3 Write Ladder Logic to exercise a Read and Write Message Block NOTE It is important to use the Ladder logic to ensure that only one Message block can be executing at any time Tag Length Must be equal to or greater than the number of points being written read MESSAGE Data Type must be used Avoid Using UDT Ty...

Страница 19: ... at a time Step 5 Download the program and set the PLC to Run Mode Remote FieldServer Tag Configured in the FieldServer see example above Local PLC Tag configured in the PLC Tag List see example above Local PLC Tag configured in the PLC Tag List see example above Remote FieldServer Tag configured in the FieldServer see example above Number of points transferred from FieldServer to PLC regardless o...

Страница 20: ...criptors will create an explicit connection to the server and will then transfer data in the data table format The EIP_Tag_Name field contains the tag name referenced in the server and the EIP_Path field represents the path through different ports to the server Each port jump is separated by a space This field generally holds a backplane cpu slot combination DATA_TABLE_READ and DATA_TABLE_WRITE ar...

Страница 21: ...l N1 Ethernet IP Client Side Nodes Nodes Node_Name IP_Address Protocol Adapter EIP_01 192 168 1 9 Ethernet IP N1 Client Side Map Descriptors Map_Descriptors Map_Descriptor_Name Scan_Interval Data_Array_Name Data_Array_Offset EIP_CON_TYP Node_Name Function EIP_SERVICE EIP_PATH EIP_TAG_NAME Length PLC_TO_FIELDSERVER 0 1 DA_Read 0 EXPLICIT EIP_01 Rdbc DATA_TABLE_READ 1 0 FS_Status 20 FIELDSERVER_TO_P...

Страница 22: ...Handle field while writing the structure to them This value may be specified in the vendor documentation If any non zero integer is used in a Read Map Descriptor for EIP_Structure_Handle the value will be updated internally The Map Descriptor can then be browsed to obtain this value Other devices do not validate this field when the structure is written by the third party device A summary of the pr...

Страница 23: ...ogix SSS_SINT3 with 3 members of each type SINT SSS_SINT3 SINT room1_temp SINT room2_temp SINT room3_temp Now he has his own type SSS_SINT3 and he can define tags TAG_3ROOM_TEMPS of type SSS_SINT3 Read write structures Map_Descriptors Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function EIP_CON_TYP Node_Name EIP_SERVICE EIP_Path EIP_TAG_NAME EIP_Structure_Handle Length Scan_Interval CMD_...

Страница 24: ...B Troubleshooting Appendix B 1 Firmware Update Downloading If you are trying to update firmware and continuously get failed messages it might be due to the traffic on the N1 or N2 ports EtherNet IP is a high traffic protocol and once a connection is created continuous data transfer occurs In this situation the best way to download new firmware would be to manually disconnect the scanner or adapter...

Страница 25: ...xample on the Server Side If Server map 1 N21 0 31 Server map 2 N21 32 100 This will panic the FieldServer and crash RS view as the DH will attempt to map N21 0 100 If set up as Server Map 1 N21 0 100 no problems are experienced Similarly on the Client Side it is not possible to read sections e g 32bits to one array and then 16bits from the same file type to another array etc Read Blocks must be c...

Страница 26: ...utes and services The data types listed below are to be considered as the objects supported in the protocol Each of these has attributes that have been supported to differing degrees FieldServer Data Type Description or Device Data Type Identity Class Code 0x01 Attributes Supported One instance supported 0x01 Attributes List Vendor ID Device Type Product Code Device Revision Status Serial Number D...

Страница 27: ...rrently Analog Input Point Class Code 0x0A Attributes Supported Class Instance Support 0x00 Class Attributes 0x02 Max Instance Two instances supported 0x01 and 0x02 Attribute List Number of Attributes Not Supported Analog value UINT16 not supported Vendor ID Services Supported Get_Attribute_Single Analog Output Point Class Code 0x0B Attributes Supported Class Instance Support 0x00 Class Attributes...

Страница 28: ...on or Device Data Type EtherNet Link Object Class Code 0xF6 Attributes Supported One instance supported 0x01 Attribute List Interface Speed Interface Flags Physical Address Interface Counters Media Counters Services Supported Get_Attribute_Single Data Table Object Private Object Attributes Supported This object does not support instances or attributes but uses the data table structure and associat...

Страница 29: ...ntly open 0x01 0x011A Target Application cannot support any more connections 0x01 0x011B RPI is smaller than the Production Inhibit Time 0x01 0x0203 Connection cannot be closed since the connection has timed out 0x01 0x0204 Unconnected Send timed out waiting for a response 0x01 0x0205 Parameter Error in Unconnected Send Service 0x01 0x0206 Message too large for Unconnected message service 0x01 0x0...

Страница 30: ...ta Segment The Configuration Revision Number if present in the Data Segment shall always be index 1 If the error occurs with the Get Set Services then the extended status indicates the attribute number that failed 0x0C Optional Service cannot be performed while Object is in current state The 1st word of Extended Status may optionally contain the object s current state 0x10 Optional Service cannot ...

Отзывы: