All products manufactured by ICP DAS are under warranty regarding
defective materials for a period of one year from the date of delivery to
the original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of
this product. ICP DAS reserves the right to change this manual at any
time without notice. The information furnished by ICP DAS is believed to
be accurate and reliable. However, no responsibility is assumed by ICP
DAS for its use, or for any infringements of patents or other rights of third
parties resulting from its use.
Copyright
Copyright @2019 is reserved by ICP DAS.
Trademark
The names used for identification only may be registered trademarks
CANopen is one kind of the network protocols based on CAN bus and
mainly used for embedded system, such as industrial machine control,
vehicle control system, factory automation, medical equipments control,
remote data acquisition, environment monitoring and package machines
control. The CAN-2084C is a CANopen slave which follows the CiA 301
version 4.02. The CAN-2084C is a 4/8-channel Counter/Frequency
module that provides “Up Counter”, "Frequency”, “Up/Down Counter”,
“Dir/Pulse Counter” and “A/B Phase Counter” modes. It provides a variety
of measurement applications, such as measuring a number of timerelated quantities, counting events or totalizing and monitoring position
with quadrature encoders. In addition, a digital filter is used to eliminate
the effects of noise. Users can obtain those data or configure the CAN2084C via the standard CANopen protocol. In order to be fully compatible
with other CANopen devices, the CAN-2084C has passed the validation
of the CiA CANopen Conformance Test tool. Therefore, it is very easy to
integrate the CAN-2084C with the standard CANopen master by applying
the EDS file. Combining with the CANopen masters of ICP DAS, you can
quickly build a CANopen network to approach your requirements.
4-channel Up/Down Counter (Up/Down)
4-channel Dir/Pulse Counter (Bi-direction)
4-channel Quadrant Counting
8-channel Up Counter
8-channel Frequency
Programmable Digital Noise Filter: 1 to 32767 µs
Isolated Input
Level
Logic Level 0: +1 V Max.
Logic Level 1: +4.5 to +30 V
TTL Input
Level
Logic Level 0: 0 to +0.8 V
Logic Level 1: 2 to +5 V
Minimum
Pulse Width
2μs
Input
Frequency
1 Hz ~ (typically) 250 kHz for both counter and frequency mode, where 250 kHz is calculated as follows:
supposed that the duty cycle = 50%, by referring to the Minimum Pulse Duration of the High Level, the pulse
period will be 2 μs x 2= 4 μs, which is 250 kHz as a maximum. Maximum Frequency:
Refer to the Minimum Pulse Duration of the High Level, the maximum frequency is highly affected by the duty
cycle
Frequency Accuracy = ±0.4%
EEPROM
128KB
1.2 Features
NMT Slave
Guarding or Heartbeat Error Control protocols
Supports Dynamic PDO
Provide the EDS file
ESD Protection 4 KV Contact for each channel
Verifies by the CiA CANopen Conformance Test tool
The rotary switches for node ID configure the node ID of the CAN-2084C
module. These two switches are for the tens digit and the units digit of node ID. The
node ID value of this demo picture is 32.
The rotary switch for baud rate handles the CAN baud rate of the CAN2084C module. The relationship between the rotary switch value and the practical
baud rate is presented in the following table.
At least one error of the CAN
controller has occurred
Blinking
Guarding fail
Guard event happened
Continuing Light
Bus Off
The CAN controller is bus off
2.3 LED Description
Power LED
The CAN-2084C needs a 10V~30VDC power supply. Under a normal
connection, a good power supply and a correct voltage selection, as the unit it turned
on, the LED will light up in red.
Run LED
The Run LED indicates the CANopen operation state. The description of the
LED state is shown below. About the details, please refer to the section 2.3.1 of the
CAN-2000C user manual.
Error LED
The Error LED indicates the CANopen error state. The description of the
LED state is shown below. About the details, please refer to the section 2.3.2 of the
CAN-2000C user manual.
Terminal Resistor LED
When the switch of the 120Ω terminal resistor is turned on, the terminal
resistor LED will be lightening.
The CAN-2084C has two kind of inputs, isolated and non-isolated (TTL) for different
input signals. Users can switch jumper setting on the CAN-2084C board for
appropriate signal. These jumpers are located within JP1~JP8. The jumper settings
are listed in the following table. The isolated input is set by default.
The operational logic applied on CAN-2084C modules is a falling edge trigger.
(Normal High and Active Low) The external signal is input into a CAN-2084C
module through the isolation mechanism, with the signal being reversed from the
external signal. This internal signal is the suggested waveform, as the XOR
operation (XOR=0) doesn’t need to be executed.
The solution is shown below.
TTL Input (XOR=1)
When an external TTL signal is input into a CAN-2084C module through the TTL
mechanism, the signal will be the same as the external signal. This internal signal
isn’t the recommended waveform as the exclusive OR (XOR=1) operation must be
Refer to the following table for details of how to set the Low Pass Filter:
An example is illustrated in the following figure:
In this example, H < T and the high width of the input signal < the period of the filtering
clock, and so the signal will be filtered.
Supposed T = 1 ms, that is the filtering clock has a frequency of 1 kHz. Now, if the
duty cycle of the input signal is 50%, that is the high width is equal to the low width,
then:
H < T ➙ H < 1 ms
➙ input signal period < 2 ms (duty cycle = 50%)
➙ input frequency > 500 Hz,
Consequently, the input signal will be filtered.
Now, if the duty cycle of the input signal is 25%, that is the low width is three
times the high width, then:
H < T ➙ H < 1 ms
➙ Input signal period < 4 ms (duty cycle = 25%)
➙ Input frequency > 250 Hz,
Consequently, the input signal will be filtered.
Similarly, the maximum period of the filtering clock can be calculated to allow the input
signal to be passed using the formula H > 2T.
If InB0 is Low, counter will be increased by one for every falling edge of InA0.
If InB0 is High, counter will be decreased by one for every falling edge of InA0.
2.8.2Mode 1: Up/Down Counting
When InA0 is used as an UP_clock and InB0 is used as a DOWN_clock, counter_0
will be increased by one for every falling edge of InA0 and decreased by one for every
falling edge of InB0.
We calculate frequency of a certain channel by how many counts in a period of time.
There are two modes: Normal Mode and High Speed Mode for measurement
frequency
Normal Mode:
Normal Mode will read 1 pulse, this pulse will be calculated frequency value.
High Speed Mode:
High Speed Mode will read 11 pulses to calculate average value of those 11
pluses.
High Speed Mode will be more accuracy than Normal mode for measurement
Frequency. We suggest using High Speed Mode if measurement frequency is more
than 10k Hz.
Note: If user want to use Dir/Pulse, Up/Down or Quadrant Mode, user must set
the paired channels in the same mode. For example, user use first set as
Up/Down Counter, user need to set Channel 0 and Channel 1 into
Up/Down Counting mode.
Note: When user set 2004 to 02(Frequency mode), user can use 3004
to determine which mode you want
Frequency Mode
Frequency Time Out Value Entry
Note:
Frequency time out value:
Default: 0xBB8 (3000ms)
Range: 0x0 ~ 0xFFFF
For example:
To measure 1k Hz frequency.
In normal mode, only needs 1 ms to update frequency value.
In High Speed mode, it will measure 11 times (necessary 1ms*11=11ms) and
calculate frequency value.
The user can write the value 65766173h to object with index 1010h and
subindex 1 to save the application setting, or write the value 64616F6Ch to the object
with index 1011h and subindex 1 and reboot the module to load the factory default.
The following table lists the relative objects which will be stored or restored after
writing these two objects. The factory default for these objects is also shown below:
The user can read the object with index 2004h and subindex 1~8 to get the
Counter type of the channel 0~7. If the user wants to change the Counter type,
write the type code to the object with index 2004h and subindex 1~8. For
example, if the node ID of CAN-2084C is 1, the following command would be
used:
Counter Value (0x3000)
Reading the object with index 3000h and subindex 1~8 to get the Counter
If Data0 is 60, that means the CAN-2084C writes data successfully.
If Data0 is 80, that means it fails.
Select Frequency Mode (0x3004)
This object can be used to select the frequency mode. There are two modes
can be selected, normal mode and High speed mode. Note:If user doesn’t
choose frequency mode in object 0x2004, 0x3004 make no difference to CAN2084C module.
For example, if the node ID of CAN-2084C is 1, the commands are shown
below:
If Data0 is 60, that means the CAN-2084C writes data successfully.
If Data0 is 80, that means it fails.
Set Frequency Time Out Value (0x3005)
User can use this object to set the frequency time out value. The default
value is 0xBB8(3000ms) and the range is from 0x0 to 0xFFFF(65535ms). Note:
If user doesn’t choose frequency mode in object 0x2004, 0x3005 make no
difference to CAN-2084C module.
For example, if the node ID of CAN-2084C is 1, the commands are shown