background image

Basic Demonstrations 4-7

MN1917

Individual actions can be enabled by clicking the appropriate check box in the enable column. When the PLC Task is
activated, only those actions that have been enabled will be evaluated.

An individual action can be disabled even while the PLC Task is running. To disable an action that is not required,
clear the action’s Enable check box and click

Apply

.

4.4.1

Testing the PLC Task

Actions are triggered as a result of the logical evaluation of one or two conditions, called Condition 1 and Condition
2. If the result of this logical comparison is true, the action is triggered. If Condition 2 is not required it can be left as
False.

In this demonstration digital inputs will be used to trigger preset moves, as described in section 4.3.1. The PLC Task
will monitor the state of the motor and digital inputs 4, 5 and 6.

1. Confirm that the control panel input switches 0-7 are in the off (up) position.

2. Confirm that the Enable PLC Task option at the top of

the screen is checked to allow the PLC Task to run.

3. Operate input switch 4. When it is in the on position, output LED 0 is illuminated.

This action is controlled by the first row in the PLC Task table. The PLC condition “If User Input 4” has become
true, so the corresponding PLC action “User Output 0” has been performed.

Input switch 5 works in the same way, controlling output LED 1.

4. Set input switches 4 and 5 to the on position. When they are both on, the drive is enabled.

This action is controlled by the fifth row of the PLC Task table. The PLC condition “If User Input 4 AND User Input
5” has become true, so the corresponding PLC action “Drive Enable” has been performed.

4.4.2

Using Presets and the PLC Task simultaneously

In these demonstrations, Presets mode and PLC Task mode have been setup to use different ranges of digital
inputs. Presets mode will still be active (provided its Enable button is pressed), so even while PLC Task mode is
being displayed, presets can still be selected and triggered using digital inputs 0, 1, 2, 3 and 7.

5. Setup preset move 3, by setting input switches 0 and 1 to the on position.

6. Trigger preset move 3 by setting input switch 7 to the on position.

While the motor is moving, output LED 2 is turned off. When the motor becomes idle, output LED 2 is illuminated.
This is controlled by the third row in the PLC Task table.

If input switch 6 is set, the drive becomes disabled. This is controlled by the twelfth row in the PLC Task table.
Actions are tested in the order they appear in the table, so the Disable action overrides the Enable drive action.

Summary of Contents for Flex+DriveII

Page 1: ...Flex DriveII Demonstration Unit SERVO DRIVE Operating Manual 03 02 MN1917...

Page 2: ......

Page 3: ...itches 4 1 4 1 2 Basic controls output LEDs 4 1 4 1 3 Analog input 4 2 4 2 Demonstration files 4 3 4 2 1 Preparation 4 3 4 2 2 Opening Mint mnt program files 4 3 4 3 Preset moves 4 4 4 3 1 Testing Pre...

Page 4: ...2 Dismantling the demonstration unit A 1 A 2 1 Removing the Flex Drive A 1 A 2 2 Removing the motor resolver cable A 1 A 2 3 Removing the side panel control panel and blanking plate A 2 A 2 4 Removin...

Page 5: ...dustrial power installations The connection and control of drives is a skilled operation disassembly or repair must not be attempted In the event that a drive fails to operate correctly contact the pl...

Page 6: ...1 2 General Information MN1917...

Page 7: ...ity and current control preset and point to point moves and gearing H Auto tuning wizard including position loop and software oscilloscope facilities H 8 optically isolated digital inputs H 3 opticall...

Page 8: ...2 2 Introduction MN1917...

Page 9: ...y and serial cable A PC will be necessary to run the WorkBench v5 software 3 1 1 Controls and indicators Fuse Compartment 250V T5AL Power on off switch AC power socket On Off On Off Output LEDs Input...

Page 10: ...on the side of the base unit After a brief startup sequence the Status LED on the front of the Flex DriveII should display a minus sign This indicates that the drive is currently disabled but ready f...

Page 11: ...plete click on Flex DriveII in the list to select it Note If the Flex DriveII is not listed check the serial lead between the MintDriveII and the PC Check the demonstration unit is turned on Check tha...

Page 12: ...ct motor by Catalog number option For new demonstration units enter BSM 50N 133 A E For upgraded units enter the motor catalog number that was noted during the upgrade procedure section A 2 1 Confirm...

Page 13: ...be reset and after a few seconds the parameter table will be uploaded from the Flex DriveII and saved This file contains all the tuning parameters for the Flex DriveII and will be needed in the follo...

Page 14: ...9 In the Profile Parameters area click Go The Flex DriveII will perform another test move The graph will show that the response of the system is now faster than before as a result of changing the band...

Page 15: ...connector so they can be used to simulate digital inputs 1 In the WorkBench v5 toolbox click Application then click the Edit Debug icon This will ensure that the Spy window is displayed 2 At the botto...

Page 16: ...input on connector X3 pins 1 and 2 On the demonstration unit the Analog In 0 potentiometer on the control panel is already wired to this connector so can be used to simulate an analog input 1 If Edit...

Page 17: ...manual in sequence and have not used Fine tuning or adjusted any other parameters this step is not necessary 3 In WorkBench v5 choose Tools Parameter Table Download from the menu 4 Select the paramet...

Page 18: ...Presets mode an interactive table allows you to setup preset moves with each preset shown on a separate row WorkBench v5 reads the current preset data from the Flex DriveII whenever you switch to Pre...

Page 19: ...able below Preset index Bit pattern sum Input switch 0 Bit pattern value 1 Input switch 1 Bit pattern value 2 Input switch 2 Bit pattern value 4 Input switch 3 Bit pattern value 8 0 0 0 0 0 1 1 0 0 0...

Page 20: ...ou to setup actions with each action shown on a separate row WorkBench v5 reads the current PLC Task data from the Flex DriveII whenever you switch to PLC Task mode PLC Task tables can also be saved i...

Page 21: ...able The PLC condition If User Input 4 has become true so the corresponding PLC action User Output 0 has been performed Input switch 5 works in the same way controlling output LED 1 4 Set input switch...

Page 22: ...4 8 Basic Demonstrations MN1917...

Page 23: ...some of the major features of the Flex DriveII All the necessary demonstration files should have already been copied to the host PC s hard disk as described in section 4 2 1 When selecting files for d...

Page 24: ...2 as shown in Table 2 Tool Bit pattern sum Input switch 0 Bit pattern value 1 Input switch 1 Bit pattern value 2 Input switch 2 Bit pattern value 4 0 Off Off Off 1 On Off Off 2 Off On Off 3 On On Off...

Page 25: ...Set input switch 4 to the on position Output LED 0 will be illuminated If the input switch is moved to the off position the LED will be turned off In the program this action is controlled by the line...

Page 26: ...ate encoder following 3 Set input switch 1 to the on position The axis will now follow an internally generated virtual master 4 Turn the Analog Input 0 potentiometer to adjust the speed of the virtual...

Page 27: ...ital inputs 1 Confirm that input switches 2 and 3 are in the off position 2 Set input switch 1 to the off position to follow the Master Encoder 3 Rotate the Master Encoder to confirm that for one turn...

Page 28: ...g through the manual in sequence you must download your parameter file See section 4 2 1 steps 3 to 5 if you are not sure how to do this 5 5 2 Starting the project 1 Start Microsoft Excel 2 On the men...

Page 29: ...a new button in the Toolbox 4 Click the Mint Controller button to select it Then in UserForm1 click and drag to draw a small box When you release the mouse a MintController object will be placed on th...

Page 30: ...will show a list of properties for the button The Name and Caption properties should now be changed to make the button easier to use The Name property is the most important because it is used by the p...

Page 31: ...nd 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 getAAAB...

Page 32: ...o the normal spreadsheet view 2 Click the Close Window button at the top of the Excel spreadsheet window 3 Choose File Open Locate the example file VBA xls and click Open 4 Click the Visual Basic Edit...

Page 33: ...PHDEMO EN 115 FPHDEMO EN 230 Input voltage 115VAC 230VAC Flex DriveII type FPH1A02TB EN20 FPH2A02TB EN20 Flex DriveII feedback type Encoder Motor BSM50N133AE Dimensions HxWxD 368mm x 144mm x 296mm 14...

Page 34: ...6 2 Specifications MN1917...

Page 35: ...all connectors from the front of the Flex Drive but do not remove any of the individual crimp connectors from the 9 pin Phoenix connector the power connector Some D type plugs may require a small scr...

Page 36: ...panel 2 Remove the four corner bolts on the control panel Carefully withdraw the control panel 3 Remove the four corner bolts on the blanking plate Remove the blanking plate A 2 4 Removing the cables...

Page 37: ...l panel connectors to the PCB on the rear of the control panel 4 Reconnect the black red twisted pair power cable plug to the two pin header on the edge of the PCB 5 Mount the control panel on the fro...

Page 38: ...sult in an unsafe demonstration unit or unwanted electrical noise 1 Reconnect the 9 pin Phoenix plug to connector X1 on the Flex DriveII Check that all the crimp connectors have remained securely fast...

Page 39: ...m 5 3 PLC Task 4 6 testing 4 7 using with presets 4 7 Preparation 4 3 Preset moves 4 4 testing 4 5 Tool changer 5 2 Drive enable switch 3 2 F Features 2 1 Files opening 4 3 Fine tuning mode 3 5 Follow...

Page 40: ...Index MN1917...

Page 41: ......

Page 42: ...Printed in UK Baldor UK Ltd Baldor Electric Company P O Box 2400 Ft Smith AR 72902 2400 Tel 479 646 4711 Fax 479 648 5792 www baldor com LT0162A00...

Reviews: