Configure digital inputs

Settings for digital inputs 1 ... 7.
 
Preconditions
Digital input 6 and digital input 7 are only available for a Control Unit (CU) with application I/O.
 
Details
The digital inputs are used for control tasks. For this purpose, the digital inputs are available as selectable triggers for functions.
The following settings are possible for the digital inputs:
–
Assertion level "HIGH active" or "LOW active" ①
 
–
Debounce time ②
 
–
Inversion ③
 
Diagnostic parameters:
–
The logic status of the digital inputs is displayed in 0x60FD (P118.00).
 
 
Assertion level "HIGH active" or "LOW active"
The digital inputs can be configured in 0x2630:001 (P410.01) HIGH active (default setting) or LOW active:
HIGH active (default setting)
LOW active
–
Internally, the digital input terminals are set to LOW level via pull-down resistors.
 
–
The current flows from the current supply (e.g.  X3/24V) through the contact to the digital input terminal (and internally via the pull-down resistor to GND).
 
–
If the contact is closed, the digital input is set to HIGH level and is thus HIGH active.
 
–
Internally, the digital input terminals are set to HIGH level via pull-up resistors.
 
–
The current flows from the digital input terminal through the contact to GND.
 
–
If the contact is closed, the digital input is set to LOW level and is thus LOW active.
 
Connection plan (example):
Connection plan (example):
 
Debounce time
For minimising interference pulses, a debounce time of 1 ms is set for all digital inputs. Via »EASY Starter« (or network), the debounce time for can be increased individually for each digital input to maximally 50 ms.
 
Inversion
Each digital input can be configured in such a way that the status pending at the terminal is internally inverted logically. This way, a closed contact, for instance, serves to deactivate an assigned function instead of activating it. Thus, the control of the inverter can be flexibly adapted to the requirements of the actual application.
 
Parameter
Address
Name / setting range / [default setting]
Information
0x2630:001
(P410.01)
Settings for digital inputs: Assertion level
(DI settings: Assertion level)
Definition of the internal hardware interconnection of the digital inputs.
0
LOW active
Digital inputs are internally set to HIGH level via pull-up resistors.
1
HIGH active
Digital inputs are internally set to LOW level via pull-down resistors.
0x2630:002
(P410.02)
Settings for digital inputs: Input function
(DI settings: Input function)
Input function of the digital terminals DI3 and DI4.
0
Digital input
DI3 = digital input
DI4 = digital input
1
High resolution HTL encoder  
DI3 = HTL input for encoder track A
DI4 = HTL input for encoder track B
–
This method is well suited for encoders with a high signal quality (scanning ratio 1:1).
 
–
Not suited for encoders with poor signal quality (high error rate)
 
–
Exact 90°-phase offset between track A and B (error <= 10°)
 
–
Wiring according to EMC (e.g. motor and encoder cable shielding) is required.
 
2
Pulse train  
DI3 = digital input
DI4 = HTL input for pulse train
3
Pulse train/direction  
DI3 = HTL input for direction specification; HIGH level = counter-clockwise (CCW)
DI4 = HTL input for pulse train
4
Low resolution HTL encoder  
For the evaluation of a HTL encoder with low resolution (≤ 128 increments per revolution).
–
This evaluation method is suitable for encoders with poor signal quality, e.g. encoders with a high error rate in sampling ratio and phase offset.
 
–
The prerequisite is an equidistant period length per encoder increment.
 
–
An interruption of track A is not detected.
 
7
Edge counting method  
0x2632:001
(P411.01)
Inversion of digital inputs: Digital input 1
(DI inversion: DI1 inversion)
Inversion of digital input 1
0
Not inverted
1
Inverted
0x2632:002
(P411.02)
Inversion of digital inputs: Digital input 2
(DI inversion: DI2 inversion)
Inversion of digital input 2
0
Not inverted
1
Inverted
0x2632:003
(P411.03)
Inversion of digital inputs: Digital input 3
(DI inversion: DI3 inversion)
Inversion of digital input 3
0
Not inverted
1
Inverted
0x2632:004
(P411.04)
Inversion of digital inputs: Digital input 4
(DI inversion: DI4 inversion)
Inversion of digital input 4
0
Not inverted
1
Inverted
0x2632:005
(P411.05)
Inversion of digital inputs: Digital input 5
(DI inversion: DI5 inversion)
Inversion of digital input 5
0
Not inverted
1
Inverted
0x2632:006
(P411.06)
Inversion of digital inputs: Digital input 6
(DI inversion: DI6 inversion)
Inversion of digital input 6
0
Not inverted
1
Inverted
0x2632:007
(P411.07)
Inversion of digital inputs: Digital input 7
(DI inversion: DI7 inversion)
Inversion of digital input 7
0
Not inverted
1
Inverted
0x2633:001
Digital input debounce time: Digital input 1
1 ... [1] ... 50 ms
Debounce time of digital input 1
0x2633:002
Digital input debounce time: Digital input 2
1 ... [1] ... 50 ms
Debounce time of digital input 2
0x2633:003
Digital input debounce time: Digital input 3
1 ... [1] ... 50 ms
Debounce time of digital input 3
0x2633:004
Digital input debounce time: Digital input 4
1 ... [1] ... 50 ms
Debounce time of digital input 4
0x2633:005
Digital input debounce time: Digital input 5
1 ... [1] ... 50 ms
Debounce time of digital input 5
0x2633:006
Digital input debounce time: Digital input 6
1 ... [1] ... 50 ms
Debounce time of digital input 6
0x2633:007
Digital input debounce time: Digital input 7
1 ... [1] ... 50 ms
Debounce time of digital input 7
 
Example: Activating two functions simultaneously via digital input 4
The principle of assigning triggers to functions also enables a digital input to be assigned to several functions. The wiring complexity is reduced since there is no necessity to interconnect several digital inputs.
If, for instance, the frequency preset 1 is to be selected via the digital input 4 and a change-over to the acceleration time 2 and deceleration time 2 is to take place at the same time, this can be easily realised by the following parameter setting:
Parameter
Designation
Setting for this example
Activate preset (bit 0)
Digital input 4 [14]
Activate ramp 2
Digital input 4 [14]
In order to achieve the desired behaviour, the digital input 4 must not be assigned to any further functions!