SERCOMM VERSION 1.0 Copyright (C) M TECH Dipl. Ing. J. Lindauer 1995. All Rights reserved 1.0 Introduction........................................................ 2 1.1 Features........................................................ 2 1.2 Requirements.................................................... 2 1.3 Installation.................................................... 3 1.4 Copyright....................................................... 3 1.5 Registration.................................................... 4 2.0 General indications for data transmission 2.1.Communication cable.............................................. 4 2.2 Protocol choice.................................................. 5 2.3 ASCII, ISO, EIA, Binary.......................................... 6 2.4 Behind Tape Read................................................. 6 3.0 Using Sercomm ....................................................... 7 3.1 Menu File........................................................ 7 3.2 Menu Edit........................................................ 7 3.3 Menu Search...................................................... 7 3.4 Menu Transmit.................................................... 7 3.4.1 Transmit Window............................................ 7 3.4.2 Transmit File.............................................. 7 3.4.3 ASCII, ISO, EIA............................................ 7 3.4.4 Binary Mode................................................ 7 3.5 Menu Configuration............................................... 8 3.5.1 Ports...................................................... 8 3.5.2 Load Configuration......................................... 8 3.5.3 Mouse...................................................... 8 3.5.4 Standard Mode.............................................. 8 3.5.5 Test Mode.................................................. 8 3.6 Menu Window...................................................... 9 3.7 Command Line Options............................................. 9 4.0 About M Tech......................................................... 9 1.0 Introduction Welcome to sercomm version 1.0. Sercomm was developed for data transmission between personal computers and drive units with a serial interface. (RS232 and RS432) We tried to develop the program with the aim, that it is very easy to use for the machine operator. Therefore sercomm is easy to use by handling the para- meters and by execute the data transmission. Sercomm also offers some possibilities to recognise hardware errors. Don't be surprised, if you search in vain for the function , which is normal in almost all data transmission programs. Sercomm recognises automatically data, which are incoming over the serial port. The data output must only be started by the machine. For the data transmission between pcïs to an drive unit, there are two functions available, which can be activated quick and easy by the keys F7 and F8. (See also: 3.0 Using Sercomm) 1.1 Features Features: - Send/Receive of ASCII, ISO and EIA Code - Send/Receive of binary files - Enables Behind Tape Read - Handshakes for data transmission: - RTS/CTS Hardware handshake - XOFF/XON Software handshake - XANY/XOFF Laxed software handshake - No Flow Without Handshake - Easy Handling - Automatic recognition of data, which are received over a serial Interface - Integrated editor with multi document interface for easy programming. - Support of serial cards up to 16 interfaces 1.2 Requirements For the use of sercomm version 1.0 is the following requirement necessary. - IBM PC, XT, AT or other compatible computer - MS-DOS 3.0 or higher - at least one serial interface - 2 - 1.3 Installation - Insert your installation disk in the drive - Choice the drive, for example: A:\ - Start the installation program: install - The following files will be copied in your desired directory. - sercomm.exe - sercomm.ini - readme.txt - readme.wri - register.txt - The installation program checks your mousedriver, because sometimes the the mouse is not visible. It only occurs by older or not 100% compatible microsoft mousedrivers. This configuration is saved in the file comm.bat. - Start Sercomm with: c:\comm.bat 1.4 Copyright This software is protected by copyright law and international copyright treaty Copyright (C) 1995 M Tech Dipl. Ing. J. Lindauer, Nuernberger Str. 81, D-90762 Fuerth. All Rights reserved. Therefore you must treat this software just like a book, except that you make archive copies for the sole purpose of backing up our software. Only in the shareware version, you have the permission to give the software to anybody and to use the software for a 30 days trial. You may not rent or lease the software to other persons. You may not charge any fee for the software or documentation. You may not reverse engineer, decompile, or disassemble the software. Specifically, M Tech Dipl. Ing. J. Lindauer makes no representation or warranty that the software or documentation are "errorfree", or meet any user's particular standards, requirements or needs. In no event will M Tech Dipl. Ing. J. Lindauer be liable to you for any damages, including any lost profits, lost savings or other incidental or consequential damages arising out of the use or the inability to use such program, even if M Tech Dipl. Ing. J. Lindauer has been advised of the possibility of such damages or for any claim by any other party. M Tech Dipl. Ing. J. Lindauer makes no warranty by the use of serial cards and sercomm. We only makes a warranty by serial cards, which are tested by us. (See also order.txt) - 3 - Trademarks: IBM, PC, XT, AT are registered trademarks of International Business Corporation MS DOS is a registered trademark of Microsoft Corporation 1.5 Registration Please fill out the file ORDER.TXT and send or fax the order to M Tech Dipl. Ing. J. Lindauer Nuernberger Str. 81 90762 Fuerth Germany Fax: +49 0911/705781 E-Mail: CompuServe: 100672,3314 Internet: 100672.3314@compuserve.com (See also: 6.0 About M Tech) Thank you. 2.0 General tips for data transmission 2.1.1 Communication cable For the RS232 interface: By the use of two 25 pin plugs: 1-------connected with----------1 GND 2--------crossed with-----------3 TxD/RxD 3--------crossed with-----------2 RxD/TxD 4--------crossed with-----------5 RTS/CTS 5--------crossed with-----------4 CTS/RTS 6--------crossed with-----------20 DSR/DTR 20------crossed with-----------6 DTR/DSR 7-------connected with----------7 GND By the use of 9 and 25 pin plugs: 9 polig 25 polig 1-------connected with---------1 GND 3-------connected with---------3 TxD/RxD 2-------connected with---------2 RxD/TxD 7--------crossed with----------5 RTS/CTS 8--------crossed with----------4 CTS/RTS 6--------crossed with----------20 DSR/DTR 4--------crossed with----------6 DTR/DSR 5--------crossed with----------7 GND - 4 - By the use of two 9 pin plugs: 1-------connected with---------1 GND 2--------crossed with----------3 TxD/RxD 3--------crossed with----------2 RxD/TxD 8--------crossed with----------7 RTS/CTS 7--------crossed with----------8 CTS/RTS 6--------crossed with----------4 DSR/DTR 4--------crossed with----------6 DTR/DSR 5-------connected with---------5 GND See also your technical documentation for your drive unit. 2.3 Protocol choice There can be used different protocols for the communication between pcïs and drive units. The following protocols are implemented in sercomm: RTS/CTS hardware handshake: By the use of the RTS/CTS Protocol you must take care that the RTS /CTS wires are connected correctly. This protocol is very fast and save and you can also transmit binary files. You can use this protocol for behind tape read. This means, that you can transmit and execute a program at an machine at the same time, because the program do not fit into the memory of the machine. (For more information please take a look in your instruction manual.) A controlled transmission and execution of machine programs is only possible by a communication with lsv2 procedures. You can get also by M TECH Sercomm for Windows Direct Numeric Control for MAHO CNC 3000, 4000 series including. macro programming for manless production. Direct Numeric Control for SIEMENS RCM3 drive unit see also 4.0 About M-TECH - 5 - XON/XOFF software handshake: By the use of the XON/XOFF protocol, the communication is directed by the send/receive of the signs XON/XOFF. There- fore it is not possible to transmit binary files. The XON/XOFF handshake is supported by the most drive units. You can also use this handshake for behind tape read. But it is not possible to transmit binary files. XANY/XOFF software handshake: It is like the same as the XON/XOFF handshake, but with the difference, that any sign can start the transmission again. NO FLOW: The data will be transmitted without handshake. This means, that the receiving part (machine or PC) must be quick enough to get all data. NO FLOW should only be used, if there is no other possibility to use an handshake. 2.4 ASCII, ISO, EIA, Binary Sercomm differs by the transmission between ASCII, ISO, EIA and binary files. ASCII and ISO are widely spread used data formats for generating programs. EIA should only be used by reading an perforated tape. It is recommended to use EIA only for reading existing tapes and not for formal use. Because some drive units do transmit compiled binary files, you can change sercomm in the menu in the binary mode. After our experience, many drive units use the following transmission parameters: ASCII: 8 databits, no parity ISO: 7 databits, even parity The parameters for baudrate, protocol and stopbits must be selected according to the machine constants or the instruction manual . 2.6 Behind tape read For executing big files, which do not fit into the memory of the drive unit, it is necessary, that the pc recognise, if the drive unit do not accept more data. Therefore the function in the menu should be activated at the first time. - 6 - 3.0 Using Sercomm After the start of sercomm the standard configuration file sercomm.ini will be load and the ports will be initialised. If there is no input, sercomm checks the serial interfaces of incoming data. As soon as data are acquired, sercomm displays a window, that it is receiving data. After the finish of the transmission, sercomm open the file in a new edit window. If the file is too big, you will be asked for a file- name to save the file. 3.1 Menu File The menu file contain the functions like , or . Additional it is possible to change the working directory by selecting the menu . 3.2 Menu Edit You can use the normal functions like cutting, copying, insert and delete. There is also an UNDO function implemented. 3.3 Menu Search Enables the search, replace and the repeated search of text in the active window. 3.4 Menu Transmit 3.4.1 Transmit window Transmit the active window to the drive unit. If there is more than one serial Interface configured, you can take a choice about which interface to which machine you would like to transmit. The drive unit must be ready to receive data. 3.4.2 Transmit File After the choice of a filename, the file will be transmitted.. If there is more than one serial Interface configured, you can take a choice about which interface to which machine you would like to transmit. The drive unit must be ready to receive data. 3.4.3 ASCII, ISO, EIA The files will be transmitted in ASCII, ISO and EIA format. 3.4.4 Binary Mode The files will be transmitted in binary mode - 7 - 3.5 Menu Configuration 3.5.1 Ports In the menu the communication parameters will be selected. - Choice the desired port - Select the parameters for protocol, databits, baudrate, parity and stopbits. - Put in the field the string for the machine (for example machine 1). If you do not define your output, sercomm do not check this port for data. If a port is not installed or if you don't want to use a port for data transmission (like the mouse port) put in or (Do not use>. - Select in the selection field the handling of the line feed. The most drive units do not need CR/LF. - If the setting of the parameters is all right, accept the parameters by pushing the button . If you do not accept your input, the information get the old values, if you change selecting another port. - After you have configured all desired ports, you can save the parameters by selecting the button . In this case, the active configuration file will be overwritten. A new configuration file can be saved with the button . With all active ports will be initialised. By selecting the button the configuration will be cancelled. 3.5.2 Load Configuration This menu allows you to load an already existing configuration file. The active ports will be initialised automatically. 3.5.3 Mouse Some functions to optimise your mouse. 3.5.4 Standard Mode The standard mode is selected by default after starting sercomm. During data transmission an information window appears. 3.5.5 Test Mode In the test mode you can see all transmitted characters at the screen. Text data will shown as text and binary files as points. Because it takes some time to display the characters on the screen, the data transmission will be a little bit slower. Therefore it is recommended to use the only by checking up a new connection. The test mode is possible by the transmission of files and at the receiving of files. - 8 - 3.6 Menu Window This menu contains the function for the handling of the window, like next window, tile or cascade window. A zoomed window can be minimised through clicking the below right corner with the mouse and attaching moving of the mouse. By clicking of the top of the window, you can move the window and by selecting the arrow in the right upper corner, the window already is zoomed to full size. 3.7 Command line options Sercomm can be started with the following options. Sercomm /? Shows some information about the options Sercomm /m Starts sercomm with microsoft mouse support (default) Sercomm /g Starts sercomm with genius mouse support Sercomm /o Starts sercomm for all other mouse drivers 4.0 About M Tech You can get also by M Tech Sercomm (WIN) DNC-Communication for MAHO CNC 3000, 4000 including Macro- programming for manless manufacturing. (WIN) DNC-Communication for SIEMENS RCM3 drive unit (DOS) Changes and accommodation to specific manufacturing areas are possible at all times. If you need more informations about serial cards, which are supported by sercomm, give us a little message. M Tech Dipl. Ing. J. Lindauer Nuernberger Str. 81 90762 Fuerth Germany Fax: +49 0911/705781 E-Mail: CompuServe: 100672,3314 Internet: 100672.3314@compuserve.com - 9 -