T-21 Operators Manual: Emerson Emc 1365 Park Road Chanhassen, Minnesota 55317 612/474-1116
T-21 Operators Manual: Emerson Emc 1365 Park Road Chanhassen, Minnesota 55317 612/474-1116
Information furnished by EMERSON EMC is believed to be accurate and reliable. However, no responsibility is assumed by EMERSON EMC for its use. EMERSON EMC reserves the right to change the design or operation of the equipment described herein and any associated motion products without notice. EMERSON EMC also assumes no responsibility for any errors that may appear in this document. Information in this document is subject to change without notice. Part Number 400192-00 Date: 2/21/94 Rev: A3
TABLE OF CONTENTS
SECTION 1 INTRODUCTION 1.1 INTRODUCTION 1.1.1 PACKING LIST SECTION 2 INSTALLATION AND WIRING 2.1 INSTALLATION AND CONNECTIONS 2.1.1 PANEL LAYOUT 2.1.2 MOUNTING 2.1.2.1SELECTING AN ENCLOSURE 2.1.3 AC POWER CONNECTIONS 2.1.4 GROUNDING 2.1.5 SERIAL COMMUNICATION SETUP 2.1.6 SERIAL COMMUNICATION CONNECTIONS 2.2 SERIAL COMMUNICATION TROUBLESHOOTING 2.3 DIGITAL INPUTS 2.4 POWER UP 2.4.1 ERROR MESSAGES SECTION 3 SETUP AND PROGRAMMING 3.1 OVERVIEW 3.1.1 HARDWARE REQUIREMENTS 3.1.2 SOFTWARE REQUIREMENTS 3.2T-21 MENU OPTIONS 3.2.1 OPTION F1 - TEST COMMUNICATIONS 3.2.2 OPTION F2- SETUP T-21 FUNCTIONS 3.2.2.1 DESCRIPTIONS OF FUNCTION SETUP PARAMETERS 3.2.3 OPTION F3 - PRINT LISTING 3.2.4 OPTION F4 - CHANGE SERIAL PARAMETERS 3.2.5 OPTION F5 - TERMINAL MODE 3.2.6 OPTION F6 - SAVE FUNCTIONS TO A DISK 3.2.7 OPTION F7 - DOWNLOAD TO THE T-21 3.2.8 OPTION F8 - OFF LINE SETUP 3.2.9 OPTION F9 - SETUP NON-FUNCTION PARAMETERS SECTION 4 OPERATING MODES 4.1 MODE CHANGE KEY 4.2 MONITOR MODE 4.2.1 STATUS FIELD 4.2.2 AXIS FIELD 4.2.3 INDEX FIELD 4.2.4 FUNCTION FIELD 4.2.5 DATA FIELD 4.2.6 UNITS FIELD 4.3 EDIT MODE 1-1 1-1 1-1 2-1 2-1 2-1 2-2 2-2 2-3 2-3 2-4 2-5 2-6 2-7 2-8 2-8 3-1 3-1 3-1 3-1 3-2 3-3 3-3 3-4 3-5 3-5 3-6 3-6 3-6 3-6 3-6 4-1 4-1 4-1 4-1 4-2 4-2 4-3 4-3 4-3 4-4
4.3.1.1 HOW TO USE THE FUNCTION KEYS 4.3.1.2 FUNCTION 99 4.3.1.3 FUNCTION 4.4 TEST MODE 4.4.1 TEST MENU 1: 4.4.2 TEST MENU 2 APPENDIX A T-21 SERIAL COMMUNICATIONS PROTOCOL A.1 SERIAL INTERFACE A.1.1 THE TERMINATOR A.1.2 ECHOING COMMANDS - Full vs Half Duplex A.1.2.1 HALF-DUPLEX A.1.2.2 FULL-DUPLEX A.1.3 BACKSPACING A.2 PC to T-21 to DRIVE COMMUNICATIONS A.2.1 T-21 TO DRIVE A.2.2 PC TO DRIVE A.2.3 PC TO T-21 A.2.4 SERIAL RESPONSES A.2.4.1 THE ERROR RESPONSE A.2.4.2 THE ACKNOWLEDGE RESPONSE A.2.4.3 THE QUERY RESPONSE APPENDIX B PROGRAMMING IN TERMINAL MODE B.1 T-21 SERIAL COMMANDS B.1.1 NON-FUNCTION COMMANDS B.2 T-21 COMMANDS B.3 DRIVE SERIAL COMMANDS APPENDIX C SPECIFICATIONS SECTION INTRODUCTION
4-4 4-5 4-6 4-6 4-6 4-9 A-1 A-1 A-1 A-1 A-1 A-2 A-2 A-3 A-3 A-3 A-4 A-4 A-4 A-4 A-5 B-1 B-1 B-6 B-7 B-11 C-1
SECTION 1 INTRODUCTION
1.1 INTRODUCTION
The T-21 is a mountable data entry terminal capable of accessing up to 31 axes of Emerson Positioning Drives. The T-21 is designed to operate with the FX, DX 520 and 525 product lines. The T-21 has four function keys which can be programmed to perform pre-determined data programming functions. The T-21 has 2 serial ports (A and B). Ninety-eight programming functions can be programmed into the T-21 via the serial port A. The T-21 in turn, communicates with the drive via the Serial Port B allowing the operator to change drive parameters or monitor the present condition of the drive. The standard T-21 is used solely to monitor and change data. It is not intended to be used to initiate motion or change the configuration of the positioning servo drive. The T-21 comes with special software which provides an easy way to setup and program the T-21 function keys. The question and answer format this software uses assists the operator when setting up and programming the T-21 Data Entry Terminal to monitoring the positioning drive functions without an extensive knowledge of programming.
1-1
2-1
2.1.2 MOUNTING
The T-21 is designed to be "through panel" mounted in a metal NEMA type 12 enclosure.
2-2
2.1.4 GROUNDING
The enclosure, T-21 and the drive grounds should be a common single point that ultimately is a continuous electrical path to earth ground. The following example illustrates the ideal grounding arrangement of the AC power.
Figure 2-3 Ideal Grounding Illustration Note:These ground wires should not be shared with other equipment. Also insure that metal to metal contact is made between the ground lug and the cabinet back.
2-3
1 = ON
0 = OFF
The other serial parameters are fixed values. Parity:even Stopbits: 1 bit Character:7 bits No hand shaking
Figure 2-4 Default Settings Note:For a description of Full-Duplex and Half-Duplex see paragraph A.1.2. For the T-21 to communicate with an FX, DX, 520 or 525 positioning drive, Each drive must have the same serial communication setup as the T-21. If there is more than one drive connected to the T-21, each positioning drive must have a unique axis identifier. See the "Positioning Drive" manual section on "Setting Up the Serial Interface Switches and Protocol".
2-4
2-5
3. Verify dip switch settings, (check baud rate). The baud rate of the drive must be the same as the baud rate of the T-21. If the communication problem still exists after checking the items listed above, it could be that the T-21, drive or cable or PC is malfunctioning. As the T-21 continues to check for axes, it will automatically go into the monitor mode when the serial link is established. The baud rate of the T-21 can be changed as explained under "Serial Communications Setup" on page . After setting the dipswitches, press the ENTER key. This will cause the T-21 to be configured with the new baud rate. Note:If the baud rate on the drive is changed, the T-21 does not have to be reset. When changing the baud rate on the T-21, go into the TEST mode menu, option #4. This will cause the T-21 to stop sending commands to the drive.
2-6
GND
+12VDC
1 2 3 4
INPUTS
Figure 2-7 Digital Inputs The Data Entry Panel has two "assigned" inputs, input #1 and input #2. Input #1 = Setup-lock. If off, it prevents the operator from getting into the Edit Mode of the function keys. The operator must know the password if input #1 is off. If input #1 is on, the password is bypassed. The password can also be bypassed if the password for that function has been set to zero (0). (Also see serial command "PW" on page ). Input #2 = Zero position display. If toggled, it will set the displayed position on the T-21 to 0 (when in monitor mode). However, the displayed position of the drive (as monitored with PCX) is not affected.
2-7
2.4 POWER UP
When the power switch is turned on the operate LED will illuminate, and give the following message on the display: EMERSON EMC T-21 DATA ENTRY PANEL 401048-00 A.11/10/94 The T-21 begins checking for any axes that are attached to it. While the T-21 is checking for axes, the Monitor and Operate LED's will illuminate, and the following message will be displayed. PLEASE WAIT: CHECKING FOR AXES If the following display comes up, see the Serial Communication Troubleshooting section of this manual. NO AXIS PRESENT, PRESS TEST KEY FOR TEST MENU Note:The above message will always appear if no axis is connected to the T-21. If there are no serial problems, all axes numbers that are connected will be displayed. AXES PRESENT: 1,2, ETC. After displaying the axes numbers the T-21 will automatically go into the monitor mode. If "AXES PRESENT:" appears, but no axis number is shown, then the drive has no axis number assigned to it. This is okay if only one drive is attached.
2-8
ERROR MESSAGES (Continued) When this message appears the CPU has found some indication that the function area in memory has changed. This could be caused by transient voltage fluctuation beyond the specified range of 96 to 264VAC single phase. The function setup should be verified and if needed, reprogrammed. This message will remain until a key is pressed. Note: When this message appears, the T-21 will automatically clear the memory where the T-21 parameters are stored. The user function passwords will be reset to the default values. Serial err If a serial error occurs, the T-21 will display the following message. The first line of the display shows the command which was being executed when the serial error occurred. The second line shows the "Type" of serial error that has occurred Serial Err During Command <command> "Error Type Code (X)" Serial Error types:1 = Didn't Receive Echo in 2 Seconds 2 = Received Bad Echo 3 = Didn't Receive Response in 2 seconds 4 = Received Bad Response A serial error can occur for many reasons. However, a common cause of serial errors are bad cable connections and/or faulty cables. If a serial error has been caused by a disconnected serial cable (or a bad connector), the serial cable must be reconnected. When the serial cable has been properly reconnected, the T-21 will automatically reestablish communications with the drive. If a serial error is caused by incorrect data sent to the positioning drive, (or an invalid axis ID) the operator can "Clear" the error by pressing the "Clear" key. This will cause the T-21 to return to the monitor mode menu after checking for new axes on line. In the monitor mode, the T-21 is continuously querying the drive. Should there be any error during one of these queries one or more of these error messages will be written to the display. As soon as the drive comes back with a correct answer the error messages will disappear. During normal operation these messages should not appear. If they do happen the system should be checked for proper power grounding and shielding.
2-9
2-10
3-1
SOFTWARE REQUIREMENTS (continued) Certain file options within the software requires the use of the DOS files COMMAND.COM and PRINT.COM. The operator should ensure that a path is available to these files. This can be accomplished by appropriate use of the DOS "PATH" command or including the COMMAND.COM and PRINT.COM files in the same directory as T21.EXE. The T-21 software is used to set up and program a T-21 Data Entry Panel from a personal computer. After the set up and programming is complete, the PC can be disconnected and the user information remains in the T-21's non-volatile memory. Note: Once the T21.exe program has been loaded into the memory of the PC, the T21 diskette is no longer required to be in the disk drive.
3-2
Figure 3-5 Function Setup Screen Note: Communication must be working to activate this option.
3-3
3-4
INDEX/PROGRAM NUMBER This parameter determines the program or index number that is to be affected by the function being setup. AXIS ID This parameter selects the axis # in a multi-axis system that this function will pertain to. If the system is a single axis system, enter zero. HIGH/LOW LIMITS This parameter limits the maximum and minimum value that can be entered for a function. For example: If you set the high limit to be 50.00 and the low limit to be 25.00 the valued entered must be within these two values. PASSWORD This command sets the password which allows the operator access to a function. For no password enter zero (0). Each function can have its own independent password. EDIT MESSAGE To edit a message for line 1 of the T-21, the cursor must be brought into the message frame. With the cursor in this frame a message of up to 40 characters (including spaces) can be typed. The DELETE, BACKSPACE, and RIGHT/LEFT/HOME/END cursor keys will work in this frame. The INSERT key will toggle the Insert Mode. With INSERT off, key entries will write over the old message. With insert on, key entries will be inserted moving the text to the right. The ENTER key will enter the message as it appears in the message frame.
3-5
CAUTION
Programming should be done entirely with the T21.EXE software or through terminal mode ASCII serial commands - BUT NEVER BOTH. If both programming methods are used there is a chance that not all the parameters entered through terminal mode will be transferred to the T21.EXE software. This may lead to unpredictable behavior of the drive.
3-6
Figure 4-1 In monitor mode the status, last index, position, velocity, dwell or count will be continuously updated for the current axis that is displayed.
4-1
STATUS FIELD (Continued) When the "Busy" message appears in the status field, the T-21 will stop sending data to the drive via serial port B. During this time, the T-21 will be receiving data from the PC via serial port A. This data can be a command that was sent to the T-21 or to the Drive. If the command was sent to the drive, the T-21 will act like a switchboard, passing the data to the drive. If the command was meant for the T-21, the T-21 will execute the command. As soon as the T-21 has completed processing the data received via serial port A, the "Busy" message will disappear. The T-21 will then return to monitoring the drive via serial port B. All axes are continuously monitored for faults by the T-21 (if dipswitch #4 is OFF), regardless of which axis is the "current" axis. In the event of a fault, the top line of the T-21 display will show which axis has faulted. To get more information regarding the type of fault, press the TEST key. The T-21 will then display an information menu. Press "+" or "-" to review another axis. Press the "CLEAR" key twice to go back to the monitor mode. As soon as the faulted axis has been reset, the first line of the T-21 display will automatically clear. To disable the monitoring of all axes except the current axis, set dipswitch #4 of the Serial Setup dipswitches to "ON". This allows faster monitoring of the presently displayed axis.
4-2
4-3
Figure 4-2
4-4
Function keys F(1) to F(3) will allow you to edit only one parameter each. In it is the distance of index #1 on axis ID #1. The cursor will flash at the first digit in the data field. Type the numbers desired. When the last digit is reached the cursor will return to the first digit. The sign can be changed any time by pressing the + or - keys. When the desired data is attained press "ENTER", which will cause the new data to be sent to the drive. If the drive accepted the input the T-21 will return to monitor mode. If the new data was not accepted the function will not exit to allow you to input new data. Pressing the CLEAR key will exit to the monitor mode without changing the data. For example: If the you tries to enter data that is out of range an OVER LIMIT or UNDER LIMIT message will appear on the display. At this time the operator can hit any key to return to the "Edit Mode".
4.3.1.2 FUNCTION 99
The difference between Function 99 and functions 1 through 98, is that Function 99 allows the operator access to all of the parameters which can be accessed through the programmable function keys, using only one access code. To access function 99, press the F(x) key. The T-21 will then prompt the operator to "ENTER NUMBER OF FUNCTION DESIRED:XX", press 99 then "ENTER". After function 99 has been selected, the four digit access code (1751) for function 99 must be entered. The next step is to choose the parameter that is to be changed. By pressing the + or keys you can scroll through the available parameters (see page for list of parameters) After a parameter has been selected you must enter a 3 digit index or program number as required (some functions do not require an index or program number). All leading zeros must be entered, for example: to select index #1, enter 001. Note:There are 256 indexes available (0 through 255), and 100 programs (0 through 99)
Figure 4-3 Data pertaining to the parameter selected can now be modified. Pressing the ENTER key will send the modified data to the drive. To return to "Monitor Mode" press the CLEAR key.
4-5
4.3.1.3 FUNCTION
Function 00 will clear the portion of memory where the T-21 user parameters (functions 1 through 98) are stored, and set the "user function" access code to its default of 2216. Function 00 will also clear the "user defined" message which appears on the first line of the display when in monitor mode. Note:The user defined message can be defined using the "Q" serial command To utilize function 00, press the F(x) key, then enter 00, followed by pressing the ENTER key. The T-21 will then prompt the operator for the access code which is 1232. After the access code has been entered, the following message will appear:
Note:The T-21 memory can also be cleared by using the C9 or CM serial command.
Note:Depressing the CLEAR key will allow the T-21 to exit the Test Menu. Descriptions of test functions (Test Menu 1) 1 - Memory Depressing the number (1) key will test the RAM memory of the T-21. The display will show the percentage of memory that has been tested. When the memory test is 100% complete, press the "CLEAR" key. The T-21 will display the following message: TESTED RAM (0d000-0ffff) Press the CLEAR key to exit. 4-6
2 - Keys Test 2 is used to test all the keys on the T-21. Pressing the number (2) key enables test 2 and displays the following: TEST KEY PAD: PRESS ANY KEY TO TEST. CLEAR TO EXIT. To test the key pad, simply press the key to be tested and the T-21 will display the character of the key pressed. Pressing the CLEAR will return you to the TEST Menu. 3 - Serial Ports This test is used to test the serial ports on the T-21 (COM A and COM B). RX and TX of both ports must be connected to each other (RXA to TXB, RXB to TXA).
J1
J2
SERIAL A
Figure 4-5
SERIAL B
When test 3 is selected from the test menu, the following message will appear in the T-21 display: TEST SERIAL COM PORTS A AND B: CONNECT A & B TOGETHER, THEN PRESS ENTER At this time the operator must connect serial ports A & B together (as shown in ), then press the "ENTER" key to begin the test. Internally, a character is sent from serial B, and received at serial A. If the operation is successful, the character that was received at serial A is compared with the one that was sent from serial B. A character is then sent from serial A to serial B where a comparison is made. During this Operation 4 different errors can occur. The type of error will be displayed on the second line of the T-21 display. The 4 types of errors are listed below: 1.Character sent from B, not received at A. 2.Bad character received at A. 3.Character sent from A, not received at B. 4.Bad character received at B. If any of the errors occur during the test, press the "CLEAR" key to return to the "Test" menu.
4-7
4 - DIP Switch Test 4 is used to test the DIP switches on the back of the T-21 Pressing the number (4) key will give the following display: DIP_SWITCH STATUS 12345678 BAUD RATE 48000 0 1 0 1 1 1 0 0 = Switch Off 1 = Switch On Toggling any DIP switch will toggle that switch on the display. To exit this test mode, press the CLEAR key 5 - LEDs Test 5 is used to test all the LEDs on the front of the T21. Pressing the number (5) key from the test menu will start testing the LEDs and display the LED being tested. The LEDs will continue to cycle on one at a time (each LED will flash 5 times) until the CLEAR key is pressed. 6 - Display Test 6 will test every character on the display when the number (6) key is pressed. Every character that the display accepted will be displayed for each character position of the display. The display will continue to cycle through these characters until the CLEAR key is pressed. 7 - Inputs Test 7 is used to test the four inputs of the T-21. Pressing the number (7) key will start the test and display the following: TEST INPUTS: 0 = OFF 1 = ON Energizing any input will give an on signal for the inputs. To exit, press the CLEAR key. 8 - TEST 2 Pressing 8 will take you to Test Menu 2. 1234 0000
4-8
4-9
DRIVE ANALOG CHANNELS: CHANNEL 0=STABILITY (not used) 1=VELOCITY COMMAND 2=ACTUAL VELOCITY (TAC) 3=CURRENT 4=ANALOG COMMAND (+/-10V) 5=ANALOG INPUT VIA PCM (For future use)
NOTE: Only the drive which is presently accessed will be monitored. If more than one drive is attached and you want to monitor another drive, go back to the MONITOR mode and use the MODE CHANGE KEY to select another drive. Press the CLEAR key two times to return to the TEST2 menu.
4-10
A.1.2.1 HALF-DUPLEX
"Half-duplex" refers to a terminal that internally duplicates a character being typed (or sent) to the screen without the need for the receiver to "echo" the character back to the sender. The advantage of operating in Half-Duplex, is that a less sophisticated degree of communications is required. The sending device can operate without a receiver if only one-way communication is desired. Example:When the T-21 and the DX Drive are operating in half-duplex, the DX Drive will echo the response only, not the command back to the screen. Note:Programming in Half-Duplex will cause serial communications to be received faster by the DX Amplifier.
A-1
A.1.2.2 FULL-DUPLEX
If Echo or Full-Duplex mode of operation is requested from the T-21 (based on the DIP switch settings on page ), everything sent to the DX Amplifier (or controller device) will be immediately echoed back. In a Full-Duplex mode, no characters are internally generated from the screen. Instead, characters must be sent back to the sending device, or "echoed" in order to view the communications taking place. The advantage to Full-Duplex is that you can find out exactly what the T-21 received by watching what it echoes. Therefore, the suggested mode of operation during start up and trouble shooting is Full-Duplex, even if Half-Duplex mode will be used eventually. Example:When the T-21 and the DX Drive are operating in full-duplex, the DX Drive will echo the command and the response to that command back to the screen.
A.1.3 BACKSPACING
The serial command processor will recognize a backspace (ASCII control"H", code 8) as an "erase" character and remove the previous character sent to it.
A-2
A.2.2 PC TO DRIVE
A ^E character will allow serial communications between the PC and the drive only, bypassing the T-21. When sending data from a PC to serial port A of the T-21, the T-21 must decide whether the data is meant for the T-21 or the drive. If the command was sent to the drive, the command will bypass the T-21, and the data will be sent to the drive. Any character coming into the serial B port (from the positioning drive) is automatically sent out to the serial A port. During this time, the T-21 will be receiving data from the PC via serial port A, and stop sending data to the drive via serial port B. If the command was meant for the T-21, the T-21 will execute the command (see paragraph ). If the PC is talking to the drive while the T-21 is monitoring the drive, then this monitoring will be automatically suspended. Sending a command to the drive, via the T-21, will suspend the T-21 monitoring action until the drive has responded to that command. As soon as the T-21 has completed processing the data received via serial port A, the "Busy" message will disappear. The T-21 will then return to monitoring the drive via serial port B. Note: Faster and safer serial communication from the PC to the drive can be accomplished by pressing the TEST key on the T-21. This will send the T-21 into a TEST MENU mode. In this mode, the T-21 suspends all serial communications with the drive, thus freeing up the lines form the PC to the drive. To leave the TEST MENU press the CLEAR key.
A-3
A.2.3 PC TO T-21
If the operator wants to send a command to the T-21, then a ^D character must be sent to the A port of the T-21. When sending commands using T21.EXE software, it is not necessary to enter a D or a E, the T21.EXE software does this automatically. When exiting "Dumb Terminal" mode, always remember to enter a Note:Any time the T-21 is receiving data via serial port A, a "BUSY" message will appear in the status field of the T-21 display. E = Ctrl + E Key D = Ctrl Key + D Key
A-4
When the T-21 sends data to the drive that has been converted, the drive uses the following formula: DV = (UV)(MV) (VC) The result of this formula will also be rounded to become a integer.
A-5
B-1
DATA TYPE COMMAND: (B) CONTINUED Below is a list of code numbers which represent each of the data type commands available: 01=INDEX DISTANCE 02=INDEX ACCEL TIME 03=INDEX DECEL TIME 04=INDEX VELOCITY 05=INDEX DWELL TIME 06=INDEX FEED VELOCITY 07=INDEX COUNT 08=TIMED OUTPUT 09=DEFAULT INDEX TIMER 10=LIMIT DISTANCE 11=JOG VELOCITY FAST 12=PROGRAM COUNT 13=DEFAULT PROGRAM NUMBER 14=JOG VELOCITY SLOW 15=FLYING SHEAR COUNT When setting up a user defined function the (B) command controls the way the data is displayed on the T-21. This parameter is referred to as the Command Type. See appendix B for a list of possible serial commands and their associated Command Types. The possible Command Types are listed below: Type 1: +/- XXXXX.XXX -decimal point read from drive -signed -with modifier -examples: positions, lengths, distances XX.XXX -decimal point fix = 3 -unsigned -with modifier -examples: accelerations, decelerations, delays X.XXXX -velocity decimal point read from drive -unsigned -with modifier -example: velocity
Type 2:
Type 4:
B-2
Type 7:
Type 9:
XXXXX -no decimal point -unsigned -with modifier XXX -no decimal point -unsigned -with modifier
FUNCTION COMMAND: (F) The function command sets the two character drive command for the function. Syntax for setup: F#=XX for query: F#? # = function number (range 1-98) XX = two character serial command code. Refer to Serial Commands Manual P/N 400255-00. Note: When using one of the 15 preset commands, F should be set to nothing. INDEX NUMBER COMMAND: (I) This command will set the index or program number of a function. The index or program number will be displayed in the Index field or the Prog field, on line 2 of the display. Syntax for setup: for query: I#=XXX I#?
# = function number (1-98) XX X= if index number (0-255) if program number (0-63) User Defined: When using serial commands, the I setup value must be the command modifier. (See Serial Commands Manual P/N 400255-00). If there is not a command modifier, set I to 0. Syntax for setup: for query: No modifier: I#=XXX I#? I# = 0
B-3
MESSAGE COMMAND: (M) This command programs the message of a function. The message appears on the first line of the display when the function is sent to the T-21. Syntax for setup: for query: M#=ABC M#?
# = function number (1-99*) ABC = Message. Can be any ASCII character. Up to 40 characters allowed. Note: The message command is the only command that allows access of function #99. UNIT COMMAND: (U) This command sets the engineering units for the function selected. These characters will be displayed in the Units field, on line 2 of the display. Syntax for setup: for query: U#=ABC U#?
# = function number (1-98) ABC = any ASCII character (up to 3 characters allowed) HIGH LIMIT COMMAND: (H) This command sets the high limit of data entered. The sign has meaning for distance data and fly shear count only. Syntax for setup: or: for query: H#= NUMBER H#=N H#?
# = function number (1-98) = sign NUMBER = up to 8 digit number N = No limits (N=2147483547) Note: The T-21 will verify that all data sent to the drive is within range of the high and low limits. If the data being sent to the drive is within limits (high and low) the data will be sent to the drive. If the data is out of range (too high or too low) an overlimit or underlimit message will flash in the data field of the T-21 display. To clear an overlimit or underlimit message, hit any key to continue.
B-4
LOW LIMIT COMMAND: (L) This command sets the low limit of data entered: Syntax for setup: or: for query: L#= NUMBER L#=N L#?
# = function number (1-98) +/- = sign NUMBER = up to 8 digits N = No limit (-2147483547) Note: See note for high limit command on previous page. PASSWORD COMMAND: (PW) This command sets the password which allows the operator access to a function. Syntax for setup: for query: PW#=X PW#?
# = function number (0-99) X= a four digit number (0-9999) Note: When PW#=0, then access to the associated function is allowed without an access code. Any value different than (0), will bring up a menu prompting the operator for an access code for that function. Default access code values for functions 0 99. PW0 = 1232 PW1-98 = 2216 PW99 = 1751 Note: PW# = 0 is equivalent to input #1 being on. DATA VALID COMMAND: (V) This command tells the T-21 that data for this function is valid. It is up to the programmer to make sure that this is true. The T-21 must find a V in the selected function in order to allow the user access from the T-21 keyboard to this function. Syntax for setup: for query: V#=X V#?
B-5
The D=0 command tells the T-21 to display FEEDBACK POSITION. The D=1 command tells the T-21 to display COMMAND POSITION. The position will be displayed in Monitor Mode when the Pos function has been selected. Pos will appear in the function field of the display and the value of either feedback position or command position will be displayed in the data field. (Default is feedback position). FLY SHEAR CONVERSION (N) With this command, the external encoder pulses can be converted to units. (As inches, mm, etc.) The number entered with this command determines how many units equal one encoder revolution. The following conversion formula is used: FLY SHEAR COUNT = (EXTERNAL STEPS) * (UNITS/REV) (STEP/REV) The T-21 will display the value for Fly Shear Count. The External Steps data is read from the drive. This is the value that will appear on the PCX Program screen as data for R (RESUME). Units/Rev is a constant that is set using the serial command N. Steps/Rev is also a constant that is set using N1 serial command. Note: Both (N) and (N1) are T-21 commands. Units per revolution (N) Syntax for setup: for query: N=X N?
X = Units/rev., range: 0-65535 The number entered (Units/Rev) determines how many units equal one encoder revolution. The decimal point is the drives distance must be considered. If the encoder wheel has a circumference of 12 inches and the distance decimal point is two, then you should enter: N=1200. If the decimal point is three, you should enter N=12000. Default value is N=1 for first time power up.
B-6
STEPS PER REVOLUTION (N1) This command allows the operator to change the external encoder steps per revolution. This value is used when making the conversion for Fly Shear Count. Syntax for setup: for query: N1 = X N1?
X = steps per revolution. Default at power up N1=4000 Note: The N serial command allows N=0. When N=0, then the value for N1 will be equal with the value of N. In this case, the External Steps that are seen on the PCX screen will be the same as the Fly Shear Count on the T-21.
Note: This command is equivalent to function 00. ID COMMAND: (E) This command will return the identification of the T-21 unit. The response will be in the following format: T21A Ver x.x DATE, year Syntax: (query only): E? LED OFF COMMAND: (F) This command will turn all front panel LEDs off. Syntax: F
B-7
READ INPUTS COMMAND: (G) This command will return a hexadecimal number to show the status of the 4 inputs of the T-21. See the table below for input status. Syntax (query only): Table B-1 HEXADECIMAL NUMBER 0 1 2 3 4 5 6 7 8 9 A B C D E F INPUT #1 off off off off off off off off on on on on on on on on G? INPUT #2 off off off off on on on on off off off off on on on on INPUT #3 off off on on off off on on off off on on off off on on INPUT #4 off on off on off on off on off on off on off on off on
B-8
KEY COMMAND: (K) This command returns the key presently activated. The numeric and +/- keys will return the ASCII character for each key. Table B-2 T-21 Key MODE CHANGE CLEAR ENTER TEST F1 F2 F3 F(x) ASCII Character M C E T (smiling face) (frowning face)
Syntax (query only): K? LED ON COMMAND: (O) This command will turn all front panel LEDs off. Syntax: F
This command will return or set the number of times the T-21 has been powered up. Syntax (query only): P=?
Note: Test menu 2, option #3 is equivalent to Power Up Count Command. RAM CHECKSUM COMMAND: (R) This command returns the checksum of the function setup portion of the RAM. Syntax (query only): R?
This value displayed, will be in hexadecimal. Note: The same information can be obtained using the test menu by selecting option 8, then option 1.
B-9
DIPSWITCH COMMAND: (S) This command returns the present setting of the dipswitch as a hexadecimal number. Syntax (query only): S? Note: Test menu option #4 will give a more complete description regarding dipswitch status. EPROM CHECKSUM COMMAND: (T) This command returns the checksum of the EPROM. Syntax (query only): T? The value displayed will be in hexadecimal. Note: Test menu option #2 will give a more complete description regarding EPROM status. MESSAGE COMMAND: (Q) This command will print a message to the display on line 1. Syntax: Q = MESSAGE Where MESSAGE is any ASCII string up to 40 characters.
B-10
B-11
IC IN IT JA JD JE JF JG JS JT LD LR MA MC ME ML MS MV MZ OD OT PA PC PH PN PP PR PY RO RP SD SF SL SM SP SV TA
7 7 7 2 2 9 4 4 4 9 1 9 2 9 7 1 9 4 7 7 2 9 7 7 7 7 7 9 7 1 2 7 7 7 7 4 7
INDEX TORQUE CURRENT FEED LIMIT INDEX DEFAULT/RETURN/SLIP INDEX INDEX TYPE JOG ACCEL RAMP JOG DECEL RAMP TIME BASE FOR JOGS JOG FAST JOG JOG SLOW SERIAL JOG TORQUE FLAG LIMIT DISTANCE LINEAR RAMPS MAXIMUM ACCEL/DECEL RAMP MASTER CYCLE SENSOR COUNT MAXIMUM ERROR MASTER CYCLE LENGTH MASTER SUMMATION AVERAGING CNT MAXIMUM VELOCITY MASTER CYCLE VALID ZONE PGO DELAY FROM END OF INDEX PGO ON TIME(0=LEAVE ON) FOLLOWER CYCLE SUMMATION AVG CNT EDIT PROGRAM COUNT PHASE CORRECTION NEGATIVE PHASE ANGLE LIMIT POSITIVE PHASE ANGLE LIMIT PROGRAM DIRECTION POLARITY HOME RESOLVER OFFSET ROTARY ABSOLUTE POSITION STOP DECEL RAMP SKIP FOLLOWER SENSOR ANGLE SELECT LINES SKIPPED MASTER SENSOR ANGLE SUSPEND/RESUME PROGRAM SYNC VELOCITY FOLLOWER PHASE TARGET ANGLE
Index # 0,1 Index # None None 0,1 None None None None Index # None None None 0-3 None None 0-2 None Index # Index # None Prog # 0-3 None None 0,1 None Prog # None None None 0-4 None None None None Use CY to select the cycle to edit Use CY to select the cycle to edit Use CY to select the cycle to edit Use CY to select the cycle to edit Use CY to select the cycle to edit Use CY to select the cycle to edit Use CY to select the cycle to edit Use CY to select the cycle to edit Use CY to select the cycle to edit
B-12
TB TC TD TQ VC VE VL VP0 WP1 WR WT
7 7 2 7 4 4 4 7 2 7 2
INTERNAL TIME BASE RATIO PHASE/TARGET ANGLE TRAVEL LIMIT DECEL RAMP TORQUE MONITOR RESET VELOCITY CONVERSION NUMBER INDEX VELOCITY VELOCITY LIMIT VELOCITY DECIMAL POINT MAXIMUM TIME LIMIT IN POSITION RANGE IN POSITION TIME
None None None 0,1 0,1 Index # 0-2 0,1 None None None
B-13
APPENDIX C SPECIFICATIONS
PROCESSOR: MEMORY CAPACITY (BYTES): EXTERNAL I/O CAPABILITY: Serial Interface Port: Digital I/O: 8097 16 bit microcomputer, 12 mHz, crystal 32k prom, 32k Lithium Battery Ram RS423 compatible (2 ports) 4 inputs
ENVIRONMENTAL CHARACTERISTICS: Operating Temp: 0 to 60 C Relative Humidity: 0 to 95%, non-condensing PHYSICAL CHARACTERISTICS: Width: Height: Depth: Weight: 9.3 (23.6cm) 8.6 (21.8cm) 3.5 (8.89cm) 6 lbs. (2.73kg)
ELECTRICAL CHARACTERISTICS: Power Requirements: 96-264 VAC, 50-60 Hz, 1 A max On Board I/O Power: +12VDC, 200 mA max (The I/O power is intended for T-21 inputs only.)
C-1
Emerson Motion Control Subsidiary of Emerson Electric Co. 12005 Technology Drive Eden Prairie, MN 55344 U.S.A. Sales: 612.995.8000 or 1.800.FX-SERVO Service: 612.995.8011 Fax: 612.995.8033 BBS: 612.995.8035 Printed in U.S.A.