7 operation process examples – ADLINK AMP-208C User Manual

Page 161

Advertising
background image

Motion Control Theory

147

AMP-204C / AMP-208C

4.9.3.7

Operation Process Examples

Operation flow for various control modes are outlined below for
your reference.

Mode

Description

1: PWM mode

a. VAO parameter table - APS_set_vao_param ()
0x00: set to 1 – PWM mode
0x01: set to 1 – command speed
0x10: set to 1000 – set fixed frequency to 1000 Hz
0x20: set to 3 – Axis0 and Axis1 are selected
b. "Velocity to Power" mapping lookup table -
APS_set_vao_table ()
Duty cycle range: 0 ~ 2000 units (Be equal to 0 ~ 100 %)
Points range: 1 ~ 32 points
c. Switch VAO table - APS_switch_vao_table ()
d. Enable VAO output channel - APS_start_vao ()

2: PWM frequency
mode with fixed
width

a. VAO parameter table - APS_set_vao_param ()
0x00: set to 2 – PWM frequency mode with fixed width
0x01: set to 1 – command speed
0x10: set to 1000 – set fixed pulse width to 1000 ns
0x20: set to 3 – Axis0 and Axis1 are selected
b. "Velocity to Power" mapping lookup table -
APS_set_vao_table ()
Frequency range: 1 ~ 25Mhz for PCI-8253/6
Points range: 1 ~ 32 points
c. Switch VAO table - APS_switch_vao_table ()
d. Enable VAO output channel - APS_start_vao ()

3: PWM frequency
mode with fixed
duty cycle

a. VAO parameter table - APS_set_vao_param ()
0x00: set to 3 – PWM frequency mode with fixed duty cycle
0x01: set to 1 – command speed
0x10: set to 200 – set fixed duty cycle to 10%. (200 * 0.05%)
0x20: set to 3 – Axis0 and Axis1 are selected
b. "Velocity to Power" mapping lookup table -
APS_set_vao_table ()
Frequency range: 1 ~ 25Mhz for PCI-8253/6
Points range: 1 ~ 32 points
c. Switch VAO table - APS_switch_vao_table ()
d. Enable VAO output channel - APS_start_vao ()

Advertising
This manual is related to the following products: