NANOTEC PD4-C5918M4204-E-01 User manual

Manual PD4-C
Fieldbus: USB
For use with the following devices:
· PD4-C5918M4204-E-01
· PD4-C5918L4204-E-01
· PD4-C6018L4204-E-01
· PD4-CB59M024035-E-01
Valid with firmware version FIR-v1626 Manual Version: 1.4.1
and since hardware version W005
NANOTEC ELECTRONIC GmbH & Co. KG Tel. +49 (0)89-900 686-0
Kapellenstraße 6 Fax +49 (0)89 900 686-50

Manual PD4-C (USB)
Contents
Contents
1 Editorial....................................................................................................... 7
2 Release notes............................................................................................. 8
3 Safety instructions and warnings.............................................................9
3.1 Important information.............................................................................................................................9
3.2 Personnel qualifications.........................................................................................................................9
3.3 General danger and warning notes.....................................................................................................10
3.4 Danger and warning signs..................................................................................................................10
3.5 Other information.................................................................................................................................10
4 About this manual....................................................................................11
4.1 Introduction..........................................................................................................................................11
4.2 Numerical values.................................................................................................................................11
4.3 Bits.......................................................................................................................................................11
4.4 Counting direction (arrows).................................................................................................................11
5 Technical data and pin configuration.................................................... 12
5.1 Dimensioned drawings........................................................................................................................ 12
5.2 Electrical properties.............................................................................................................................12
5.3 Overtemperature protection.................................................................................................................13
5.4 LED signaling...................................................................................................................................... 15
5.5 Pin configuration..................................................................................................................................16
6 Configuration............................................................................................ 20
6.1 General information.............................................................................................................................20
6.2 DIP switches........................................................................................................................................20
6.3 USB port..............................................................................................................................................21
6.4 Configuration file..................................................................................................................................22
6.5 NanoJ program....................................................................................................................................24
7 Setup and commissioning.......................................................................26
7.1 Safety instructions............................................................................................................................... 26
7.2 General................................................................................................................................................26
8 General concepts..................................................................................... 29
8.1 DS402 Power State machine..............................................................................................................29
8.2 User-defined units............................................................................................................................... 33
9 Operating modes......................................................................................37
9.1 Profile Position.....................................................................................................................................37
9.2 Velocity................................................................................................................................................ 46
9.3 Profile Velocity.....................................................................................................................................48
9.4 Profile Torque......................................................................................................................................51

Manual PD4-C (USB)
Contents
9.5 Homing.................................................................................................................................................53
9.6 Clock/direction mode...........................................................................................................................61
9.7 Analogue Mode................................................................................................................................... 62
10 Special functions....................................................................................64
10.1 Digital inputs and outputs..................................................................................................................64
10.2 I2t motor overload protection.............................................................................................................72
10.3 Save Objects.....................................................................................................................................74
11 Programming with NanoJ......................................................................75
11.1 Introduction........................................................................................................................................75
11.2 Available computing time.................................................................................................................. 75
11.3 Interaction of the user program with the motor controller.................................................................75
11.4 Object dictionary entries for controlling and configuring the VMM....................................................77
11.5 NanoJ Easy V2................................................................................................................................. 77
11.6 System calls...................................................................................................................................... 80
12 Object directory description..................................................................82
12.1 Overview............................................................................................................................................82
12.2 Structure of the object description.................................................................................................... 82
12.3 Object description..............................................................................................................................82
12.4 Value description...............................................................................................................................84
12.5 Description.........................................................................................................................................84
1000h Device Type....................................................................................................................................85
1001h Error Register.................................................................................................................................86
1003h Pre-defined Error Field...................................................................................................................87
1008h Manufacturer Device Name............................................................................................................90
1009h Manufacturer Hardware Version.....................................................................................................91
100Ah Manufacturer Software Version......................................................................................................91
1010h Store Parameters........................................................................................................................... 91
1011h Restore Default Parameters...........................................................................................................93
1018h Identity Object.................................................................................................................................95
1020h Verify Configuration........................................................................................................................96
2028h MODBUS Slave Address............................................................................................................... 97
202Ah MODBUS RTU Baudrate...............................................................................................................98
202Ch MODBUS RTU Stop Bits...............................................................................................................98
202Dh MODBUS RTU Parity.................................................................................................................... 99
2030h Pole Pair Count..............................................................................................................................99
2031h Maximum Current.........................................................................................................................100
2032h Maximum Speed...........................................................................................................................100
2033h Plunger Block............................................................................................................................... 101
2034h Upper Voltage Warning Level......................................................................................................102
2035h Lower Voltage Warning Level......................................................................................................102
2036h Open Loop Current Reduction Idle Time.....................................................................................103
2037h Open Loop Current Reduction Value/factor.................................................................................103
2039h Motor Currents..............................................................................................................................104
203Ah Homing On Block Configuration.................................................................................................. 105
203Bh I2t Parameters..............................................................................................................................107
203Dh Torque Window............................................................................................................................109
203Eh Torque Window Time...................................................................................................................109
2050h Encoder Alignment....................................................................................................................... 110
2051h Encoder Optimization................................................................................................................... 110
2052h Encoder Resolution...................................................................................................................... 112
2056h Limit Switch Tolerance Band........................................................................................................112
2057h Clock Direction Multiplier..............................................................................................................113
2058h Clock Direction Divider.................................................................................................................113

Manual PD4-C (USB)
Contents
2059h Encoder Configuration..................................................................................................................114
205Ah Encoder Boot Value.....................................................................................................................114
205Bh Clock Direction Or Clockwise/Counter Clockwise Mode..............................................................115
2060h Compensate Polepair Count........................................................................................................ 115
2061h Velocity Numerator.......................................................................................................................116
2062h Velocity Denominator....................................................................................................................116
2063h Acceleration Numerator................................................................................................................117
2064h Acceleration Denominator............................................................................................................ 117
2065h Jerk Numerator.............................................................................................................................118
2066h Jerk Denominator......................................................................................................................... 118
2067h Jerk Limit (internal).......................................................................................................................119
2084h Bootup Delay................................................................................................................................119
2101h Fieldbus Module Availability.........................................................................................................120
2102h Fieldbus Module Control.............................................................................................................. 121
2103h Fieldbus Module Status................................................................................................................122
2200h Sampler Control............................................................................................................................124
2201h Sampler Status.............................................................................................................................125
2202h Sample Data Selection.................................................................................................................125
2203h Sampler Buffer Information.......................................................................................................... 128
2204h Sample Time In Ms......................................................................................................................129
2300h NanoJ Control...............................................................................................................................129
2301h NanoJ Status................................................................................................................................130
2302h NanoJ Error Code........................................................................................................................ 131
230Fh Uptime Seconds...........................................................................................................................132
2310h NanoJ Input Data Selection......................................................................................................... 133
2320h NanoJ Output Data Selection.......................................................................................................136
2330h NanoJ In/output Data Selection................................................................................................... 140
2400h NanoJ Inputs................................................................................................................................ 143
2410h NanoJ Init Parameters..................................................................................................................144
2500h NanoJ Outputs..............................................................................................................................145
2600h NanoJ Debug Output....................................................................................................................146
2700h User Storage Area........................................................................................................................147
3202h Motor Drive Submode Select.......................................................................................................149
320Ah Motor Drive Sensor Display Open Loop......................................................................................150
320Bh Motor Drive Sensor Display Closed Loop....................................................................................151
3210h Motor Drive Parameter Set.......................................................................................................... 153
3212h Motor Drive Flags.........................................................................................................................157
3220h Analog Inputs................................................................................................................................158
3221h Analogue Inputs Control...............................................................................................................159
3225h Analogue Inputs Switches............................................................................................................160
3240h Digital Inputs Control....................................................................................................................161
3241h Digital Input Capture.....................................................................................................................163
3242h Digital Input Routing.....................................................................................................................165
3250h Digital Outputs Control.................................................................................................................167
3252h Digital Output Routing..................................................................................................................169
3320h Read Analogue Input....................................................................................................................170
3321h Analogue Input Offset...................................................................................................................171
3322h Analogue Input Pre-scaling.......................................................................................................... 172
3502h MODBUS Rx PDO Mapping........................................................................................................ 173
3602h MODBUS Tx PDO Mapping.........................................................................................................177
3700h Following Error Option Code........................................................................................................180
4012h HW Information.............................................................................................................................180
4040h Drive Serial Number.....................................................................................................................181
603Fh Error Code....................................................................................................................................182
6040h Controlword...................................................................................................................................182
6041h Statusword....................................................................................................................................183
6042h Vl Target Velocity.........................................................................................................................184
6043h Vl Velocity Demand......................................................................................................................185
6044h Vl Velocity Actual Value...............................................................................................................185

Manual PD4-C (USB)
Contents
6046h Vl Velocity Min Max Amount........................................................................................................186
6048h Vl Velocity Acceleration................................................................................................................187
6049h Vl Velocity Deceleration............................................................................................................... 188
604Ah Vl Velocity Quick Stop.................................................................................................................189
604Ch Vl Dimension Factor.................................................................................................................... 190
605Ah Quick Stop Option Code..............................................................................................................191
605Bh Shutdown Option Code................................................................................................................191
605Ch Disable Option Code....................................................................................................................192
605Dh Halt Option Code.........................................................................................................................192
605Eh Fault Option Code........................................................................................................................193
6060h Modes Of Operation.....................................................................................................................194
6061h Modes Of Operation Display........................................................................................................194
6062h Position Demand Value................................................................................................................195
6063h Position Actual Internal Value......................................................................................................195
6064h Position Actual Value................................................................................................................... 196
6065h Following Error Window............................................................................................................... 196
6066h Following Error Time Out.............................................................................................................197
6067h Position Window...........................................................................................................................197
6068h Position Window Time..................................................................................................................198
606Bh Velocity Demand Value................................................................................................................198
606Ch Velocity Actual Value...................................................................................................................199
606Dh Velocity Window...........................................................................................................................199
606Eh Velocity Window Time..................................................................................................................200
6071h Target Torque...............................................................................................................................200
6072h Max Torque.................................................................................................................................. 201
6074h Torque Demand............................................................................................................................201
6077h Torque Actual Value.....................................................................................................................202
607Ah Target Position.............................................................................................................................202
607Bh Position Range Limit....................................................................................................................203
607Ch Home Offset.................................................................................................................................204
607Dh Software Position Limit................................................................................................................204
607Eh Polarity..........................................................................................................................................205
6081h Profile Velocity..............................................................................................................................206
6082h End Velocity..................................................................................................................................206
6083h Profile Acceleration.......................................................................................................................207
6084h Profile Deceleration...................................................................................................................... 207
6085h Quick Stop Deceleration...............................................................................................................208
6086h Motion Profile Type...................................................................................................................... 208
6087h Torque Slope................................................................................................................................208
608Fh Position Encoder Resolution........................................................................................................209
6091h Gear Ratio....................................................................................................................................210
6092h Feed Constant..............................................................................................................................211
6098h Homing Method............................................................................................................................ 212
6099h Homing Speed..............................................................................................................................212
609Ah Homing Acceleration....................................................................................................................213
60A4h Profile Jerk...................................................................................................................................214
60C1h Interpolation Data Record............................................................................................................215
60C2h Interpolation Time Period.............................................................................................................216
60C4h Interpolation Data Configuration..................................................................................................217
60C5h Max Acceleration..........................................................................................................................219
60C6h Max Deceleration.........................................................................................................................219
60F2h Positioning Option Code.............................................................................................................. 220
60F4h Following Error Actual Value........................................................................................................221
60FDh Digital Inputs................................................................................................................................222
60FEh Digital Outputs............................................................................................................................. 223
60FFh Target Velocity............................................................................................................................. 224
6502h Supported Drive Modes................................................................................................................224
6505h Http Drive Catalogue Address......................................................................................................225

13 Copyright notice...................................................................................226
13.1 Introduction......................................................................................................................................226
13.2 AES..................................................................................................................................................226
13.3 Arcfour (RC4).................................................................................................................................. 226
13.4 MD5................................................................................................................................................. 227
13.5 uIP....................................................................................................................................................227
13.6 DHCP...............................................................................................................................................227
13.7 CMSIS DSP Software Library.........................................................................................................228
13.8 FatFs................................................................................................................................................228
13.9 Protothreads.................................................................................................................................... 228
13.10 lwIP................................................................................................................................................229

Manual PD4-C (USB)
1 Editorial
Version: 1.4.1 / 22.07.2016 / FIR-v1626 7
1 Editorial
Copyright ©2013, 2014, 2015, 2016 Nanotec Electronic GmbH & Co. KG. All rights reserved.
The firmware in our motor controllers may contain software components produced by third parties. The
licensing conditions and copyrights of these code components can be found in the "Copyright notice"
section.
Nanotec®Electronic GmbH & Co. KG
Kapellenstraße 6
85622 Feldkirchen/Munich, Germany
Tel.: +49 (0)89-900 686-0
Fax: +49 (0)89-900 686-50
Internet: www.nanotec.com
All rights reserved!
MS Windows 98/NT/ME/2000/XP/7 are registered trademarks of the Microsoft Corporation.
Translation of original manual

Manual PD4-C (USB)
2 Release notes
Version: 1.4.1 / 22.07.2016 / FIR-v1626 8
2 Release notes
Version
Manual Version
Frimware Date Changes
1.0.0 FIR-v1403 03.03.2014 First release
1.0.3 FIR-v1419 12.05.2014 Minor corrections, field "Specified Value" in object dictionary
description now used
1.1.0 FIR-v1426 23.07.2014 • Added chapter "Save Objects", added "Persistent" to the
object description
• The following objects has been moved
• "Read Analogue Input": from 6402hto 3320h
• "Analogue Input Offset": from 6431hto 3321h
• "Analogue Input Pre-scaling": from 6432hto 3322h
1.1.7 FIR-v1436 10.09.2014 Corrections
1.1.15 FIR-v1446 18.11.2014 • Corrections
• The object "Mode of modulo operation" at 2070hhas been
replaced with object "Positioning option code" at 60F2h
1.2.0 FIR-v1504 11.03.2015 New chapter:
•Clock/direction mode
•Analogue Mode
1.2.1 FIR-v1512 24.04.2015 • Corrections
• New chapter Input Routing
1.3.0 FIR-v1540 02.10.2015 • Corrections
• New chapter Overtemperature protection
• New chapter Output Routing
• New section Possible move command combinations
• Connection data added
• Switching limits for digital inputs added
1.4.0 FIR-v1614 08.04.2016 Corrections
1.4.1 FIR-v1626 22.07.2016 Additions and corrections

Manual PD4-C (USB)
3 Safety instructions and warnings
Version: 1.4.1 / 22.07.2016 / FIR-v1626 9
3 Safety instructions and warnings
3.1 Important information
This technical manual must be carefully read before installation and commissioning of the motor
controller.
Nanotec®reserves the right to make technical alterations and further develop hardware and software in
the interests of its customers to improve the function of this product without prior notice.
This manual was created with due care. It is exclusively intended as a technical description of the
product and as commissioning instructions. The warranty is exclusively for repair or replacement of
defective equipment, according to our general terms and conditions; liability for subsequent damage or
errors is excluded. Applicable standards and regulations must be complied with during installation of
the device.
Nanotec produces component parts that are deployed in a variety of industrial applications. The
selection and application of Nanotec products is the responsibility of the system constructor or end user
(see Personnel qualifications). Nanotec accepts no responsibility for the integration of the products in
the end system.
Under no circumstances may a Nanotec product be integrated as the sole safety control in a product
or construction. All positioning controls without exception must be designed so that errors are
detected dynamically and fail- safe under all circumstances. All products which contain a component
part manufactured by Nanotec must show appropriate warning notices and instructions for a safe
application and safe operation on delivery to the end user. All warning notices provided by Nanotec
must be immediately passed on to the end user.
Nanotec only accepts an express warranty for the quality of its own products in agreement with the
standards and specifications as they appear in the Nanotec manual. ALL OTHER IMPLICIT and
EXPLICIT WARRANTIES ARE EXCLUDED. Nanotec assumes no liability for injuries, product damage,
loss or claims that arise through incorrect application of the products.
Nanotec does not take over any responsibilities for results caused by any unauthorized product
changes. Nanotec does not take over any liabilities for damages or disruptions caused by any
unauthorized product changes.
To submit criticism, proposals and suggestions for improvement, please contact the above address or
3.2 Personnel qualifications
Work on and with this product may only be carried out by skilled workers
• who are familiar with and have understood the contents of this manual
• who have completed a training course or have the corresponding experience to be able to estimate,
predict, or identify any dangers that may arise from using the motor controller
• who are familiar with all applicable standards, legal provisions, and accident-prevention regulations
that have to be complied with when working on and with the product
• who are able to ensure personal safety when using the motor controller in an overall system
Operation may only be carried out when the specified cables and corresponding accessories are used.
Use only original accessories and original spare parts.

Manual PD4-C (USB)
3 Safety instructions and warnings
Version: 1.4.1 / 22.07.2016 / FIR-v1626 10
3.3 General danger and warning notes
!
WARNING
Only use this controller with the - by connectors and power - intended 2-phase stepper and BLDC
motors. Otherwise there is a danger of fire or malfunction.
Do not use the product in areas where they are exposed to water, corrosive gases, flammable or
explosive gases or fuel. Otherwise there is a danger of electric shock, fire or explosion.
3.4 Danger and warning signs
All signs listed in this documentation are printed in a standardized form. A hazardous situation is
categorized according to the classes below depending on the level of hazard to the user or motor
controller.
!
DANGER
The DANGER sign indicates an immediately hazardous situation that, when the instruction is
neglected, will unavoidably cause a serious or fatal accident.
!
WARNING
The WARNING sign indicates a potentially hazardous situation that, when the instruction is
neglected, may possibly cause a serious or fatal accident or damage to this device or other devices.
!
CAUTION
The CAUTION sign indicates a potentially hazardous situation that, when the instruction is neglected,
may possibly cause an accident or damage to this device or other devices.
CAUTION
The CAUTION sign without the warning symbol indicates a possibly hazardous situation that, when
the instruction is neglected, may possibly cause an accident or damage to this device or other
devices.
3.5 Other information
The following additional information panels are used in this documentation:
Tip This panel indicates a possibility for simplifying work.
Note
This panel indicates possible error sources or risks of confusion.
Example
This panel contains an example.

Manual PD4-C (USB)
4 About this manual
Version: 1.4.1 / 22.07.2016 / FIR-v1626 11
4 About this manual
4.1 Introduction
This manual is directed toward programmers intending to program a motor controller using the motor
controller from Nanotec®.
4.2 Numerical values
Numerical values are always presented in decimal notation. If hexadecimal notation must be used, this
is indicated by a subscript "h" at the end of the number.
The objects in the object directory are noted as follows with an index and sub-index: <Index>:<Sub-
index>
Both the index and sub-index are in hexadecimal notation. Sub-index 0 is in force when no sub-index is
noted.
Example: Sub-index 5 of object 1003his addressed with "1003h:05h", sub-index 0 of object 6040hwith
"6040h".
In the last section of the manual, all objects are listed in full, and the references in the running text and
tables are set in bold, e.g. 6040h.
4.3 Bits
The individual bits of an object are always numbered beginning with 0 at the LSB. See the following
figure, which uses the "UNSIGNED8" data type as an example.
4.4 Counting direction (arrows)
In drawings, the counting direction is always in the direction of the arrow. The objects 60C5hand 60C6h
shown in the following figure are both positive.
Max. acceleration (60C5h)
Max. deceleration (60C6h)
Acceleration
t

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 12
5 Technical data and pin configuration
5.1 Dimensioned drawings
5.1.1 PD4-C5918M4204-E-01
Front view and mounting Side view Rear view Y
5.1.2 PD4-C6018L4204-E-01
Front view and mounting Side view Rear view Y
5.1.3 PD4-CB59M024035-E-01
Front view and mounting Side view Rear view Y
5.2 Electrical properties
5.2.1 Technical data of motor
PD4-C PD4-CB
Type High-pole DC servo (stepper
motor) Low-pole DC servo (BLDC)

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 13
PD4-C PD4-CB
Operating voltage 12 V to 48 V 12 V to 24 V
Phase current eff. 4.2 A 8 A
RMS for 1s Max. 6.3 A Max. 20 A
5.2.2 Technical data of I/O
Version USB
Operating modes Torque, speed, position, homing
Setpoint setting/programming Clock-direction, analogue input, NanoJ V2, USB
Inputs Single/differential clock/direction/enable (+5 V/+24 V)
3 digital inputs (+24 V)
1 analogue input (0 V to 10 V)
Outputs 1 output, max. 0.5 A, open drain
Integrated encoder Single turn, magnetic absolute encoder, 1024 pulses/rev.
Protection circuit • Over and under voltage protection
• Over temperature: protective circuit at temperature > 75° Celsius
• Polarity reversal protection: in case of polarity reversal, short circuit
between supply voltage and GND via PIN diode, therefore cable
protection device (fuse) required in supply cable. The interrupting
rating of the fuse depends on the application and has to be
• greater than the maximum controllers current consumption
• and smaller than the maximum current of the voltage supply.
In case the fuse being close to the current consumption of the
controller, the fuse characteristic should be slow-blow.
5.2.3 Ratings
Type Holding torque
Ncm
Nom./
Peak Torque
Ncm
Nominal Speed
(rpm)
Length
mm
Weight
kg
PD4-C5918M4204-
E-01/-08 110 n/a n/a 81 0.8
PD4-C6018L4204-
E-01/-08 350 n/a n/a 111 1.5
PD4-CB59M024035-
E-01/-08 n/a 37 / 110 3500 89 0.9
5.3 Overtemperature protection
At a temperature of approx. 80 °C on the board (corresponds to 65-72 °C outside on the rear cover),
the power drive of the controller is switched off and the error bit is set (see object 1001hand 1003h).
After the controller is cooled and the error is confirmed (see table for the controlword, "Fault reset"),
it operates normally again.
The following temperature test results illustrate the temperature behavior of this controller. However,
the specific temperature behavior depends not only on the motor but also largely on the flanging
and the heat transition at the flange, as well as on the convection in the machine. Therefore, we

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 14
recommend always performing a long-term test in a realistic environment for applications with
problematic levels of current and ambient temperature.
Temperature tests were performed under the following conditions:
• Operating voltage: 24 V / 48 V DC
• Motor current: nominal current
• Operation mode: Full step speed mode, 30 rpm
• Operating environment: Thermo TEC
• Ambient temperature: 25 or 45 °C
• Measurement point: rear at power transistors, on the outside of the housing
The following graphics show the temperature test results:
0
10 000
2 000
4 000 6 000 8 000 12 000
1 000
3 000
5 000 7 000 9 000 11 000
20
40
30
50
25
35
45
55
time in seconds
temperature in °Celsius
PD4-C: Controller temperature at 25° Celsius ambient temperature and 4.2A motor current
0
1 000200
400 600 800 1 200 1 400
100
300 500 700 900 1 100 1 300
40
60
50
70
45
55
65
time in seconds
temperature in °Celsius
PD4-C: Controller temperature at 45° Celsius ambient temperature and 4.2A motor current

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 15
0
2 000 4 0001 000 3 000
500 1 500 2 500 3 500 4 500
20
40
60
30
50
70
25
35
45
55
65
time in seconds
temperature in °Celsius
PD4-CB: Controller temperature at 25° Celsius ambient temperature and 8A motor current
0
200 400 600 800
100 300 500 700 900
50
150
250
350 450 550 650 750 850
40
60
50
70
45
55
65
time in seconds
temperature in °Celsius
PD4-CB: Controller temperature at 45° Celsius ambient temperature and 8A motor current
5.4 LED signaling
5.4.1 Operating LED
Normal operation
In normal operation the green operating LED flashes briefly once per second.
1s 2s 3s 4s 5s 6s 7s 8s 9s
Error
Should there be an error, an error number is indicated by the LED, which will switch to a red color. In
the following illustration, the error is signaled with the number 3.
1s 2s 3s 4s 5s 6s 7s 8s 9s
3x
The meaning of the error number is printed in the following table.

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 16
Amount Flash Error
1 General information
2 Voltage
3 Temperature
4 Overcurrent
5 Control
Note
A considerably more exact error code is stored in object 1003hfor every error that has occurred.
5.5 Pin configuration
5.5.1 Overview
5.5.2 Analogue input (connector X1)
Connections for analogue mode
X1 X2 X3
111
Pin Function Remark
1 GND
2 Analogue input 10 bit, 0 - 10 V
3 Digital output Open-Drain, max. 24 V/100 mA
4 Voltage output +12 V, max. 100 mA

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 17
Connection data min max
Conductor cross section solid min. 0.14 mm20.5 mm2
Conductor cross section flexible min. 0.14 mm20.5 mm2
Conductor cross section flexible, with ferrule without plastic sleeve min. 0.25 mm20.5 mm2
Conductor cross section AWG min. 26 20
Minimum AWG according to UL/CUL 28 20
5.5.3 Clock-direction inputs (connector X2)
Connections for the analogue inputs as well as inputs for the clock-direction motor controller.
Note
The inputs for "clock/direction" can get switched between 5 V or 24 V alltogether.
X1 X2 X3
111
Pin Function Remark
1 Digital Input 1 0/+24 V
2 Digital Input 2 0/+24 V
3 Digital Input 3 0/+24 V
4 -Enable 5 V / 24 V signal, all pins together switchable via software with
object 3240h, max. 1 MHz
5 +Enable 5 V / 24 V signal, all pins together switchable via software with
object 3240h, max. 1 MHz
6 -Direction 5 V / 24 V signal, all pins together switchable via software with
object 3240h, max. 1 MHz
7 +Direction 5 V / 24 V signal, all pins together switchable via software with
object 3240h, max. 1 MHz
8 -Clock 5 V / 24 V signal, all pins together switchable via software with
object 3240h, max. 1 MHz
9 +Clock
10 GND
For input 1 to 3 the following switching thresholds are defined:
Switching threshold
On Off
> approx. 16 V < approx. 4 V
Connection data min max
Conductor cross section solid min. 0.14 mm20.5 mm2
Conductor cross section flexible min. 0.14 mm20.5 mm2

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 18
Connection data min max
Conductor cross section flexible, with ferrule without plastic sleeve min. 0.25 mm20.5 mm2
Conductor cross section AWG min. 26 20
Minimum AWG according to UL/CUL 28 20
5.5.4 Voltage supply (connector X3)
Safety instruction
!
CAUTION
Danger of electrical overvoltage!
• Connect a charging capacitor with at least 4700 µF!
• An operating voltage higher than the admissible operating voltage (see the "Technical data of
motor" section) destroys the output stage!
• Mixing up the connections can destroy the output stage!
• Never connect or disconnect lines when live!
• The supply voltage must be selected so that it neverexceeds the admissible operating voltage of
the motor. In particular, interferences by other consumers or by voltages induced by the motor
must be considered, and if necessary a voltage must be selected that offers an adequately high
safety reserve.
Voltage source
The operating or supply voltage is delivered by a battery, a transformer with rectification and filtering, or
better a switch-mode power supply.
Interference suppression and protection measures are required when a DC power supply line with
a length of >30 m is used or the motor is used on a DC bus. An EMI filter is to be installed in the DC
supply cable with a small as possible distance to the motor controller/motor.
Long data or supply lines are to be routed through ferrites.
Connections
X1 X2 X3
111
Pin Function Remark
1 +Vcc • PD4-C: 12-48 V
• PD4-CB: 12-24 V
2 GND
Connection data min max
Conductor cross section solid min. 0.2 mm21.5 mm2

Manual PD4-C (USB)
5 Technical data and pin configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 19
Connection data min max
Conductor cross section flexible min. 0.2 mm21.5 mm2
Conductor cross section flexible, with ferrule without plastic sleeve min. 0.25 mm21.5 mm2
Conductor cross section flexible, with ferrule with plastic sleeve min. 0.25 mm20.75 mm2
Conductor cross section AWG min. 24 16
Minimum AWG according to UL/CUL 24 16
Permissible operating voltage
The maximum operating voltage for each motor type is:
• 12 V to 24 V for BLDC motors
• 12 V to 48 V for stepper motors
A charging capacitor of at least 4700 µF/ 50 V must be connected to the supply voltage to ensure that
the permissible operating voltage is not exceeded (e.g. during braking).

Manual PD4-C (USB)
6 Configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626 20
6 Configuration
6.1 General information
The following options exist for configuring the motor controller:
DIP switches
Four DIP switches are fitted on the rear. More information can be found in the section "DIP
switches".
Configuration file
This file can be stored on the motor controller by using the USB port. Read the sections "USB
port" and "Configuration file.
NanoJ program
This program can be programmed, compiled, and then transferred over USB to the motor
controller with NanoJ Easy. Read the sections and "NanoJ program"Programming with
NanoJ".
After it has been connected to a voltage supply, the motor controller reads out the configuration in the
following sequence:
1. Configuration file is read out and processed.
2. The DIP switches are read out and applied as configuration.
3. The NanoJ program is launched
6.2 DIP switches
The motor controller can be configured with DIP switches mounted on the rear. The base setting when
delivered is shown in the following illustration.
1234
ON
Note
A change of one or more DIP switches will only take effect after a restart of the controller.
A switch pushed up is in the "On" position. A switch pushed down is in the "Off" position.
Switch configurations:
1 2 3 Modus
Off Off Off Clock/Direction
mode
Off Off On Clock/Direction
mode
Off On Off clock/direction Automatic engine run with 30
rpm Direction of rotation is right
Off On On clock/direction Automatic engine run with 30
rpm Direction of rotation is left
On Off Off analogue speed Direction set by "direction" input Maximum revolution speed is
1000 rpm
This manual suits for next models
3
Table of contents
Other NANOTEC Controllers manuals