Emerson T-60 Operator's Manual

Operator interface terminal
Table of Contents
T-60 Operator's Manual
P/N 400248-00
Rev.: A3
Date: November1, 1995
Table of Contents
loading

Summary of Contents for Emerson T-60

  • Page 1 T-60 Operator’s Manual P/N 400248-00 Rev.: A3 Date: November1, 1995...
  • Page 3 T-60 Operator’s Manual 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.
  • Page 5: Customer Services

    Customer Services EMERSON EMC offers a wide range of services to support our customer’s needs. Listed below are some examples of these services. Service Support (612) 474-8833 Emerson Electronic Motion Control’s products are backed by a team of professionals who will service your installation wherever it may be. Our customer service center in Minneapolis, Minnesota is ready to help you solve those occasional problems over the telephone.
  • Page 6: Table Of Contents

    Parallel I/O Made Simple ... 32 EMERSON EMC DX Drive Demo Program... 32 Installation... 32 Using The T-60 With One or More DX Drives ... 34 T-60 Basic Programming Language ... 37 Variables, Constants, and Strings ... 37 Array Variables... 38 Arithmetic Operation...
  • Page 7 Changing ROMS in the T-60 ... 46 Changing the Battery in a T-60 ... 49 Real Time Clock ... 51 Adding the Real -Time Clock to the T-60 ... 51 Event Driven Software ... 53 Hardware Reference ... 55 Electrical /Mechanical Specifications ... 55 Connector Pin-Out Specifications ...
  • Page 8 Table of Contents...
  • Page 9: Introduction

    Powerful PC-based ApplicationBuilder software included. • Automatically builds BASIC programs. • Place text on the T-60’s screen in a wordprocessor like manner. – Build comples programs without in-depth knowledge of BASIC. – Exchange programs between the PC and the T-60.
  • Page 10: T-60 Overview

    HELP system. Functional Description The T-60 is housed in a rugged cast housing which can be flush mounted to an equipment panel. A full gasket and a rigid mounting system forms a water tight seal about the opening.
  • Page 11 Figure 1 Block Diagram Figure 1 diagrams the internal components of the T-60. The heart of the unit is a high speed 64180, 8 bit high integration CPU chip. The CPU communicates with UARTS (serial ports), ROM, RAM, TIMERS, and I/O.
  • Page 12 T-60 Operator's Manual...
  • Page 13: Installation

    Installation This chapter focuses on the steps necessary to unpack and install the T-60. Read this section before attempting to apply the T-60. System installers should read this chapter before attempting to install the unit into a cabinet, or before connecting any electrical power to the T-60.
  • Page 14: Through Panel Mounting

    T-60. For safety reasons please follow these instructions closely. 1. Prepare the opening in the panel. 2. Carefully insert the T-60 into the hole in the panel from the front side (see Figure 2 Panel Cut-Out 3.
  • Page 15 Installation Through Panel Mounting Figure 3 Mounting Figure 4 Mounting Clips...
  • Page 16: System Interconnect

    DC input power and the RS422 / RS485 connections. The T-60 can accept from 9V to 30V DC at 6 watts. The T-60 actually tries to begin working as soon as the power source passes 4.5 V. This means that at start-up the current requirements from the DC power source can exceed 1.3 Amps.
  • Page 17: Com1 And Com2 Connectors

    RS422 connections, follow the same conventions outlined for RS232, connecting outputs on the T-60 to inputs on the device under control, and inputs on the T-60 to outputs on the device under control. To enable the RS422 transmitter, refer to the RS422 Statement in the EMERSON EMC Basic Programming Guide.
  • Page 18 Again, refer to the RS422 Statement in the EMERSON EMC BASIC PROGRAMMING GUIDE. The electrical connection between the T-60 and the device under control are shown in Figure 8. Figure 8...
  • Page 19: I/O Connector

    I/O Connector The I/O connector on the T-60 is designed to provide 8 bits of parallel I/O. Each line can be configured in software to perform input, output, or bidirectional operations. The pin-out is an industry standard 20 pin ribbon cable, compatible with industry standard PB-8 boards.
  • Page 20 Some commands refer to 24 bits of I/O instead of 8. This reflects the compatability between the T-60 and the T-61 (the T-61 has 24 bits of I/O standard while the T-60 has 8 bits of I/O). The T-60 can only use the lower 8 bits of these commands.
  • Page 21: Applicationbuilder

    First you must connect the T-60 to your PC. Connect one end of the NULL MODEM cable to COM2 on the T-60 and the other end to an available serial port on your PC (either COM1 or COM2). Note which serial port on the PC that you have connected to (for information on the serial ports for your PC refer to your PC’s instruction manual).
  • Page 22 To select the COM port on your PC which is connected to the T-60, press ALT-S to pull down the SETTINGS menu. Choose either COM 1 or COM 2 depending upon which port the null modem cable is connected to on your PC.
  • Page 23: Simple Example

    Next move the cursor (blinking block) over the “*SCREEN begin” PSEUDOCODE. Notice that the SIMULATION OF THE T-60’S SCREEN contains text. This is the text which will be placed on the T-60 actual screen when BASIC is generated and the program is run on the T-60. Now try placing the cursor over the fourth line: - PUT TEXT AT (7,7): “PRESS THE ‘MORE’...
  • Page 24: Trouble-Shooting Communications

    1. Is power applied to the T-60? 2. Is one end of the NULL MODEM cable connected to COM 2 of the T-60? If it is not, reconnect it to COM 2. 3. Which port on the PC is the other end of the serial cable connected to:...
  • Page 25: Operating Modes

    BUILDER - The Builder Mode is the mode you utilize to use a user friendly program generation environment to help you develop your BASIC program to run on your T-60. Typing “B” while anywhere in the Mode menu will also activate this command.
  • Page 26: Builder Mode

    BASIC code to run in a T-60. You accomplish this by generating “Pseudocode”. You can enter a line of Pseudocode by pressing F5, finding the appropriate Pseudocode for the task you want to accomplish, pressing Enter, and following the instructions for entering the requested data.
  • Page 27 Enter. You are now in “ON SCREEN” text entry (i.e. your cursor is on the simulated T-60 screen and blinking). Move the cursor to the desired starting location of the text string. Type a dollar sign ($) followed by Enter. A new window will appear in the Pseudocode entry area which will ask for the name of the string variable (a string variable must end with a dollar sign ($)).
  • Page 28: Editor Mode

    Editor Mode is a text editor allowing you to edit files off line from any serial device (such as a T-60.) This allows you to write and modify programs away from your machine and to use more powerful editing features than BASIC has built in.
  • Page 29: Terminal Mode

    Virtually all keys that you hit on your keyboard are sent directly over the are not currently functional. serial link from your PC to T-60. Also, anything sent out of the Emerson If you want to move up or device’s serial port connected to your PC will show up on the screen of your down on the screen, you must PC when in Terminal Mode.
  • Page 30: Transfer Menu

    Typing “D” while anywhere in the Transfer menu will also activate this command. UPLOAD Disk File - transfers a file from your T-60 to your PC. You will be prompted to select a filename for the uploaded file. You can save it as an existing filename thereby overwriting the existing file with the uploaded file, or you can assign a new name to the uploaded file.
  • Page 31 SELECT COM2 - Highlighting COM2 and pressing 07 selects COM2 as the active COM port in your PC for communication with your T-60. Typing “2” while anywhere in the Settings menu will also activate COM2. LCD - Highlighting LCD Mode and pressing 07 configures the ApplicationBuilder to run effectively on a computer with an LCD based screen (common on laptop or notebook PC’s.) The program uses...
  • Page 32: Summary Of Applicationbuilder Operation

    The following is a summary of the sequence of operations required to make a functional program in the ApplicationBuilder (this example assumes you are starting from the DOS prompt with the ApplicationBuilder diskette or hard disk ready). Your T-60 should be connected to the PC with a NULL MODEM cable. Operation:...
  • Page 33 Operation: Waiting for a softkey Building more screens: When done adding screens: Operation: Save program: Convert to BASIC: Summary of ApplicationBuilder Operation Keystroke: Adds the Pseudocode to your Enter Select the Pseudocode list. Move the cursor to the SOFTKEY Cursor Adds the Pseudocode to your Enter Move the cursor to one of the...
  • Page 34 T-60 Operator's Manual Operation: Keystroke: Description: Run the program on the Model Run program: F1 (T-60) T-60.
  • Page 35: Screen Editor

    T-60. The editor capabilities center around the T-60’s 8 line by 40 character display. It has a built-in 50 line scroll buffer which can be used to view sections of programs (or entire programs if they are short enough).
  • Page 36: Help Key

    Help Key The T-60 is equipped with a powerful HELP feature. By pressing the HELP key on the T-60’s front panel or F10 on the IBM keyboard while in the BASIC Interpreter Screen Editor (not running a program), the following screen...
  • Page 37 The HELP key is treated differently when the BASIC Interpreter is running a program. When running a BASIC program, the HELP key becomes a function key, F10. For example, ON KEY (10) GOSUB T-60 will generate an interrupt subroutine call to location 1000 when the HELP key is pressed.
  • Page 38 T-60 Operator's Manual...
  • Page 39: Application Examples

    Application Examples This chapter demonstrates a few of the many applications possible with the T-60. Perhaps the best way to think of the T-60 is as an industrial controller with an integrated operator interface and very capable I/O. In many systems the T-60 can provide the entire system control.
  • Page 40: Parallel I/O Made Simple

    EMERSON EMC DX Drives. Installation Connect the T-60 to the PC and to the DX Drive Amplifier as shown in Figure 17. T-60’s COM 2 port connects to the PC’s COM 1 or COM 2 port. This connection must be made with a NULL MODEM cable.
  • Page 41 Figure 13 Installation When power is turned on to the T-60 and the DX Drive, the ApplicationBuilder program will test for communication’s integrity, and begin execution. If the T-60 is unable to establish communications, check the following items: Verify that the DX Drive Amplifier is on and in working order.
  • Page 42: Using The T-60 With One Or More Dx Drives

    T-60 Operator's Manual Using The T-60 With One or More DX Drives Connecting the T-60 to the DX drive(s) is very simple when the proper cables are used. The Figure below illustrates the required cables and what they should be connected to. The PC’s COM1 or COM2 is connected to COM2 on the T-60.
  • Page 43 Application Examples Using The T-60 With One or More DX Drives DX specific pseudo-commands There are 2 pseudo-commands which are used only with the DX drives: COM: DX PUT COM port TEXT text STRING RESPONSE response COM: DX SELECT AXIS axis These commands are fully described in the builder software and illustrated in the included example programs.
  • Page 44 T-60 Operator's Manual...
  • Page 45: T-60 Basic Programming Language

    T-60. A complete description of the syntax is available in the EMERSON EMC BASIC PROGRAMMING GUIDE. This guide is provided with the T-60 and is available from EMERSON EMC or your EMERSON EMC DISTRIBUTOR. Variables, Constants, and Strings The EMERSON EMC BASIC has a range of numeric and string variable and constant types.
  • Page 46: Array Variables

    T-60 Operator's Manual Array Variables An array is a group or table of values referenced by the same variable name. Each element in an array is referenced by an array variable that is a subscripted integer or an integer expression. The subscript is enclosed within parentheses.
  • Page 47: Relational Operations

    For example: IF D<200 AND F<4 THEN 80 IF I>10 OR K<0 THEN 50 IF NOT P THEN 100 T-60 Basic Programming Language X = Y X <> Y X < Y X >...
  • Page 48: Functional Operators

    DEF FN statement in the EMERSON EMC BASIC PROGRAMMING GUIDE. The CALL instruction allows access to T-60 machine specific features such as special screen functions or option board functions. The CALL instruction may have optional parameters associated with it. Refer to the CALL instruction in the EMERSON EMC BASIC PROGRAMMING GUIDE.
  • Page 49 All string constants used in comparison expressions must be enclosed in quotation marks. Strings can be concatenated by using the plus (+) sign. For example: 10 A$=”FILE”:B$=”NAME” 20 PRINT A$+B$ 30PRINT “NEW” + A$+B$ FILENAME NEW FILENAME T-60 Basic Programming Language String Operators...
  • Page 50: Emerson Basic Statements, Commands, And Functions

    PROGRAMMING GUIDE contains a detailed description of the each of these commands. Eason Technology is constantly adding new capability to the T-60, please contact the factory or your Eason Technology Distributor for the latest copy of the EMERSON EMC BASIC PROGRAMMING GUIDE. Copies of the guide are also available on diskette.
  • Page 51 Get sign of number Sine function SPACE$ Generate spaces Square root STOP Halt program STR$ Convert to string T-60 Basic Programming Language EMERSON Basic Statements, Commands, and Functions STRING$ Multiple copies Tab spaces Tangent TIME Internal timer TIME$ Set/retrieve time...
  • Page 52 T-60 Operator's Manual...
  • Page 53: 64K Memory Option

    3. Carefully unscrew the top two screws and each of the screws on the side of the unit. 4. Lay the unit on its back on a soft, clean surface. Check the serial number of your T-60. If it begins with “ETI”, please go to section B.Otherwise, proceed here with section A. Section A 1.
  • Page 54 6. Re-connect power to the unit. Press the CTRL, ALT and DEL keys on the 7. Check the installation by pressing HELP on the T-60 followed by F4 8. If the memory option only shows 32K, or the display does not come up...
  • Page 55 6. Re-connect power to the unit. Press the CTRL, ALT and DEL keys on the 7. Check the installation by pressing HELP on the T-60 followed by F4 8. If the memory option only shows 32K, or the display does not come up...
  • Page 56: Changing Roms In The T-60

    T-60 Operator's Manual Changing ROMS in the T-60 Follow these steps to change a program ROM in the T-60: 1. Save the contents of the program memory. Use a PC and the 2. Remove power connections to the unit. 3. Carefully unscrew the top two screws and each of the screws on the side 4.
  • Page 57: Changing The Battery In A T-60

    Changing the Battery in a T-60 Follow these steps to change the battery for the non-volatile RAM in a T-60: 1. Save the contents of the program memory. Use a PC and the ApplicationBuilder program to do this. Changing the battery may reset the system if you wait too long to change it or don’t change it quickly,...
  • Page 58 T-60 Operator's Manual 9. Replace cover and cover screws. 10. Reconnect power to the unit. 11. If you notice any problems that can’t be explained by the battery being 12. Re-connect power to the unit. Press the CTRL, ALT, and DEL keys on the installed upside down (no non-volatile memory), disconnect power and connect an IBM KEYBOARD to the KEYBOARD connector.
  • Page 59: Real Time Clock

    Real Time Clock The CLK option adds a battery backed real time clock to the T-60. Once installed you can set the date, day of the week and time with a single statement: CALL WRCLOCK. You can read the day, day of the week, and the time with another single statement: CALL RDCLOCK.
  • Page 60 T-60 Operator's Manual 8. Reconnect the backlight cable connector and replace the front panel and 9. It may be necessary to set the real-time clock before it can be used. Refer screws. to the BASIC User’s Manual for instructions on how to set the clock.
  • Page 61: Event Driven Software

    Adding the Real -Time Clock to the T-60 Event Driven Software The EMERSON EMC T-60 Event Driven Software allows the T-60 to react quickly to external events, without taxing the overhead of the imbedded BASIC programming language. The Event Software allows the T-60 to scan an input, react to it, and immediately output data to the A/D’s or the 8 bit I/O port.
  • Page 62 The EVENT SYSTEM is not enabled until the EVENT ON statement is issued. EVENT ON may be used without a corresponding ON EVENT statement, thereby avoiding the use of the T-60’s interrupt system. See the example in the end of this section for the proper use of the EVENT ON...
  • Page 63: Hardware Reference

    Hardware Reference Electrical /Mechanical Specifications Memory: Communications: I/O: Keyboard Connector: Display: Size: Characters: Dot size: Backlight: Keyboard: Help function: Functions: Power: Weight: Environment: Mounting: Physical size: Electrical /Mechanical Specifications 32K bytes battery backed RAM standard, 64K bytes optional Two RS232C ports, XON / XOFF handshaking capability COM 1 is configurable as RS232, RS422, or RS485.
  • Page 64 T-60 Operator's Manual...
  • Page 65: Connector Pin-Out Specifications

    Connector Pin-Out Specifications Power / RS422 Connector: Function: SHIELD TX A TX B RX A RX B LOGIC GROUND DC IN + DC IN - I/O Connector: Pin: Function: +5V * I/O 0 I/O 1 I/O 2 I/O 3 I/O 4 I/O 5 I/O 6 I/O 7...
  • Page 66 T-60 Operator's Manual Figure 21 Physical Dimensions...
  • Page 67: Plc Interface Commands

    -SL5 Options have the ability to communicate to the PLC from either COM port. In effect, this allows you to hook two PLC’s to each T-60 or T-61. In a T-60 , COM2 is still standard RS232C. In a T-61, COM2 can still be configured to be RS232C, RS422, or RS485.
  • Page 68 Initialization of the PLC Interface (setting the proper communication parameters and verifying the establishment of the link between the PLC and the T-60 or T-61) always occurs with the CALL PLCINIT command. This command need only be issued once, usually during the initialization portion of your program.
  • Page 69: Call Plcinit Statement

    See the section specific to your Interface Option for information regarding the initialization parameters for that particular system. If the CALL PLCINIT command fails, the T-60 Series unit will break your program and generate the error message “PLC link not established.”...
  • Page 70 T-60 Operator's Manual cmd specifies the type of PLC protocol that you are initiating. This can vary depending upon PLC manufacturer, and possibly model, according to the following table: Examples: 10 CALL PLCINIT(1,1) Establishes communication with a Modbus, GE Series 90, PLC-5, SLC-500, Omron Hostlink, or TI505 PLC (depending on the installed interface option) with an ID (address) of 1.
  • Page 71: Call Plcread Statement

    CALL PLCREAD Statement Purpose: This command is used to read the value(s) in a PLC’s registers, the status of bits, or any other accessible memory location within the PLC. Refer to the -PL5 and -SL5 for information on how to use this command with the Allen-Bradley PLC-5 and SLC-500 processors.
  • Page 72 T-60 Operator's Manual # of registers/bits is the number of consecutive registers, memory locations, or bits that you wish to read. Most PLC interfaces only allow you to read one at a time, and for many applications that is all you will need to read. If this is the case, # of registers/bits will be 1.
  • Page 73: Call Plcwrite Statement

    CALL PLCWRITE Statement Purpose: This command is used to write value(s) to a PLC’s register(s), memory location(s), or to force one or more output bits in a PLC. and -SL5 for information on how to use this command with the Allen-Bradley PLC-5 and SLC-500 processors.
  • Page 74: Plc Specific Information

    CPU and Operator Interface to interact properly. This section deals with the criteria specific to each of the T-60 Series PLC Interface Options — command variances, communication hardware, cabling, etc.
  • Page 75 Table 7 Option PLC’s Supported Any Modicon PLC Supporting Modbus: -MOD Micro 84, 484, 584, 184/384, 884, 984/381, etc. -GE9 GE Fanuc Series 90-30 GE Fanuc Series 90-70 -TI3 TI Model 315 TI Model 325 TI Model 330 TI Model 425 TI Model 435 -TI5 TI Model 520(C)
  • Page 76 Communications: The -MOD Option communicates via the Modbus protocol. It was developed to allow the T-60 Series to communicate easily to the Modicon PLC’s that use the Modbus protocols (Micro 84, 484, 584, 184/384, 884, 984/381, etc.) It also works well with communication modules available for other PLC’s like GE Fanuc’s Serial Communications Module (Cat.# IC693CMM311 used in RTU...
  • Page 77: Mod Interface Option

    Serial Communications Module that supports SNP which will allow simultaneous connections to the PLC by more than one T-60 or T-61, as well as a programmer. Check with GE for availability. If you need to allow simultaneous communication to one Series 90 from both a T-60 Series unit and a programming device, GE’s Serial...
  • Page 78: Ti3 Interface Option

    TI Series 305 and Series 405 PLC’s. The Series 305 PLC’s (Models 315, 325, and 330) communicate via a DCU module. The communication parameters are auto-detected by the T-60 Series device. Therefore, you don’t need to set up any communication parameters in your PLC. The TI Model 425 communicates via the DCM module.
  • Page 79 Command Variations: TI Series 305 and 405 PLC’s return 5 words of network status information when using CALL PLCREAD with cmd = 1. The following example describes a typical way to read the status information: Numbers in bold cannot be changed This will store Last Error and Previous Error in stat%(1), Number of Successful Communications in stat%(2), Number of Erroneous...
  • Page 80: Ti5 Interface Option

    TI Series 505 PLC’s. All models in the TI500/505 Series have an RS232C serial port on the CPU module. The T-60 Series -TI5 Option uses this port for communication to the PLC. Both the T-60 and T-61 auto detect the communication parameters, so no setup is needed to get the two devices communicating.
  • Page 81 Table 9 Cross Reference -TI5 Memory Type Vs. Call PLCREAD / PLCWRITE READ WRITE PLC Interface Commands PLC Specific Information Memory Type STW Memory X Memory Y Memory V Memory WX Memory WY Memory CR Memory Range Data / Response 1-15 1 word per register 1-1024...
  • Page 82 T-60 Operator's Manual PL5 Interface Option Communications: The -PL5 Interface Option allows the T-60 Series to communicate to the Allen Bradley PLC-5 (Data Highway Plus™) through the 1785-KE or 1770-KF2 Series B Data Highway™ RS-232-C Interface Modules. The communications cable is EMERSON EMC’s standard Null Modem cable (N-MODEM-25-25 for the T-61 and N-MODEM-9-25 for the T-60 ).
  • Page 83 Table 11 1770 KF2 Interface Module Dip Switch Settings Configure the 1785 KE dip switches in the following manner: Configure the 1770 KF2 dip switches in the following manner: PLC Interface Commands PLC Specific Information SWITCH NUMBER...
  • Page 84 T-60 Operator's Manual Command Variations: The CALL PLCREAD and CALL PLCWRITE commands for the PLC-5 are significantly different from the other PLC’s described here. The following descriptions apply to the -PL5 Option only: CALL PLCREAD Statement Syntax: Comments: CALL PLCREAD(id, file, address, [bit], count, variable/array ) This command is specific to the -PL5 Interface Option.
  • Page 85: Pl5 Interface Option

    Examples: 10 DIM regdat%(10) 20 CALL PLCREAD(1,4,16,,5,regdat%(4)) This command returns the contents of element 16 in regdat%(4), element 17 in regdat%(5), element 18 in regdat%(6), element 19 in regdat%(7), element 20 in regdat%(8), from file #4 in the PLC-5 with id #1. 10 CALL PLCREAD(2,5,47,,1,regdat1%) This command reads the data in input element number 47 in file #5 in the PLC-5 with id (address) = 2 and stores it in the variable regdat1%...
  • Page 86 T-60 Operator's Manual Examples: sure you properly dimension the array prior to using it). If you are setting more than one, but less than 16 bits, you will be writing one word, and therefore can use a discrete variable name. If you are setting more than 16 bits, you will need to use an array.
  • Page 87 PLC Interface Commands PLC Specific Information -SL5 Interface Option Communications: The -SL5 Interface Option allows the T-60 Series to communicate to the Allen Bradley SLC-500 (DH-485Ô) through the 1747-KE DH-485Ô to RS-232-C Interface Module. The communications cable is EMERSON EMC’s standard Null Modem cable (N-MODEM-25-9 for the T-61 and N-MODEM-9-9 for the T-60 ).
  • Page 88 1747-KE for RS-232. Connect the DF1 port to COM1 on the T-60 Series product, and you should be able to communicate. Try sending a CALL PLCINIT(1,1) to see if you get a Ready response. If you do, start programming! If not, try checking that you are using COM1 on the T-60 Series product.
  • Page 89 CALL PLCREAD Statement Syntax: CALL PLCREAD(id, type, file, address, [bit], count, variable/array ) Comments: This command is specific to the -SL5 Interface Option. id specifies the address of the PLC from which you wish to read data. This number is usually 1 when interfacing to one PLC. See the SLC-500 Setup section for more information on the selection of the id.
  • Page 90 T-60 Operator's Manual Examples: you wish to store the data you are reading. If the value of count (see above) is 1, this will be a variable expression. If you are reading elements that are stored as words and count is greater than one, this will be an array (make sure you properly dimension the array prior to using it).
  • Page 91: Sl5 Interface Option

    CALL PLCWRITE Statement Syntax: CALL PLCWRITE(id,type, file, address, [bit], count, variable/array ) Comments: This command is specific to the -SL5 Interface Option. id specifies the address of the PLC in which you wish to write data. This number is usually 1 when interfacing to one PLC. See the SLC-500 Setup section for more information on the selection of the id.
  • Page 92 T-60 Operator's Manual bits, you will need to use an array. The dimension of the array variable will be the next integer greater than the desired number of bits divided by 16. For example, if you wish to set bits 1-24 you will need to dimension your array to at least two since 24/16 = 1.5 and two is the next greater integer.
  • Page 93: Call Plcread Statement

    Omron PLC’s. The Omron Host Link port is connected to the T-60 or T-61’s COM1 port via the supplied cable. Both the T-60 and T-61 auto detect the communication parameters, so no setup is needed to get the two devices communicating.
  • Page 94 T-60 Operator's Manual Table 12 Cross Reference -OM1 Memory Type Vs. Call PLCREAD / PLCWRITE READ WRITE PLC Dependent The -OM1 Option limits you to reading or writing a maximum of 32 words of data (512 bits) during one read or write operation.
  • Page 95 The Omron status write must be performed in the following manner: CALL PLCWRITE(0,1,0,1,mode) mode: 0 - program 1 - debug 2 - monitor 3 - run The Omron PLC must be in the monitor mode to enable write commands to perform without errors.
  • Page 96 Communications: The -PL2 Option uses the programming port protocol for communicating to the Allen Bradley PLC-2. The T-60 Series can use the programming port on the PLC-2 CPU or the programming port on the 1771-KA2 Interface Module. The PLC-2 communication parameters are not configurable, so issuing the CALL PLCINIT command will configure COM1 on the T-60 Series device to the proper settings for the PLC-2.
  • Page 97: Om1 Interface Option

    -IDEC FA-1J\FA2-J Interface Option Communications: The -IDEC option uses the Idec protocol to communicate between the Series T-60 unit and the PLC. The unit is configured by using the -plcinit(x,y) command. Table 13 T60 Series / RS232 Communication Protocol -IDEC FA-1J\FA2-J Interface Option Parameter—...
  • Page 98 (reading or writing) to the IDEC PLC. CALL PLCINIT setsup specific communications parameters. If the CALL PLCINIT command fails, the T-60 Series unit will break your program and generate the error message “PLC link not established.” If this occurs, make sure that the connections and communications configurations are correct.
  • Page 99 Syntax: CALL PLCINIT(id,cmd) Comments: id specifies the address of the PLC that you wish to initialize. For the FA-1J and FA-2J series PLC, this number will always be 1. cmd specifies the type of PLC protocol that you are initiating : 1 - FA-1J on com port 1 2 - FA-2J on com port 1 3 - FA-1J on com port 2...
  • Page 100 T-60 Operator's Manual CALL PLCWRITE Statement Purpose: Syntax: Comments: Examples: CALL PLCREAD( 1, 12, 30, 1, t% ) This will capture the monitor value of a timer. This command is used to write value(s) to the IDEC’s register(s), memory location(s), or to force one or more output bits in a PLC.
  • Page 101: Pl2 Interface Option (Preliminary)

    -Mitsubishi FX PLC Interface ( -MFX ) Communications: The -MFX Option uses the Mitsubishi FX’s RS422 port to communicate with the T-60 Series products. For the T-60 this utilizes com port 1 and either port is available for use in the T-61. Connections: In order for the SeriesT-60 and the FX unit to communicate, a specialized cable is sent with the Eason unit.
  • Page 102 PLC. CALL PLCINIT initializes the BAUD rate to 9600 Baud, 7 data bits, even parity. Either COM 1, COM 2, RS422, and RS232 can be specified. Note that on T-60 ’s COM1, RS422 is recommended. If the CALL PLCINIT command fails, the T-60 Series unit will break your program and generate the error message “PLC link not...
  • Page 103 3 - RS232 COM 1 - Must use an RS232 to RS422 adapter 4 - RS232 COM 2 - Must use an RS232 to RS422 adapter Examples: 10 CALL PLCINIT(1,1) Establish communications with the PLC via the T-60 Series COM 1 RS422 Port. CALL PLCREAD Statement Purpose: This command is used to read the value(s) in a PLC’s registers, the status of...
  • Page 104 T-60 Operator's Manual Examples: CALL PLCWRITE Statement Purpose: Syntax: Comments: than 16 bits of data, this variable MUST be a short integer (%) array variable. If you are reading registers or memory locations that are stored as words and the # of registers/bits is greater than one, this will be a short integer array (make sure you properly dimension the array prior to using it).
  • Page 105 This command writes the value of newdat%(4) to register 5 and newdat%(5) to register 6 in a PLC with an id (address) = 1. Table 16 PLC/Model/Signal Name PLC Interface Commands PLC Specific Information T-60 Signal Name TXD- TXD+ RXD-...
  • Page 106 T-60 Operator's Manual -SQD SQUARE D SY/MAX PLC Interface Communications: The SQD PLC option uses the SY/MAX RS422 port to communicate with the T-60 Series products. The connections are as follows: Figure 30 T-60 Interface Cable: Figure 31 T-61 Interface Cable:...
  • Page 107 PLC. CALL PLCINIT auto detects the baud rate and parity. Either COM 1 or COM 2 can be specified. Note that on T-60 ’s only COM 1 is available (T-60 ’s only have one RS422 port). A single non-networked route is specified by the id, see comments below.
  • Page 108 T-60 Operator's Manual Comments: Examples: id specifies the route. See CALL PLCINIT above. start address is the starting address of the register(s) you are interested in reading. [bit position] is an optional parameter which specifies the position within a 16 bit register to start reading from. An allowable range for bit position is 1 through 16.
  • Page 109 This command reads the data in register number 47 with and stores it in the variable regdat1%. 10 CALL PLCREAD(1,100,5,2,bits%) This command reads two bits from register 100 starting at bit position 5. The result is placed in the variable bits% with register 100, bit 5 in bit position 0, and register 100 bit 6 in bit position 6.
  • Page 110 T-60 Operator's Manual Examples: variable/array is the variable name or array name where you wish to store the data you are writing. If you are writing only one register or bit, you may use any variable type you wish. If you are writing multiple registers, this variable can either be a short integer (%) array variable or a constant (like 1234).
  • Page 111 Help Screen ... 30 Application Examples Figure 17 Installation ... 35 Figure 18 Installation - T-60 W/More Than One DX Drive ... 36 Event Driven Software Figure 19 Event System - One Schedule Element ... 52 Connector Pin-Out Specifications Figure 20 Physical Dimensions ...
  • Page 112 Figure 28 Figure 29 Figure 30 Figure 31 T-60 Series to TI Series 305 or TI Series 405 RS232C Communication Connections... 71 T-60 Series to TI Series 505 RS232C Communication Connections ... 73 T-60 Series to Allen Bradley 1747-KE Module Communication Connections...
  • Page 113: Sqd Square D Sy/Max Plc Interface

    Appendix A - List of Figures...
  • Page 114: Appendix - B List Of Tables

    Table 13 T60 Series / RS232 Communication Protocol -IDEC FA-1J\FA2-J Interface Option ... 93 Table 14 T-60 Series commands and addrss ranges for the Idec FA-1J and the FA-2J... 94 Table 15 Mitsubishi FX Series Interface Commands... 98 Table 16 PLC/Model/Signal Name ...

Table of Contents