11.07.2015 Views

Galil Motion Control Command Reference

Galil Motion Control Command Reference

Galil Motion Control Command Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Galil</strong> <strong>Motion</strong> <strong>Control</strong> <strong>Command</strong> <strong>Reference</strong>IIInput InterruptSyntax:Operands:Burn:Implicit Notation Onlynoneburnable with BNFull DescriptionThe II command enables the input interrupt function for the specified inputs. By default, input interrupts are configured for activation with a logic "0"but can be configured for activation with a logic "1" signal.If any of the specified inputs are activated during program execution, the program will jump to the subroutine with label #ININT. Any trippoints set bythe program will be cleared but can be re-enabled by the proper termination of the interrupt subroutine using RI. The RI command is used to returnfrom the #ININT routine.ArgumentsII m,n,o,pwherem is an integer between 0 and 8 decimal. 0 disables interrupt. The value of m specifies the lowest input to be used for the input interrupt. When the 2ndargument, n, is omitted, only the input specified by m will be enabled.n is an integer between 2 and 8. This argument is optional and is used with m to specify a range of values for input interrupts. For example, II 2,4specifies interrupts occurring for Input 2, Input 3 and Input 4.o is an integer between 1 and 255. Using this argument is an alternative to specifying an input range with m,n. If m and n are specified, o will beignored. The argument o is an integer value and represents a binary number. For example, if o = 15, the binary equivalent is 00001111 where thebottom 4 bits are 1 (bit 0 through bit 3) and the top 4 bits are 0 (bit 4 through bit 7). Each bit represents an interrupt to be enabled - bit0 for interrupt 1,bit 1 for interrupt 2, etc. If o=15, the inputs 1,2,3 and 4 would be enabled.p is an integer between 1 and 255. The argument p is used to specify inputs that will be activated with a logic "1". This argument is an integer valueand represents a binary number. This binary number is used to logically "AND" with the inputs which have been specified by the parameters m and nor the parameter o. For example, if m=1 and n=4, the inputs 1,2,3 and 4 have been activated. If the value for p is 2 (the binary equivalent of 2 is00000010), input 2 will be activated by a logic '1' and inputs 1,3, and 4 will be activated with a logic "0".Operand UsageN/AUsageUsage and Default DetailsUsage ValueWhile Moving YesIn a Program Yes<strong>Command</strong> Line YesDefault Value 0Related <strong>Command</strong>s#ININT- Interrupt SubroutineAI - Trippoint for inputRI - Return from InterruptExamples:#A;'Program AII 1;' Specify interrupt on input 1JG 5000;BGA;'Specify jog and begin motion on A axisfile:///C|/Documents%20and%20Settings/Andy/Desktop/Temp/4Kcom/index.html (194 of 358)5/24/2011 8:38:17 AM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!