Skip to content
Alden Hart edited this page Nov 22, 2015 · 9 revisions

This page contains items specific to the TinyGv9 board.

v9 Digital Inputs

Inputs are mapped to the connectors:

  • DI1 is Xmin

  • DI2 is Xmax

  • DI3 is Ymin

  • DI4 is Ymax

  • DI5 is Zmin, which is also used as a Z probe

  • DI6 is Zmax

  • DI7 is Amin (only available on J15 2x13 0.100 header)

  • DI8 is Amax (only available on J15 2x13 0.100 header)

  • DI9 is Interlock (only available on J15 2x13 0.100 header)

Table 1. v9 Digital Input Mapping
Input Label Mode Action Function Notes

Legend

  1. Input Mode

    1. INPUT_MODE_DISABLED = -1

    2. INPUT_ACTIVE_LOW = 0 (aka NORMALLY_OPEN)

    3. INPUT_ACTIVE_HIGH = 1 (aka NORMALLY_CLOSED)

      INPUT_ACTION_NONE
      INPUT_ACTION_STOP
      INPUT_ACTION_FAST_STOP
      INPUT_ACTION_HALT
      INPUT_ACTION_RESET
      INPUT_FUNCTION_NONE
      INPUT_FUNCTION_LIMIT
      INPUT_FUNCTION_INTERLOCK
      INPUT_FUNCTION_SHUTDOWN
      INPUT_FUNCTION_PANIC

#define DI1_MODE NORMALLY_CLOSED #define DI1_ACTION INPUT_ACTION_NONE #define DI1_FUNCTION INPUT_FUNCTION_LIMIT

#define DI2_MODE NORMALLY_CLOSED #define DI2_ACTION INPUT_ACTION_NONE #define DI2_FUNCTION INPUT_FUNCTION_LIMIT

#define DI3_MODE NORMALLY_CLOSED #define DI3_ACTION INPUT_ACTION_NONE #define DI3_FUNCTION INPUT_FUNCTION_LIMIT

#define DI4_MODE NORMALLY_CLOSED #define DI4_ACTION INPUT_ACTION_NONE #define DI4_FUNCTION INPUT_FUNCTION_LIMIT

#define DI5_MODE INPUT_ACTIVE_HIGH // Z probe #define DI5_ACTION INPUT_ACTION_NONE #define DI5_FUNCTION INPUT_FUNCTION_NONE

#define DI6_MODE NORMALLY_CLOSED #define DI6_ACTION INPUT_ACTION_NONE #define DI6_FUNCTION INPUT_FUNCTION_LIMIT

#define DI7_MODE INPUT_MODE_DISABLED #define DI7_ACTION INPUT_ACTION_NONE #define DI7_FUNCTION INPUT_FUNCTION_NONE

#define DI8_MODE INPUT_MODE_DISABLED #define DI8_ACTION INPUT_ACTION_NONE #define DI8_FUNCTION INPUT_FUNCTION_NONE

#define DI9_MODE INPUT_MODE_DISABLED #define DI9_ACTION INPUT_ACTION_NONE #define DI9_FUNCTION INPUT_FUNCTION_NONE

Clone this wiki locally