background image

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.

Unpacking and Inspection

Inspect the T-60’s shipping container.  Is there evidence of damage or

mishandling?  If damage exists contact your shipping carrier immediately.
EMERSON EMC cannot be held responsible for damage in shipment.

Compare the contents of the container with the packing list which is attached
to the exterior of the shipping container.  Your T-60 shipping container
should include the following:

T-60 with installed options

This manual

EMERSON BASIC PROGRAMMING GUIDE

ApplicationBuilder diskettes

Mounting clips (four)

Mounting brackets (two)

1/4" 8-32 Screws (four)

Mounting template

Optional cables and connectors as indicated on the packing list.

If any items are missing or
damaged, contact EMERSON
EMC immediately.

A null modem cable

NMA 9 pin to 9 pin

NMX 25 pin to 25 pin

TIA-XXX T-60 to DX Amplifier cable

Installation

Unpacking and Inspection

5

Summary of Contents for T-60

Page 1: ...T 60 Operator s Manual P N 400248 00 Rev A3 Date November1 1995 ...

Page 2: ......

Page 3: ...or 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 document is subject to change without notice P N 400248 00 Rev A3 Date November 1 1995 i ...

Page 4: ...ii ...

Page 5: ...ON EMC provides on site service in most cases the next day Just call EMERSON EMC s customer service center when on site service or maintenance is required Training Services 612 474 1116 EMERSON EMC maintains a highly trained staff of instructors to familiarize customers with EMERSON EMC s products and their applications A number of courses are offered many of which can be taught in your plant upon...

Page 6: ...l Mode 21 File Menu 21 Transfer Menu 22 Setting Menu 22 Summary of ApplicationBuilder Operation 24 Screen Editor 27 Editor Capabilities 27 Help Key 28 Application Examples 31 Communicating with the Operator 31 Serial Communications made Simple 31 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 Lang...

Page 7: ...t 61 CALL PLCREAD Statement 63 CALL PLCWRITE Statement 65 PLC Specific Information 66 MOD Interface Option 69 GE9 Interface Option 71 TI3 Interface Option 73 TI5 Interface Option 75 PL5 Interface Option 77 SL5 Interface Option 83 CALL PLCREAD Statement 85 OM1 Interface Option 89 PL2 Interface Option Preliminary 93 IDEC FA 1J FA2 J Interface Option 95 Mitsubishi FX PLC Interface MFX 99 SQD SQUARE D...

Page 8: ...Table of Contents vii ...

Page 9: ... data entry graphics Easy to use commands for on board I O Programmable context sensitive help key NEMA4 panel mount or wall mount housing 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 Bu...

Page 10: ...tions All I O s are optically isolated and designed to be extremely noise tolerant Included with the T 60 is a disk containing the ApplicationBuilder a PC DOS program which allows you to quickly generate programs for the T 60 The ApplicationBuilder generates BASIC programs from simple menu selections and direct screen entry of text It consists of three components BUILDER converts menu selections a...

Page 11: ...he 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 Battery backed up RAM stores programs and variables even if the power is removed It can hold a program for over 5 years without power applied The opto isolation circuitry is designed to provide a barrier between the outside world I O ports and the CPU This ...

Page 12: ...T 60 Operator s Manual 4 ...

Page 13: ...nnot be held responsible for damage in shipment Compare the contents of the container with the packing list which is attached to the exterior of the shipping container Your T 60 shipping container should include the following T 60 with installed options This manual EMERSON BASIC PROGRAMMING GUIDE ApplicationBuilder diskettes Mounting clips four Mounting brackets two 1 4 8 32 Screws four Mounting t...

Page 14: ...ate cutting c Use a sabre saw or some other type of sheet metal cutting device to cut out along the cut here line d Using a file carefully remove any burrs or rough edges that may cut or scratch during the remainder of the installation e Remove the paper template and discard 2 Carefully insert the T 60 into the hole in the panel from the front side see Figure 3 3 Hold the T 60 to the panel and ins...

Page 15: ...Figure 3 Mounting Figure 4 Mounting Clips Installation Through Panel Mounting 7 ...

Page 16: ... switching supplies are recommended Only connect the DC power source to the DC IN and the DC IN These inputs are reverse protected DO NOT connect the DC power ground to LOGIC GROUND Logic Ground as with all I O is optically isolated from the I O Connecting Logic Ground to DC IN will result in lower noise immunity For connections to the RS422 connector refer to section RS422 and RS485 Connections I...

Page 17: ...der control RS422 and RS485 Communications The T 60 can communicate via RS422 or RS485 on COM1 When either of these modes are selected the RS232 COM1 connector is disabled To use the 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 t...

Page 18: ...ers are disabled after power up it is safe to assume that no line driver conflicts will occur 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 7 RS422 Connections Figure 8 RS485 Connector T 60 Operator s Manual 10 ...

Page 19: ... U1 senses a logic high 1 on the I O pin at 3 2 V and a logic low 0 on the I O pin at 1 4 V regardless of the externally applied pull up voltage U2 is an open collector output driver which can withstand 30 V and 30 MA load When a BASIC program writes a 1 to the output port U2 is off allowing the pull up resistor R1 or the user s externally connected pull up to pull the I O line high It is possible...

Page 20: ...scribed in the EMERSON EMC BASIC USERS GUIDE in a manner which works with both the EMERSON EMC T 61 and T 60 The specific changes are as follows INP Input range of 0 to 255 IO24 Bit pattern ranges 0 1 or X through 00000000 11111111 or XXXXXXXX the input may still be a string variable ON IO24 Unchanged OUT Output range 2 to 255 The MAP function works over the range of 0 1 or X through 00000000 1111...

Page 21: ...s an UPLOAD DOWNLOAD capability and a comprehensive context sensitive HELP system Getting Started Running the ApplicationBuilder is quite simple and requires no special software skills 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 th...

Page 22: ...change you have just made will be recorded to a configuration file on disk so subsequent operation of the program will be in color 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 Perform the selection in the same manner described above A...

Page 23: ...re you retrieved EASY BLD from disk These lines cannot be deleted edited or moved They are essential for the builder s operation Notice that each line begins with a dash or a sequence These tell the BUILDER that the line is PSEUDOCODE and what to do with it A line starting with is a new screen while a line starting with a dash is PSEUDOCODE that will execute for that screen Don t worry about gener...

Page 24: ...DITOR After examining the BASIC code generated let s download it into the T 60 Press ALT T and select Download Disk File by selecting it and pressing Enter or by typing D Select EASY BAS and press ENTER This begins the download process from the PC to the T 60 While data is transferred between the PC and the T 60 a counter will show the number of bytes being transferred When the process is complete...

Page 25: ...ves you access to the Builder the Editor and the Terminal Modes of the ApplicationBuilder You can switch from mode to mode without closing the current document allowing you to work on a number of things at once You also quit the program from the Mode menu You can access the Mode menu by hitting the Esc key or Alt M BUILDER The Builder Mode is the mode you utilize to use a user friendly program gen...

Page 26: ...e program any line of code that generates information that will be displayed on the LCD display will show up here Text soft key labels placeholders for variable and operator numeric entry will all show up and can be moved to any legal location you desire You will find that as you move the cursor down from Pseudocode line to Pseudocode line the screen will build up one line at a time in synchroniza...

Page 27: ...meric formats for printing numbers on the screen You may specify a digit place holder with a character Use the decimal point character for specifying the location of the decimal point Use a plus or minus sign to specify the use of a sign If you want scientific notation use an E For example Specifies from 0 000 to 99 999 Specifies from 9 9 to 9 9 Specifies from 0 to 999 PUT TEXT has the capability ...

Page 28: ... block return to your document and paste that previously and now currently chosen text The following sub menus appear when you select the EDITOR MENU CUT Text removes the currently selected text and places it in the clipboard It can then be pasted into another location or file Typing T while anywhere in the Edit menu will also activate this command COPY Text takes a copy of the currently selected ...

Page 29: ...e a file save a file under a different name or Print a file If you need to get to DOS briefly the DOS Shell command allows you to go to DOS and get back easily You can access the File menu by hitting Alt F The following selections appear when you select the File menu NEW closes any currently open file and starts a new one This only affects the currently active mode Typing N while anywhere in the F...

Page 30: ... the Emerson T 60 which are not saved on disk If you do a Verify Disk File with the latest version you have on disk and they are different you know that something has changed in the T 60 since you last downloaded the program Typing V while anywhere in the Transfer menu will also activate this command START COMMUNICATIONS does a number of things that will be useful to you First it stops the executi...

Page 31: ...Mode and pressing 07 configures the ApplicationBuilder to run effectively on a computer with a color monitor The program uses many colors to enhance the readability of the screen Typing C while anywhere in the Settings menu will also put the ApplicationBuilder into Color mode CONFIG COM1 Selecting Configure COM1 allows you to set the communication parameters for COM1 in your PC The values you can ...

Page 32: ...w on the screen You are now building a new screen named begin You may position the cursor enter characters or press the TAB key to change the character size Enter This terminates the data entry and adds pseudocodes to your program which will generate the text you have typed on screen Adding a Softkey Cursor Move the cursor below the last PUT TEXT Pseudocode in the list below the begin screen F5 Se...

Page 33: ...excluding the cursor positioning over the GOTO SCREEN BUILD this will add the rest of the screens necessary to build a program When done adding screens When done adding screens Operation Keystroke Description Save program ALT F File name Cursor Select SAVE AS Enter You will be prompted for a SAVE AS file name TAB Enter the text entry area above the file list Filename Enter a valid DOS filename wit...

Page 34: ...Operation Keystroke Description Run program F1 T 60 Run the program on the Model T 60 T 60 Operator s Manual 26 ...

Page 35: ...ditor 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 The editor has the following feature set Line oriented editor change a line by over typing on it press ENTER and it is modified in the BASIC program 78 character line capability The editor can e...

Page 36: ...r not running a program the following screen appears The HELP screen consists of three basic sections 1 TOP of screen Function keys F7 F8 and F9 scroll through the lists of available commands for the T 60 F7 generates a list of commands By pressing the cursor keys a command will be highlighted Pressing Enter selects the command and displays the help syntax on the screen F8 and F9 scroll through th...

Page 37: ...The help screen will display a brief description of GOTO Press EXIT to return to the BASIC Interpreter 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 Think of the HELP key ...

Page 38: ...T 60 Operator s Manual 30 ...

Page 39: ...e displays it on the screen in another location Go ahead try it Notice that the operator entry is performed in a calculator like fashion A default value is displayed on screen The first key that you press clears the data entry area and allows you to edit data with the left and right arrow keys or the insert and delete keys When you press enter the data is stored The PSEUDOCODE used to generate thi...

Page 40: ...es I O bits one at a time is on your ApplicationBuilder diskette IO BLD Try loading it and running it This program uses on screen messages to tell you about itself EMERSON EMC DX Drive Demo Program Please read the first part of the DX COM BLD program There are instructions on how the DX Amplifier must be setup to operate correctly This program DX COM BLD was written to demonstrate the capability o...

Page 41: ...the T 60 is unable to establish communications check the following items Verify that the DX Drive Amplifier is on and in working order A power on sequence must be setup which automatically starts executing on power up Verify the connections made between the drive and the T 60 Figure 13 Installation Application Examples Parallel I O Made Simple 33 ...

Page 42: ... cable and can be obtained from EMERSON EMC COM1 on the T 60 is connected to the DX drive via a TIA cable also available from EMC Baud rates and setup The build software should be able to communicate with the T 60 without deviation from the default comm parameters The DX drive serial parameters must be set up as desired along with the axis id These parameters will be matched by the COM initializat...

Page 43: ...ly 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 Application Examples Using The T 60 With One or More DX Drives 35 ...

Page 44: ...T 60 Operator s Manual 36 ...

Page 45: ...o scientific notation A floating point constant consists of an optionally signed integer or fixed point number the mantissa followed by the letter E and an optionally signed integer the exponent The allowable range for floating point constants is 0 8388607X10 19 to 0 8388607X1014 For example 235 988E 7 0000235988 2359E6 2359000000 Integer Integer numeric variables and constants Whole numbers betwe...

Page 46: ...valid sizes for arrays See 6 2 4 for a description of memory space requirements Multi dimensional arrays more than one subscript separated by commas are useful for storing tabular data For example an array dimensioned with DIM A 2 5 could be used to represent a two row five column array such as the following Column 1 2 3 4 5 Row 1 10 20 30 40 50 Row 2 60 70 80 90 100 In this example element A 2 3 ...

Page 47: ...ed by Z Logical Operators Logical operators perform tests on multiple relations bit manipulation or boolean operations The logical operator returns a bit wise result which is either true not zero or false zero In an expression logical operations are performed after arithmetic and relational operations The following table lists the availabe logical operators Operator Operation NOT Logical negation ...

Page 48: ...mer See the 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 String Operators To compare strings use the same relationa...

Page 49: ...st string values or to alphabetize strings 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 RUN FILENAME NEW FILENAME T 60 Basic Programming Language String Operators 41 ...

Page 50: ... program ERASE Erase arrays ERR Error code ERL Line number with an error ERROR Simulate error EXP Exponentiate FIX Truncate to whole number FOR FOR NEXT loops NEXT FOR NEXT loops FRE Free Space GOSUB Subroutine call GOTO Jump to line number HEX Hexadecimal to decimal HEX Decimal to hexidecimal IF Conditional Statement INKEY Read keyboard returns number INKEY Read keyboard returns string INP Input ...

Page 51: ...ate spaces SQR Square root STOP Halt program STR Convert to string STRING Multiple copies TAB Tab spaces TAN Tangent TIME Internal timer TIME Set retrieve time TIMER Initialize timer interrupt TRACE Trace ON OFF VAL String to number VER Report software version WHILE WHILE WEND loops WEND WHILE WEND loops T 60 Basic Programming Language EMERSON Basic Statements Commands and Functions 43 ...

Page 52: ...T 60 Operator s Manual 44 ...

Page 53: ...ccess to a pre dimensioned array called NVOL NVOL can contain up to 512 floating point short integer or long integer variables In addition the M02 option adds access to a pre dimensioned string array called NVOL NVOL allows access of up to sixteen 128 byte string array variables The M02 option is field installable Adding Memory Options to the T 60 Follow these steps to upgrade the T 60 to 64K of R...

Page 54: ...tor Make sure that the keyboard is a type which is compatible with an IBM PC XT not AT 6 Re connect power to the unit Press the CTRL ALT and DEL keys on the IBM KEYBOARD simultaneously This will reset the unit and normal operation will begin 7 Check the installation by pressing HELP on the T 60 followed by F4 SYS The memory option should show 64K 8 If the memory option only shows 32K or the displa...

Page 55: ...he front panel and screws 5 Connect an IBM KEYBOARD to the KEYBOARD connector Make sure that the keyboard is a type which is compatible with an IBM PC XT not AT 6 Re connect power to the unit Press the CTRL ALT and DEL keys on the IBM KEYBOARD simultaneously This will reset the unit and normal operation will begin 7 Check the installation by pressing HELP on the T 60 followed by F4 SYS The memory ...

Page 56: ... display Note the orientation of PIN 1 on the device see diagram 8 Insert the new ROM in location U15 Be sure that PIN 1 location on ROM with notch or dot is facing down towards the center of the unit Check carefully for bent or damaged pins Improper orientation of U15 will destroy the ROM and possibly cause damage to the unit 9 Re attach the backlight cable 2 pin cable to J6 near U15 see diagram ...

Page 57: ... to the side of the unit being careful not to stress the internal cables 7 To remove the old battery insert a small screwdriver between the edge of the battery and the battery holder near the battery clip see diagram Push gently and the battery should slide out 8 Before installing the new battery press down on the battery clip to make sure that there will be good retention force when the battery i...

Page 58: ...mory disconnect power and connect an IBM KEYBOARD to the KEYBOARD connector Make sure that the keyboard is a type which is compatible with an IBM PC XT not AT 12 Re connect power to the unit Press the CTRL ALT and DEL keys on the IBM KEYBOARD simultaneously This will reset the unit and normal operation will begin Call Emerson EMC if any problems persist T 60 Operator s Manual 50 ...

Page 59: ...C and the ApplicationBuilder program to do this 2 Remove power connections to the unit Disconnect power from the T 60 before attempting to install a CLK Option 3 Carefully unscrew the top screws and each of the screws on the side of the unit 4 Lay the unit on its back on a soft clean surface 5 Remove the front panel by carefully lifting it off the unit and disconnecting the 2 pin connector for the...

Page 60: ... cable connector and replace the front panel and screws 9 It may be necessary to set the real time clock before it can be used Refer to the BASIC User s Manual for instructions on how to set the clock T 60 Operator s Manual 52 ...

Page 61: ...onal analog input the comparisons are performed with 16 bit integer mathematics giving the greatest degree of flexibility possible overlapping events and 32 possible schedules If the source is from the optional counter the comparisons are performed with 32 bit integer mathematics limiting the events to non overlapping regions and 16 possible schedules The M02 option is required for the operation o...

Page 62: ...s 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 syntax Figure 20 Event System One Schedule Element T 60 Operator s Manual 54 ...

Page 63: ...atrix 0 095 x 15 2 40 mm x 3 84 mm Dot size 0 019 x 0 019 0 48 mm x 0 48 mm Backlight Electro luminescent panel with auto shutdown feature Graphics capability Keyboard 30 large full travel keys rubber elastomer type Help function Context sensitive HELP key available Functions 9 programmable function keys Cursor insert delete alpha and print keys Power 9V to 30V DC 6 Watts maximum 1 Amp power on in...

Page 64: ...T 60 Operator s Manual 56 ...

Page 65: ...I O 5 5 I O 6 3 I O 7 1 UNUSED 100 MA Load Maximum All even numbered pins are connected to logic ground Keyboard Connector Pin Function 1 KEYBOARD CLOCK 2 KEYBOARD DATA 3 KEYBOARD RESET 4 5V 5 GROUND COM1 and COM2 Pin Outs Pin Connection HOUSING SHIELD 2 RS232 RECEIVE INPUT 3 RS232 TRANSMIT OUTPUT 5 SIGNAL GROUND All other pins not connected Connector Pin Out Specifications Electrical Mechanical S...

Page 66: ...Figure 21 Physical Dimensions T 60 Operator s Manual 58 ...

Page 67: ... location within a basic program running in the T 60 or T 61 with a PLC Interface option This allows the use of the data in a register bit status analog I O value or any other applicable data available from a PLC in a process or interface program in the T 60 Series device For most of the PLC Interface Options the PLC Interface is on COM1 of the T 60 Series device COM2 retains its default status Th...

Page 68: ...l Most of the PLC Interfaces developed so far use the same arguments for similar functionality no matter which Interface is installed Exceptions are noted in the tables More specific information follows in sections particular to each Interface Option Refer to the section for your PLC to see if the normal implementation for a given function is different for you PLC See the PLC and SLC specific sect...

Page 69: ...K check to make sure that you do not have a password in your PLC that is not allowing access to the programming port Syntax CALL PLCINIT id cmd Comments id specifies the address of the PLC that you wish to initialize Some PLC s allow addressing of multiple PLC s others do not Refer to your PLC Operator s manuals for information regarding capability and implementation Interface Option Cmd PLC Proto...

Page 70: ...unication 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 10 CALL PLCINIT 1 435 Establishes communication with a TI435 PLC with an ID address of 1 when the TI3 option is installed 10 CALL PLCINIT 1 2 Establishes communication with a Modicon AB PLC 5 or SLC 500 with an ID address of 1 on COM 2 T 60 Operator s M...

Page 71: ...er s you are interested in reading In the case of the PLC interfaces implemented so far this does not include a data type specifier etc MOD GE9 TI3 TI5 OM1 PL2 Cmd Function Typical Data Response 1 Read PLC CPU Status 2 words ID run status 2 Read Discrete Input Status 1 word per 16 bits 3 Read Discrete Output Status 1 word per 16 bits 4 Read Register 1 word per register 5 Read Input Register 1 word...

Page 72: ...use a single short integer If you are reading more than 16 bits you will need to use a short integer 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 read the status of 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 Remember any tim...

Page 73: ...h to perform See the table below for the write operation possibilities start address is the starting address of the bit s or register s you are interested in writing In the case of the Modbus this does not include a data type specifier etc MOD GE9 TI3 TI5 OM1 PL2 Cmd Function Typical Data 1 Clear Status Any 5 words 2 Write Input Bit s 16 bit words 3 Write Output Bit s 16 bit words 4 Write to a Reg...

Page 74: ...eed to dimension your array to at least two since 24 16 1 5 and two is the next greater integer Remember any time you are writing more than one word of data more than one register or more than 16 bits you must use a dimensioned array variable Examples 10 DIM stat 10 20 CALL PLCWRITE 1 1 1 5 stat 1 This command clears the status in a TI305 405 PLC 10 CALL PLCWRITE 1 3 12 5 13 This command writes a ...

Page 75: ...ce Port Auto Detect TI Model 535 TI Direct Connect CPU Serial Interface Port Auto Detect TI Model 560 TI Direct Connect CPU Serial Interface Port Auto Detect TI Model 565 TI Direct Connect CPU Serial Interface Port Auto Detect TI Model 545 TI Direct Connect CPU Serial Interface Port Auto Detect TI Model 575 TI Direct Connect CPU Serial Interface Port Auto Detect PL5 Allen Bradley PLC 5 1785 KE Com...

Page 76: ...or the serial communications parameters therefore no special procedures are necessary for configuring the serial port on the PLC The CALL PLCINIT command takes care of configuring COM1 on the T 60 Series device and initializing the communications with the PLC Connections The MOD Option comes with the proper cable to interface to the Modicon PLC For those who need to change the length of the cable ...

Page 77: ... the original publication of this document it appears that GE Fanuc has released a version of of Serial Communications Module that does support the SNP protocol When first sending the CALL PLCINIT command the T 60 Series unit configures COM1 to have the following parameters Make sure that the configuration of the programming port of the PLC matches these parameters or the CALL PLCINIT command will...

Page 78: ...arameters are also auto detected The TI Model 435 has a serial communication port built into the CPU module No other communications module is necessary As with the other Models the T 60 Series auto detects the 435 s communication parameters In all cases the communication protocol is RS232C so use the RS232C port not the RS422 port if you have a choice Connections The TI3 Option comes with the prop...

Page 79: ...of Retries for Data in stat 5 See your PLC manual for more details You must read 5 words of data any time you wish to read the network status You can reset the status registers by using the CALL PLCWRITE command with cmd 1 You must write five words The data can be arbitrary since the net result is resetting the status registers no matter what you write See the example Numbers in bold cannot be cha...

Page 80: ...xist that would not allow the T 60 Series unit access to the programming port Connections The TI5 Option comes with the proper cable to interface to a TI 505 Series PLC For those who need to change the length of the cable the proper connections are shown below Command Variations The following table will help make the terminology of the previous sections make more sense with respect to the TI Serie...

Page 81: ...mory 1 1024 1 word per 16 bits 4 V Memory 1 NNNN 1 word per register 5 N A N A N A 6 N A N A N A 7 WX Memory 1 1024 1 word per register 8 WY Memory 1 1024 1 word per register 9 CR Memory 1 32768 1 word per 16 bits Table 9 Cross Reference TI5 Memory Type Vs Call PLCREAD PLCWRITE PLC Interface Commands PLC Specific Information 73 ...

Page 82: ...61 20 00109 01 Using the PL5 with a PLC 520 540 or 580 DF1 port T 60 20 00109 02 T 61 20 00141 01 Refer to the end of this section for the schematics for the above cables Allen Bradley 1785 KE and 1770 KF2 Set Up Correctly setting the dip switches on the 1785 KE or 1770 KF2 Interface Module is an important step in the set up process Furthermore it is a good idea to make sure that your 1785 KE or 1...

Page 83: ...70 KF2 dip switches in the following manner SWITCH NUMBER 1 2 3 4 5 6 SW1 Dn Dn Up Dn Dn SW2 Dn Dn SW3 Up Up Up SW4 Up Up Up SW5 Up Up SW6 Dn Up Up Up SW7 Up Dn SW8 Dn Up Table 11 1770 KF2 Interface Module Dip Switch Settings PLC Interface Commands PLC Specific Information 75 ...

Page 84: ... to read If you are reading data in the form of words it is the number of consectutive elements you wish to read If you are reading bits it is the number of consecutive bits you wish to read variable array is the variable name or single dimension array name where 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 el...

Page 85: ...lly 1 when interfacing to one PLC file specifies the file number that you wish to write to address is the address of the first element to write to in the above file bit is an optional parameter which specifies the starting bit location of the bits you wish to write If you are writing words as in writing a register value leave this field blank i e address count If you are writing bits I O points in...

Page 86: ...time you are writing more than one word of data more than one register or more than 16 bits you must use a dimensioned array variable Examples 10 DIM regdat 10 20 CALL PLCWRITE 1 4 16 5 regdat 4 This command writes the contents of regdat 4 in element 16 regdat 5 in element 17 regdat 6 in element 18 regdat 7 in element 19 and regdat 8 in element 20 to file 4 in the PLC 5 with id address of 1 10 CAL...

Page 87: ... the length of the cable the proper connections are shown below SLC 500 Setup The SLC 500 needs to have a 1747 KE interface module installed in it If the processor is a stand alone type SLC500 you may have to add a two slot option rack to add this interface module Some newer SLC 500 s have a built in serial port this port can be used to gain direct access to SLC 500 by using the DF1 protocol This ...

Page 88: ... Baud Rate 19200 DF1 Protocol Menu Full Duplex DF1 Protocol Full Duplex Setup Menu Duplicate Packet Detection Disabled Checksum BCC Constant Carrier Detect Disabled Modem Init String blank Embedded Response Detect Embedded Response ACK Time out 1 0 Seconds ENQuriy Retries 2 NAK Received Retries 2 Be sure to return the 1747 KE module to the Run mode jumper settings and jumper the 1747 KE for RS 232...

Page 89: ... or writing to locations which are not specified within a program For example if your program only access N7 0 through N7 4 and you try to read from N7 5 one address higher than your program access you will get an error To avoid this problem we suggest that your program access data at least one word higher than words that the SL5 interface is trying to access When addressing bit files type 3 you m...

Page 90: ... line 20 initializes the PLC this only needs to be done once in your program Line 30 returns the contents of N7 16 in regdat 1 N7 17 in regdat 2 N7 18 in regdat 3 N7 19 in regdat 4 and N7 20 in regdat 5 in the SLC 500 with a node address of 1 10 CALL PLCREAD 2 5 5 3 1 reg This command reads the data in C5 3 in an SLC 500 with node address of 2 and stores it in the variable reg 20 CALL PLCREAD 1 3 ...

Page 91: ...iting to locations which are not specified within a program For example if your program only access N7 0 through N7 4 and you try to read from N7 5 one address higher than your program access you will get an error To avoid this problem we suggest that your program access data at least one word higher than words that the SL5 interface is trying to access When addressing bit files type 3 you must sp...

Page 92: ...rogram Line 30 writes the contents of regdat 1 in N7 16 regdat 2 in N7 17 regdat 3 in N7 18 regdat 4 in N7 19 and regdat 5 in N7 20 in the SLC 500 with a node address of 1 10 CALL PLCWRITE 2 5 5 3 1 reg This command writes the data contained in the variable reg into C5 3 in an SLC 500 with a node address of 2 20 CALL PLCWRITE 1 3 3 1 8 15 stat This command would write the contents of variable stat...

Page 93: ...ption comes with the proper cable to interface to a Host Link equipped PLC For those who need to change the length of the cable the proper connections are shown below Command Variations The following table will help the terminology of the previous sections make more sense with respect to the Omron Host Link documentation It is a cross reference between the Memory Type in the PLC documentation and ...

Page 94: ...n 507 in the 2 1 location and so on This makes bit testing within a BASIC program very simple Writes to individual bit locations in the Omron PLC is performed via a read modify write process EXTREME care should be taken when using data bits which may be updated during a scan Host Link only allows data to be read and written to on WORD boundaries This forces the OM1 Option to read surrounding bits ...

Page 95: ...write commands to perform without errors A CALL PLCINIT id 1 places the PLC into the monitor mode but if your application has a programming panel or some other peripheral device attached it may be possible for the operator to disable writes to the PLC Use the status write function to return the PLC to the monitor mode when necessary PLC Interface Commands PLC Specific Information 87 ...

Page 96: ...le Organization are Processor Work Areas No 1 and No 2 the Reserved Area the Expanded Data Table and or User Program Area and the User Program Area All other areas are accessible via the CALL PLCREAD and CALL PLCWRITE commands Connections The PL2 Option comes with the proper cable to interface to a PLC 2 directly through the programming port or to the programming port of the 1771 KA2 For those who...

Page 97: ...pecialized cable is sent with the Eason unit The pinout for this cable is shown in the table below illustrating the view for both the T 60 and the T 61 Parameter Mode Baud Rate Data Bits Stop Bit s Parity FA 1J RS232 C9600 baud 8 1 None FA 2J RS232 C9600 baud 8 1 Even Table 13 T60 Series RS232 Communication Protocol IDEC FA 1J FA2 J Interface Option Figure 28 T 60 Series to IDEC FA 1J and FA 2J PL...

Page 98: ...nk not established If this occurs make sure that the connections and communications configurations are correct Cmd Command Address Size Read Write FA IJ FA 2J 1 Status none BIT 2 In_Out Input 0 157 BIT 2 In_Out Expansion Input 2000 2157 BIT 3 In_Out Output 200 357 BIT 3 In_Out ExpansionOutput 2200 2357 BIT 4 Register 800 899 WORD 4 Register Expansion Register 1500 1799 WORD 9 Internal Relay 400 71...

Page 99: ...er accessible memory location within the PLC Syntax CALL PLCREAD id cmd start address ofregisters bits variable array Comments id specifies the address of the IDEC always use 1 cmd specifies the read operation you wish to perform See the table under Available Commands for the read operation possibilities address describes where in memory the value is to be read from count number of bits to be read...

Page 100: ...write operation possibilities address describes where in memory the value is to be stored or read from count number of bits to be read when using command of size WORD this will be a 1 variable number this is the variable or number that is to be written in memory in the case of a write or the variable that will store the value being read Examples CALL PLCWRITE 1 4 805 1 12345 This command tells the...

Page 101: ... 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 The pinout for this cable is shown in the table below for the T 60 and the T 61 Figure 29 T 60 Series to the Mitsubishi FX series PLC Communication Connections PLC Interface Commands PLC Specific Information 93 ...

Page 102: ...mmended 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 make sure that the connections and communications configurations are correct If they are OK check to make sure that the FX is powered up and ready to accept Commands Cmd Command PLC Data Type Address Size 1 2 Inputs X 0 177 BIT 3 Outputs Y 0 177 BIT...

Page 103: ... is the starting address of the bit s or register s you are interested in reading Inputs and Outputs data types X and Y are specified in OCTAL just like you would specify in the PLC ladder logic program The type specified for this parameter if a variable is to be used is an integer of registers bits is the number of consecutive registers memory locations or bits that you wish to read If you wish t...

Page 104: ...er 16 in regdat 4 register 17 in regdat 5 register 18 in regdat 6 register 19 in regdat 7 register 20 in regdat 8 from any of the PLC s currently implemented 10 CALL PLCREAD 1 5 47 1 regdat1 This command reads the data in input register number 47 with id address 1 and stores it in the variable regdat1 CALL PLCWRITE Statement Purpose This command is used to write value s to the FX s register s memo...

Page 105: ...onsecutive 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 the status of 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 Remember any time you are writing more than one word of data more than one reg...

Page 106: ...rface 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 T 60 Operator s Manual 98 ...

Page 107: ... make sure that the SY MAX is powered up and ready to accept commands Syntax CALL PLCINIT id cmd Comments id specifies the route for the SY MAX Specifying an id of 0 will specify an route of 0 100 an id of 1 will specify a route of 1 101 Networking route specifications will be available in future versions of this interface check with EMERSON EMC for more details cmd specifies the communications mo...

Page 108: ...cutive registers memory locations or bits that you wish to read If the bit position parameter is omitted of registers bits will specify the number of 16 bit registers to read If you wish to read more than one register or memory location at a time this number will be the number of consecutive registers or locations you wish to read If you have included a bit position parameter this number will be t...

Page 109: ... the result Note that all Eason documentation references bits 0 through 15 for bits inside variables in the EASON while SY MAX documentation references bits 1 through 16 for registers in the PLC sorry about the confusion Note that only the contents of 1 register s bits may be written at a time This means that a bit position of 9 2 8 bit will only allow 8 bits to be written This is due to the fact ...

Page 110: ...er Remember any time you are writing more than one register you must use a dimensioned short integer array Examples 10 CALL PLCWRITE 1 15 1 2 3 This command writes a 1 to register 15 bits 1 and 2 Note that 3 represents the binary 11 which is the bit pattern desired 10 DIM newdat 10 20 CALL PLCWRITE 1 5 2 newdat 4 This command writes the value of newdat 4 to register 5 and newdat 5 to register 6 in...

Page 111: ...onnector 11 Figure 13 One Channel of the 8 Bit I O 13 ApplicationBuilder Figure 14 Serial Connections 15 Figure 15 Builder Mode Screen 16 Screen Editor Figure 16 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...

Page 112: ...tion Connections 81 Figure 26 T 60 Series to Omron Host Link RS232C Communication Connections 87 Figure 27 100T 60 Series to Allen Bradley PLC 2 Communication Connections 91 Figure 28 T 60 Series to IDEC FA 1J and FA 2J PLC Communication Connections 93 Figure 29 T 60 Series to the Mitsubishi FX series PLC Communication Connections 97 Figure 30 T 60 Interface Cable 103 Figure 31 T 61 Interface Cabl...

Page 113: ...Appendix A List of Figures A 3 ...

Page 114: ... GE9 Interface Option 69 Table 9 Cross Reference TI5 Memory Type Vs Call PLCREAD PLCWRITE 74 Table 10 1785 KE Interface Module Dip Switch Settings 76 Table 11 1770 KF2 Interface Module Dip Switch Settings 76 Table 12 Cross Reference OM1 Memory Type Vs Call PLCREAD PLCWRITE 88 Table 13 T60 Series RS232 Communication Protocol IDEC FA 1J FA2 J Interface Option 93 Table 14 T 60 Series commands and add...

Reviews: