INTRDEF ch, fn_num, edge
Purpose Enable Interrupt Input channel ch.

ch = interrupt channel number (pls refer to PLC installation guide)

fn_num= Custom Function number to execute when interrupt pin changes according to the defined edge. This is the Interrupt Service Routine ISR.

edge = Positive number means rising edge-triggered. 0 or negative number means falling-edge triggered.

See Also   INTROFF

  backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual