Bosch 6000 User's Guide Page 147

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 146
132
6000 Series Programmer's Guide
Programming Example
DEF panel1 ; Define program panel1
REPEAT ; Start of repeat loop
DCLEAR0 ; Clear display
DWRITE"SELECT A FUNCTION KEY" ; Display text "SELECT A FUNCTION KEY"
DPCUR2,2 ; Move cursor to line 2 column 2
DWRITE"DIST" ; Display text "DIST"
DPCUR2,9 ; Move cursor to line 2 column 9
DWRITE"GO" ; Display text "GO"
DPCUR2,35 ; Move cursor to line 2 column 35
DWRITE"EXIT" ; Display text "EXIT"
VAR1 = DREADF ; Input a function key
IF (VAR1=1) ; If function key #1 hit
GOSUB panel2 ; GOSUB program panel2
ELSE ; Else
IF (VAR1=2) ; If function key #2 hit
DLED1 ; Turn on LED #1
GO1 ; Start motion on axis #1
DLED0 ; Turn off LED #1
NIF ; End of IF (VAR1=2)
NIF ; End of IF (VAR1=1)
UNTIL (VAR1=6) ; Repeat until VAR1=6 (function key 6)
DCLEAR0 ; Clear display
DWRITE"LAST FUNCTION KEY = F" ; Display text "LAST FUNCTION KEY = F"
DVAR1,1,0,0 ; Display variable 1
END ; End of panel1
DEF panel2 ; Define prog panel2
DCLEAR0 ; Clear display
DWRITE"ENTER DISTANCE" ; Display text "ENTER DISTANCE"
D(DREAD) ; Enter distance number from RP240
END ; End of panel2
Using the Default Menus
On power-up, the 6000 product will automatically default to a mode in which it controls the
RP240 with the menu-driven functions listed below.
The flow chart below
illustrates the RP240's
menu structure in the
default operating mode
(when no 6000 product
user program is
controlling the RP240).
Press the
Menu Recall
key to back up to the
previous screen. The
menu functions are
described in detail
below.
Run a stored program (RUN, STOP, PAUSE and CONTINUE functions)
Jog the load
Display the status of:
- System (TSS)
- Axis (TAS)
- Extended Axis (TASX) – 6104 only
- I/O (TIN and TOUT)
- Limits (TLIM) and P-CUT or ENBL input (TINO bit #6)
- Position: Motor for steppers (TPM), Commanded for servos (TPC), Encoder (TPE)
6270 only: Current feedback device (TFB), ANI volts (TPANI), LDT (TLDT)
- Firmware revision levels for the 6000 product (TREV) and the RP240
Enable or disable the internal drive (DRIVE)
Access RP240 menu functions with a security password (set with DPASS)
RESET the 6000 product
6270 only: View and edit tuning gains (SGP, SGI, etc.), gain sets (SGSET), and
numeric variables (VAR) and view only string variables (VARS)
NOTE: To disable these menus, the start-up program (the program assigned with the
STARTP command) must contain the DCLEARØ command.
Page view 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 267 268

Comments to this Manuals

No comments