This ZX Drive has been set up to run sequences (or sets of drive commands) determined by switches I1-I4. Switch I1 has a value of either 1 or 0; I2 has a value of 2 or 0; I3 has a value of 4 or 0; I4 has a value of either 8 or 0. By setting the switches to different positions, 15 different sequences can be started. (There is no Zero sequence.) This is binary notation*:
I1 = 21; I2 = 22; I3 = 23; I4 = 24.
The Sequence Select Mode was chosen because it would allow many different types of examples of program sequences. It is not likely that this mode would be often used in most applications.
The program has been set up to be used with the a computer terminal. Begin the Xware software and enter the terminal mode by selecting Connect under Tools. When the drive is turned on or reset by the "Z" command, it will send instructions to the computer to be displayed on the Terminal screen.
The computer must be connected to the drive by an RS-232 cable, connecting the Rx pin on the computer to the Tx terminal on the drive, the Tx pin on the computer to the Rx terminal on the drive, an the voltage common (Vo) on both the drive and indexer. On a nine pin connector, pins 2 & 3 are the Tx & Rx pins and pin 5 is the common (or ground).
Like most Drives, the ZX Drive produces lethal voltages to power the motor.
1. Simple Motion #1 2. Simple Motion #2 3. Simple Motion #3 4. Vertical Transport Simulation 5. Indexer Simulation 6. Thumbwheel sequence 7. Jog Sequence 8. Continuous Motion 9. Computer Application 10. Absolute/Incremental Motion 11. Monitor Torque/Velocity 12. Not defined 13. Not defined 14. Not defined 15. Not defined 100. Start-up/Reset sequenceThe Thumbwheels are wired to I1-I4 & O1-03. Four selector
* Example: If I1 were set to 1, I2 set to 2, I3 set to 4, & I4 set to zero,
Sequence #7 would be selected.
1 + 2 + 4 + 0 = 7
Sequence #100 is the Startup Sequence. This Sequence is automatically run every time the drive is turned on or is Reset (Z command). Generally, it is used to set the basic motor parameters and to set up Input & Output status. Here, this is broken up between Sequences #16 & #100
Sequence #16 sets up the Input and Output levels and waits for a start command so that the Sequence Selector Switches (I1 - I4) can be set. If this were not done, the sequence defined in binary by the Selector Switches would start immediately following the end of the previous sequence. Here, most sequences send a Goto Sequence 16 command when they are finished so that the selector switches can be set again.
Sequence #1, #2, & #3 Are examples of simple motions that can be easily programmed to be executed by an input, variable, within a sequence or command from a computer terminal.
Sequence #4 & #5 are examples of a possible applications
Sequence #6 uses data from the thumbwheels to determine rotation. This is very similar to the original application.
Sequence #7 demonstrates how the drive can be used to jog the motor as well as perform predefined movements.
Sequence #8 Sets the drive to move the motor continuously. This could be used to drive a conveyor during normal operation.
Sequence #9 accepts data from a computer terminal to determine the motion.
Sequence #10 sets the Drive to measure position either from the end of the last move, or from some reference point during the shaft's rotation. No motion is begun. This will change the way previous sequences function.
Sequence #11 determines whether pins #10 & #11 on the I/O (2) send an analog output relative to velocity or torque. No motion is begun. Velocity & Torque can me monitored during other sequences & applications with a volt-meter.
Sequence #12, #13, #14, & #15 No sequences are defined. New sequences can be programmed in their place.
Sequence #25, #26, & #27 are common quotations which can be referenced during a sequence to avoid repeating data & wasting space. These also allow for the use of XR and GOSUB commands.