INPUT[n] returns a 16-bit word.
INPUT[1] represents input bit 1 to 16,
INPUT[2] represents input bit 17 to 32
...
INPUT[16] represents input bit 241 to 256
The maximum allowable index for INPUT[n] is n = 16.
Going beyond that or if N < 0 will result in run time error.
To read the status of a single bit, it need to use either the TESTBIT or TESTIO command. TESTBIT commands requires you to input the bit position (0 to 15) of the bit within a word. TESTIO command is easier if you have already defined the label name for an I/O on the I/O table.