A Sierra Monitor Company Driver Manual (Supplement to the FieldServer Instruction Manual) FS-8704-16 Omron FINS APPLICABILITY & EFFECTIVITY Effective for all systems manufactured after May 1, 2004
FS-8704-16 Omron FINS Manual Table of Contents TABLE OF CONTENTS 1. Omron FINS Description...................................................................................... 1 2. Driver Scope of Supply........................................................................................ 2 1.01 Supplied by FieldServer Technologies for this driver ....................................... 2 1.02 Provided by the Supplier of 3rd Party Equipment.............................................. 2 2.1.1.
FS-8704-16 Omron FINS Manual Table of Contents Appendix A.2. PLC status to execute commands .................................................... 22 Appendix A.3. End Codes........................................................................................ 23 Appendix B. Driver Notes ........................................................................................ 30 Appendix B.1. Data Storage .................................................................................... 30 Appendix B.2.
FS-8704-16 Omron FINS Manual 1. Page 1 of 37 Omron FINS Description The Ethernet Omron FINS driver allows the FieldServer to transfer data to and from devices over Ethernet using Omron FINS protocol. The FieldServer can emulate either a Server or Client. FINS is an Omron protocol which can be used by a PLC program to transfer data and perform other services with a remote PLC connected on an Ethernet Network.
FS-8704-16 Omron FINS Manual 2. Page 2 of 37 Driver Scope of Supply 1.01 Supplied by FieldServer Technologies for this driver FieldServer Technologies PART # FS-8915-10 FS-8704-16 Description UTP cable (7 foot) for Ethernet connection Driver Manual. Provided by the Supplier of 3rd Party Equipment 1.02 2.1.1. Part # 2.1.2. Required 3rd Party Hardware Description Required 3rd Party Software CX-Programmer Software or any other compatible Software by Omron to setup the PLC 2.1.3.
FS-8704-16 Omron FINS Manual 3. Page 3 of 37 Hardware Connections The FieldServer is connected to the PLC as shown in connection drawing. Configure the PLC according to manufacturer’s instructions to work with other FINS supported device. 1.03 Hardware Connection Tips / Hints If communication doesn’t start check the following. 1. Are the FieldServer and PLC on the same network? 2. Are all intended Nodes configured to communicate on FINS? 3.
FS-8704-16 Omron FINS Manual Page 4 of 37 4. Is the Network healthy? 1.04 Example of Omron PLC Configuration using Omron ETN11 Module.1 Setting the Node Number With the FINS communications service, when there are multiple Ethernet Units connected to the Ethernet network, the Ethernet Units are identified by node numbers. Use the node number switches to set the node number between 01 and 7E hexadecimal (1 to 126 decimal).
FS-8704-16 Omron FINS Manual Page 5 of 37 The switches are all factory-set to 0 (00.00.00.00). The Ethernet Unit cannot be used with this setting; a proper IP address must be set. The following settings cannot be made for the IP address, or the ERC indicator will flash. All bits in the network number field set to 0 or 1. All bits in the host number field set to 0 or 1. All bits in the subnet number field set to 1. The beginning of the IP address set to 127 (7F Hex) Example: 127.35.21.16 Note 1.
FS-8704-16 Omron FINS Manual 4. Page 6 of 37 Configuring the FieldServer as a FINS 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).
FS-8704-16 Omron FINS Manual Page 7 of 37 Example // Data Arrays Data_Arrays Data_Array_Name, DA_CIO, DA_WR, DA_HR, DA_DM, 1.06 Data_Format, UInt16, UInt16, Uint16, Uint16, Data_Array_Length, 5143 511 511 32767 Driver Specific FieldServer Parameters Section Title FieldServer Column Title Title System_Node_Id Function Name for FieldServer Specify physical node Id on network. This is the last byte of the IP Address of the FieldServer. eg. If FieldServer’s IP Address is 192.168.1.
FS-8704-16 Omron FINS Manual Page 8 of 37 Example // Client Side Connections Adapters Adapter, N1, 1.08 Protocol, Fins, Udp_port_number 9600 Client Side Node Descriptors Section Title Nodes Column Title Function Node_Name Provide name for node IP_Address Provide IP Address of PLC Node number set at PLC Node_ID Protocol Adapter *Net_Number Legal Values Up to 32 alphanumeric characters Eg. 192.168.1.105 The node number should correspond to the last byte of the IP address. Eg.
FS-8704-16 Omron FINS Manual 1.09 Page 9 of 37 Client Side Map Descriptors 4.1.1. FieldServer Related Map Descriptor Parameters Column Title Map_Descriptor_Na me Data_Array_Name Data_Array_Offset Function 4.1.2.
FS-8704-16 Omron FINS Manual *Unit_Number 4.1.3. Unit number of CPU at PLC Page 10 of 37 0,1,2 etc Timing Parameters Column Title Scan_Interval Function Rate at which data is polled Legal Values ≥0.001s 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.
FS-8704-16 Omron FINS Manual 4.1.4. Page 11 of 37 Map Descriptor Example 1 – IO Read This example provides all the required information to read and write to the IO memory area of the PLC. The following Map Descriptor creates a task for the driver to read the first 20 Words from the CIO memory area and store them in the Data Array DA_CIO. The first word from the PLC will be stored as the first element in the Data Array.
FS-8704-16 Omron FINS Manual 4.1.5. Page 12 of 37 Map Descriptor Example 2 – IO Write This example is used to write a value(s) to the PLC. The write is done when the contents of the Data Array are updated (written to by a remote device.). In the previous example, it was shown how a ‘read’ Map Descriptor can also be used to write by using FIeldServer’s Write-Through technology. Map_Descriptor_Name, CMD_CIOw, One of the Data Arrays declared in the Data_Array section (See section 1.
FS-8704-16 Omron FINS Manual 4.1.6. Page 13 of 37 Map Descriptor Example 3: Clock Read: This Map Descriptor reads the PLC clock and stores the information in a Data Array DA_CLK. For detail on how the Driver stores clock information see Appendix B.1. Map_Descriptor_Name, CMD_CLKr, 4.1.7.
FS-8704-16 Omron FINS Manual 4.1.9. Page 14 of 37 Map Descriptor Example 6: Run-Stop PLC: Defining this Map Descriptor Driver can change the PLC mode to STOP (Program), MONITOR or RUN mode. The Driver issues a change mode command to the PLC whenever the value at the declared offset is updated.
FS-8704-16 Omron FINS Manual 5. Page 15 of 37 Configuring the FieldServer as a FINS 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 on the driver CD).
FS-8704-16 Omron FINS Manual 1.011 Page 16 of 37 Server Side Node Descriptors Section Title Nodes Column Title Function Legal Values Up to 32 alphanumeric characters Node_Name Provide name for node Node_ID Virtual Node number of FINS server. 1-126 Protocol Specify protocol used Fins, omn_fins or fins_udp Server_Hold_Timeout* Net_Number Specifies time FieldServer will reserve server side connection while waiting for >1.
FS-8704-16 Omron FINS Manual 1.012 Page 17 of 37 Server Side Map Descriptors 5.1.1. FieldServer Specific Map Descriptor Parameters Column Title Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function 5.1.2.
FS-8704-16 Omron FINS Manual 5.1.3. Page 18 of 37 Map Descriptor Example 1: IO Read The following Map Descriptor enables the Driver to serve the clients for CIO memory operations. The Command_Name “MEMORY AREA READ” makes this memory readable. Map_Descriptor_Name, SRV_CIOr, One of the Data Arrays declared in the Data_Array section. Driver will serve client for CIO operations using this Data Array.
FS-8704-16 Omron FINS Manual 5.1.4. Page 19 of 37 Map Descriptor Example 2: IO Write This Map Descriptor makes the memory area writable which was made readable by the previous Map Descriptor. Thus memory area can be made read only, write only or read and write enabled. Map_Descriptor_Name, SRV_CIOw, Data_Array_Name, DA_CIO, 5.1.5.
FS-8704-16 Omron FINS Manual 5.1.8. Page 20 of 37 Map Descriptor Example 6: Run-Stop PLC: This Map Descriptor enables the Driver to give access to the Client to change the Server’s Operating Mode. See Appendix B.1 for stored values corresponding to PLC modes. Map_Descriptor_Name, SRV_RUN_ST, 5.1.9.
FS-8704-16 Omron FINS Manual Page 21 of 37 Appendix A. Advanced Topics Appendix A.1. Driver Map Descriptor Parameter’s Bounds Most Map Descriptors need to know the following The Data Type to be read or written: The Command to be executed Memory Type Specify Either a) Data Type or b) Memory Code. This is how the driver determines which memory area of the PLC must be processed. (For EM Banks you can only specify the Memory_Code.) Specify either a) The command name or b) The MRC/SRC Pair.
FS-8704-16 Omron FINS Manual Appendix A.2.
FS-8704-16 Omron FINS Manual Appendix A.3. Page 23 of 37 End Codes8 The following table lists the main codes and the sub-codes, which combine to form the end code (response code) returned for a FINS command. The probable cause and corrections for each error code are also given. Depending on the command, the destination code will sometimes make a request of another node on a network. The other node is referred to as the third Node.
FS-8704-16 Omron FINS Manual Page 24 of 37 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.
FS-8704-16 Omron FINS Manual Page 25 of 37 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.
FS-8704-16 Omron FINS Manual Page 26 of 37 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.
FS-8704-16 Omron FINS Manual Page 27 of 37 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.
FS-8704-16 Omron FINS Manual Page 28 of 37 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.
FS-8704-16 Omron FINS Manual Page 29 of 37 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.
FS-8704-16 Omron FINS Manual Page 30 of 37 Appendix B. Driver Notes Appendix B.1. Data Storage Clock Information Element Contents 1 Year (4 for 2004, 12 for 2012) 2 Month 3 Day of Month 4 Hours 5 Minutes 6 Seconds 7 Day of the week (Sunday = 0, Saturday=6) CPU Cycle Time Element 1 2 3 PLC Mode Stored Value 1 2 3 Contents Average Cycle Time Maximum Cycle Time Minimum Cycle Time PLC Mode STOP MONITOR RUN CPU Status FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.
FS-8704-16 Omron FINS Manual ELEMENT NUMBER CONTENTS 1 1 2 3 2 1 2 3 3 4 5 6 7 8 9 10 11 12 13-18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33-34 35-42 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 0 1/0 0 1/0 Unknown 1/0 1/0 Unknown 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 Unknown 0 Page 31 of 37 DESCRIPTION CPU Status9 1= Stop 2= Standby (waiting for signal from another Device) 3= Run CPU Mode 1= PROGRAM 2= MONITOR 3= RUN 1: Memory Error 1: I/O Bus Error 1:Duplication Error 1:Fatal Inner Board Error 1:I/O Point ov
FS-8704-16 Omron FINS Manual ELEMENT NUMBER 43 44 45 46 47 48 49 50 51 52-67 Appendix B.2.
FS-8704-16 Omron FINS Manual 7 8 9 10 11 12 13 Page 33 of 37 Total number of Messages ignored by PLC due to error. FINS_EMC Latest Main Error code returned by PLC. FINS_ESC Latest Sub Error code returned by PLC. FINS_EMRC Main and Sub Request codes for which PLC returned Error Code. FINS_ESRC Number of times Driver ignored messages FINS_STOR_SP because of insufficient storage space. Number of blocked attempts to write data via FINS_NO_WR_THU write-thru operation. FINS_ECODE Appendix B.3.
FS-8704-16 Omron FINS Manual Error Message FINS_UDP#12: Err. Mrc-Src Reqd/Ext <%2X-%2X/%2X-%2X> FINS_UDP#21: Err. Message from PLC is Not a Response> MRC <%2X> SRC <%2x> MD <%s> FINS_UDP#22: Err. Unknown Device with Parameters... Reqd/Ext dna <%d/%d> node <%d/%d> unit <%d/%d> FINS_UDP#23: Err. Message Sequence Not Matched.Reqd/Ext <%d/%d> MRC <%2X> SRC <%2X> MD <%s> FINS_UDP#24: FYI. Bad Start<%2X> FINS_UDP#31 : FYI Net_Number set to 1 Node <%s> FINS_UDP#32 : FYI Udp Port is <%d> FINS_UDP#41: FYI.
FS-8704-16 Omron FINS Manual Page 35 of 37 Appendix C. Troubleshooting tips Appendix C.1. Connection Tips & Hints 1. Each transaction must be completed in one UDP message fragment. The maximum length of a UDP fragment is 1500 bytes. Thus, if you wanted to read 730 words of PLC memory you will need to configure two MD’s. The one should have a length of 729 and the other a length of 1.
FS-8704-16 Omron FINS Manual Page 36 of 37 Therefore the PLC responds to 192.168.0.34 which is clearly the wrong address and the FieldServer will not see the response. Example: - Class A Addressing A FieldServer with IP address=192.168.1.81 and system_node_id=34 polls for data from a PLC with IP address =192.168.2.33 and Subnet mask = 255.255.0.0 The PLC responds to 192.168.2.33 255.0.0.0 192.x.x.
FS-8704-16 Omron FINS Manual Page 37 of 37 Appendix D. Revision History Date Resp Format 4/17/04 SSS Driver Ver. 0.00 4/20/04 PMC 0.00 4/20/04 SSS 0.00 4/20/04 SSS 0.00 5/20/04 Meg 6/14/04 JD 8/26/04 Meg 12/29/04 JD Meg 0.00 0.00 Meg 0.00 0.00 Doc. Comment Rev. 0 Issued for PMC review. Reviewed and made some reference changes, some type changes, changed 1 some wording and included Omron manual excerpts for IP address setting. Changed section 7.1.