+ All Categories
Home > Documents > Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si...

Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si...

Date post: 10-Mar-2020
Category:
Upload: others
View: 14 times
Download: 0 times
Share this document with a friend
63
1/7/2000 Si 175 CD.p65 Si™ Programmer Software Manual for 3540i 7080i Si-100 Si3540 Si4500 Si5580 Copyright 2000 S O F T W A R E V E R S I O N 1.75 includes SiNetCommand Language
Transcript
Page 1: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

1/7/2000

Si 175 CD.p65

Si™ Programmer

Software Manual

fo r3540i7080iSi-100Si3540Si4500Si5580

Copyright 2000

SOFTWARE

V E R SI ON1.75 includesSiNet™Command Language

Page 2: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual2

Page 3: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 3

Contents

Part I: Si Programmer™ ............................................................................................... 5Getting Started .................................................................................................................................................. 5

Installing the Programming Software .............................................................................................................................. 6From Diskettes ............................................................................................................................................................... 6From the CD................................................................................................................................................................... 6Connecting to your PC ................................................................................................................................................... 7

Programming..................................................................................................................................................... 8Which Software Version do I Have? ............................................................................................................................... 9Entering Your Program ................................................................................................................................................... 9Copying Instructions ..................................................................................................................................................... 11Inserting and Deleting Program Steps .......................................................................................................................... 12Setting Parameters ....................................................................................................................................................... 12

User Defined Units .......................................................................................................................................... 14Limit Switches ................................................................................................................................................. 14

What Happens When You Hit a Limit Switch? ............................................................................................................... 14Front Panel STOP Button ............................................................................................................................................. 15

Setting the Motor Current ................................................................................................................................ 15Idle Current Reduction ................................................................................................................................................. 16

Microstepping .................................................................................................................................................. 17Jogging ............................................................................................................................................................ 18Using the Optional MMI .................................................................................................................................. 19

How to display a message on the MMI ......................................................................................................................... 20How to pause until user presses ENTER ..................................................................................................................... 20How to let the user make a decision (MMI branching) .................................................................................................. 21How to ask the user for a move distance ...................................................................................................................... 21How to get a speed from the user ................................................................................................................................ 22How to get a repeat count from the user ...................................................................................................................... 22How create an MMI Menu ............................................................................................................................................ 23

Making Your Move ........................................................................................................................................... 24MMI Prompt ................................................................................................................................................................. 24Feed to Length ............................................................................................................................................................. 26Feed & Set Output ....................................................................................................................................................... 28Feed & Return .............................................................................................................................................................. 29Feed to Sensor ............................................................................................................................................................. 30Feed to Sensor & Return.............................................................................................................................................. 32Feed to Position ........................................................................................................................................................... 33Set Abs Position ........................................................................................................................................................... 34Save Abs Position ........................................................................................................................................................ 35Seek Home .................................................................................................................................................................. 36Wait Time ..................................................................................................................................................................... 37Wait Input ..................................................................................................................................................................... 38Hand Wheel ................................................................................................................................................................. 39Go To ........................................................................................................................................................................... 40Repeat/End Repeat ...................................................................................................................................................... 41Reset Repeat Loop ...................................................................................................................................................... 43Set Output .................................................................................................................................................................... 44If Input Go To ................................................................................................................................................................ 45Change Current ........................................................................................................................................................... 47Comment ..................................................................................................................................................................... 48

Command Buttons .......................................................................................................................................... 49Download, Upload & Execute ....................................................................................................................................... 49Save, Open, Print & Quit .............................................................................................................................................. 50

Encoder Feedback .......................................................................................................................................... 51

Page 4: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual4

Part II: SiNet™ Command Language ........................................................................ 53Introduction ................................................................................................................... ............................................... 53Communication Protocol .............................................................................................................................................. 54Power Up Signature ..................................................................................................................................................... 54Buffered or Immediate? ................................................................................................................................................ 54

Command Summary ....................................................................................................................................... 55Command Descriptions ................................................................................................................................... 56

AC – Acceleration ........................................................................................................................................................ 56BS – Buffer Status ........................................................................................................................................................ 56CC – Change Current .................................................................................................................................................. 56CJ - Commence Jogging .............................................................................................................................................. 56CT – Continue .............................................................................................................................................................. 56DA – Define Address .................................................................................................................................................... 56DE – Deceleration ........................................................................................................................................................ 57DI – Distance/Position .................................................................................................................................................. 57DL – Define Limits ........................................................................................................................................................ 57ED – Encoder Dead Band ............................................................................................................................................ 57EF – Encoder Function ................................................................................................................................................ 57EP – Encoder Position ................................................................................................................................................. 58ER – Encoder Ratio ..................................................................................................................................................... 58FL – Feed to Length ..................................................................................................................................................... 58FP – Feed to Position ................................................................................................................................................... 58FS – Feed to Sensor .................................................................................................................................................... 58IE – Immediate Encoder ............................................................................................................................................... 59ID – Immediate Distance .............................................................................................................................................. 59IP – Immediate Position ................................................................................................................................................ 59IS – Input Status ........................................................................................................................................................... 59JA – Jog Acceleration................................................................................................................................................... 60JD – Jog Disable .......................................................................................................................................................... 60JE – Jog Enable ........................................................................................................................................................... 60JS – Jog Speed ............................................................................................................................................................ 60MD – Motor Disable ..................................................................................................................................................... 60ME – Motor Enable ...................................................................................................................................................... 60MR – Microstep Resolution .......................................................................................................................................... 60PC – Power on Current ................................................................................................................................................ 61PM – Power on Mode ................................................................................................................................................... 61PS – Pause .................................................................................................................................................................. 61RS – Request Status .................................................................................................................................................... 61RV – Revision Level ..................................................................................................................................................... 61SH – Seek Home ......................................................................................................................................................... 61SJ – Stop Jogging ........................................................................................................................................................ 61SK – Stop & Kill ............................................................................................................................................................ 62SO – Set Output ........................................................................................................................................................... 62SP – Set Position ......................................................................................................................................................... 62SS – Send String.......................................................................................................................................................... 62ST – Stop ..................................................................................................................................................................... 62VE – Velocity ................................................................................................................................................................ 62WI – Wait for Input ........................................................................................................................................................ 62WT – Wait Time ............................................................................................................................................................ 62

Page 5: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 5

Part I: Si Pammer™

Getting Started

The Si™ programming software is used in products, including the 3540i, 7080i, Si3540,Si4500 and Si5580 indexer-drives and the Si-100 indexer. This manual explains how to install the Si Program-mer™ Windows application and how to program your Si™ product.

For information regarding your specific Si™ hardware, such as wiring and mounting, please read the hardwaremanual that came with that product.

The Si Programmer™ features include:• Powerful, flexible, easy to use indexer.• Nonvolatile program storage.• Automatic, stand alone execution of stored program.• Connection by a simple cable to your PC for programming (cable included).• Microsoft Windows-based software for easy set up and programming (included)• Programmable inputs for interacting with the user and other equipment.• Programmable outputs for coordinating external equipment.• Instructions for motion, triggering, branching, loops, time delays and more.• Ability to work in user defined units such as inches, degrees, gallons, etc.• Optional man machine interface (MMI) allows operator to enter distances, speeds, loop counts and more.

To operate your Si™ product, you must do the following:• Connect a motor (for the Si-100, you’ll need a motor and a pulse & direction drive).• Connect power.• Connect any inputs or outputs that you require.• Plug into your personal computer for programming.• Install our software program on your PC.• Have Fun!

Note: This manual was prepared for the release of drive firmware version 1.75 and Windows programmingsoftware version 1.75 If your drive contains a previous firmware revision, then some of the features describedin this manual may not be available to you. The Windows software will alert you to this fact if you try to down-load a program that your drive cannot execute.

If your PC contains an older version of the “Si5580” or “Si Programmer™” software, do not use it with thenewer drive. Use the software disks that came with your new Si™ device.

Page 6: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual6

Installing the Programming Software

To run the Si Programmer™ software, you must have a computer with the following requirements:• IBM compatible 386, 486, Pentium or better CPU. Pentium recommended for best performance.• Microsoft Windows 3.1, Windows 95, Windows 98, or Windows NT• At least 8 MB memory (16 MB or more will make the software run much faster)• 4 MB available hard drive space• VGA monitor, or better. 16 bit color setting recommended (65,535 colors, sometimes called High Color)• Mouse or other input device• 3.5" floppy disk drive• A nine pin serial port must be available, preferably COM1.

Before you can use the Si Programmer™ software, you must install it on your hard drive.

From DiskettesIf your Si Programmer™ software was shipped on two 3.5" software diskettes:• Put Disk 1 in your 3.5" drive.• From the Windows Program Manager, select Run from the File menu. (In Windows 95/98 and NT4.0, choose

Run from the Start menu.)• If your 3.5" drive is drive A, then enter the command line A:\setup. If your drive is B, type B:\setup.• The setup program will guide you through the rest of the installation.

From the CDIf you have the Si™ CD:• Put the CD into your CDROM drive and wait.• After a few seconds, the installation program will start automatically, and guide you through the rest of the

installation.• This manual will be installed to the same hard disk folder as the software.• To read the rest of this manual, you need Adobe Acrobat Reader, which will also be installed automatically.• The hardware manuals for your hub and Si drives will also be automatically installed.• The Si Programmer and SCL Setup Utility will also be installed.• By choosing Custom Setup, you can choose exactly which software program and manuals are in-

stalled.

Note: You cannot install the Si Programmer software directly from the CD if you have Windows 3.1. However, ifyou have access to a PC with Windows 95, 98 or NT, you may do the following:• Put the CD into your CDROM drive and wait.• After a few seconds, the installation program will start automatically.• Click the Cancel button, then Exit Setup.• Double click on the My Computer icon that’s on your desktop. You should then see the CD icon.• Right click on the CD icon and choose Explore.• Locate the folder named Si Prog Disks. Inside are two folders: Disk1 and Disk2.• Copy the files from the Disk1 folder onto a blank diskette, and label it “Disk 1”.• Copy the files from the Disk2 folder onto a blank diskette, and label it “Disk 2”.• Return to your Windows 3.1 PC and following the instructions from the section “From Diskettes.”

If you encounter errors during installation, it is usually due to lack of memory or conflicts with other programsthat are already running on your PC. If you experience an error while installing the programming software, quitall other Windows applications and try again. Holding down the ALT key and pressing TAB will show you all theprograms currently running on your PC. Laptop computers generally present the biggest challenge to installa-tion, as they often come preloaded with programs that automatically execute on startup such as MicrosoftOffice and battery managers. Furthermore, laptops usually have the least memory.

The programming software will install more easily and run much faster if you have more memory. We recom-mend 8 megabytes of RAM on a Windows 3.1 system, and 16 megabytes with Windows 95.

Page 7: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 7

Connecting to your PC

• Locate your computer within 6 feet of the Si™ hardware.

• Your Si™ product was shipped with a black adapter plug. It has a telephone style jack at one end and alarger 9 pin connector at the other. Plug the large end into the COM1 serial port of your PC. Secure theadapter with the screws on the sides. If the COM1 port on your PC is already used by something else, youmay use the COM2 port for the Si™ Indexer. On some PCs, COM2 will have a 25 pin connector that does notfit the black adapter plug. If this is the case, and you must use COM2, you will have to purchase a 25 to 9 pinserial adapter at your local computer store.

• Your Si™ Indexer was also shipped with a 7 foot telephone line cord. Plug one end into the adapter we justattached to your PC, and the other end into the PC/MMI jack on your Si™ Indexer.

Never connect the Si™ Indexer to a telephone circuit. It uses the same connectors and cords as telephones andmodems, but the voltages are not compatible.

You may also need to set the COM port in the Windows software. When the software is loaded, it looks for thefirst available COM port, but doesn’t always find the one you’ve plugged into.

You can choose the port yourself by clicking on one of the “COM port” option buttons. If the port exists and isnot already in use, the programming software will use it to communicate with the Si™ Indexer.

Programming Note: Always apply power to Si hardware after the Si Programmer™software is running on your PC.

Display SettingsThe Si Programmer™ works well with any display resolution. At 640 x 480, the Si Programmer will exactly fillyour screen. At higher resolutions, like 800 x 600 or 1024 x 768, there will be room left over on the screen forother applications, or to expand the Si Programmer window so you can see more program lines. 16 bit colorsetting is recommended (65,535 colors, sometimes called High Color)

Information in the program window will not display correctly if your display is set for “Large Fonts.”Please use the “Small Fonts” setting when running the Si Programmer software. The display settings are foundunder “Start…Control Panels” in Windows 95, and in the “Main…Control Panels” program group in Windows3.1.

Page 8: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual8

ProgrammingYou may have noticed that the Si™ Indexer doesn’t have any switches or knobs on the front panel. There arealso no jumpers inside. Just about everything you want the Si™ Indexer to do is controlled by software. The SiProgrammer™ software that comes with the drive allows you to set the motor current, the step resolution,jogging parameters and limit switch polarity. It also helps you write complex motion control and machineinteraction programs.

The Si™ Indexer has a user program capacity of 100 lines. In this space, you can design one or more motionand machine control programs. 20 commands, or instructions, are available for this purpose.

Six of the instructions involve pure motion: Feed to Length, Feed & Set Output and Feed & Return are fixeddistance moves. Feed to Position is a move to an absolute position. Feed to Sensor and Feed to Sensor &Return move relative to a sensor that is wired to one of the inputs. Seek Home searches for a home sensor,“bouncing off” the limits if necessary to find it.

Two instructions handle timing: Wait Time, which causes your program to stop for a specified amount of time.Wait Input waits for one of the inputs to reach a specified state before continuing the program.

Five instructions control program flow. Go To makes the program jump to a particular line. If Input jumps to aline if one of the inputs meets a specified condition, otherwise, the program just goes on to the next line. Re-peat and End Repeat set up a loop wherein you can repeat the same instructions many times. If your programterminates a Repeat loop before it’s finished (using an If Input instruction) you can reset the loop count with aReset Repeat Loop instruction.

One instruction, Set Output, allows you to signal other equipment that you have reached a particular place inyour program.

Using the MMI Prompt instruction with the optional MMI (man-machine interface, or operator panel), the opera-tor can enter distances, speeds and repeat loop counts on a keypad. The drive can also display messages forthe operator, pause the program until the operator presses the ENTER button, or ask the user to make adecision and respond by pressing the YES key or NO key.

A Comment instruction allows you to leave notes in your program so that it’s easier to understand.

Set Absolute Position lets you define a the present motor position in absolute terms.

Change Current gives you more control over the motor current - turning the current off, resuming the previouslevel, or defining a new current setting - anywhere in the program.

Hand Wheel lets the user position the motor and load precisely using a CNC hand wheel.

By combining the instructions in different ways, you can construct a nearly infinite variety of useful programsand motion profiles. Before entering your program, you’ll want to spend a little time thinking about how toaccomplish your objective. Then, once you have a clear idea of what to do, you can begin entering the instruc-tions and parameters.

Page 9: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 9

Which Software Version do I Have?

There are actually two software programs associated with the Si™ Indexer. Thefirst is the Si Programmer™ Windows program that you installed on your PCfrom the floppy disks. After you double click on the icon and program begins toload, you’ll see picture of a lightning storm. The software version is displayed atthat time. After the program is loaded, you can click on the Applied Motion

Products logo to see the software version, along with our phone and fax numbers and our internet addressnumbers.

A second software program resides in a chip inside the Si™ Indexer. Since softwarein a chip is usually called “firmware”, we will refer to it as firmware for the rest of thismanual. It is the Si™ Indexer firmware that runs your drive and executes the programyou’ve downloaded. When you connect your drive to the PC and turn the drive on,the drive firmware version is displayed near the top of the screen.

You may have noticed the list box just above the firmware version number. The Si™ software is designed forprogramming all of our Si™ drives. That presently includes the Si4500, Si5580, Si3540, 3540i, Si-100 and7080i. More products may be introduced in the future.

If you call your distributor or Applied Motion Products for support, we will want to know the versions of both theSi Programmer™ and the drive firmware, so please write them down before calling.

Entering Your Program

If you installed the software back in the section entitled “Installing the Programming Software” then you’re readyto go. If not, please go back and review that section.

Page 10: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual10

To activate the software, click on the Start button, then Programs...Si Programmer. If you have Windows 3.1,locate the Si Programmer™ icon. Usually, it appears in the program group “Si Programmer.” Double click onthe icon to run the software. The main programming window will soon appear, as shown above. The title barwill display the Si Programmer™ software version.

If you have an Si™ Indexer connected to the PC, turn it on now. After you apply power, your computer shouldbeep. The “Drive” box will display the version number of the Si™ Indexer firmware that’s in your drive.

If you don’t have any Si™ hardware connected to your PC, you can still write programs. Before you begin, youshould select the appropriate Si™ device (Si5580, 7080i or Si-100) from the list box above the word “version.”That way you will have access to the specific features of the hardware you plan to use.

Let’s enter a simple program. We’ll start with a simple tme delay, by putting a Wait Time instruction on the firstline.

Next to the large number 1 in the Program Window is a button showing the “nothing” icon. That indicatesthat there is no instruction for that line. Anytime the Si™ Indexer encounters a “nothing” program line, itsimply moves on to the next line, as the icon implies with a downward pointing arrow. After the Si™Indexer executes the instruction on line 100, it automatically jumps to line 1, unless the instruction on

line 100 makes it jump somewhere else.

To enter an instruction on program line 1, click once on the program icon. You should now see the “ProgramLine...” dialog box, shown here on the left.

Click on the button marked “Wait Time”. The Wait Time dialog box will appear. Enter 1 second in the text boxand press OK.

The first line of your programshould now display the Wait Timeicon, and the description “Wait 1second.”

Click on the icon button for pro-gram line 2. This time when yousee the “Program Line...” box, clickon Feed to Length. In the Feed toLength box, enter the distance as20000, then slide the speed bar to10 rev/sec. Click OK.

The second program line shouldnow show the motor icon and thecaption “CW 2000 steps, 10 rps.”

Page 11: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 11

Click on the line 3 icon. Choose “Go To”. When you see the Go To dialog, the line number will already be setto 1. Click OK. Your program should now resemble the following:

If you have a motor connected to your drive, you can testthe program now.

Set the current to match your motor’s rated current. Then,click on the Download button near the middle of the screen.

If your drive is on, and is connected properly, the download box will appear and show you the progress of thedownload, which takes 1-3 seconds. (The transfer time is governed by the speed at which the Si™ Indexer canrewrite its internal, nonvolatile memory, and by the size of your program.) Once the download has been com-pleted, you are ready to execute the program.

Press the Execute button. You’ll see the execute box in the middle ofthe screen. (If your indexer/drive has firmware prior to 1.40, you’ll seea simpler execute box than the one shown here. Older drives are notable to send real time status information to the PC, and cannotrespond to advanced commands like Pause and Single Step.)

Every second, the motor should move one revolution. (Assuming thatyou have left the resolution setting at the default 20,000 steps/rev.)

Not so exciting, perhaps, but you have to admit it was easy to do.

More complex programs are entered in the same manner, you justenter more lines and you’ll be more concerned about the exactparameters and their importance in your application. We’ve designedthe Si™ Indexer to be easy and fun to use. If you can think of any-thing we’ve forgotten, please give us a call or send a fax. We continu-

ously improve our products, and are always developing new ones based on what we’ve learned from you, ourcustomer.

Note: if you need to edit an instruction that’s already in your program, and wish to go directly to the appropriatedialog box, hold down the shift key while you click on the instruction icon.

Copying InstructionsThere may be occasions where you want to make an exact copy of an instruction, or perhaps a copy with onlyone or two parameter changes. The fastest way to copy an instruction from one line to another is to point themouse at the instruction icon that you want to copy, and drag the icon onto another one elsewhere in theprogram. This is referred to as “Drag and Drop.”

For example, say you’ve entered a Set Output instruction on line 5 of your program, and you’d like an identicalSet Output on line 11. Position the mouse over the Set Output icon on line 5, then click and hold the mousebutton. Move the mouse until the icon is over the line 11 icon. Let go of the button, and the instruction with allof its parameters will be copied to line 11.

Page 12: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual12

Inserting and Deleting Program Steps

Insert New StepThe time will no doubt come when you’ve entered many program lines only to realize that you need to add aninstruction right in the middle. We could be cruel and tell you that you’ll have to re-enter most of the instruc-tions to make room for the new one. But, in the spirit of making the Si™ Indexer easy to use, we’ve included acommand to insert a new instruction anywhere in your program.

It’s easy to do: just click on the program icon where you want the new instruction to go. You’ll get the ProgramLine... dialog, as usual. Instead of choosing one of the 20 instructions, click on the command button marked“Insert.” The instructions are re-ordered, and the line you need for your new program line is available.

You can then click on the open line and select an instruction as you normally would.

Delete StepIn addition to inserting a line in your program, you can delete one to make room for others farther down. Youmay, for example, have some available space in the middle of the program, but want to add an instruction nearthe end.

Click on a program line that you don’t need. When the Program Line... dialog comes up, select “Delete.” Theline you selected for deletion will be gone, and all the other lines will move up one position, leaving a blank spotat the end of the program.

By combining insertions and deletions, you can place your program lines wherever and whenever you need to.

Setting ParametersIf you haven’t used Windows much, you may be surprised by the way you enter data into your program.

Text BoxesLarge numbers that must be entered precisely, like the number of steps to move, are entered in text boxes.This is much like using a word processor, but you’re only editing one word. Just click in the box and type inyour number. If you make a mistake, you can select all or part of your number and type something else in-stead. When you first enter a dialog box that contains text boxes, the text inside one box is automaticallyselected. This is your chance to type in your number without having to click at all.

Page 13: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 13

If you try to enter a number that is too large, the Si Programmer™ will change your entry so that it’s “in bounds”when you hit enter or click on something else in the dialog box. This prevents you from asking the indexer-drive to do something that it’s not capable of.

Scroll BarsA lot of parameters are set by scroll bars. Scroll bars work like the temperature controls in many cars. Slidingthe little box to the right increases the value of the parameter. If you slide the box all the way to the right, youget the maximum number. As you adjust the slider, the numerical value is shown in a box next to the scroll bar.

To make precise adjustments, try clicking next to the slider (on the bar, between the sliding box and the arrow).To make even more precise adjustments, click on the arrow at either end of the scroll bar.

Option ButtonsOption buttons are very common in Windows. They are normally used when you have to pick one item from agroup, like cw or ccw direction. To pick an item that is controlled by option buttons, just click on the circle so itshows a black dot inside.

Spin ButtonsSome parameters have a limited number of possible values, all numerical, but too many for option buttons.Setting the line number in a Go To instruction is an example: there are 100 possible values. For this, we usethe spin button. If you click on the down arrow part of the button, the value goes down by one. Clicking upmakes it go up by one. If you click and hold down the mouse button, the parameter value will “spin up” quickly.

Click here for smallest change

Click here for small change

Slide for large change

Page 14: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual14

User Defined Units

The Si Programmer™ normally expects you to enter distances in steps and speeds inrevolutions/sec. However, you can also define your own units.

To define your own unit, first enter a name in the name box. In the example at the left, thename is “inch.” The name you enter cannot be longer than four characters.

Next, you must enter the number of motor steps in one of your units. For example, 20,000steps/rev with a screw pitch of 2 turns per inch is 40,000 steps per inch. Sometimes

screw pitches are expressed as inches per turn (0.2 for example.) If that case, your steps/inch would be thesteps/rev divided by the inches/turn.

Finally, check the “User Units” check box. You will notice the units of the jog panel change from “rev/sec” to“inch/sec.” Any program instruction dialog you open will also be operating in inches and inch/sec.

Note: If the Si™ hardware you are programming has firmware prior to version 1.28, you can still program it withuser defined units, but when you download your program, the indexer will not remember your unit name and

pitch. The program will execute correctly, but if you upload, the user unit definition will not upload with the restof the program.

Limit SwitchesThe main window of the Si Programmer™ software contains a panel for selecting the typeof limit switches or sensors that you have.

If your switches will close when the motor reaches a limit, select the option marked“closed.” This is often referred to as a normally open switch. If your switches are closedwhen the motor is not at a limit, and will open when a limit is reached, select “open.” Thistype of switch is frequently called normally closed. If you’re not using limit switches in yourapplication, you can select “not used.” That makes the cw and ccw limit inputs available as

inputs 7 and 8 for Wait Input, If Input and Feed to Sensor instructions.

What Happens When You Hit a Limit Switch?

If you encounter a limit during a Feed to Length , Feed & Set Output , Feed to Position , Feed to Sensor ,Feed & Return or Feed to Sensor & Return move, the Si™ Indexer will immediately stop the motor (with nodeceleration) and turn off the current. The red Power LED on the front panel will flash, and no future motion ispossible. You must remove AC power from the drive to reset this condition. If the drive is connected to a PC,the programming software will alert the user to this condition and ask you if you want to reset the drive from thePC (instead of removing AC power).

Page 15: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 15

If you are jogging (using the JOG CW or JOG CCW inputs) and you hit a limit, motion will be disabled in thedirection that you were traveling. You can then jog in the reverse direction to back away from the limit.

During a Seek Home instruction, the motor will reverse direction when a limit is encountered, and continueseeking the home sensor.

Front Panel STOP ButtonSome Si™ products have a red button on the front panel marked “STOP.” This button can be used to interruptmotion at any time. After pressing the STOP button, the motor will stop and the front panel Power LED willthen flash until the AC power is removed. If the indexer/drive is connected to a PC running the Si Program-mer™, the software will alert the user on screen to the condition, and ask if you want to reset the indexer/drivefrom the PC.

Setting the Motor Current

Note: current setting only applies to Si™ indexers with built-in drives, like the Si5580 and 7080i. The Si-100 does not have an internal motor driver, so the current setting has no effect on the Si-100.

The drive current must be set to match the motor. First, determine therated current for the motor. If you are using one of the motors recom-mended in the User’s Manual for your Si™ indexer/drive, the User’sManual lists the rated current. Otherwise, you’ll have to go by themanufacturer’s rated current, which is usually printed on the motor label.You can operate a motor at less than the rated current. It will have lesstorque than it would at the rated current, but will run cooler and make lessaudible noise.

Depending on how you connect the motor to the drive, the current settingon the drive may differ from the rated current of the motor. For example, ifyou’re using an Applied Motion motor, follow these rules:

Four lead motor: Use the rated current. The motor can only be con-nected one way.

Six lead motor: the nameplate current is for the center to end connection. If you choose to connect the motorin series, divide the current by 1.4.

Eight lead motor: the nameplate current is for center to end. For parallel connections, multiply the current by1.4. For series divide by 1.4.

In the Si Programmer™ software, the current is controlled in the main window by the panel on the upper leftside of the screen. To adjust the current setting, just slide the scroll bar left or right. Precise adjustments canbe made by clicking on the arrows at each end of the scroll bar.

Page 16: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual16

Idle Current ReductionYour drive is equipped with a feature that automatically reduces the motor current anytime the motor is notmoving. This reduces motor and drive heating. For example, setting the idle current to 50% reduces driveheating by about 50% and lowers motor heating by 75%. This feature can be set at any of four levels: 0%,25%, 50% and 100%. The 100% setting is useful when a high holding torque is required, as the drive does notreduce the current at all. The 0% setting is for applications in which no holding torque is required.

To minimize motor and drive heating we highly recommend that you use the idle current reduction featureunless your application strictly forbids it. The idle current setting is chosen using the option buttons in themotor current panel.

Page 17: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 17

MicrosteppingMost non-microstep step motor drives offer a choice between full step andhalf step resolutions. In full step mode, both motor phases are used all thetime. Half stepping divides each step into two smaller steps by alternatingbetween both phases on and one phase on.

Microstepping drives like the Si5580 precisely control the amount of currentin each phase at each step position as a means of electronically subdividing the steps even further. All Si™indexer-drives offer a choice of 13 step resolutions, starting at 2000 steps per revolution. The highest settingdivides each full step into 254 microsteps, providing 50,800 steps per revolution when using a 1.8° motor.

Other Si™ products may offer a different selection of resolutions than the ones shown here. The Si™ Pro-grammer automatically presents the resolutions that are available on your hardware if the model number ofyour indexer-drive is shown in the “drive box” near the top of the screen.

In addition to providing precise positioning and smooth motion, microstepdrives can be used for motion conversion between different units. The 25,400step/rev setting is provided as a means of converting motion from metric toEnglish. (There are 25.4 mm per inch.) Other settings provide step anglesthat are decimal degrees (36,000 steps/rev makes the motor take 0.01° steps.)Some settings are used with lead screws. When the drive is set to 2000steps/rev and used with a 5 pitch lead screw, you get .0001 inches/step.

The selection of microstep resolution can be important if you are using theoptional MMI, and plan to scale the distances or speeds that the user enters.

If in doubt, choose 20000 steps/rev. The motor will run smoother and morequietly at 20000 steps/rev than at lower resolutions like 2000.

The microstep resolution of the Si™ Indexer is set using the programmingsoftware. The resolution appears at all times in the Steps/revolution panel onthe left side of the main window. To change the resolution, click on the Changebutton and you’ll see a dialog box with option buttons for each resolution. Clickthe one you want, then click on the OK button.

If you change the step resolution and there are motion instructions in yourprogram, the software will warn you that the distances may need to bechanged (because they are in steps). It also offers to automatically scale the

distances so that the distance in revolutions remains the same.

Note: If you are using an Si-100 indexer, you must also set the step resolution at the drive.

Page 18: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual18

JoggingTwo of the Si™ Indexer input terminals are provided for jogging the motor.

If the Si™ Indexer is connected to a PC with the programming software running, the jog inputs will functionunder two conditions:

• if the program is not executing• if the program is executing a Wait Input command.

If the Si™ Indexer is operating in stand alone mode (i.e. without a computer attached) then the jog inputs workwhen the program is executing the Wait Input instruction.

To set the Jog Speed and Jog Accel/decel rate, adjust the scroll bars in the main programming window.

We recommend setting the accel/decel to a modest rate. 25 rev/s/s usually works well unless you have a veryhigh inertial load, in which case you should set it to a lower rate. The range of jog accel is 1 to 3000 rev/s/s.

The range of jog speed is .025 to 50 rev/sec. The speed you choose will depend on your application.

If you don’t need to jog, you can use the jog inputs as input 5 and input 6, for use with Feed to Sen-sor, Wait Input and If Input instructions. The CW JOG input can be assigned as a general purposeinput by checking the box marked “Use Jog CW as Input 5.” The Jog CCW input can be used asInput 6.

If you have an Si™ indexer/drive with firmware version 1.40 or later, you can use the arrow keys onthe optional man machine interface (MMI) for jogging. This is an option in the Wait for MMI Enterinstruction.

Page 19: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 19

Using the Optional MMIThe Si™ Indexer is available with an optional MMI (Man Machine Interface), sometimes called an operatorpanel. The MMI attaches to the same RS232 port that you use to connect to your PC, using the same cable.The MMI has a four line liquid crystal display (LCD) and 20 keys for entering data. There are seven things youcan do with the MMI:

1) You can display a message on the LCD. You might want to identify your machine (“ABC Bottle Filling Co.Model 20”) or display a status message (“Machine Running - Status OK”).

2) You can pause your program until the user presses ENTER. For example, if you were applying preprintedlabels, eventually you’ll want to halt the process until the operator loads a new roll of labels.

3) The MMI can ask the user to make a decision. For example, you might want to offer the user an option, likechanging set up parameters, that can be responded to by pressing the yes or no keys.

4) The user can be asked to enter a move distance. If you want to build a machine that feeds out material andthen cuts it off, the operator can specify how long the resulting material will be.

5) The user can be asked for a move speed. This option allows the operator to adjust a feed rate, flow rate orother motor speed related setting.

6) The user can be asked for a repeat count. You can let the user set the number of parts that are processed.You can also combine a repeat loop with a Wait Time instruction to adjust dwell time.

7) You can display a menu, wait for the user to press a numeral key, then branch to a corresponding programline. Any or all of the keys 1 - 8 can be used, each with it’s own branch address.

If you are thinking ahead at this point, you mightask “If the MMI plugs into the same port as the PC,how can I run a program from the PC that uses theMMI?” Like most features of the Si™ software, it’ssimple. If you press the Execute button and theprogram in your drive contains any MMI instruc-tions, you will see a different execute box on yourscreen. The MMI execute box looks and acts likethe real MMI: it will display messages, and you canclick on the buttons to enter data. Like the otherexecute box, there is a display showing the statusof inputs and outputs, and a control panel thatallows you to interrupt, single step, or restart yourprogram at any time.

We provided the emulated MMI to save you theexpense of a second RS232 port on your Si™Indexer. It also allows you to try out the MMI beforebuying one.

Note: If your indexer/drive firmware is prior to1.40, you won’t see the status display, becauseyour drive is not able to provide real time statusinformation to the PC. Instead, you’ll just seethe MMI Emulator.

Page 20: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual20

• Click on a program line icon• Select the MMI Prompt instruction• Type “Machine Running Status OK” in the text box• Select the “Display Text Only” option button• Click the OK button• The message will stay on the LCD until another instruction uses the MMI.

How to pause until user presses ENTER

• Select the MMI Prompt instruction• Type “Please reload labels, then press ENTER” in the text box• Select the “Display text & wait for enter” option button• If you want the user to be able to jog the motor using the MMI arrow keys, check the box marked “Allowjogging on MMI arrow keys.”• Click OK

How to display a message on the MMI

1 2 3 ➝

➝4 5 6 ➝➝

7 8 9 YES NO

. 0 SPACE BKSP ENTER

Machine RunningStatus OK

1 2 3 ➝

4 5 6 ➝➝

7 8 9 YES NO

. 0 SPACE BKSP ENTER

Please reloadlabels, then pressENTER

Page 21: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 21

How to let the user make a decision (MMI branching)

1 2 3 ➝

4 5 6 ➝➝

7 8 9 YES NO

. 0 SPACE BKSP ENTER

Change the set upparameters?(press YES or NO)

• Put an MMI Prompt instruction on line 1• Type “Change setup parameters? (press yes or no)” in the text box• Select the option button “Display text, wait for yes/no & branch on yes”• In the line # box, type 12• Click OK• Starting on program line 12, place your parameter setting instructions.• At the end of your parameter setting instructions, place a Go To line 2 instruction.

How to ask the user for a move distance

1 2 3 ➝

4 5 6 ➝➝

7 8 9 YES NO

. 0 SPACE BKSP ENTER

Enter the partlength, in inches

8.79

• Select an MMI Prompt instruction• Type “Enter part length, in inches” in the text box• Select the option button “Display text and get distance”• Enter a scale factor, or, if you’re using User Defined Units, select “user defined units - MMI entries will be in

inch” for automatic scaling.• Enter upper and lower limits (in this example, we want to allow the operator to enter distances between 0.5

and 12 inches)• Select an MMI variable to store the distance in (we chose Dist1 this time, but any of the eight MMI variables

is acceptable for storing any type of data)• Later in your program, you’ll need a Feed instruction (Feed to Length, Feed & Return, etc) that uses the Dist1

variable for distance.

Page 22: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual22

How to get a speed from the user

1 2 3 ➝

4 5 6 ➝➝

7 8 9 YES NO

. 0 SPACE BKSP ENTER

Enter the flow rate,in gallons/minute

2.75

• Select an MMI Prompt instruction• Type “Enter the flow rate, in gallons/minute” in the text box• Select the option button “Display text and get speed”• Enter a scale factor (in this example, one gallon/minute equals 10 revolutions/sec of the motor)• Enter upper and lower limits (in this example, we want to allow the operator to enter flow rates between 1 and

5 gal/min)• Select an MMI variable to store the speed in (we chose Speed1)• Later in your program, you’ll need a Feed instruction (Feed to Length, Feed & Return, etc) that uses the

Speed1 variable for speed.

How to get a repeat count from the user

1 2 3 ➝

4 5 6 ➝➝

7 8 9 YES NO

. 0 SPACE BKSP ENTER

How many parts should we run?

150

• Select an MMI Prompt instruction• Type “How many parts should we run?” in the text box• Select the option button “Display text and get repeat count”• Enter upper and lower limits (in this example, we want to allow the operator to enter a number between 1 and

500)• Select an MMI variable to store the count in (we chose Count1)• Later in your program, you’ll need a Repeat instruction that uses the Count1 variable for the repeat count.

Page 23: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 23

How create an MMI Menu

Note: You need firmware version 1.41 or later to execute the MMI Menu function.

1 2 3 ➝

4 5 6 ➝➝

7 8 9 YES NO

. 0 SPACE BKSP ENTER

1=12 oz bottle2=16 oz bottle3=24 oz bottle4=custom size

• Select an MMI Prompt instruction• Select the option button “MMI Menu...”• Type your menu text in the text box (you can enter up to four lines)• Check the boxes indicating which numeral keys you want to use (in this example, we used 1,2,3 and 4)• Assign a program line number to each key (we used 10, 20, 30 and 40)• Later in your program, you’ll need to put instructions at each of the lines you’ve specified. These are the

instructions that will execute if the user presses the appropriate key on the MMI. For example, when the userpresses ‘1’, the program will branch to line 10.

Note: if you add extra spaces to your display text to get the look “just right”, watch out: sometimes the SiProgrammer™ removes those spaces when you re-open the instruction dialog. It is safer to format your textusing other characters, like ‘.’ (period) or ‘_’ (underscore).

Page 24: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual24

Making Your Move

MMI PromptThe MMI Prompt instruction is used with the optional MMI (Man Machine Interface). MMI prompts allow yourprogram to display messages on the MMI screen, and can gather data from the operator to be used by otherinstructions. The MMI can also pause the program until the user presses the ENTER button. It can allow theuser to make a decision, then press the YES or NO button. If the user presses YES, the program branches toanother program line. If the user presses NO, the program goes to the next line.

If you just want to display a message, such as “Machine Running - Status OK”, put an MMI Prompt instructionin your program at the point where you want the message to appear. Check the option button marked “DisplayText Only” and type in your message. Once the MMI Prompt instruction has been executed, the message willstay on the screen until changed by another instruction that uses the MMI display.

If you want the operator of themachine you’re building to be ableto change parameters like dis-tance, speed or repeat count,you’ll need an MMI Prompt to askthe user for data and to store it innonvolatile memory. In this case,click on the option button for thetype of data you want: distance,speed or repeat count.

You’ll need to set upper and lowerlimits. The MMI Prompt instruc-tion will check the data that’sentered against the limits you’vespecified, and tell the user if avalue is out of range. For ex-ample, if you set the MMI Promptto gather a repeat count, andyou’ve set the upper and lowerlimits to 100 and 1, the instruction

will not accept any value bigger than 100 or smaller than 1.

You also must tell the MMI Prompt instruction where to store the data in nonvolatile memory. There are eightlocations to choose from. They are named Dist1, Dist2, Dist3, Speed1, Speed2, Count1, Count2 and Count3.Remember where you told the MMI Prompt to put the data. When you set up an instruction to use data froman MMI variable, you must tell that instruction which variable to use (Dist1, Dist2, etc.)

Page 25: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 25

For example, If you want the operator to be able to set the number of parts your machine produces in a givenrun, put an MMI Prompt instruction in your program to ask for a repeat count and to save it as Count1. Some-where else in your program you’ll set up a Repeat loop to process the parts. The loop will start with a Repeatinstruction, one that you’ve configured to get its repeat count from the MMI variable Count1. You can evendisplay the loop count on the MMI as your program runs. (Note: you need an indexer drive with firmwareversion 1.40 or later to display the loop count on the MMI.)

ScalingThe Si™ indexers work internally in steps and revolutions per second. The MMI Prompt can accept data fromthe user in other units (like inches or inches/sec) and automatically scale the data to internal units. There aretwo ways to do that.

The easiest method of scaling is to set up user units on the main screen. That way your entire program can beentered in your units. See page 14 for an explanation of user defined units.

Another way to scale user entries is to enter a scale factor directly into the MMI Prompt dialog box. That wayyou can use different scale factors in different MMI Prompts.

Scaling is only available when gathering distance or speed data.

Other Uses of MMI PromptsIf you want to pause your program until the user presses the ENTER key on the MMI, choose the optionmarked “Display text & wait for enter.” If you wish, you can allow the operator to use the MMI arrow keys forjogging. (Note: you need an indexer drive with firmware version 1.40 or later to do MMI arrow key jogging.)

To allow the user to make a decision, select “Display text, wait for yes/no & branch on yes.” Be sure to enter aline number in the Line # box. The program will jump to that line if the user presses YES. If the user pressesNO, the program will execute the next line after the MMI Prompt.

The MMI Menu option lets you assign line numbers to as many as eight numeral keys, and display text on allfour lines of the MMI. When the operator presses one of the numeral keys, the program branches to thecorresponding line. This is an easy way to set up a menu driven system.

To see more examples of MMI Prompts, turn to page 19.

Page 26: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual26

Feed to LengthThe Feed to Length instruction is used for point to point moves. If you just want to move the motor a fixednumber of steps, this is the instruction to use. You can also use speed or distance data that was previouslygathered by an MMI Prompt instruction.

When you click on the Feed to Length button in the Program Line... dialog box, you’ll see the Feed to Lengthdialog box appear. This is where you enter the parameters for the move.

Distance - this is the number of motor steps you want to move. The maximum number is 16,000,000. If youselect the check box marked “Get distance from MMI”, you can choose one of the eight MMI variables as thedistance. Please note that checking “Get distance from MMI” does not automatically make the Si™ Indexerstop and ask the user for an entry. You’ll need an MMI Prompt instruction somewhere else in your program forthat.

Speed - this is the maximum speed you want the motor to go, in revolutions per second. You can set thespeed anywhere between .025 and 50 rev/sec, in increments of .025 rev/sec. If you select the check boxmarked “Get speed from MMI”, you can choose one of the eight MMI variables as the speed.

You can also reduce speed during the move by checking the box marked “Reduce speed during move.” This isuseful for applications where a tool may need to approach a work piece quickly, but slow down just beforemaking contact.

Page 27: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 27

Accel - step motors cannot achieve a high speed instantly. The indexer-drive must gradually accelerate themotor to speed. The rate at which you can accelerate depends on the inertia of the motor and load, the torqueavailable from the motor, and how fast you want it to go. You may need to experiment to find this out. The Si™Indexer has an acceleration range of 1 to 3000 revs/sec/sec.

Decel - this is the rate at which the drive decelerates to a stop at the end of the move. It’s also the rate atwhich the motor reduces speed if you choose that option. The range is the same as for acceleration. Becausefriction encourages a motor to stop, you can usually set decel higher than accel.

Direction - you can choose cw or ccw as the direction for the move. Just dot the appropriate circle by clickingon it.

Analysis - Click on this tab to see a speed vs time graph of your move. It also provides some useful statisticsabout the move, such as the duration of the move and the portion of time spent accelerating and decelerating.You can also select a plot of speed vs distance.

Page 28: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual28

Feed & Set Output

The Feed and Set Output instruction is provided for two reasons. First, it allows you to combine a Feed toLength instruction with a Set Output instruction, making your program shorter. Feed to Length and Set Outputare frequently used in combination because you want your Si™ product to signal another device when itfinishes a move.

The second reason the Si Programmer™ has a Feed & Set Output feature is for manufacturing throughput.The Si™ indexer may be advancing a part which will then be processed by another device, for example feedingmaterial to be cut off by blade. If the blade requires a little time to approach the material, you’d like to triggerthe blade before you’re done advancing the material. That way, you can process more pieces in the sameamount of time.

Feed & Set Output allows you to set an output high or low at any point during the move.

Page 29: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 29

Feed & ReturnThe Feed & Return instruction is used for point to point moves where you want to return to the starting point.

For example, if the motor was driving a cut-off knife, you would want to retract the knife after cutting.

Feed & Return requires many of the same parameters as Feed to Length: distance, speed, accel, decel anddirection. For explanations of these, please refer to the Feed to Length section of the manual.

You’ll also need to set the return speed . The range is .025 to 50 revolutions per second. In the case of thecut-off knife, you might want to feed slowly, as the knife is cutting, then retract quickly. Thus, you would set thereturn speed higher than the forward speed.

Return delay determines how long the Si™ Indexer waits between the end of the feed move and the start ofthe return. This could, for example, give the machine time to remove a part before retracting. Since a motorand load need time to “settle out” after moving, you should not set return speed to less than 0.2 secondsunless you are certain that your motor and load settle more quickly than normal.

Page 30: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual30

Feed to SensorThe Feed to Sensor instruction allows you to move the motor until an external event changes the state of aninput.

One useful application for Feed to Sensor is when your motion distance varies. Let’s say you are using a stepmotor to dispense labels that come on a roll. You can’t guarantee that the spacing of the labels is exact, so youdon’t want to simply feed out the same number of steps each time. Instead, you can put a sensor on the feedmechanism that “sees” the edge of each label and signals one of the Si™ Indexer inputs to stop motion.

Feed to Sensor will ask for many of the same parameters as the other feed programs: Speed, accel, deceland direction. You also need to specify a distance. That’s because the Si™ Indexer must have enough spaceto decelerate to a stop once the sensor is tripped. The higher the speed, the longer it will take to stop. If thedecel rate is increased, then the motor can stop in fewer steps. The “Minimum Distance” box tells you howmany steps you must allow, based on the speed and decel rate that you’ve set. You can’t set the distance toless than this minimum.

Page 31: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 31

You’ll also need to tell the Si™ Indexer which input the sensor is wired to and what input condition to look for.The four input conditions are:

High - move until the specified input reaches a high signal state. This is the default state of an input if nothingis connected to it.

Low - move until specified input is at a low signal state.

Rising Edge - move until the signal goes from low to high. This is similar to the high condition, but the differ-ence is important. Let’s say that you have a sensor wired to the Si™ Indexer that will go high when you wantmotion to stop. However, the sensor signal stays high after motion is complete, going low sometime later. Thisoften happens in labeling applications where there isn’t much space on the roll between labels. If you choosehigh as your input condition, the Si™ Indexer will complete the motion, then refuse to start again because theinput signal is still high. If you choose rising edge, the Si™ Indexer would proceed with the input voltage highand stop when the sensor signal goes from low to high again.

Falling Edge - the opposite of rising edge. Si™ Indexer waits for an input voltage to go high, then low.

If you are concerned about your load never reaching the sensor (for example, if your sensor may fail or the loadmight jam up), check the box marked “If distance exceeds safety limit...”. You can then enter a safe distanceand specify a line number to which the program will branch if it can’t find the sensor. For example, if you aresensing labels on a roll, and they are supposed to be about 1 inch apart, enter a safety distance of 3 inches.Then enter 20 as the branch line. On line 20, you will put some kind of error recovery routine, like an MMIPrompt telling the operator to check the label stock.

Note: the Si™ Programmer software will not let you enter a move distance that is less than the minimumdeceleration distance for your chosen speed and decel rate. However, if speed or distance is set by an MMIvariable, no such error checking is performed. It is your responsibility to choose an upper limit of speed andlower limit of distance so that an operator cannot enter an incorrect value. Failure to do this may result inunexpectedly long moves.

Page 32: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual32

Feed to Sensor & ReturnThe Feed to Sensor & Return instruction is just like Feed to Sensor, but after the move the motor returns tothe starting point.

Most of the parameters are the same as Feed to Sensor, but two new ones are added: the return speed andthe return delay.

One useful application of Feed to Sensor & Return is a variable distance application. If we were building amachine to cut fabric of different sizes, and the Si™ Indexer was driving the cutoff knife, we might want to set asensor at the end of the cut off stroke. That way, we can manually adjust for the width of material we happen tobe using on a particular day without having to reprogram the Si™ Indexer.

Each time it’s triggered, the indexer-drive would feed until the knife trips the sensor, then return to the startingpoint.

You should beware of one thing: the maximum distance for any program is 16,000,000 steps. That’s thelongest distance the Si™ Indexer can track. If you move more than 16 million steps before you hit the sensor,the Si™ Indexer will not return to the correct position. If this is a problem for you, consider selecting a lowermicrostep resolution. At 50,000 steps/rev, you would exceed the 16 million step limit after 320 revolutions. At2000 steps/rev, you can go 8000 revs before exceeding the limit.

Page 33: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 33

Feed to Position

This instruction moves the motor and load from wherever they are to an absolute position. For example, if theload is at the 4 inch position and the program executes a Feed to Position 6 inches, the motor will move twoinches clockwise. If the load was at the 10 inch position and you did a Feed to Position 6 inches, the movewould be 4 inches counter clockwise.

Feed to Position requires the usual move parameters: speed, accel & decel rates. Like other move instruc-tions, speed can be recalled from an MMI variable, allowing it to be entered by the operator on the MMI panel.

Position can be a positive or negative number, and can be entered on the MMI. Please note that the MMI hasno minus (-) key, so you can’t enter a negative number on the MMI. You can avoid using negative absolutepositions by using the Set Position instruction.

Page 34: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual34

Set Abs Position

This instruction allows you to define the present motor position as any absolute position you like. The SeekHome instruction automatically clears the absolute position counter when it’s finished, defining the homeposition as 0. But you may want something else. Perhaps you want to think of the home sensor as being the 8inch position, or 90 degrees, or whatever. Simply put a Set Position instruction after the Seek Home instruc-tion, or anywhere else in your program where you want to define the absolute position.

Page 35: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 35

Save Abs Position

This instruction allows save the present absolute position to an MMI variable. This is useful is you want anoperator to visually position your load, and then be able to return to that position later in your program.

For a material handling application, you could create a program that uses the Wait Input or Hand Wheel com-mands to allow the operator to move your load into position. The operator would then press an ENTER buttonto exit the Wait Input or Hand Wheel instruction. If the next instruction is Save Abs Position, the load positionthat the operator carefully obtained is recorded in nonvolatile memory. Elsewhere in your program you can usea Feed to Position instruction to return the load there.

Since the Si™ indexers support up to 8 MMI variables, you can save as many as eight different positions.

The sample program “LPdemo” demonstrates the “learning” of two positions.

Even though the positions that the indexer has “learned” will still be remembered the next day (because theyare stored in nonvolatile memory), you will need to “home” the system each time it’s powered up. Otherwise,the absolute positions that you’ve saved don’t make any sense.

Note: you need an indexer drive with firmware version 1.52 or later to use the Save Abs Positioninstruction.

Page 36: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual36

Seek HomeThe Seek Home instruction allows you to move the motor until a home sensor is found. The home sensor canbe wired to any of the general purpose inputs.

Some applications require the motor to start from a certain position each time you turn on the power, but can’tguarantee where it was left at the last power down. The solution is to wire a sensor to one of the Si™ Indexerinputs and place a Seek Home command at or near the beginning of the program.

Seek Home will ask for many ofthe same parameters as theother feed programs: Speed,accel, decel and direction.

You’ll also need to tell the Si™Indexer which input the sensoris wired to and what inputcondition to look for. The fourinput conditions are:

High - move until the specifiedinput reaches a high voltagestate. This is the default state of

an input if nothing is connected to it.

Low - move until the specified input is at a low voltage state.

Rising Edge - move until the signal goes from low to high. This is similar to the high condition, but the differ-ence is important. If you execute a Seek Home command to a high input and the load is already on the homesensor (causing the input to be high) then the load will not move. If you choose “rising edge” instead, the Si™Indexer will move the load to the edge of the home sensor.

If you need the load to be at the exact same position after each Seek Home command, choose Rising Edge orFalling Edge.

Falling Edge - the opposite of rising edge. Si™ Indexer waits for an input voltage to go high, then low.

The Si™ Indexer begins a Seek Home command by moving the motor in the direction you have specified. Ifthe home sensor is found, the motor decelerates to a stop, then backs up to the sensor. If a limit is encoun-tered before the home sensor is found, the Si™ Indexer reverses the direction of motion and keeps looking forthe home sensor.

You may have noticed a box in the lower right-hand corner of the Seek Home dialog box. This tells you howmany steps the Si™ Indexer needs to decelerate to a stop. The “Required Clearance” box tells you how muchdistance you must allow between the limit sensors and any hard stop, based on the speed and decel rate thatyou’ve set. If you don’t allow enough clearance, the load may crash into something as it decelerates past alimit while seeking home.

The higher the speed, the longer it will take to stop. If the decel rate is increased, then the motor can stop infewer steps.

Page 37: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 37

Wait TimeThis is the simplest instruction. Just enter an amount of time, and the Si™ Indexer will pause for that time

before proceeding to the next line in the program The range is 0.01 to 300 seconds.

What, you want to pause for more than 300 seconds? Did I hear you say 30 minutes? Okay, we can do that.That’s the beauty of multiple line programs with a wide range of instructions - you’re only limited by your cre-ativity.

You can make the Wait Time instruction last longer by placing a repeat loop around it. Now I know we haven’ttalked about repeat loops yet, so we’re going to skip ahead a little here. The first trick is to factor your 3 minutedelay into two parts. 30 minutes is 1800 seconds, right? The most we can delay in one Wait Time instructionis 300 seconds. Okay, what if we delay for 300 seconds 6 times?

Your program would look like this:

What’s the limit? Well, a repeat loop can go 65535 times, so the maximum time you can delay is 65535 x 300= 19.66 million seconds, or 5461 hours. Not long enough? Try two repeat loops, one inside the other. Nowwe’re pausing for up to 40000 years. Wow!

Page 38: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual38

Wait InputRarely does a motion controller operate completely on its own, with no input from the outside world. In mostcases, you’ll need the Si™ Indexer to wait for something to happen before it goes into motion. The Wait Inputcommand is used for that. The Wait Input command is also the only instruction that allows you to jog the motorusing the JOG CW and JOG CCW inputs.

The Wait Input instruction has two modes of operation: single input, where itonly looks at one input, and multiple inputs where it can examine up to 8 inputsat once.

In Single Input mode, you must specify the input and the voltage condition toexpect. The choices are:

High - Wait until the specified input is at a high voltage state. This is the statean input will be in if nothing is connected to it, so be careful if you use thiscondition. If a wire comes loose, you could end up with undesired motion.

Low - Wait until specified input is at a low voltage state. This happens whenthe input is conducting current. If you use a momentary contact switch (nor-mally open type), this condition will occur when you press the button.

Rising Edge - Wait until the signal goes from low to high. This is similar to the high condition, but the differ-ence is important. Let’s say that your signal into the Si™ Indexer is one that will go high when you want motionto occur. However, the signal remains high after the motion is complete, going low sometime later. If youchoose high as your input condition, the Si™ Indexer will complete the motion and start again because theinput signal is still high when it finishes the first move. If you choose rising edge, the Si™ Indexer will wait forthe input voltage to go low, then high before moving.

Falling Edge - The opposite of rising edge. Si™ Indexer waits for input voltage to go high, then low.

If you have the optional MMI (Man Machine Interface), you can use the Wait Input instruction to display amessage on the MMI screen and wait until the operator presses the ENTER button on the MMI keypad. Sim-ply check the box marked “Wait for MMI ENTER” and type your message in the box marked “Text to display onMMI.” If you choose “Wait for MMI ENTER” you can allow the operator to jog the load using the MMI arrowkeys.

If you select “Multiple Inputs”, the Wait Input instruction will scan up to eight inputs at once to determine if theprogram should move on to the next instruction. The inputs can be configured as a binary sum (Wait for input1 low or 3 high) or as a product (Wait for input 1 low and 3 high).

Page 39: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 39

Hand Wheel

The Hand Wheel instruction is similar to Wait Input. You specify an input and a condition to be met, like “Input 4low”, and the instruction continues executing until that happens.

The Wait Input instruction allows the user to move the motor using the CW JOG and CCW JOG inputs, orusing the MMI arrow keys. Hand Wheel does the same thing, except that it positions the motor as you turn aCNC type hand wheel. The outputs of the hand wheel connect to inputs 1 and 2 of the Si™ indexer. You canspecify the “gearing” by telling the Si™ how much motor distance to move each time the hand wheel “clicks” tothe next position.

Hand wheels with 100 counts/rev work best. Call the factory for availability of a suitable hand wheel if you areinterested in this feature.

You could think of the hand wheel positioning as “digital jogging”: it allows the operator of a machine to achievevery precise adjustment of the load position.

The Hand Wheel is not supported by the Si-100.

Page 40: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual40

Go ToThe Go To instruction is used to make the indexer-drive jump to another line in the program. At the least, you’llneed to have a Go To at the end of your program, to jump back to the beginning.

There is only one parameter to enter in a Go To instruction: the line number you want to jump to. Click on thespin button to increase or decrease the line number.

Page 41: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 41

Repeat/End Repeat

Sometimes you need to do the same thing several times,and you know in advance how many times that is. Re-peat loops allow you to repeat the instructions inside theloop up to 65,535 times.

For example, let’s say we are dispensing fluids into anarray of containers. There are five rows and five col-umns of containers, each 100 steps away from the next.Each time we receive a trigger command, we want tomove to the next position. After the fifth container is full,we must return to the first, 400 steps back.

The Si™ Indexer that controls the X axis, or motionbetween columns, would be programmed as follows:

The program begins on line 1. There, we enter therepeat loop. The next four times, the Si™ Indexer willwait for the voltage at Input 1 to fall, then move clock-

wise 100 steps, taking the dispenser tothe next container. After the fourth time,the Si™ Indexer drops out of the loopinto line 5. This time when Input 1 falls,the motor is moved 400 steps counter-clockwise, returning to the originalposition.

Sometimes you may need to repeatsomething more than 65,535 times.Let’s say your task is to feed materialinto a cut off knife, and you want to run100,000 pieces.

The best solution is to set up 2 loops,one inside the other. The total number

of cycles will be the number of repeats inthe two loops multiplied together. 100,000is 10,000 x 10, so we could set one loopfor 10 and the other for 10,000.

Page 42: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual42

The Repeat instruction can also use data that was gathered and stored by an MMI Prompt instruction as theloop count. Just check the box marked “Get repeat count from MMI” and select a variable from the list.

For example, you could put an MMI Prompt in your program to ask for the number of parts to be processedand save that data as Count1. You would then set up the Repeat instruction to get the repeat count from theMMI variable Count1.

You can also display the loop count on the MMI as your program runs. You can count up (displaying the num-ber of parts that have been processed, for example) or you can count down (showing the number of partsremaining.)

When the Repeat instruction displays the loop count on the MMI, it uses line 4. You may want to put an MMIPrompt to “display text only” just before the Repeat instruction telling the operator what the count means, asshown below.

Note: If you use an If Input instruction to exit a Repeat Loop, the loop does not automatically reset the nexttime you enter it. If you exit a loop by using an If Input instruction, you should use a Reset Repeat Loop in-struction to reset the loop. Otherwise, the loop count resumes where it left off.

Page 43: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 43

Reset Repeat Loop

Forces a Repeat Loop to reset its counter if it’s been terminated by an If Input or Feed to Sensor with SafetyDistance instruction.

Sometimes it is necessary to leave a repeat loop before it is completed. Say, for example, you have a repeatloop that is set up to fill 100 bottles with fluid. If the reservoir runs dry, you want to leave the loop. You can dothis by putting an If Input instruction inside the loop, triggered by a fluid sensor. The If Input would branchoutside the loop, perhaps to an MMI Prompt telling the machine operator to refill the reservoir.

Now suppose that 60 bottles have been filled, with 40 remaining. If you want the loop to “pick up where it leftoff”, then simply branch back to the beginning of the loop (to the Repeat instruction) after the operator finishesre-filling, and the loop will automatically fill the remaining 40 bottles.

On the other hand, what if you are drilling holes in parts, and each part gets five holes. The step motor is usedto advance the part by 1 inch for each hole. So, you have a repeat loop with a count of 5. Along comes a badpart, detected after the 3rd hole is drilled. You exit the loop with 2 counts remaining.

If you simply re-enter the loop again, the next part will only get two holes drilled into it. What you really want isfor the loop to reset itself. For this, you must use the Reset Repeat Loop instruction, as shown below.

Page 44: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual44

Set Output

Earlier, we discussed the Wait Input instruction as a way to make theSi™ Indexer wait for external events to happen before proceedingwith the program. Sometimes you want the opposite: the Si™Indexer should tell other equipment when to proceed. The SetOutput command lets you pick one of the three outputs and put avoltage signal on it. For a detailed description of the circuitry andconnections, see the section “Wiring Inputs and Outputs” in yourhardware manual.

There are four choices of output conditions:High - Makes the photo transistor open. In circuits where the “-”output pin is grounded, and the “+” pin is pulled up, this causes ahigh voltage to appear on the “+” pin.

Low - Makes the photo transistor close. In circuits where the “-” output pin is grounded, this causes a lowvoltage to appear on the “+” pin.High Pulse - Makes the photo transistor open for a specified amount of time (2 to 500 milliseconds)Low Pulse - Makes the photo transistor close for a specified amount of time (2 to 500 milliseconds)

At power-up, the Si™ Indexer sets all 3 programmable outputs high (open circuit).

For an example of using the Set Output instruc-tion in your program, let’s consider the exampleof filling containers. Each time the Si™ Indexermoves to a new position, it should tell the dis-penser that it’s arrived. We’ll do this with a highpulse, but your choice would depend on the kindof signal the dispenser wants to see in order tobe activated.

After adding a Set Output instruction after eachFeed to Length, we have the program shown onthe left.

There may be occasions where you want a longpulse. This can be done by combining two SetOutput commands with a Wait Time. The instruc-tions shown below will produce a high pulse of 5seconds on Output 3.

Page 45: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 45

If Input Go ToThis instruction allows the Si™ Indexer to make decisions based on input signals. You can choose “SingleInput” or “Multiple Inputs.”

You’ll need to choose an input terminal for the instruction to check. You alsoneed to tell the indexer what signal condition to look for. Finally, you must setthe line number that the instruction will jump to if the input condition occurs.

We included the If Input instruction for three reasons.

1) It allows you to skip part of your program based on an external condition.For example, let’s say you are building a machine and the Si™ indexer’s task isto feed parts. Normally the indexer waits only a half second before feeding thenext part, because that’s how long it takes for your saw to cut the part. Butsometimes you process parts of a different material that takes longer to cut(aluminum vs. steel, maybe). On the days you run steel parts, you’d like to beable to flip a switch and change the delay between parts to 1.5 seconds. This ishow you do it:

The program feeds a part during line 4. line 5makes it wait a half second. If the switch, whichyou’ve connected to Input 1, is closed (low voltagesignal state) then the program jumps to Step 8,skipping the extra 1 second of delay. If the switchis open, the delay occurs. You could then markyour switch’s open circuit position as “Steel” andthe closed position as “Aluminum”.

2) The second reason for including the If Inputinstruction is to allow you to change a parameter such as distance or speed based on an input. Consider thatlast example. How will the cut-off saw know how fast to go when I set the switch for “Aluminum” or “Steel?”Well, we could wire the switch that controls the movement of the saw to one of the general purpose inputs.This time we write the program as shown below.

When the indexer gets to Step 4, it will look atthe “Steel/Aluminum” switch. If the signal is low(Aluminum) it jumps to the Feed to Lengthprogram at Step 7, which moves the saw at 3revolutions per second. If the switch is high, theprogram does not jump, but instead executes theFeed to Length at Step 5, which feeds at 1.0 rev/sec. Then, the Si™ Indexer jumps past thesecond Feed because of the Go To instruction inStep 5. (Don’t forget the Go To or you could endup moving the saw twice.)

3) The final reason we’ve given you the power of If Input is so you can have multiple programs within your 100line program space. Perhaps what you want your system to do is two completely different things depending onan input. Lets say that each of these tasks requires 4 instructions. This is what you do:

Page 46: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual46

Depending on the state of Input 2, the program will either execute lines 4 - 9 or lines 11 - 15. Either way, theprogram ultimately returns to line 3 to check the condition of the switch again.

You can also use the optional Man Machine Interface (MMI) as the decision making input of an If Input instruc-tion. Simply check the box marked “Branch on MMI YES” and type in the message that you want the operatorto see. If the operator presses the YES button, the drive will jump to the line you’ve specified in the line num-ber box. If the operator presses NO, the program moves on to the next line.

Note: If you use an If Input instruction to exit a Repeat Loop, the loop does not automatically reset the nexttime you enter it. If you exit a loop by using an If Input instruction, you should use a Reset Repeat Loop in-struction to reset the loop. Otherwise, the loop count resumes where it left off.

Page 47: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 47

Change Current

Motor current is normally set on the main screen of the Si Programmer™ and applies to all program instruc-tions. But what if you want to change the current on command? For example, you may want to temporarilyturn off the motor current while the operator makes manual adjustments to a mechanism, or loads a new roll oflabels. Overcoming the holding torque of a step motor by hand can be difficult, so it’s sometimes best to shutoff the current completely.

In other cases, you may want to temporarily increase the motor current to achieve more torque, but are unableto leave it that way all the time without overheating.

The Change Current instruction allows you to turn off the current, to resume the normal current setting, or tospecify a new current setting.

Page 48: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual48

CommentThe Comment lets you leave notes in your program. That way if someone else needs to modify your programin the future they’ll understand what you’ve done. The comments can also help you organize the program foryourself.

Whether you save your program to disk or just download it to the drive, the comments stay with it. They do notaffect the way your program runs: when the Si™ Indexer executes a program, it skips over the comments.

We suggest that you place a comment on the first line of your program to let future programmers know whowrote the program, when it was written, and what it does. You can also put in comments at other places in yourprogram. Perhaps just before a Feed to Length move, you would want to add the comment “Rotate the part 1/4turn.”

A little time spent now commenting your program might save you a great deal more time later on, when you’veforgotten that “Feed to Length 3000 Steps” means “Rotate the part 1/4 turn.”

There is a limit to the number of comments your program can have. The Si™ Indexer has a “string pool” of 400characters. All MMI Prompts text goes into the string pool, as any Comment, Wait Input or If Input instructionswhose strings exceed 12 characters.

Page 49: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 49

Command Buttons

Download, Upload & Execute

The Si™ Indexer was designed to operate without a host computer once your program is finished and tested.At first, though, you’ll probably find yourself running it from the PC much of the time. That way you can quicklymake changes in your program to fix errors or conduct experiments.

The Si Programmer™ software provides four command buttons for interacting with the indexer-drive.

Download transfers the program from the Windows software to the Si™ Indexer that’s pluggedinto your serial port. The transfer takes about 3 seconds. You must download the programbefore you can execute it. If you press the Execute button before downloading, the programthat was previously in your indexer-drive will execute and the results may not match what is

shown on your screen.

Note: when downloading to the indexer/drive, make sure the JOG inputs are not activated.If in doubt, remove the JOG CW and JOG CCW connector plug.

Upload lets you extract whatever program is in the Si™ Indexer memory and display it on thescreen. If you want to modify a program already in your Si™ Indexer, you can use the Uploadcommand to bring it back to the PC.

Execute tells the Si™ Indexer to begin running the program that is in its internal memory,starting on line 1. After hitting the Execute button, you’ll see a box appear with a status displayand five program control buttons. (Unless your indexer/drive has firmware prior to 1.40, inwhich case you’ll see a much simpler execute box. Older drives are not able to send real time

status information to the PC, and cannot respond to advanced commands like Pause and Single Step.)

Pressing STOP will interrupt the indexer-drive at any point in the program and close the execute panel. You willfind this feature useful when the drive starts doing things you didn’t intend for it to do.

Pause halts the program, but does not close the execute box. While the program is paused, the display ofinputs is continuously updated, so you can adjust sensors and switches and see the result in real time.

Step executes the next line of the program, then automaticallypauses it again.

Pressing Run makes the program run again, from where you pausedit. Reset sends program execution back to line 1.

Page 50: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual50

Save, Open, Print & Quit

In addition to exchanging programs with the Si™ Indexer, the programming software can also save & loadprograms using your hard drive, and can print hard copies of programs using your printer.

The Save button lets you save a program to the hard drive. A file dialog box will ask you to picka name for the program. You can enter up to 8 characters, not including the suffix “.SI5”. If youdon’t enter a suffix, the software will add “.SI5” to your file name automatically. If you type adifferent suffix, it will automatically change to “.SI5”. The characters in the filename must

conform to the usual DOS/Windows 3.1 rules. The safest approach is to use only letters and numbers in yourfilename, and to avoid special characters like “?” or “\”.

The Open button provides you with a dialog box showing all the “.SI5” files on your drive. Clickto select one, then click OK to load it.

Several example programs are installed with your programming software. It’s a good idea to load some of theexamples and look at them: they may help you with your own application.

Print lets you make a hard copy of your program on any printer that’s attached to your com-puter and installed in Windows. Print uses the standard Windows printer dialog, allowing youto specify which printer to use if you have more than one.

If you call for help, we may ask you to print your program and fax it to us. If you have a fax modem that acts asa printer, you can use it to fax the program directly to us from the programming software. You’ll have to enterour fax number at some point, which is (831) 761-6544.

The Quit button exits the Si Programmer™ and returns you to Windows.

Page 51: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 51

Encoder Feedback

Available with Si4500 and 3540i with Encoder Option Board.

Most step motor applications run “open loop,” where a motor position is commanded and the control-ler assumes that the motor obeyed. If the system is designed with a reasonable amount of torquemargin, and nothing blocks the motor’s path, this works perfectly.

However, some applications require feedback from an encoder to verify that the commanded movehas been executed correctly. For example, if you are processing very expensive parts, it’s worthspending a little extra money on your motion control hardware so that you don’t destroy the parts ifsomething goes wrong. In other cases, it is desirable to get more accurate positioning by usingencoder feedback to compensate for slight errors in the motor position and load linkage.

To support such applications, we provide two drives that can accept quadrature encoder input. TheSi4500 comes standard with encoder inputs, and an encoder option board is available for the 3540i.We can also provide a motor with an encoder mounted on the back.

If you select the 3540i or Si4500 drive and thenopen the “steps/rev” dialog, you can tell the SiProgrammer software what kind of encoder youhave and what to do about any errors thatoccur.

The first thing you should do is enter thecounts/rev of the encoder. Many encoders arespecified in “lines”. Since the Si™ drives useX4 quadrature decoding, the counts/rev willalways be 4 times the number of lines. Forexample, the popular U.S. Digital model E2-1000-250-H encoder has 1000 lines, so youwould enter 4000 counts.

You can use any encoder you want as longas your selection of motor steps/rev isevenly divisible by the counts/rev. In thedialog on the left, the system is set for 20,000steps/rev and 4000 counts/rev. 20,000 / 4000 =5, a whole number, so this combination is okay.

You could also have selected 36,000 steps/rev with this encoder, but not 12,800.

Next, enter the maximum amount of position error your application can tolerate. We used 10 encodercounts, which is .0025 inches in our example. If, after a Feed to Length, Feed and Return or Feed toPosition instruction, the error exceeds .0025 inches, the controller will automatically try to correct it bymaking a series of short moves. The controller also performs “static position maintenance” duringWait Input and MMI Prompt instructions. Static position maintenance corrects for external forces thatpush the motor out of position when it’s supposed to be standing still. In the case of a total obstruc-

Page 52: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual52

tion or insurmountable force, it may be impossible to correct the error. In that case, you can have thecontroller “give up” and branch to another part of your program. That way, you can have an “error

recovery” routine. The picture on leftshows a simple example of an errorrecovery routine.

We chose line 10 as the encoder errorbranch line by entering it in the steps/revdialog. The error recovery line is auto-matically shown in light blue so that it’seasy to identify when looking at yourprogram. (If you have the printed ver-sion of this manual, it probably looksgray.)

In our example, if a position error occurs,the controller tries to correct it up to 20times, then gives up and jumps to line10. On line 10, we have an MMI Prompttelling the operator to fix the problem.

Once the error branch takes place, the autocorrection process is turned off until you branch again byusing a Go To or If Input instruction. Thus, the controller will stop trying to make corrective moveswhile in your error recovery routine, and will automatically resume once you’ve fixed the problem andjumped back.

If you have a 3540i or Si4500 drive and you aren’t using an encoder, select the option “Ignore theerror.” That will turn off the autocorrection and error branching. If you are using the encoder, select“Correct the error”.

Note: We do not recommend the use of “0% idle current reduction” if you are using encoder feed-back.

To use the encoder feedback feature, you must have Si Programmer™ software version 1.75 or later anddrive firmware version 1.75 or later.

Page 53: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 53

Part II: SiNet™ Command LanguageIntroductionThe SiNet™ Command Language (SCL) provides a means to control Si™ indexers and indexer-drives from a host PC or PLC. SCL allows the host to command the drive to perform a variety ofmotion and I/O tasks, and to provide the host with status information.

Individual drives can be directly connected to the serial port of a PC or PLC, or up to 8 drives can beconnected to single port using the SiNet™ Hub-8. Up to 30 drives with the Multi-drop RS485 optioncan be connected to one RS485 or RS422 port.

The SCL mode firmware coexists in the drive with the Si Programmer™ firmware. The drive deter-mines the proper mode of operation by detecting a host signature at power up. The Windows-basedSi Programmer™ software automatically supplies the necessary signature, invoking Si Programmer™mode. Please see the section “Power Up Signature” for details.

SCL requires previous programming experience and custom application software. It is intended forsystems developers who have the tools and knowledge to put together an application program thatsends commands over a serial port.

One thing you cannot do with SCL is write a program to be stored in the drive. If you want to do that,use the Si Programmer™ software. However, SCL provides a 128 character command buffer thatallows the host to send commands ahead of time, while other commands are running.

SiNet™ Command Language provides more than 30 instructions. All commands begin with twouppercase ASCII characters. 9 of the commands are the same as our Windows-based Si™ lan-guage:Feed to Length (FL) Feed to Sensor (FS) Feed to Position (FP)Set Position (SP) Seek Home (SH) Wait for Input (WI)Wait Time (WT) Set Output (SO) Change Current (CC)

Two additional instructions implement options of the Si™ Change Current instruction:Motor Enable (ME) Motor Disable (MD)Another 4 commands are used to set up move parameters:Accel (AC) Decel (DE) Velocity (VE) Distance (DI)7 commands configure the global parameters seen on the left-hand side of the Si Programmer™screen:power up current (PC) microstep resolution (MR) define limits (DL)jog accel (JA) jog speed (JS) jog enable (JE) jog disable (JD)7 commands ask the drive for status information:buffer status (BS) input status (IS) request status (RS) model number (MN)revision level (RV) immediate distance (ID) immediate position (IP).

Power up mode (PM) sets the drive to power up in SCL mode, or in the factory default “auto detectmode.”

Send string (SS) tells the drive to send a text string back to the host. This is useful for detecting whena prior buffered command, typically a move, has completed.

Page 54: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual54

Pause (PS) suspends execution of buffered commands until the continue (CT) command is received.

Stop (ST) stops a command in mid-execution. This is useful for killing an errant move, wait time orwait input instruction, especially during the debug phase of a program.

Stop and Kill Buffer (SK) stops any buffered command and removes all other commands from thebuffer.

RS485 compatible drives are equipped with a Define Address (DA) command so that each drive canbe assigned a unique address.

Drives with the encoder feedback option provide four commands for defining the encoder characteris-tics and functionality.

Communication ProtocolCommunication between drive and host is 9600 baud, 8 data bits, one stop bit, no parity. Each com-mand must be terminated with a carriage return (ascii 13). Drive does not echo received charactersto the host. No handshaking is required.

RS232 connection is a three wire type: transmit, receive and ground. Use the cable supplied withyour Si™ drive.

RS485 connection is a five wire type: transmit+, transmit-, receive+, receive- and ground.You must provide your own cabling (Category 5 style recommended). Refer to your drive’s HardwareManual for more detail.

Power Up SignatureTo invoke SCL mode, the user’s program must detect power up of the drive and supply the signature“00” within two seconds. If this is inconvenient, the drive can be set to automatically wake up in SCLmode. The SCL Setup Utility provides an easy way to configure the power up mode of the drivesand/or hub. It also and gives the user a convenient way to try out commands and gain familiarity withSCL.

When an Si™ drive is set for “auto-detect” mode, it sends three characters to the host when power isfirst applied. The first character is ascii(255). The second character identifies the firmware revision.The third character of the power up packet tells the host which model Si™ product is connected.

Note: Before installation into a multi-drop network, RS485 drives should be powered-up indi-vidually so that individual, non-conflicting addresses can be set using the “DA” command.The power up mode should be set to “2” at that time.

Buffered or Immediate?There are two basic types of SCL commands: buffered and immediate. Buffered commands execute one at atime. If you send two buffered commands to the indexer at the same time, like an FL and an SS, the SS com-mand sits in a buffer and doesn’t execute until the FL in completed. Other commands, indicated as immediatein the Command Summary, are executed right away, running in parallel with a buffered command if necessary.That allows you to check the buffer status (BS), or input status (IS) while the motor is moving.

Page 55: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 55

Command Summaryetirw daer

dnammoc noitpircsed retemarap ylno ylno etaidemmi stinu egnar tluafed

CA etarlecca lecca s/s/ver 0003-1 52

SB sutatsreffub • • srahc 821-0

CC tnerrucegnahc tnerruc A xami-0

JC gniggojecnemmoc •

TC eunitnoc • •

AD sserddaenifed sserdda @-!

ED etarleced leced s/s/ver 0003-1 52

ID noitisoproecnatsid ecnatsid spets 000,000,61± 00002

LD stimilenifed etatstimil 3-1 1

DE dnabdaedredocne dnabdaed stnuoc 552-1 01

FE noitcnufredocne noitcnuf 3-0 0

PE noitisopredocne noitisop stnuoc 000,000,61±

RE oitarredocne oitar 552-1 5

LF htgnelotdeef •

PF noitisopotdeef •

SF rosnesotdeef noitidnoc,tupni • F/R/L/H,8-1

DI xehni,tseuqerecnatsidetaidemmi • •

EI xehni,tseuqerredocneetaidemmi • •

PI xehni,tseuqernoitisopetaidemmi • •

SI tseuqersutatstupni • •

AJ etarleced/leccagoj lecca 0003-1 52

DJ elbasidgoj •

EJ elbanegoj •

SJ deepsgoj deeps 05-520. 1

DM elbasidrotom •

EM elbanerotom •

RM noituloserpetsorcim 51-3 8

CP tnerrucpurewop tnerruc A xami-0

MP edompurewop otua=1,0(edom)LCS=2,tcete 2,1

SP esuap •

SR sutatstseuqer • •

VR tseuqerlevelnoisiver • •

HS emohkees noitidnoc,tupni • F/R/L/H,8-1

JS gniggojpots •

KS reffubllik&pots • •

OS tuptuotes noitidnoc,muntuptuo • LroH,3-1

PS noitisopsbates noitisop 000,000,61±

SS gnirtsdnes gnirtstxet •

TS pots • •

EV gnittesyticolev deeps ces/ver 05-520. 1

IW tupniroftiaw noitidnoc,muntupni • F/R/L/H,8-1

TW emittiaw emit • ces 003-10.

Page 56: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual56

Command Descriptions

AC – AccelerationSets accel rate in rev/sec/sec. Sending AC with no number causes drive to respond with presentaccel rate. Range is 1 – 3000.Affects: FL, FS, FP, SHSee also: DE

Example:You send Drive sendsAC100 nothingAC AC=100

BS – Buffer StatusDrive tells you how many characters remain in the command buffer.

Example:You send Drive sendsBS BS=128

CC – Change CurrentChanges current setting of drive. Also allows you to request present current setting.Affects: FL, FS, FP, SH, WI (jogging)See also: PC

Example:You send Drive sendsCC5.1 nothingCC CC=5.1

CJ - Commence JoggingIf jogging is enabled (JE command), the motor accelerates at rate set by JA command, then runscontinuosly at speed set by JS command. To stop jogging, use the SJ command if you want a con-trolled decel rate. For a faster stop, use the ST comand, but beware that if the speed or load inertia ishigh, the motor may coast to a stop.

CT – ContinueResume execution of buffered commands.

Example:You send Drive sendsCT nothing

DA – Define AddressSets individual drive address character for multi-drop RS485 communication. This command should only beused with drives that have optional RS485 communications. Valid address characters are:! ” # $ % & ’ ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < > ? @

Page 57: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 57

DE – DecelerationChanges decel setting of drive. Also allows you to request present decel setting.Range is 1 – 3000.Affects: FL, FS, FP, SHSee also: AC

Example:You send Drive sendsDE125 nothingDE DE=125

DI – Distance/PositionSets or requests move distance, in steps. The sign of DI indicates move direction.Affects: FL, FS, FPSee also: AC, DE, VE

Example:You send Drive sends NotesDI20000 nothing cw directionDI-20000 nothing ccw directionDI DI=-20000

DL – Define LimitsSets limits to normally open (1), normally closed (2) or not used (3).Affects: FL, FS, FP, SH, WI (jogging)

Example:You send Drive sends NotesDL1 nothing limits are normally openDL3 nothing limits are not used

ED – Encoder Dead BandOn drives that have the encoder feedback option, this defines the size of the “in position” region. Ifstatic position maintenance is enabled and a motor at rest deviates from this zone, automatic correc-tion occurs. If “end of move correction” is turned on, and the motor is outside the dead band at theend of a feed to length or feed to position move, automatic error correction occurs. The size is inencoder counts.

Example:You send Drive sends NotesED50 nothing dead band is 50 encoder countsED ED=50

EF – Encoder FunctionOn drives supporting encoder feedback, the EF command tells the drive what kind of position mainte-nance you want. Static position maintenance watches the encoder while the motor is at rest. If anexternal force move the motor out of position, the drive tries to return it to within the dead band. “Endof move correction” checks the encoder position after a feed to length or feed to potion move. If themotor is not within the dead band, corrective action is taken. For both static position maintenance

Page 58: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual58

and end of move correction, the corrective move length is half the distance to the ideal position.Additional corrections are made until the encoder position is within the dead band.Example:You send Drive sends NotesEF0 nothing all automatic encoder functions are off (but the encoder

still tracks position and can be read via the EP or IE commands.)EF1 nothing Turns on end of move correctionEF2 nothing Turns on static position maintenanceEF3 nothing Enables static position maintenance and end of move correction

EP – Encoder PositionOn drives supporting encoder feedback, the EP command allows the host to define the presentencoder position. For example, if the encoder it at 4500 counts, and you would like to refer to thisposition as 0, send “EP0”. Sending EP with no position parameter requests the present encoderposition from the drive.

ER – Encoder RatioOn drives supporting encoder feedback, the ER command defines the encoder ratio. This number isthe motor resolution, in steps/rev, divided by the encoder resolution, in counts/rev.

For example, if you are using a 4000 count encoder and the motor resolution is set to 20000 steps/rev(MR8), then you should set ER5. (Because 20000 / 4000 = 5. The motor will take 5 steps per en-coder count.) If your motor resolution is not evenly divisible by the encoder count, try a differentmotor resolution (using the MR command.) Encoders with binary resolutions, such as 512 and 1024,are unacceptable.

Note: the Si™ drive electronics use “X4” decoding, so a 1000 line encoder such as the U.S. DigitalE2-1000-250-H produces 4000 counts/revolution.

FL – Feed to LengthExecutes Feed to Length (relative move) command. Move distance and direction come from the lastDI command. Speed, accel and decel are from VE, AC and DE commands.

FP – Feed to PositionExecutes Feed to Position (absolute move) command. Move position comes from the last DI com-mand. Speed, accel and decel are from VE, AC and DE commands.

FS – Feed to SensorExecutes Feed to Sensor command. Requires input number (1-8) and condition (H=high, L=low,R=rising, F=falling) The motor moves until the sensor state change is detected, then stops a precisedistance beyond the sensor. That distance is specified by the DI command. The direction of rotationis determined by the sign of the DI command (positive is clockwise). Speed, accel and decel are fromthe most recent VE, AC and DE commands.

A motor moving at a given speed, with a given decel rate, needs a certain distance to stop. If youspecify too short a distance, the drive may become confused and greatly overshoot the target. Usethe following formula to compute the minimum decel distance, given a velocity V (in rev/sec) anddecel rate D (in rev/sec/sec.). R = steps/rev.

DI = Rmin

2V2D Example: DI = (20000) = 400 stepsmin

2(1)(2)(25)

Page 59: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 59

The Help screen of the SiNet™ Setup utility contains a special calculator that computes the distancefor you.

Example:You send Drive sends NotesFS1L nothing Feed to Sensor 1 lowFS3R nothing Feed to Sensor 3 rising edge

IE – Immediate EncoderRequests present encoder position, in hex. (Distance is in hex because conversion to ascii of anotherformat would tax the CPU enough to interfere with a move in program. Application programs caneasily convert a hex value to integer.)

Example:You send Drive sends NotesIE IE=00002710 encoder position is +10000 countsIE IE=FFFFD8F0 encoder position is –10000 counts

ID – Immediate DistanceRequests present distance, in hex. (Distance is in hex because conversion to ascii of another formatwould tax the CPU enough to interfere with a move in program. Application programs can easilyconvert a hex value to integer.)

Example:You send Drive sends NotesID ID=00002710 +10000 (10,000 steps into cw move)ID ID=FFFFD8F0 -10000 (10,000 steps into ccw move)

IP – Immediate PositionRequests present absolute position, in hex. (Value is in hex because conversion to ascii of anotherformat would tax the CPU enough to interfere with a move in program. Application programs caneasily convert a hex value to integer.)

Example:You send Drive sends NotesIP IP=00002710 abs position is 10,000 steps

IS – Input StatusRequests immediate status of all 8 inputs.

Example:You send Drive sends NotesIS IS=00000000 all 8 inputs are low (closed)IS IS=11111111 all 8 inputs are high (open)IS IS=00000001 input 1 is highIS IS=10000000 input 8 is high

IS= 1 1 1 1 1 1 1 1IN1IN2IN3IN4

IN5(cw jog)IN6(ccw jog)IN7(cw limit)

IN8(ccw limit)

Page 60: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual60

JA – Jog AccelerationSets accel/decel rate for jog moves in rev/sec/sec. Sending JA with no number causes drive to re-spond with present jog accel/decel rate. Range is 1 – 3000.Affects: WI (jogging)See also: JS

Example:You send Drive sendsJA100 nothingJA JA=100

JD – Jog DisableDisables jog inputs (normally active during WI instructions)

JE – Jog EnableEnables jog inputs (active during WI instructions)

JS – Jog SpeedSets speed for jog moves in rev/sec. Sending JS with no number causes drive to respond withpresent jog speed. Range is .025 – 50.Affects: WI (jogging)See also: JA

Example:You send Drive sendsJS10.35 nothingJS JS=10.35

MD – Motor DisableDisables motor (cuts current to zero).

ME – Motor EnableRestores previous motor current.

MR – Microstep ResolutionSets, or requests microstep resolution. Range is 3 – 15, from table below. The MR command shouldbe used before setting the accel and decel rates and speed, because a change in motor resolutionwill corrupt these settings. The MR command also resets the step table, which moves the motor tothe nearest pole position. The absolute position register is not changed.

Example:You send Drive sends NotesMR8 nothing sets drive to 20,000 steps/revMR MR=8

edoCRM ver/spetS edoCRM ver/spetS edoCRM ver/spetS edoCRM ver/spetS

3 0002 4 0005 5 00001 6 00821

7 00081 8 00002 9 00612 01 00052

11 00452 21 00652 31 00063 41 00005

51 00805

Page 61: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 61

PC – Power on CurrentSets power on current in amps. Also changes present current.

Example:You send Drive sendsPC3.2 nothing

PM – Power on ModeSets or requests power on mode. 1=autodetect. 2=SCL mode only. Set to 1 if you plan to use thedrive with the Si Programmer™.Note: RS485 drives do not work with the Si Programmer™ software.

Example:You send Drive sends NotesPM1 nothing drive is set to auto detect host at power onPM2 nothing drive is set for SCL mode at power onPM PM=2

PS – PauseSuspends execution of buffered commands until the next CT command. Useful for coordinatingmotion among axes by sending commands to each, while paused, then resuming all drives at once.Also can be used to suspend the operation of a machine.

RS – Request StatusAsks the drive to tell you what its doing. Responses are:M = motion in progressW = wait input command executingT = wait time command executingR = ready (none of the above happening)

RV – Revision LevelAsks the drive what firmware it has in it.

Example:You send Drive sends NotesRV RV=150 drive has firmware version 1.50

SH – Seek HomeExecutes seek home command. . Requires input number (1-8) and condition (H=high, L=low,R=rising, F=falling) Speed is set by the last VE command. Accel and decel are set by AC and DE.Direction comes from the sign of the last DI command (+ is clockwise, - is ccw).

Example:You send Drive sends NotesSH1L nothing Seek home 1 lowSH3R nothing Seek home 3 rising edge

SJ – Stop JoggingStops the motor when jogging (CJ starts it). Decel rate is defined by JA command.

Page 62: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual62

SK – Stop & KillHalts any buffered command in progress. Removes any other commands from buffer.

SO – Set OutputSets an output to a condition. Outputs: 1-3. Conditions: H=high(open), L=low(closed).

SP – Set PositionSet or request absolute position. Affects FP commands.

Example:You send Drive sendsSP100 nothingSP SP=100

SS – Send StringDrive sends a text string to the host when this buffered command is executed.

Example:You send Drive sendsSSMove complete move complete

ST – StopTerminates any buffered command in progress.

VE – VelocitySets or requests move speed in rev/sec. Range is .025 - 50.Affects: FL, FS, FP, SH.

Example:You send Drive sendsVE2.525 nothingVE VE=2.525

WI – Wait for InputWaits for an input to match a condition. Inputs: 1-8. Allows very precise triggering of moves if a WIcommand precedes a move command in the buffer.Conditions: H=high, L=low, R= rising edge, F=falling edge.Jogging is active during this instruction, unless disabled by JD.

Example:You send DriveWI3R waits for rising edge on input 3 before proceeding to next buffered command.

WT – Wait TimeCauses a time delay, in seconds. Range is .01 – 300.

Page 63: Si™ Programmer Software Manual - IntelLiDrives · Si Programmer™ Software Manual 5 Part I: Si Pammer™ Getting Started The Si™ prog ramming software is used in products, including

Si Programmer™ Software Manual 63


Recommended