FF_WriteFeederParam

Writes the vibration parameters for movement actions A to Z to the feeder flash memory.

Format

FF_WriteFeederParam "Movement action" Setting value 1, Setting value 2, …, Setting value 17

Parameter

  • Movement action
    • A to Z: Specify the symbol for the movement action.
  • Setting value
    • Setting value 1: Motor 1 amplitude (0 to 100[%])
    • Setting value 2: Motor 1 frequency (0 to 250 [Hz])
    • Setting value 3: Motor 1 phase (0 to 359 [degrees])
    • Setting value 4: Motor 1 waveform (0: None, 1: Sine wave, 2: Upper sawtooth wave, 3: Lower sawtooth wave)
    • Setting value 5: Motor 2 amplitude (0 to 100[%])
    • …
    • Setting value 15: Motor 4 phase (0 to 359 [degrees])
    • Setting value 16: Motor 4 waveform (0: None, 1: Sine wave, 2: Upper sawtooth wave, 3: Lower sawtooth wave)
    • Setting value 17: Duration (0 to 30000 [ms])

Returned value

  • 0: Operation successful
  • -1: Operation failed

Example of use

Write the vibration parameters for movement action "A".

The returned value "0" indicates that the operation was successful.

> FF_WriteFeederParam "A" 30, 50, 0, 1, 30, 50, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1000
0