Technical Manual N5 Fieldbus: EtherCAT For use with the following variants: N5-1-1 N5-2-1 Valid for firmware version FIR-v1650 and higher Manual version 2.0.3 and hardware version W007 and higher Introduction The N5 is a controller for the open loop or closed loop operation of stepper motors and the closed loop operation of BLDC motors. This manual describes the functions of the controller and the available operating modes. It also shows how you can address and program the controller via the communication interface. You can find further information on the product on us.nanotec.com. Version information Manual version Date Changes Firmware version 1.0.0 30.04.2014 Edition FIR-v1417 1.0.3 12.05.2014 Minor corrections, assignment of the OD entries now correct FIR-v1419 1.1.0 16.05.2014 Following chapters added: Cyclic Synchronous Position Cyclic Synchronous Velocity Cyclic Synchronous Torque FIR-v1426 1.2.0 23.07.2014 Chapter "Saving objects" added, savable added to the list of objects The following objects were shifted: "Read Analog Input": from 6402 h to 3320 h "Analogue Input Offset": from 6431 h to 3321 h "Analogue Input Pre-scaling": from 6432 h to 3322 h FIR-v1426 1.2.7 10.09.2014 Error corrections FIR-v1436 1.2.15 18.11.2014 Error corrections The "Mode of modulo operation" object in 2070h was replaced with the "Positioning option code" object in 60F2h FIR-v1446 1.2.16 26.01.2015 The following objects were shifted: "Current-IPv4-Address": from 2018h to 2014h "Current-IPv4-Subnet-Mask": from 2019h to 2015h "Drive Serial Number": from 2022h to 4040h The following objects were removed: "AppInfo-Static-IP-Address" 2020h "AppInfo-Static-Subnet-Mask" 2021h FIR-v1450 1.3.0 11.03.2015 New chapter: Clock-direction mode FIR-v1504 1.3.1 24.04.2015 Error corrections New chapter Input Routing FIR-v1512 1.4.0 02.10.2015 Error corrections New chapter Overtemperature protection New chapter Output Routing New section Possible combinations of travel commands Addition to the connection data for the connectors Addition to the switching thresholds for digital inputs FIR-v1540 1.5.0 08.04.2016 Error corrections New chapter Interpolated Position Mode FIR-v1614 1.5.1 22.07.2016 Additions and error corrections FIR-v1626 2.0.0 01/2018 New chapter Environmental conditions New chapter Control modes New chapter Limitation of the range of motion New chapter Cycle times Revision of chapter Commissioning Additions and error corrections FIR-v1650 2.0.1 08/2018 Additions and error corrections FIR-v1650 2.0.2 04/2019 Additions and error corrections FIR-v1650 2.0.3 12/2020 Note regarding vulnerabilities in the Ethernet stack, see Configuration via Ethernet FIR-v1650 Copyright, marking and contact © 2013 – 2020 Nanotec® Electronic GmbH & Co. KG. All rights reserved. Nanotec® Electronic GmbH & Co. KG Kapellenstraße 6 D-85622 Feldkirchen/Munich Phone: +49 (0)89-900 686-0 Fax: +49 (0)89-900 686-50 Internet: us.nanotec.com Microsoft® Windows® 98/NT/ME/2000/XP/7/10 are registered trademarks of the Microsoft Corporation. TwinCAT® is a registered trademark of Beckhoff Automation GmbH®. Intended use The N5 serves to control stepper motors and BLDC motors and is used as a component in drive systems in a wide range of industrial applications. Use the product as intended within the limits defined in the technical data (in particular, see Permissible operating voltage) and the approved Environmental conditions. Under no circumstances may this Nanotec product be integrated as a safety component in a product or system. All products containing a component manufactured by Nanotec must, upon delivery to the end user, be provided with corresponding warning notices and instructions for safe use and safe operation. All warning notices provided by Nanotec must be passed on directly to the end user. Target group and qualification The product and this documentation are directed towards technically trained specialists staff such as: Development engineers Plant engineers Installers/service personnel Application engineers Only specialists may install, program and commission the product. Specialist staff are persons who have appropriate training and experience in work with motors and their control, are familiar with and understand the content of this technical manual, know the applicable regulations. Warranty and disclaimer Nanotec assumes no liability for damages and malfunctions resulting from installation errors, failure to observe this manual or improper repairs. The selection and use of Nanotec products is the responsibility of the plant engineer or end user. Nanotec accepts no responsibility for the integration of the product in the end system. Our general terms and conditions apply: en.nanotec.com/service/general-terms-and-conditions/. (Customers of Nanotec Electronic US Inc. please go to us.nanotec.com/service/terms-and-conditions-of-sale/). Note: Changes or modifications to the product are not permitted. EU directives for product safety The following EU directives were observed: RoHS directive (2011/65/EU, 2015/863/EU) EMC directive (2014/30/EU) Other applicable regulations In addition to this technical manual, the following regulations are to be observed: Accident-prevention regulations Local regulations on occupational safety Used icons All notices are in the same format. The degree of the hazard is divided into the following classes. CAUTION: The CAUTION notice indicates a possibly dangerous situation. Failure to observe the notice may result in moderately severe injuries. ► Describes how you can avoid the dangerous situation. Note: Indicates a possible incorrect operation of the product. Failure to observe the notice may result in damage to this or other products. ► Describes how you can avoid the incorrect operation. Tip: Shows a tip for the application or task. Emphasis in the text The following conventions are used in the document: Underlined text indicates cross references and hyperlinks: The following bits in object 6041h (statusword) have a special function: A list of available system calls can be found in chapter System calls in a NanoJ program. Text set in italics marks named objects: Read the installation manual. Use the Plug & Drive Studio software to perform the auto setup. For software: You can find the corresponding information in the Operation tab. For hardware: Use the ON/OFF switch to switch the device on. A text set in Courier marks a code section or programming command: The line with the od_write(0x6040, 0x00, 5 ); command has no effect. The NMT message is structured as follows: 000 | 81 2A A text in "quotation marks" marks user input: Start the NanoJ program by writing object 2300h, bit 0 = "1". If a holding torque is already needed in this state, the value "1" must be written in 3212h:01h. Numerical values Numerical values are generally specified in decimal notation. The use of hexadecimal notation is indicated by a subscript h at the end of the number. The objects in the object dictionary are written with index and subindex as follows: <Index>:<Subindex> Both the index as well as the subindex are specified in hexadecimal notation. If no subindex is listed, the subindex is 00h. Example: Subindex 5 of object 1003h is addressed with 1003h:05h, subindex 00 of object 6040h with 6040h. Bits The numbering of individual bits in an object always begins with the LSB (bit number 0). See the following figure, which uses data type UNSIGNED8 as an example. Counting direction (arrows) In figures, the counting direction is always in the direction of an arrow. Objects 60C5h and 60C6h depicted as examples in the following figure are both specified as positive.