Technical Manual NP5 Fieldbus: SPI Valid for firmware version FIR-v2139 and higher Technical Manual version: 2.2.0 and hardware version W003b and higher to the archive Introduction The NP5 is a controller for BLDC and stepper motors in plug-in module format (PCI-format connector strip) for integration in your own developments. Note: The PCI-format connector strip is not electrically compatible with PCI Express. Under no circumstances is it to be plugged into the PC mainboard. This manual describes the integration of the NP5 in your motherboard and the functions of the controller. 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 Hardware version 1.0.0 10/2017 First edition FIR-v1650-B472161 W003a 1.0.1 04/2018 Additions and error corrections FIR-v1650-B527540 W003a 1.0.2 04/2019 Additions and error corrections FIR-v1650-B527540 W003a 2.0.0 10/2019 New firmware generation: see document Instructions on how to perform firmware update to version: FIR-v1939. FIR-v1939 W003b 2.1.0 11/2020 New firmware generation: see document Instructions on how to perform firmware update to version: FIR-v2039. New chapter External ballast circuit New note: The clock-direction mode cannot be used simultaneously with the second SPI port (NanoSPI Comm interface). FIR-v2039 W003b 2.2.0 09/2021 Additions and error corrections FIR-v2139 W003b Copyright, marking and contact © 2013 – 2021 Nanotec Electronic GmbH & Co. KG. All rights reserved. Nanotec Electronic GmbH & Co. KG Kapellenstraße 6 85622 Feldkirchen Germany Phone: +49 89 900 686-0 Fax: +49 (89) 900 686-50 us.nanotec.com Intended use The NP5 serves to control stepper motors and BLDC motors and is used as a component in drive systems in a wide range of industrial applications. The controller must be connected to motors via a PCI-format connector strip and a suitable motherboard. The system boundary of the NP5 ends at the PCI connector strip. Use the product as intended within the limits defined in the technical data (in particular, see Electrical properties and technical data) 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 working 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 at www.nanotec.com apply. 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) 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 NanoJ functions in the 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.