Summary of Contents for SIMATIC TI505 386/ATM

Page 1: ...ss underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respectiv...

Page 2: ...I505 386 ATM Coprocessor User Manual Order Number PPX 505 ATM MANL 3 Manual Assembly Number 2586546 0056 Third Edition Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...arks of International Business Machines Corporation Microsoft MS DOS and GW BASIC are registered trademarks of Microsoft Corporation QBasic QuickBASIC is a trademark of Microsoft Corporation Texas Instruments and TI are registered trademarks of Texas Instruments Incorporated TI505 TI525 TI530C TI535 TI545 TI555 TI560T and TI565T are trademarks of Texas Instruments Incorporated Turbo C is a registe...

Page 4: ...ull access to data concerning all of the uses and applications of customer s products we do not assume responsibility either for customer product design or for any infringements of patents or rights of others which may result from our assistance Technical data is subject to change We check the contents of every manual for accuracy at the time it is approved for printing however there may be undete...

Page 5: ... history in all correspondence and or discussion about this manual Event Date Description Original Issue 02 90 Original Issue 2592615 0001 Second Edition 02 92 Second Edition 2592615 0002 Third Edition 02 93 Third Edition 2592615 0003 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 6: ... Edition 1 1 1 8 Third Edition 2 1 2 6 Third Edition 3 1 3 9 Third Edition 4 1 4 4 Third Edition 5 1 5 11 Third Edition 6 1 6 4 Third Edition A 1 A 3 Third Edition B 1 B 46 Third Edition C 1 Third Edition D 1 Third Edition Registration Third Edition Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 7: ...iew of Installation 2 2 Handling the Module 2 2 Visual Inspection 2 2 Technical Assistance 2 2 Flow of Tasks 2 3 2 2 Configuring the Module 2 4 2 3 Inserting the Module into the Base 2 5 Inserting the Module 2 5 Power Requirements 2 5 2 4 Connecting Peripherals 2 6 Monitor 2 6 Keyboard 2 6 Communications 2 6 Printer 2 6 Chapter 3 Loading System Software 3 1 Overview 3 2 Potential for Errors During...

Page 8: ...iguration Chart 4 4 Chapter 5 PLC Communications 5 1 Overview 5 2 Communicating with the PLC 5 2 Verifying the CONFIG SYS File in your Root Directory 5 2 Using PCCOMM 5 3 Application Program I O Bus Communication 5 3 5 2 Communicating during PLC Scan I O Cycle 5 4 Accessing I O Points 5 4 Command Syntax IOREAD 5 5 Response Syntax IOREAD 5 5 Command Syntax IOWRITE 5 6 Response Syntax IOWRITE 5 6 5 ...

Page 9: ...rograms B 2 GW BASIC Programs B 2 B 2 C Program IOREAD B 3 B 3 C Program IOWRITE B 6 B 4 C Program PCREAD B 9 B 5 C Program PCWRITE B 13 B 6 QuickBASIC Program IOREAD B 18 B 7 QuickBASIC Program IOWRITE B 21 B 8 QuickBASIC Program PCREAD B 24 B 9 QuickBASIC Program PCWRITE B 28 B 10 GW BASIC Program IOREAD B 33 B 11 GW BASIC Program IOWRITE B 35 B 12 GW BASIC Program PCREAD B 38 B 13 GW BASIC Prog...

Page 10: ...n Decision Tree 4 2 Figure 4 2 Running TISOFT2 via I O Bus 4 3 Figure 4 3 Running TISOFT2 via Serial Port 4 3 Figure 4 4 Sample I O Definition Chart 4 4 Figure 4 5 I O Configuration Chart 4 4 Figure 5 1 Communication Sequence 5 2 Figure 5 2 PLC Scan I O Cycle 5 4 Figure 5 3 I O Word Configuration 5 4 Figure 5 4 PLC Scan Special Function Cycle 5 7 Figure 5 5 PLC Scan COMM Port Cycle 5 11 Figure 6 1...

Page 11: ...Contents vii List of Tables Table 5 1 Maximum Words or Bits Transferred per PCCOMM Transaction 5 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 12: ...al Control Equipment Canadian Standards Association CSA Certified Process Control Equipment Factory Mutual Approved Class I Div 2 Hazardous Locations Verband Deutscher Elektrotechniker VDE 0160 Clearance Creepage for Electrical Equipment Self Compliance Series 505 products have been developed with consideration of the draft standard of the International Electrotechnical Commission Committee propos...

Page 13: ...1 2 Using the 386 ATM Coprocessor 1 2 Applications 1 3 1 2 Features 1 5 1 3 Standard Kit Part Lists 1 7 PPX 505 ATM 0220 1 7 PPX 505 ATM 0440 1 7 PPX 505 ATM 4120 1 7 Spare Parts 1 7 1 4 Recommended Order of Tasks 1 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 14: ...re packages Industry standard Microsoft MS DOS operating system Direct PLC I O bus communication path between a PC AT application and the control function being performed by the PLC Major increase in the survivability of personal computing equipment in harsh control environments Built in diagnostics to help confirm reliable operation and data integrity A small package that fits into the Series 505...

Page 15: ...te with MS DOS 5 0 and is compatible with memory and speed characteristics it will run on the 386 ATM Applications range from small to large Examples include the following Operator interface TISOFT2 software Supervisor Control and Data Acquisition SCADA Statistical Quality Control SQC Statistical Process Control SPC Batch Recipe management Report generation Math processing and data manipulation Pr...

Page 16: ...access PLC CPU 386 ATM Coprocessor Serial 1 or 2 Floppy disk Hard disk Video Keyboard Printer Serial port PLC Bus I001668 PLC Scan 386ATM Driver MS DOS device driver Application program Serial ports 386 ATM Communications Figure 1 1 Interaction 386 ATM Coprocessor and PLC Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 17: ...isk drive 20M byte 505 ATM 0220 40M byte 505 ATM 0440 120 M byte 505 ATM 4120 Triple wide Series 505 module Direct PLC I O bus interface to PLC 2 serial ports 110 57600 baud non standard driving voltage Limited mouse support see section 2 4 1 Centronics style parallel port Keyboard port for PC AT compatible keyboard TISOFT2 PLC I O bus communications for high speed PLC interface 386ATM language in...

Page 18: ...001669 386 ATMCOPROCESSOR RESET DISK KYBD VIDEO COM 1 COM 2 PRN Printer or Parallel Device Monitor Keyboard Serial Device RS 232 Serial Device RS 232 Figure 1 2 Typical Configuration Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 19: ...6ATM DVR INSTALL BAT AUTOEXEC BAT CONFIG SYS Example PCCOMM software source code SIMATIC TI505 386 ATM Coprocessor User Manual Same as PPX 505 ATM 0220 except DRAM Memory 4M byte Hard disk drive 40M byte Same as PPX 505 ATM 0220 except DRAM Memory 4M byte Hard disk drive 120M byte The following components can be ordered as spare parts 386ATM video cable adapter PPX 2587716 8034 MS DOS 5 0 3 5 disk...

Page 20: ...Module Features 1 8 386 ATM Coprocessor User Manual 101 key PC AT keyboard industrial black 6AC1 015 7FG Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 21: ...tall the module Install the system software Log the module into the base if applicable Program the module I001671 Install MS DOS 5 0 Figure 1 3 Lists of Tasks for Installing and Using the 386 ATM Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 22: ...nspection 2 2 Technical Assistance 2 2 Flow of Tasks 2 3 2 2 Configuring the Module 2 4 2 3 Inserting the Module into the Base 2 5 Inserting the Module 2 5 Power Requirements 2 5 2 4 Connecting Peripherals 2 6 Monitor 2 6 Keyboard 2 6 Communications 2 6 Printer 2 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 23: ...ic container or antistatic material Ensure that the work area has a conductive pad with a lead connecting the work area to a common ground Ground yourself by making contact with the conductive pad or by wearing a grounded wrist strap If there is any visible damage to the module contact your vendor for a replacement If you need information that is not included in this manual or if you have problems...

Page 24: ... Verify all dipswitch settings are correct Turn on the backup battery Ensure power to the base is off Connect the peripheral devices Insert the module into the base Apply power to the base Figure 2 1 Flowchart of Installation Flow of Tasks Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 25: ...2 and set them according to Figure 2 3 I001700 Dipswitches 387SX Socket Figure 2 2 Location of Dipswitches Battery 1 2 3 4 5 6 7 8 Internal use only Must be On I001674 Internal use only Must be On Connector Depress on Depress on Switches 1 and 4 are for Siemens proprietary use they must be On Switches 2 3 5 6 and 7 are not used set to Off Figure 2 3 Dipswitch Artisan Technology Group Quality Instr...

Page 26: ...a complete list of safety guidelines and recommendations This is a triple wide module Insert it into any available I O slot on any Series 505 base Insert the module as shown in Figure 2 4 Note the minimum torque required to ground the module Minimum torque 2 6 in lb 0 3N m Maximum torque 4 12 in lb 0 6N m Backplane connectors A000329 Figure 2 4 Inserting the Module into the Base This module requir...

Page 27: ...printers modems or other RS 232 compatible devices Note however that these devices must be capable of running on 5 VDC rather than the 12 VDC normally provided by an IBM PC compatible serial port This precludes the use of most mechanical mouse devices except certain models manufactured by Microsoft The printer port supports any Centronics style parallel printer or similar peripheral Use a standard...

Page 28: ...sk and Loading MS DOS 3 5 Booting the Module from the Diskette 3 5 3 4 Installing System Software 3 6 Copying Software to the Hard Disk 3 6 Typical ATM Driver Files 3 7 Installing Sample Programs 3 8 Loading System Device Drivers 3 8 3 5 What Next 3 9 Running the 386 ATM with Third party Device Drivers and Memory Managers 3 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURC...

Page 29: ...ted in this chapter Perform these tasks in sequence Set up system parameters by running the SETUP Utility Load MS DOS follow screen prompts to partition and format the hard disk automatically Run the INSTALL program I001677 Figure 3 1 Software Installation Flowchart Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 30: ...e hard drive for operation If you experience a seek or read write error during a diskette access please try the operation a second time If the problem continues wait for quiescent periods before performing diskette operations As in any electrical installation the potential for live circuits may be present at the PLC and or adjacent devices when the ultimate protective enclosure is opened for routi...

Page 31: ...ess F5 or F6 to change values Selections are F10 6 To save the configuration press 7 To acknowledge that the changes have been saved in CMOS memory press Diskette Drive 0 1 44mb 3 1 2 Fixed Disk 0 0220 20M unit 2 Fixed Disk 0 0440 40M unit 17 Fixed Disk 0 4120 120M unit 41 8 Press to exit F2 Esc 1 if you are in DOS environment 2 Hold spacebar until you receive 39 keyboard error Esc I001678 Enter E...

Page 32: ...ect Settings 5 For CVU applications move the highlight bar to Run Shell on startup and press ENTER Select Do not run MS DOS Shell on startup and press ENTER 6 For other applications select appropriate option 7 Press ENTER when options are correct 8 Select Allocate all free hard disk space for MS DOS and press ENTER The system reboots and begins partitioning and formatting the hard disk with its fu...

Page 33: ...you must perform this procedure after installing CVU software Refer to your CVU manual for details Enter 1 Insert driver disk 2 At the prompt type A INSTALL 3 For standard DOS installation type A INSTALL DOS Enter 4 Or for CVU10000 installation type A INSTALL CVU 5 Press any key to continue or Ctrl C to abort installation Enter Figure 3 4 Software Copy Procedure After approximately 90 seconds you ...

Page 34: ...D COM C DOS P DEVICE C DOS HIMEM SYS DOS HIGH umb DEVICE C DOS EMM386 EXE X C800 C900 NOEMS DEVICEHIGH C 386ATM EXE AUTOEXEC BAT file for CVU10000 installation ECHO OFF PROMPT P G PATH C CVU10 C C DOS C TI CVU10000 BAT CONFIG SYS file for CVU10000 installation FILES 30 BUFFERS 20 SHELL C DOS COMMAND COM C DOS P DEVICE C DOS HIMEM SYS DOS HIGH umb DEVICE C DOS EMM386 EXE X C800 C900 NOEMS DEVICEHIG...

Page 35: ...creen prompt informs you when all files have been copied Figure 3 5 Sample Program Installation To load the system device drivers into memory you must reboot the module Follow the steps shown in Figure 3 6 1 Remove DOS diskette from the drive in the 386 ATM 2 Press the reset button I001682 Figure 3 6 Module Boot Procedure Installing Sample Programs Loading System Device Drivers Artisan Technology ...

Page 36: ...s and memory managers often need to know exactly which resources are in use in the machine or at least which resources they may take for themselves The 386 ATM backplane interface uses the following resources Memory range C818 0000 C818 007F 128 bytes IRQ 10 which in turn uses INT 72 hex Make sure that any third party system software that you install on the 386 ATM does not try to use these addres...

Page 37: ...he PLC I O Configuration Table 4 2 Overview 4 2 Loading TISOFT2 4 2 Verifying 386ATM EXE in your Root Directory 4 2 Communicating with the PLC 4 3 Running TISOFT2 4 3 Selecting the I O Definition Chart 4 4 Viewing the I O Configuration Chart 4 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 38: ...rmed automatically Figure 4 1 I O Configuration Decision Tree NOTE The 386 ATM does not have to be logged into the I O configuration table to run TISOFT2 Logging the module into the configuration table improves TISOFT2 communication performance Refer to the TISOFT2 manual for specific instructions on loading and running TISOFT2 software The config sys file must include an instruction to load 386AT...

Page 39: ... of TISOFT2 you are using I001685 PLC 386 ATM PLC I O Bus Run TISOFT with the CVU option Example TI505 CVU TISOFT I O Bus Figure 4 2 Running TISOFT2 via I O Bus I001686 PLC COM 1 COM 2 386 ATM PLC Programming Port TISOFT COM1 or COM2 to PLC programming port Run TISOFT with no port option for port 1 or with P2 for port 2 Example TI505 P2 or Cable part 2601094 8001 Figure 4 3 Running TISOFT2 via Ser...

Page 40: ...0 00 00 00 NO 4 0000 00 00 00 00 NO 5 0000 00 00 00 00 NO 6 0000 00 00 00 00 NO I001687 Figure 4 4 Sample I O Definition Chart Use SHOW or a similar menu selection to display the I O Configuration Chart The configurations in Figure 4 4 appear as shown in Figure 4 5 I O CONFIGURATION CHART FOR CHANNEL 1 BASE 00 I O POINTS SLOT 1 1 WX0001 2 WX0002 3 WX0003 4 WX0004 5 WY0005 6 WY0006 7 WY0007 8 WY000...

Page 41: ... 5 Response Syntax IOREAD 5 5 Command Syntax IOWRITE 5 6 Response Syntax IOWRITE 5 6 5 3 Communicating with the PLC Scan Special Function Cycle 5 7 Description 5 7 Command Syntax PCREAD 5 8 Response Syntax PCREAD 5 8 Command Syntax PCWRITE 5 9 Response Syntax PCWRITE 5 9 Executing Commands from a File 5 9 Notes Concerning Writing to Memory Locations 5 10 5 4 Communicating with the PLC COMM Port Cy...

Page 42: ...tring returning the status and data of the request Figure 5 1 Communication Sequence The CONFIG SYS file must contain the correct instructions for loading the 386ATM driver during the module s boot procedure in order to activate the PCCOMM service The INSTALL batch file included as part of the installation procedure makes these modifications automatically Make sure that the following lines are inc...

Page 43: ...ates with the PCCOMM service Appendix B provides examples of application programs The sequence of events in the program are as follows 1 Open an unbuffered file stream with the name of PCCOMM 2 Build a command string to perform the function required 3 Send the command string to the open file stream 4 Read the response string from the file stream 5 Get the information from the response string Table...

Page 44: ...ure 5 2 Internal diagnostics Relay ladder logic Special function module access COMM port access PLC CPU Application 386 ATM PC COMM Serial 1 or 2 Serial port Serial ports I003101 I O update 4 WY 4 WX Figure 5 2 PLC Scan I O Cycle The IOREAD and IOWRITE commands allow you to gain access to the eight local I O points in the 386 ATM The I O points are configured locally in the 386 ATM as shown in Fig...

Page 45: ...er for the command string these characters must be present for the command to operate cr represents the ASCII character 0D HEX this character must be present in order to tell PCCOMM that the command string is complete After receiving an IOREAD PCCOMM responds in the following format ir e f g h i cr where is the delimiter for the response ir indicates the response is from an IOREAD operation e is t...

Page 46: ... must be present for the command to operate cr represents the ASCII character 0D HEX this character must be present in order to tell PCCOMM that the command string is complete After receiving an IOWRITE PCCOMM responds in the following format iw e cr where is the delimiter for the response iw indicates the response is from an IOWRITE operation e is the response code where if the number is positive...

Page 47: ...nformation from the PLC The memory types are categorized as Word access VMEM WX WY TCC TCP DSC DCP STW DCP KMEM Discrete access XREG YREG CREG Consult your PLC programming manual for descriptions of each of the above memory types Internal diagnostics Relay ladder logic Special function module access COMM port access PLC CPU Application 386 ATM PC COMM Serial 1 or 2 Serial port Serial ports I003101...

Page 48: ...ommand cr is the ASCII character 0D HEX denoting the end of the response transaction PCCOMM responds to the PCREAD command in the following format pr error_code val_1 val_2 val_n cr where is the separating delimiter for the command pr is the command response for PCREAD error_code if positive the number of values read from the PLC if zero a bad memory_type a bad start_point for the memory_type or a...

Page 49: ...M responds to the PCWRITE command in the following format pw error_code cr where is the separating delimiter for the command pw is the command response for PCWRITE error_code if positive the number of values written to the PLC if zero a bad memory_type a bad start_point for the memory_type or a bad count No words were returned if negative a comm failure with the PLC IOWRITE operation is the end de...

Page 50: ...ts word memory areas can be overwritten even if they are forced All data and address values used in communications with PCCOMM are in decimal i e 1 2 3 4 5 6 7 8 9 10 11 12 When reading or writing a discrete memory type the data will be either 1 or 0 Address for all memory types start with 1 with the exception of DCP which starts with address 0 The format for DCP addressing is drum_number step_num...

Page 51: ...LCs through the PLC serial port will operate on the 386 ATM Refer to the installation instructions accompanying the software package Com1 and Com2 are PC AT compatible serial communications ports with standard handshaking All third party PC AT compatible software that is programmed for serial communications will operate on the module NOTE The driving voltage is 5 VDC rather than the 12 VDC standar...

Page 52: ...r Manual Chapter 6 Troubleshooting 6 1 Diagnostics 6 2 Power up and Run time Diagnostics 6 2 User Initiated Diagnostic Tests 6 2 6 2 Troubleshooting 6 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 53: ... on selecting the diagnostic tests available The 386 ATM reboots after exiting the diagnostic menu NOTE The Floppy Disk diagnostic requires a scratch 3 5 high density diskette 1 44M byte All data on this diskette will be lost during the Floppy Drive test The diskette will have to be reformatted before it can be used for MS DOS applications NOTE The Fixed Disk test is non destructive no data on the...

Page 54: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Reviews: