Bosch 6000 User's Guide Page 123

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 122
108
6000 Series Programmer's Guide
Input Functions
The input functions are assigned with the INFNCi-<a>c command. The “i” represents the
number of the input bit (see bit pattern table on page 107). The “<a>” represents the number
of the axis, if required. The “c” represents the letter designator of the function, A through Q
(see list below). For example, the INFNC5-2D command configures output #5 to function
as a stop input, stopping motion on axis #2 when activated.
NOTE
To activate the function of an input with the INFNC command, you must first enable the input
functions with the INFEN1 command. Because the INFEN1 command also enables the drive
fault input, you should verify the fault active level (DRFLVL) is set properly.
Letter Designator Function
A
B
C
D
E
F
G
H
I
J
K
L
M-O
P
Q
No Function (default)
BCD Program Select
Kill
Stop
Pause/Continue
User Fault
<RESERVED>
Trigger Interrupt for position capture or registration (trigger inputs only) *
Interrupt to PC-AT (bus-based controllers only)
Jog+ (positive direction)
Jog- (negative direction)
Jog Speed Select
<RESERVED>
Program Select
Program Security
* Special trigger functions can be assigned with the TRGFN command (see page __ for details).
Input Status
As shown below, you can use the INFNC command to define and check the current function
and state (on or off) of one or all the inputs. The TIN command also reports the inputs' state,
but in a binary format (see bit pattern table on page 107). The TSTAT command also reports
the inputs' functions (by letter designator) and their current state (see page 232).
To use the state of the inputs as a basis for conditional statements (IF, REPEAT, WHILE,
GOWHEN, etc.), use the IN assignment/comparison operator (refer to the Conditional Looping
and Branching section on page 24, and Synchronizing Motion on page 186).
Code
Examples
Command Description
INFNC ............... Query status of all inputs; response indicating default conditions is:
*INFNC1-A NO FUNCTION INPUT - STATUS OFF
*INFNC2-A NO FUNCTION INPUT - STATUS OFF
(response continues until all programmable inputs are reported)
INFNC1 ............. Query status of input #1; response indicating default conditions is:
*INFNC1-A NO FUNCTION INPUT - STATUS OFF
INFNC1-D .......... Change input #1 to function as a Stop input
INFNC1 ............. Query status of input #1; response should be now be:
*INFNC1-D STOP INPUT - STATUS OFF
TIN .................. Query binary status report of all inputs;
response indicating default conditions for AT6400 is:
*TIN0000_0000_0000_0000_0000_0000_0000
IF(IN.8=b1) ..... IF statement that evaluates true when input #8 is active
Page view 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 267 268

Comments to this Manuals

No comments