NI SoftMotion Controller General-Purpose I/O Port IDs and Constants

NI-Motion Functions

NI SoftMotion Controller General-Purpose I/O Port IDs and Constants

The following table lists the resource IDs and constants for I/O ports on the NI SoftMotion Controller:

Digital Input Ports
Resource Name Resource ID Constant
Input Port 1 0x01 NIMC_DIGITAL_INPUT_PORT1
Input Port 2 0x02 NIMC_DIGITAL_INPUT_PORT2
Input Port 3 0x03 NIMC_DIGITAL_INPUT_PORT3
Input Port 4 0x04 NIMC_DIGITAL_INPUT_PORT4
Input Port 5 0x05 NIMC_DIGITAL_INPUT_PORT5
Input Port 6 0x06 NIMC_DIGITAL_INPUT_PORT6
Input Port 7 0x07 NIMC_DIGITAL_INPUT_PORT7
Input Port 8 0x08 NIMC_DIGITAL_INPUT_PORT8
Input Port 9 0x09 NIMC_DIGITAL_INPUT_PORT9
Input Port 10 0x0A NIMC_DIGITAL_INPUT_PORT10
Input Port 11 0x0B NIMC_DIGITAL_INPUT_PORT11
Input Port 12 0x0C NIMC_DIGITAL_INPUT_PORT12
Input Port 13 0x0D NIMC_DIGITAL_INPUT_PORT13
Input Port 14 0x0E NIMC_DIGITAL_INPUT_PORT14
Input Port 15 0x0F NIMC_DIGITAL_INPUT_PORT15
Input Port 16 0x10 NIMC_DIGITAL_INPUT_PORT16
Input Port 17 0x11 NIMC_DIGITAL_INPUT_PORT17
Input Port 18 0x12 NIMC_DIGITAL_INPUT_PORT18
Input Port 19 0x13 NIMC_DIGITAL_INPUT_PORT19
Input Port 20 0x14 NIMC_DIGITAL_INPUT_PORT20
Input Port 21 0x15 NIMC_DIGITAL_INPUT_PORT21
Input Port 22 0x16 NIMC_DIGITAL_INPUT_PORT22
Input Port 23 0x17 NIMC_DIGITAL_INPUT_PORT23
Input Port 24 0x18 NIMC_DIGITAL_INPUT_PORT24
Input Port 25 0x19 NIMC_DIGITAL_INPUT_PORT25
Input Port 26 0x1A NIMC_DIGITAL_INPUT_PORT26
Input Port 27 0x1B NIMC_DIGITAL_INPUT_PORT27
Input Port 28 0x1C NIMC_DIGITAL_INPUT_PORT28
Input Port 29 0x1D NIMC_DIGITAL_INPUT_PORT29
Input Port 30 0x1E NIMC_DIGITAL_INPUT_PORT30
Digital Output Ports
Resource Name Resource ID Constant
Output Port 1 0x81 NIMC_DIGITAL_OUTPUT_PORT1
Output Port 2 0x82 NIMC_DIGITAL_OUTPUT_PORT2
Output Port 3 0x83 NIMC_DIGITAL_OUTPUT_PORT3
Output Port 4 0x84 NIMC_DIGITAL_OUTPUT_PORT4
Output Port 5 0x85 NIMC_DIGITAL_OUTPUT_PORT5
Output Port 6 0x86 NIMC_DIGITAL_OUTPUT_PORT6
Output Port 7 0x87 NIMC_DIGITAL_OUTPUT_PORT7
Output Port 8 0x88 NIMC_DIGITAL_OUTPUT_PORT8
Output Port 9 0x89 NIMC_DIGITAL_OUTPUT_PORT9
Output Port 10 0x8A NIMC_DIGITAL_OUTPUT_PORT10
Output Port 11 0x8B NIMC_DIGITAL_OUTPUT_PORT11
Output Port 12 0x8C NIMC_DIGITAL_OUTPUT_PORT12
Output Port 13 0x8D NIMC_DIGITAL_OUTPUT_PORT13
Output Port 14 0x8E NIMC_DIGITAL_OUTPUT_PORT14
Output Port 15 0x8F NIMC_DIGITAL_OUTPUT_PORT15
Output Port 16 0x90 NIMC_DIGITAL_OUTPUT_PORT16
Output Port 17 0x91 NIMC_DIGITAL_OUTPUT_PORT17
Output Port 18 0x92 NIMC_DIGITAL_OUTPUT_PORT18
Output Port 19 0x93 NIMC_DIGITAL_OUTPUT_PORT19
Output Port 20 0x94 NIMC_DIGITAL_OUTPUT_PORT20
Output Port 21 0x95 NIMC_DIGITAL_OUTPUT_PORT21
Output Port 22 0x96 NIMC_DIGITAL_OUTPUT_PORT22
Output Port 23 0x97 NIMC_DIGITAL_OUTPUT_PORT23
Output Port 24 0x98 NIMC_DIGITAL_OUTPUT_PORT24
Output Port 25 0x99 NIMC_DIGITAL_OUTPUT_PORT25
Output Port 26 0x9A NIMC_DIGITAL_OUTPUT_PORT26
Output Port 27 0x9B NIMC_DIGITAL_OUTPUT_PORT27
Output Port 28 0x9C NIMC_DIGITAL_OUTPUT_PORT28
Output Port 29 0x9D NIMC_DIGITAL_OUTPUT_PORT29
Output Port 30 0x9E NIMC_DIGITAL_OUTPUT_PORT30