X20 module • Counter modules • DC4395
24.11 DC4395
24.11.1 General information
The DC4395 module is a multifunctional counter module. It can be connected to two SSI
encoders, two ABR encoders, four AB encoders, or eight event counters. Four outputs are
available for pulse width modulation. The functions can also be mixed (see section 24.11.8
"Connection possibilities" on page 1049).
• 24 VDC encoder inputs
• SSI, ABR, AB or event counters for inputs
• Pulse width modulation for outputs
• 24 VDC and GND for encoder supply
Information:
This module is a multi-function module. Some bus controllers only support the
default function model described below. This is indicated in the documentation for
the individual bus controllers.
Default function model:
• 1x ABR incremental encoder (24 V)
• 1x SSI absolute encoder (24 V)
• 1x event counter (24 V)
• 2x PWM output (24 V)
1042 X20 System User's Manual V 2.10
X20 module • Counter modules • DC4395
24.11.2 Order data
Model number Short description Figure
Counter module
X20DC4395 X20 digital counter module, 2x SSI absolute encoder 24 V,
2x ABR incremental encoder 24 V, 4x AB incremental
encoder 24 V, 8x event counter, or 4x PWM, local time
measurement functions
Required accessories
X20TB12 X20 terminal block, 12-pin, 24 V coded
X20BM11 X20 bus module, 24 V coded, internal I/O supply is
interconnected
Table 627: DC4395 - Order data
24.11.3 Technical data
Product ID DC4395
X20 module
Chapter 4
Short description
I/O module 2 SSI absolute encoder 24 V, 2 ABR incremental encoder 24 V, 4 AB incremental encoder 24 V,
8x event counter, or 4x pulse width modulation, time measurement, relative time stamp
SSI absolute encoder
Amount 2
Encoder inputs 24 V, asymmetrical
Counter size 32-bit
Maximum transfer rate 125 kBit/s
Encoder supply Module-internal, max. 600 mA
Incremental encoder
Amount 4
Encoder inputs 24 V, asymmetrical
Counter size 16/32-bit
Input frequency (max.) 100 kHz
Evaluation 4x
Encoder supply Module-internal, max. 600 mA
Table 628: DC4395 - Technical data
X20 System User's Manual V 2.10 1043
X20 module • Counter modules • DC4395
Product ID DC4395
Event counter
Amount 8
Rated voltage 24 VDC
Counter size 16-bit
Input frequency (max.) 100 kHz
Evaluation Each edge, cyclic counter
Signal form Square wave pulse
Time measurement
Possible measurements Gate time, period duration, edge offset for various channels
Measurements per module Up to 9
Measurements per channel Up to 2
Counter size 16-bit
Internal counter frequency 8 MHz, 4 MHz, 2 MHz, 1 MHz, 500 kHz, 250 kHz, 125 kHz, 62.5 kHz
Signal form Square wave pulse
Measurement type Continuous or triggered
Digital outputs
Amount 4
Rated voltage 24 VDC
Rated output current 0.1 A
Total current 0.4 A
Output circuit Sink or source
Output protection Thermal cutoff for overcurrent and short circuit, integrated protection for switching inductances
Pulse width modulation 1)
Period duration 41.6 µs to 1.36 s
Factor for period duration n/48000 s, n = 2 to 65535 2)
Pulse length 0 to 100%
Resolution for pulse length 0.1%
Actuator supply Module-internal, max. 600 mA
Table 628: DC4395 - Technical data (cont.)
1044 X20 System User's Manual V 2.10
X20 module • Counter modules • DC4395
Product ID DC4395
General information
Status indicators I/O function per channel, operating state, module status
Diagnostics
Module run/error Yes, with status LED and software status
Outputs Yes, with status LED and software status (output status)
Electrical isolation
Encoder - Bus Yes
Output - Bus Yes
Output - Encoder No
Encoder - Encoder No
Output - Output No
Power consumption
Bus 0.01 W
I/O internal 1.5 W
Certification CE, C-UL-US, GOST-R
Operating conditions
Operating temperature
Horizontal installation 0°C to +55°C
Vertical installation 0°C to +50°C
Relative humidity 5 to 95%, non-condensing
Mounting orientation Horizontal or vertical
Installation at altitudes above sea level
0 - 2000 m No derating
>2000 m Reduction of ambient temperature by 0.5°C per 100 m
Protection type IP20
Storage and transport conditions
X20 module
Chapter 4
Temperature -25°C to +70°C
Relative humidity 5 to 95%, non-condensing
Mechanical characteristics
Spacing 12.5 +0.2 mm
Comment Order terminal block 1x X20TB12 separately
Order bus module 1x X20BM11 separately
Table 628: DC4395 - Technical data (cont.)
1) Dead time when switching between push and pull: Max. 1.5 µs
2) For an example of calculating the period duration, see section 24.11.12 "Calculating the period duration" on page 1051.
X20 System User's Manual V 2.10 1045
X20 module • Counter modules • DC4395
24.11.4 Additional technical data
Product ID DC4395
SSI absolute encoder
Coding Gray/Binary
CLK: Output current Max. 100 mA
Overload behavior of the encoder supply Short circuit protection, overload protection
Incremental encoder
Overload behavior of the encoder supply Short circuit protection, overload protection
Event counter
Counter frequency 200 kHz
Input filter
Hardware 2 µs
Software -
Input current at 24 VDC Approx. 1.3 mA
Input resistance 18.4 k
Switching threshold
Low <5 VDC
High >15 VDC
Isolation voltage betw. channel and bus 500 Veff
Digital outputs
Design Push / Pull / Push-Pull
Switching voltage 24 VDC (-15% / +20%)
Diagnostics status Output monitoring
Leakage current when switched off Max. 25 µA
Residual voltage <0.9 V @ 0.1 A rated current
Short circuit peak current <10 A
Switching on after overload or short circuit Approx. 10 ms
cutoff (depends on the module temperature)
Switching delay
01 <2 µs
10 <2 µs
Switching frequency
Resistive load Max. 24 kHz
Inductive load See the section 24.11.11 "Switching inductive loads" on page 1051 (at 90% duty cycle)
Braking voltage when switching off Switching voltage + 0.6 VDC
inductive loads
Isolation voltage betw. channel and bus 500 Veff
General information
B&R ID code $1CC5
Input voltage 24 VDC (-15% / +20%)
Type of signal lines Shielded cables should be used for all signal lines
Table 629: DC4395 - Additional technical data
1046 X20 System User's Manual V 2.10
X20 module • Counter modules • DC4395
24.11.5 Status LEDs
Figure LED Color Status Description
r Green Off Module supply not connected
Single flash Reset mode
Blinking Preoperational mode
On RUN mode
e Red Off Module supply not connected or everything is OK
On Error or reset state
1-8 Green Status of the corresponding digital signal
Table 630: DC4395 - Status indicators
X20 module
Chapter 4
X20 System User's Manual V 2.10 1047
X20 module • Counter modules • DC4395
24.11.6 Pin assignments
Shielded cables should be used for all signal lines.
r e
X20 DC 4395
1 5
2 6
3 7
4 8
Channel 1 Channel 5
Channel 2 Channel 6
Channel 3 Channel 7
Channel 4 Channel 8
Encoder 1 24V+ Encoder 2 24V+
GND GND
Figure 494: DC4395 - Pin assignments
24.11.7 Connection example
DC
Data Data
Clock Clock
Counter 1
Counter 2
A A
B B
R R
PWM PWM
+24 VDC +24 VDC
GND GND
Figure 495: DC4395 - Connection example
1048 X20 System User's Manual V 2.10
X20 module • Counter modules • DC4395
24.11.8 Connection possibilities
Channels 1 to 8 can be connected as follows:
Channel Function
1 I Event counter A A SSI data
2 I/O Event counter B B SSI clock PWM
3 I Event counter A R
4 I/O Event counter B Enable reference PWM
5 I Event counter A A SSI data
6 I/O Event counter B B SSI clock PWM
7 I Event counter A R
8 I/O Event counter B Enable reference PWM
The functions can also be mixed. For example:
Example 1 Example 2 Example 3
Channel Function Channel Function Channel Function
1 SSI data 1 SSI data 1 Event counter
2 SSI clock 2 SSI clock 2 PWM
3 Event counter 3 A 3 Event counter
4 PWM 4 B 4 PWM
5 A 5 Event counter 5 SSI data
6 B 6 Event counter 6 SSI clock
X20 module
Chapter 4
7 Event counter 7 Event counter 7 A
8 PWM 8 Event counter 8 B
Example 4 Example 5 Example 6
Channel Function Channel Function Channel Function
1 A 1 A 1 Event counter
2 B 2 B 2 Event counter
3 R 3 Event counter 3 Event counter
4 Enable reference 4 PWM 4 PWM
5 A 5 A 5 SSI data
6 B 6 B 6 SSI clock
7 R 7 Event counter 7 A
8 Enable reference 8 Event counter 8 B
X20 System User's Manual V 2.10 1049
X20 module • Counter modules • DC4395
24.11.9 Input circuit diagram
Input x
VDR
Input status
I/O status
24 V
PTC
24 V Encoder x LED (green)
GND
GND
Figure 496: DC4395 - Input circuit diagram
24.11.10 Output circuit diagram
24 V
Output status Push
PTC
Output x
VDR
Output status Pull
GND
Output
monitoring
Figure 497: DC4395 - Output circuit diagram
1050 X20 System User's Manual V 2.10
X20 module • Counter modules • DC4395
24.11.11 Switching inductive loads
100 H 10 H 1H
1000
0.1 H
Coil resistance
Coil inductance
[W]
0.01 H
240 W = 100 mA
0.1 1 10 100 1000 10000
max. operating cycles / second
(at 90 % duty cycle)
Figure 498: DC4395 - Switching inductive loads
24.11.12 Calculating the period duration
The four outputs of the DC2395 can be operated as PWM outputs. The period duration is
calculated using the following formula:
n -s
PeriodDuration = ---------------
48000
X20 module
Chapter 4
A value of 2 to 65535 can be defined for n.
Example
n Period duration Frequency
2 41.6 µs 24 kHz
24000 500 ms 2 Hz
48000 1s 1 Hz
65535 1.36 s 0.73 Hz
Table 631: DC4395 - Calculation of the period duration
X20 System User's Manual V 2.10 1051
X20 module • Counter modules • DC4395
24.11.13 ReferenceModeEncoder01 channel
The reference mode is written cyclically by incremental encoder 1. Bit 0 and bit 1 make up the
definition:
$C1 ... Single reference
$C3 ... Continuous referencing
After a successful single reference (indicated by the status bits), the reference mode must first
be turned back off (value = $C0).
After the status has taken on the value $00, the reference process can be started again with the
value $C1.
Bit Description
0-1 Setting the reference mode
00 ... Off (default)
01 ... Single reference
10 ... Reserved
11 ... Continuous referencing
2-5 0
6-7 1
24.11.14 ReferenceModeEncoder02 channel
The reference mode is written cyclically by incremental encoder 2. Bit 0 and bit 1 make up the
definition:
$C1 ... Single reference
$C3 ... Continuous referencing
After a successful single reference (indicated by the status bits), the reference mode must first
be turned back off (value = $C0).
After the status has taken on the value $00, the reference process can be started again with the
value $C1.
Bit Description
0-1 Setting the reference mode
00 ... Off (default)
01 ... Single reference
10 ... Reserved
11 ... Continuous referencing
2-5 0
6-7 1
1052 X20 System User's Manual V 2.10
X20 module • Counter modules • DC4395
24.11.15 StatusInput01 channel
The status of incremental encoder 1 is read cyclically.
Bit Description
0-1 0
2 After the first reference pulse, this is always 1
0 ... Referencing is turned off
1 ... After the first reference pulse
3 Toggles after every completed reference
0 ... Referencing is turned off
0/1 ... Toggle after each completed reference
4 After the first reference pulse, this is always 1
0 ... Referencing is turned off
1 ... After the first reference pulse
5-7 Cyclic counter which is increased by 1 as soon as a reference pulse is detected
0 ... Referencing is turned off
xxx ... Counter status
24.11.16 StatusInput02 channel
The status of incremental encoder 2 is read cyclically.
Bit Description
0-1 0
2 After the first reference pulse, this is always 1
X20 module
Chapter 4
0 ... Referencing is turned off
1 ... After the first reference pulse
3 Toggles after every completed reference
0 ... Referencing is turned off
0/1 ... Toggle after each completed reference
4 After the first reference pulse, this is always 1
0 ... Referencing is turned off
1 ... After the first reference pulse
5-7 Cyclic counter which is increased by 1 as soon as a reference pulse is detected
0 ... Referencing is turned off
xxx ... Counter status
X20 System User's Manual V 2.10 1053