EasyManuals Logo

Baldor Flex+DriveII User Manual

Baldor Flex+DriveII
42 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #31 background imageLoading...
Page #31 background image
Applications 5-9MN1917
5.5.5 Adding program lines (code)
Each command button requires some Visual Basic program code, so that when the user clicks the button, a function
will be performed.
1. Right-click on the Init button, and choose View Code.
This will display the underlying code for the button.
The lines Private Sub btnInit_Click and
End Sub are essential and must not be deleted. All
code for a button must be entered between these two
lines.
2. Type the lines:
MintController1.setFlexPlusDrive2Link 2, 1, 57600, True
MintController1.getAAABuild lBuild
MintController1.doCancel 0
MintController1.setDriveEnable 0, True
3. Using the left drop down box at the top of the code
window, select another button.
4. In this way, code can be entered for each button. However, to save time, the complete form, buttons and code
have already been created in the file VBA.xls. See the next section.

Other manuals for Baldor Flex+DriveII

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Baldor Flex+DriveII and is the answer not in the manual?

Baldor Flex+DriveII Specifications

General IconGeneral
BrandBaldor
ModelFlex+DriveII
CategoryServo Drives
LanguageEnglish

Related product manuals