Gemini GV6K and Gemini GT6K Programmer's Guide
Gemini GV6K and Gemini GT6K Programmer's Guide
Gemini GV6K and Gemini GT6K Programmer's Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Letter Designator<br />
Function<br />
A .................General-purpose input (default function for onboard <strong>and</strong> expansion digital inputs<br />
on I/O bricks)<br />
B .................BCD program select<br />
C .................Kill<br />
D .................Stop<br />
E .................Pause/Continue<br />
F .................User fault<br />
G .................<br />
H .................Trigger Interrupt for position capture or registration (trigger inputs only). Special<br />
trigger functions can be assigned with the TRGFN comm<strong>and</strong> (see page 166).<br />
I .................Cause an “Alarm Event” over the Ethernet interface<br />
J .................Jog in the positive-counting direction<br />
K .................Jog in the negative-counting direction<br />
L .................Jog velocity select<br />
M .................Joystick release<br />
O .................Joystick velocity select<br />
P .................One-to-one program select<br />
Q .................Program security<br />
R .................End-of-travel limit for positive-counting direction *<br />
S .................End-of-travel limit for negative-counting direction *<br />
T .................Home limit *<br />
* Limit inputs are factory-set to their respective end-of-travel or home limit function (see page 74).<br />
NOTES<br />
• Multi-tasking: If the LIMFNC or INFNC comm<strong>and</strong> does not include the task identifier (%) prefix,<br />
the function affects the task that executes the LIMFNC or INFNC comm<strong>and</strong>. The only functions<br />
that may be directed to a task with % are: C, D, E, F, <strong>and</strong> P (e.g., 2%INFNC3-F assigns onboard<br />
input 3 as a user fault input for task 2). Multiple tasks may share the same input, but the input<br />
may only be assigned one function.<br />
Input Status<br />
* The purpose of the IN<br />
<strong>and</strong> LIM operators is to<br />
use the state of the inputs<br />
as a basis for conditional<br />
statements (IF, REPEAT,<br />
WHILE, GOWHEN, etc.) or<br />
for binary variable<br />
assignments (VARB). For<br />
examples, refer to the<br />
Conditional Looping <strong>and</strong><br />
Branching section on<br />
page 25.<br />
Below is a list of the status comm<strong>and</strong>s you may use to ascertain the current state <strong>and</strong>/or defined<br />
function of the limit inputs (LIMFNC) <strong>and</strong> trigger <strong>and</strong> I/O brick inputs (INFNC).<br />
Limit inputs (LIMFNC):<br />
• Status display comm<strong>and</strong>s:<br />
- LIMFNC.............. Active state <strong>and</strong> programmed function of all limit inputs<br />
- LIMFNCi............ Same as LIMFNC display, but only for the input number (“i”)<br />
- TLIM................... Hardware state of all limit inputs (binary report);<br />
use TLIM.i to check the state of only one input (“i”)<br />
• Status assignment/comparison operator: *<br />
- LIM ..................... Hardware state (binary) of all limit inputs;<br />
use LIM.i to check the state of only one input (“i”)<br />
Trigger inputs <strong>and</strong> digital inputs on expansion I/O bricks (INFNC):<br />
• Status display comm<strong>and</strong>s:<br />
- TIO ..................... I/O brick configuration (which SIMs are present)<br />
- INFNC ................ Active state <strong>and</strong> programmed function of all trigger inputs<br />
- INFNCi.............. Same as INFNC display, but only for the trigger input number (“i”)<br />
- INFNC ......... Active state <strong>and</strong> programmed function of all inputs on I/O brick B<br />
- INFNCi....... Same as INFNC display, but only for the input number (“i”) on brick B<br />
- TIN ..................... Hardware state of all onboard trigger inputs (binary report);<br />
use TIN.i to check the state of only one input (“i”)<br />
- TIN.............. Hardware state of all digital inputs on I/O brick B (binary report) ;<br />
use TIN.i to check the state of only one input (“i”) on brick B<br />
• Status assignment/comparison operator: *<br />
- IN ................ Hardware state (binary) of triggers <strong>and</strong> expansion digital inputs;<br />
use IN.i to check the state of only one input (“i”) on brick B<br />
Chapter 3. Basic Operation Setup 95