Bosch 6000 User's Guide Page 119

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 118
104
6000 Series Programmer's Guide
6270:
DEF PWRUP ; Begin definition of PWRUP program
DRIVE00 ; Disable both valves/drives
INDAX2 ; Place both axes in use
SSFR4 ; Select servo sampling frequency ratio
DRFLVL11 ; Set drive fault level to active high
KDRIVE11 ; Enable the DISABLE ON KILL feature for both axes
;************************************************************************
;* setup for LDT *
;* (will need to switch between LDT, encoder, and ANI feedback) *
;************************************************************************
SFB3,3 ; Select LDT feedback for both axes (subsequent scaling,
; gains, servo offset, SMPER, and PSET parameters are
; specific to LDT feedback)
LDTGRD9,9 ; Set LDT gradient to 9µs/inch for both LDTs
LDTRES432,432 ; Set LDT resolution to 432 counts/inch
LDTUPD1,1 ; Set LDT position update rate equal to the system update
; rate (see table in SSFR command description)
SCLA432,432 ; Set scaling for programming accel/decel in inches/sec/sec
SCLV432,432 ; Set scaling for programming velocity in inches/sec
SCLD432,432 ; Set scaling for programming distances in inches
SGP50,50 ; Set proportional feedback gain
SGI.2,.2 ; Set integral feedback gain
SGV30,30 ; Set velocity feedback gain
SMPER.01,.01 ; Set max. position error to 1/100 of an inch
; (4 LDT counts)
PSET10,10 ; Set current position as absolute position 10
;***********************
; setup for encoder *
;***********************
SFB1 ; Select encoder feedback for axis 1 (subsequent scaling,
; gains, servo offset, SMPER, and PSET parameters are
; specific to encoder feedback)
ERES4000 ; Set encoder resolution to 4,000 counts/rev
SCLA4000 ; Set scaling for programming accel/decel in revs/sec/sec
SCLV4000 ; Set scaling for programming velocity in revs/sec
SCLD4000 ; Set scaling for programming distances in revs
SGP.5 ; Set proportional feedback gain
SGI1 ; Set integral feedback gain
SGV1 ; Set velocity feedback gain
SMPER.001,.001 ; Set maximum position error to 1/1000 of a rev
; (4 encoder counts)
PSET0 ; Set current position as absolute position zero
;***********************
; setup for ANI *
;***********************
SFB2,2 ; Select ANI feedback for both axes (subsequent scaling,
; gains, servo offset, SMPER, and PSET parameters are
; specific to ANI feedback)
SCLA819,819 ; Set scaling for programming accel/decel in volts/sec/sec
SCLV819,819 ; Set scaling for programming velocity in volts/sec
SCLD819,819 ; Set scaling for programming distances in volts
SGP1,1 ; Set proportional feedback gain
SGI0,0 ; Set integral feedback gain
SGV.5,.5 ; Set velocity feedback gain
SMPER.01,.01 ; Set maximum position error to 1/100 of a volt
; (8 ANI counts)
PSET5,5 ; Set current position as absolute position 5
SFB3,3 ; Select LDT feedback for start of main program
END ; End definition of PWRUP program
STARTP PWRUP ; Assign PWRUP as the startup program to be automatically
; executed on power up or RESET
Page view 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 267 268

Comments to this Manuals

No comments