ICP DAS USA CAN-8823 User Manual page 184

Canopen slave device
Table of Contents

Advertisement

Owing to the configuration of object index 0x3100 to 0x3106, you may
parameterize the PWM modules. The object index 0x3100 can control the module to
start or stop the pulse output of each channel. Each sub-index is corresponding to
each channel. Users can use object index 0x2004~2007 to decide the PWM method
of each slot. Please refer to the appendix A for more details. If users select Burst
Counting mode, the object index 0x3101 must be set to decide how many pulse users
want to output. Users can set 1 ~ 65535 to the object 0x3101 and use object 0x3100
to start or stop the pulse output. Every time when set the object 0x3100 to 1, the
channel will output the specific pulses with one burst cyclic. For example, user set
channel 0 to Burst Counting mode and set object index 0x3101 with sub-index 1 to
100. When user set the object 0x3100 with sub-index 1 to 1, the channel 0 will output
100 pulses. Or if users select Continue Counting mode, the object 0x3101 will useless.
When users set the object 0x3100 to 1, the channel will start to output the pulse
cyclically until the object is set to 0.If you want to change the frequency of pulse, you
can set the value 100 ~ 5000000 with the base 0.1Hz (that is 10Hz ~ 500kHz) to
object 0x3102.
Object index 0x3103 is pulse duty per mille (
means that the high duty is 300
object 0x3104 can set the DI pin of the PWM module as hardware trigger channel.
When set the value of object 0x3104 with sub-index 2 to 1, it means the DI channel 2
will loss the DI functions and become a hardware trigger pin. In this case, if there is a
signal (5V~30V) into the DI channel 2, the channel 2 will start to output until the signal
is clear.
Object 0x3105 and 0x3106 can control all of the channels of the PWM module to
output synchronous. If user wish channel 0 ~ 3 of the PWM module output the pulse
synchronously. Set the object 0x3105 with sub-index 1 ~ 4 to 1, and set the others to 0.
Then, set the object 0x3106 with sub-index 1 to 1. These 4 channels (channel 0 ~ 3)
will start to output pulse at the same time (their first low-to-high edge will be triggered
at the same time, but the period may be different because of different pulse width).
Take a note that the different sub-index of the object 0x3106 indicates the different
PWM module in different slot. If there are two PWM modules on the CAN-8x23, the
maximum sub-index number of the object 0x3106 is 2. The sub-index 1 is for the
PWM module with lower slot No. and the sub-index 2 is for the one with higher slot
No.
CAN-8x23 user's manual (Revision 3.20, Mar/08/2012) ------
and the low duty is 700
). If set the object to value 300, it
in one pulse width. The
184

Advertisement

Table of Contents
loading

Table of Contents