Omron NX701-1720 User Manual

Omron NX701-1720 User Manual

Machine automation controller, nx-series cpu unit, fins function
Hide thumbs Also See for NX701-1720:

Advertisement

Quick Links

Machine Automation Controller
NX-series
CPU Unit
User's Manual
FINS Function
NX701-1720
NX701-1620
NX102-12££
NX102-11££
NX102-10££
NX102-90££
W596-E1-01

Advertisement

Table of Contents
loading

Summary of Contents for Omron NX701-1720

  • Page 1 Machine Automation Controller NX-series CPU Unit User's Manual FINS Function NX701-1720 NX701-1620 NX102-12££ NX102-11££ NX102-10££ NX102-90££ W596-E1-01...
  • Page 2 Moreover, because OMRON is constantly striving to improve its high-quality products, the infor- mation contained in this manual is subject to change without notice. (3) Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON as- sumes no responsibility for errors or omissions.
  • Page 3: Intended Audience

    For programming, this manual is intended for personnel who understand the programming language specifications in international standard IEC 61131-3 or Japanese standard JIS B 3503. Applicable Products This manual covers the following products. NX-series CPU Unit • NX701-1720 • NX701-1620 • NX102-12££ • NX102-11££ • NX102-10££...
  • Page 4: Relevant Manuals

    Relevant Manuals Relevant Manuals The following table provides the relevant manuals for the NX-series CPU Units. Read all of the man- uals that are relevant to your system configuration and application before you use the NX-series CPU Unit. Most operations are performed from the Sysmac Studio Automation Software. For details about the Sysmac Studio, refer to Sysmac Studio Version 1 Operation Manual (Cat.
  • Page 5 Relevant Manuals Manual Basic information Purpose of use Testing operation and debugging Using motion control ¡ Using EtherCAT ¡ ¡ Using EtherNet/IP ¡ Using OPC UA ¡ Using FINS ¡ Using the database connection service ¡ Learning about error management functions ¡...
  • Page 6: Terms And Conditions Agreement

    Omron’s exclusive warranty is that the Products will be free from defects in materials and work- manship for a period of twelve months from the date of sale by Omron (or such other period ex- pressed in writing by Omron). Omron disclaims all other warranties, express or implied.
  • Page 7: Application Considerations

    WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT, WARRANTY, NEGLIGENCE OR STRICT LIABILITY. Further, in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted. Application Considerations...
  • Page 8 Product. Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate; how- ever, no responsibility is assumed for clerical, typographical or proofreading errors or omissions. NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 9: Manual Structure

    Manual Structure Manual Structure Page Structure The following page structure is used in this manual. Level 1 heading 4 Installation and Wiring Level 2 heading Level 3 heading Mounting Units Level 2 heading Gives the current Level 3 heading headings. 4-3-1 Connecting Controller Components The Units that make up an NJ-series Controller can be connected simply by pressing the Units together...
  • Page 10: Special Information

    Manual Structure Special Information Special information in this manual is classified as follows: Precautions for Safe Use Precautions on what to do and what not to do to ensure safe usage of the product. Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance. Additional Information Additional information to read as required.
  • Page 11: Table Of Contents

    CONTENTS CONTENTS Introduction ......................1 Intended Audience............................1 Applicable Products ............................1 Relevant Manuals..................... 2 Terms and Conditions Agreement................4 Warranty, Limitations of Liability ........................4 Application Considerations ..........................5 Disclaimers ..............................5 Manual Structure...................... 7 Page Structure..............................7 Special Information ............................8 Precaution on Terminology ..........................8 Safety Precautions....................
  • Page 12 CONTENTS FINS Commands Supported by NX-series CPU Units............2 - 3 Setting of FINS Node Address of Built-in EtherNet/IP Port ..........2 - 5 FINS Routing Table Setting....................2 - 7 FINS Write Protection Function..................2 - 8 FINS Command Execution Condition ................2 - 9 Section 3 Client Function Overview of Client Function......................3 - 2...
  • Page 13: Safety Precautions

    Safety Precautions Safety Precautions Refer to the following manuals for safety precautions. • NX-series CPU Unit Hardware User's Manual (Cat. No. W535) • NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593) NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 14: Precautions For Safe Use

    Precautions for Safe Use Precautions for Safe Use Refer to the following manuals for precautions for safe use. • NX-series CPU Unit Hardware User's Manual (Cat. No. W535) • NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593) NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 15: Precautions For Correct Use

    Precautions for Correct Use Precautions for Correct Use Refer to the following manuals for precautions for correct use. • NX-series CPU Unit Hardware User's Manual (Cat. No. W535) • NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593) NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 16: Regulations And Standards

    Regulations and Standards Regulations and Standards Refer to the following manuals for regulations and standards. • NX-series CPU Unit Hardware User's Manual (Cat. No. W535) • NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593) NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 17: Versions

    Versions Versions Hardware revisions and unit versions are used to manage the hardware and software in NX-series Units and EtherCAT slaves. The hardware revision or unit version is updated each time there is a change in hardware or software specifications. Even when two Units or EtherCAT slaves have the same model number, they will have functional or performance differences if they have different hard- ware revisions or unit versions.
  • Page 18 Versions  For NX102 The ID information on an NX-series NX102-££££ CPU Unit is shown below. Unit version Hardware revision Lot number Serial number LOT No. DDMYY xxxx Ver. . HW Rev. PORT1 PORT2 MAC address ID Information Indication Note The hardware revision is not displayed for the Unit whose hardware revision is blank. Checking Unit Versions with the Sysmac Studio You can use the Sysmac Studio to check unit versions.
  • Page 19 Versions Outline View Detail View The information that is displayed is different for the Outline View and Detail View. The Detail View displays the unit version, hardware revision, and various versions. The Outline View dis- plays only the unit version. Note The hardware revision is separated by “/”...
  • Page 20: Unit Versions Of Cpu Units And Sysmac Studio Versions

    Versions Unit Versions of CPU Units and Sysmac Studio Versions The functions that are supported depend on the unit version of the NX-series CPU Unit. The version of Sysmac Studio that supports the functions that were added for an upgrade is also required to use those functions.
  • Page 21: Related Manuals

    Related Manuals Related Manuals The following manual are related. Use these manuals for reference. Manual name Cat. No. Model Application Contents NX-series CPU Unit W535 NX701-££££ Learning the basic An introduction to the entire NX701 system is Hardware User's Manual specifications of the provided along with the following information on NX701 CPU Units,...
  • Page 22: Revision History

    Revision History Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual. W596-E1-01 Cat. No. Revision code Revision Revision date Revised content code April 2018 Original production NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 23: Sections In This Manual

    Sections in this Manual Sections in this Manual FINS Server Function Client Function Troubleshooting Appendices Index NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 24 Sections in this Manual NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 25: Fins

    FINS This section describes an overview, a system configuration, and types of FINS. Overview of FINS..................1 - 2 1-1-1 Server Function of FINS ................1 - 2 1-1-2 Client Function of FINS................. 1 - 2 Applicable CPU Units .................. 1 - 3 System Configuration ..................
  • Page 26: Overview Of Fins

    1 FINS Overview of FINS FINS is a command system for the message service that can be used commonly in OMRON network. The FINS command system allows to read sent and received data, status etc. between a host comput- er and an NX-series CPU Unit, and between an NX-series CPU Unit and an OMRON CPU Unit.
  • Page 27: Applicable Cpu Units

    1 FINS Applicable CPU Units FINS commands can be sent/received from/by the following CPU Units. Unit version of CPU Unit name Model Server function Client function Unit NX7 Database Connection Version 1.16 or high- *1*2 Available Not available NX701-££20 CPU Unit NX102 CPU Unit Available Available...
  • Page 28: System Configuration

    System Configuration System configuration is available on conditions that it must issue FIN commands received from exter- nal computers and OMRON CPU Units and receive FINS commands through the built-in EtherNet/IP port of the NX-series CPU Unit. CS/CJ/CP-series CPU Unit...
  • Page 29: Relationship Between Fins Types And Units

    1 FINS Relationship Between FINS Types and Units The following shows the relationship between applicable FINS types and unit. Units Item NX701-££20 NX102-££££ FINS/UDP Usable or not Port number 9600 FINS/TCP Usable or not Maximum number of connections 16 Port number 9600 FINS communication service on Number of nodes...
  • Page 30: Memory Used For Cj-Series Units

    1 FINS Memory Used for CJ-series Units The following describes how to set the memory used for the CJ-series Units and the area types of the compatible memory used for CJ-series Units. 1-5-1 Setting for the Memory Used for CJ-series Units For The NX701-££20 and NX102 CPU Unit, the memory used for CJ-series Units can be set using the Multiview Explorer of the Sysmac Studio.
  • Page 31: Server Function

    Server Function This section describes a function that issues FINS commands supported by the NX- series CPU Unit and, reads and writes the memory used for CJ-series Units. Overview of Server Function ..............2 - 2 FINS Commands Supported by NX-series CPU Units ......2 - 3 Setting of FINS Node Address of Built-in EtherNet/IP Port......
  • Page 32: Overview Of Server Function

    2 Server Function Overview of Server Function The NX-series CPU Unit receives FINS commands issued from external devices such as host comput- ers or CS/CJ/CP-series CPU Units on the Ethernet network and then can execute the requested serv- ice. 2 - 2 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 33: Fins Commands Supported By Nx-Series Cpu Units

    2 Server Function FINS Commands Supported by NX- series CPU Units This section describes FINS commands supported by the NX-series CPU Unit, restrictions, and execu- tion conditions. For details about each FINS command, refer to SYSMAC CS/CJ/CP/NSJ-series Communications Commands Reference Manual (Cat. No. W342). FINS Commands Supported by NX-series CPU Units and Restric- tions The following describes FINS commands supported by the NX-series CPU Units and restrictions when...
  • Page 34 2 Server Function Sixteen ASCII code 20Hex (space) characters of below value are returned and can not be used. "Error message" 2 - 4 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 35: Setting Of Fins Node Address Of Built-In Ethernet/Ip Port

    2 Server Function Setting of FINS Node Address of Built-in EtherNet/IP Port This FINS node address is necessary to identify a node in the FINS communication. The following describes how to determine the FINS node address of the built-in EtherNet/IP port and how to set the FINS node address from the Sysmac Studio.
  • Page 36 2 Server Function 2 - 6 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 37: Fins Routing Table Setting

    2 Server Function FINS Routing Table Setting The routing table is a table that is used to find the communication path of the FINS message when the FINS communication service is in use. The routing table consists of two types of tables: local network table and relay network table. Here are the cases, where the setting of FINS routing table is required.
  • Page 38: Fins Write Protection Function

    2 Server Function FINS Write Protection Function When data is written into the CPU Unit using the FINS command, this data writing can be disabled so that the data is not written into the memory of the CPU Unit. This function is called the FINS write protection function. The models that support the FINS write protection function are NX701-££20 and NX102-££££.
  • Page 39: Fins Command Execution Condition

    2 Server Function FINS Command Execution Condition The following describes the FINS command execution conditions. Command code Execution condition (Hex) Command name Write protection in proc- RUN mode PROGRAM mode MEMORY AREA READ Supported Supported Supported MEMORY AREA WRITE Not supported MEMORY AREA FILL Not supported MULTIPLE MEMORY AREA...
  • Page 40 2 Server Function 2 - 10 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 41: Client Function

    Client Function This section describes the instructions that issue the FINS command from the NX102 CPU Unit for OMRON Unit provided with the FINS server function and then send and receive data. Overview of Client Function .................. 3 - 2 FINS Communications Instructions..............
  • Page 42: Overview Of Client Function

    3 Client Function Overview of Client Function FINS communication instructions is a set of instructions, which allows to control data send/receive, mode change etc. as required, for various types of units such as CPU Units and CPU Special Units on the network or CPU Rack.
  • Page 43: Fins Communications Instructions

    FINS Communications Instructions Instructions Name Page Send Send to Network page 3 - 4 Receive from Network page 3 - 8 SendCmd Send Command page 3 - 14 3 - 3 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 44: Send

    3 Client Function Send Sends data to a node on the network. Instruction Name Graphic expression ST expression Send_instance Send Execute Done Send_instance(Execute, DstNe- DstNetAdr Busy tAdr, CommPort, SrcDat, Send- CommPort Send to Net- Send Size, DstArea, DstCh, Option, work Done, Busy, Error, ErrorID, ErrorI- ErrorIDEx DEx);...
  • Page 45 3 Client Function Real Times, durations, Bit strings Integers num- lean dates, and text strings bers DstNetAdr Refer to Function on page 3 - 5 for details on the structure _sDNET_ADR. CommPort For enumeration_ePORT enumerator, refer to Function on page 3 - 5. SrcDat[] ar- SendSize DstArea...
  • Page 46 3 Client Function Enumerator Meaning _EM18 24 bank area of Expansion Memory Area The data type of Option is structure_sRESPONSE. The specifications are shown below. Initial Variable Name Contents Data type Valid range Unit value Response monitoring _sRES- Option Response and retry specifications PONSE TRUE: Response is not...
  • Page 47 3 Client Function b) SendSize, DstArea, or DstCh is outside of its range. c) A member of Option is outside of its range. d) The value of SendSize exceeds the size of SrcDat[]. e) The value of _Port_isAvailable is FALSE. f) Communications fail.
  • Page 48: Rcv

    3 Client Function Requests a node on the network to send and receives data. Instruction Name Graphic expression ST expression Rcv_instance Execute Done SrcNetAdr Busy Rcv_instance(Execute, SrcNetAdr, CommPort Receive from CommPort, SrcArea, SrcCh, Network RcvSize, DstDat, Option, Done, ErrorIDEx Busy, Error, ErrorID, ErrorIDEx); DstDat Variable Input/...
  • Page 49 3 Client Function Real Times, durations, Bit strings Integers num- lean dates and text strings bers SrcNetAdr Refer to Function on page 3 - 9 for details on the structure _sDNET_ADR. CommPort For enumeration_ePORT enumerator, refer to Function on page 3 - 9. SrcArea For enumeration_eAREA enumerator, refer to Function on page 3 - 9.
  • Page 50 3 Client Function Enumerator Meaning ⋮ ⋮ _EM18 24 bank area of Expansion Memory Area The data type of Option is structure_sRESPONSE. The specifications are shown below. Initial Variable Name Contents Data type Valid range Unit value Response monitoring _sRES- Option Response and retry specifications...
  • Page 51 3 Client Function a) A member of SrcNetAdr is outside of its range. b) Broadcasting (SrcNetAdr.NodeNo.=255) is set. c) Any of SrcArea, SrcCh, and RcvSize is outside of its range. d) The value of RcvSize exceeds the size of DstDat[]. e) The data type that is not supported is specified for DstDat[].
  • Page 52 3 Client Function External variable Name Data type Comment _Port_isAvailable BOOL Network Communications Instruction Enabled Flag IF ( (Trigger=TRUE) AND (DoFinsTrigger=FALSE) AND (_Port_isAvailable=TRUE) ) THEN State:= 1; DoFinsTrigger:=TRUE; SendExecute := FALSE; // Send execution status RcvExecute := FALSE; // Rcv execution status InDNetAdr.NetNo :=USINT#0;...
  • Page 53 3 Client Function 2: // Execute Rcv. RcvExecute := TRUE; IF (RcvInstance.Done=TRUE) THEN State := 3; ELSIF (RcvInstance.Error=TRUE) THEN State := 99; END_IF; 3: // Normal processing Trigger := FALSE; DoFinsTrigger:=FALSE; 99: // Abnormal processing Trigger := FALSE; DoFinsTrigger:=FALSE; END_CASE; END_IF;...
  • Page 54: Sendcmd

    3 Client Function SendCmd Issues a desired command and receives a response. Instruction Name Graphic expression ST expression SendCmd_instance SendCmd Execute Done DstNetAdr Busy SendCmd_instance(Execute, CommPort Send Com- DstNetAdr, CommPort, CmdDat, SendCmd mand CmdSize, RespDat, Option, Done, ErrorIDEx Busy, Error, ErrorID, ErrorIDEx); RespDat Variables Meaning...
  • Page 55 3 Client Function Function The SendCmd instruction sends the contents of command array CmdDat[] to the destination specified with destination network address DstNetAdr and destination serial port CommPort. The command data size CmdSize specifies how many elements of CmdDat[] contain the command. The response that is returned is stored in response storage array RespDat[].
  • Page 56 3 Client Function Related System-defined Variables Data Name Meaning Description type Number of Used _Port_numUsingPort USINT This is the number of ports that are currently used. Ports Network Communi- TRUE: A port is available. _Port_isAvailable cations Instruction BOOL FALSE: A port is not available. Enabled Flag Precautions for Correct Use •...
  • Page 57 3 Client Function Sample Programming In this sample, the SendCmd instruction sends CPU UNIT DATA READ command from the network No. 0, node No. 2, Unit No. 0 and receives the data. Node address 2 Unit No. 0 Node address 1 CPU UNIT DATA READ Ethernet cable Internal...
  • Page 58 3 Client Function CmdDat[0] :=BYTE#16#05; // Set command array. CmdDat[1] :=BYTE#16#01; END_IF; IF (DoFinsTrigger=TRUE) THEN SendCmdInstance( Execute :=SendCmdExecute, DstNetAdr:=InDNetAdr, CommPort :=_NONE, CmdDat := CmdDat [0], CmdSize :=UINT#2, RespDat := RespDat [0], Option :=InOption); CASE State OF 1: // Execute SendCmd. SendCmdExecute := TRUE;...
  • Page 59: Troubleshooting

    Troubleshooting This section describes the errors that may occur during communications with CPU Units. Troubleshooting ................... 4 - 2 4 - 1 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 60 Commands Reference Manual (Cat. No. W342) for details about the errors that may occur during communications with CPU Units. Refer to the manual of each relevant unit for details about the errors that may occur during communi- cations with other OMRON Units. 4 - 2 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 61: Appendices

    Appendices Difference Between CS/CJ-series and NX-series in FINS Routing..A - 2 A-1-1 Communication When 0 Is Specified for the Destination Network Ad- dress......................A - 2 A-1-2 Operation of Routing Table during Clear All Memory operation ....A - 4 A - 1 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 62: Difference Between Cs/Cj-Series And Nx-Series In Fins Routing

    Appendices A-1 Difference Between CS/CJ-series and NX-series in FINS Routing The FINS routing specification settings in the NX-series CPU Units differ from those in the CS/CJ-ser- ies CPU Units by the following points: • Communication when 0 is specified for the destination network address •...
  • Page 63 Appendices Additional Information For the CS/CJ-series CPU Units, the FINS command is issued to the network of the FINS net- work Communications Unit that has the smallest unit number. No settings for the local network table EtherNet/IP Unit (Unit number 0) Local network table Unit number Network...
  • Page 64: Operation Of Routing Table During Clear All Memory Operation

    Appendices CS/CJ-series CPU Unit NX-series CPU Unit Response frame FINS command Ethernet Network address 2 Unit number 0 Unit number 1 The example below shows the routing table setting for the NX-series CPU Unit. The example below shows the routing table setting for the CS/CJ-series CPU Unit. [Local network table] No.
  • Page 65 Index I - 1 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 66 Index Index Production Information............16 Rcv (Receive from Network)..........3 - 8 Receive from Network............. 3 - 8 Send (Send to Network)..........3 - 4 Send Command.............3 - 14 Send to Network.............. 3 - 4 SendCmd (Send Command)......... 3 - 14 Version................15 I - 2 NX-series CPU Unit FINS Function User's Manual (W596)
  • Page 68 The Netherlands Hoffman Estates, IL 60169 U.S.A. Tel: (31)2356-81-300/Fax: (31)2356-81-388 Tel: (1) 847-843-7900/Fax: (1) 847-843-7787 © OMRON Corporation 2018 All Rights Reserved. OMRON (CHINA) CO., LTD. OMRON ASIA PACIFIC PTE. LTD. In the interest of product improvement, Room 2211, Bank of China Tower, No.

Table of Contents