Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

draw.io Diagram
borderfalse
viewerToolbartrue
fitWindowfalse
diagramNameMYOCAT - Drive State Machine
simpleViewerfalse
widthlinksauto
tbstylehidden
lboxtrue
diagramWidth797revision1

There are a few things to note when using the state machine

...

draw.io Diagram
borderfalse
viewerToolbartrue
fitWindowfalse
diagramNameSingle set-point procedure
simpleViewerfalse
widthlinksauto
tbstylehidden
lboxtrue
diagramWidth690
revision2

Use of acceleration and deceleration value

...

Scroll Table Layout
orientationdefault
sortDirectionASC
repeatTableHeadersdefaultstyle
widths10%,15%, 15%, 15%, 45%, 15%
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

Section


Column
width20%

draw.io Diagram
borderfalse
viewerToolbartrue
fitWindowfalse
diagramNameHardstop CW
simpleViewertrue
widthlinksauto
tbstylehidden
lboxfalse
diagramWidth286revision9


Column
  1. Motor runs CW towards a hardstop. 
  2. The driver monitors the motor current and detects when a hardstop has been reached. 
  3. Motor backs up CCW to the 2nd previous encoder tooth (improved repeatability) and sets the position to 0.
  4. If an offset is set the motor moves the offset distance
    1. Care should be taken not to set a +ve offset as this will move the load into the hardstop
  5. Sets the final position to 0.


...

Section


Column
width20%

draw.io Diagram
borderfalse
viewerToolbartrue
fitWindowfalse
diagramNameCCW Hardstop
simpleViewertrue
widthlinksauto
tbstylehidden
lboxfalse
diagramWidth289revision2


Column
  1. Motor runs CCW towards a hardstop. 
  2. The driver monitors the motor current and detects when a hardstop has been reached. 
  3. Motor backs CW up to the 2nd previous encoder tooth (improved repeatability) and sets the position to 0.
  4. If an offset is set the motor moves the offset distance.
    1. Care should be taken not to set a -ve offset as this will drive the load into the hardstop
  5. Sets the final position to 0.


...

Section


Column
width20%

draw.io Diagram
borderfalse
viewerToolbartrue
fitWindowfalse
diagramNameSensor CW
simpleViewertrue
widthlinksauto
tbstylehidden
lboxfalse
diagramWidth294
revision3

  • Diagram shown with motor connected to linear actuator.
    • CW rotation moves the load left to right
  • Sensor is connected directly on IN2 or IN3


Column
  1. Motor runs CW waiting for sensor input
  2. Sensor rising edge triggers the input, motor captures encoder position, decelerates and reverses direction
  3. Motor stops on captured position and sets position to 0
  4. If an offset is defined the motor continues to the defined offset and sets the final target position to 0.
    1. Offset could be +ve or -ve. The above diagram shows a -ve offset


...

Section


Column
width20%

draw.io Diagram
borderfalse
viewerToolbartrue
fitWindowfalse
diagramNameSensor CCW
simpleViewertrue
widthlinksauto
tbstylehidden
lboxfalse
diagramWidth294revision1

  • Diagram shown with motor connected to linear actuator.
    • CCW rotation moves the load right to left
  • Sensor is connected directly on IN2 or IN3


Column
  1. Motor runs CCW waiting for sensor input
  2. Sensor rising edge triggers the input, motor captures encoder position, decelerates and reverses direction
  3. Motor stops on captured position and sets position to 0
  4. If an offset is defined the motor continues to the defined offset and sets the final target position to 0.
    1. Offset could be +ve or -ve. The above diagram shows a +ve offset.


...