ECM appsCAN Module Instruction Manual page 42

Table of Contents

Advertisement

Example: Configure all analog channels as a ratiometric output of the reference.
CANid
byte 0
0x600+NID
0x2F
Setting Default Output Values
Default analog output values are stored as single precision floating point numbers (IEEE-
754) in the module. These values are applied to the outputs on startup before any commands
are received. There are a set of default values for both absolute voltage and ratiometric
settings. The appropriate value will be used depending on the configuration selected for the
particular output. They can be accessed by performing an SDO read or write to the following
Object Dictionary addresses.
OD
Address
AO1V
0x5025
AO2V
0x5025
AO3V
0x5025
AO4V
0x5025
AO1%
0x5025
AO2%
0x5025
AO3%
0x5025
AO4%
0x5025
6.3.
Configure PWM Resolution
The PWM frequency and duty cycle resolution can be set to either 8-bit or 16-bit. In 8-bit
mode, all four PWM channels can be used. In 16-bit mode, only PWM2 and PWM4 can be
used, PWM1 and PWM3 are disabled. In 8-bit mode, worst case resolution is 0.4% Duty
Cycle, 4 Hz. In 16-bit mode, worst case resolution is 0.008% Duty Cycle, 0.1 Hz. The worst
case occurs at highest frequencies.
Send the following OS Command to configure the module's PWM outputs as 8-bit mode.
CANid
byte 0
0x600+NID
0x2F
Send the following OS Command to configure the module's PWM outputs as 16-bit mode.
CANid
byte 0
0x600+NID
0x2F
38
byte 1
byte 2
byte 3
0x23
0x50
0x00
OD
Factory
Subindex
Default
0x00
0V
0x01
0V
0x02
0V
0x03
0V
0x04
0%
0x05
0%
0x06
0%
0x07
0%
byte 1
byte 2
byte 3
0x23
0x10
0x01
byte 1
byte 2
byte 3
0x23
0x10
0x01
byte 4
byte 5
byte 6
0x0F
byte 4
byte 5
byte 6
0x35
byte 4
byte 5
byte 6
0x36
byte 7
byte 7
byte 7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the appsCAN Module and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Gpiocan module

Table of Contents