Home

Serial communication with PCs

image

Contents

1. Serial communication with PCs uli COM ese a Pon a a T D LANA a m a m a E Pall ii Multi COM The communication allrounder Modem day automation technology includes numerous tasks excellently suited for PC pro cessing However the two lonely RS 232 standard interfaces with which a PC usually provides do not exactly predestine it for so phisticated communication services More over it is mostly the more powerful variants of the RS 422 or RS 485 type which are re quired for industrial purposes with electrical isolation where necessary In place of abso lute voltage levels these latter work with dif ferential voltages thus rendering them less susceptible to interference as well as en abling them to bridge significantly longer dis tances RAM ROM EEPROM 486 CPU Watchdog Timer Interrupt Controller Clock PC interface Sophisticated protocol handling may sub stantially downgrade a PC s performance especially when more than one interface has to be served simultaneously If in addition to this real time requirements also apply for certain processes the usual PC standard hardware operating system configuration will definitely soon come up against its limits In cases like this the most expedient techni cal option is to assign time critical tasks and communication sequences to a subsystem operating in parallel thus freeing sufficient computing capac
2. SL 232A i e RS 232 up to 220 kBaud e Modem control lines TMT RCV RTS CTS DTR DSR RI DCD Additional functions Additional EXT RS 232 line as clock input 1 RI as clock input 2 SL 485 ck kB a wl e RS 232 up to 220 kBaud e Modem control lines TMT RCV RTS CTS DTR DSR RI DCD e Additional EXT RS 232 line as clock output e RS 485 isol e Up to 12 M Baud e Suitable for PROFIBUS e Additional TTL output indi cates transmit receive e g for ext transceiver RS 422 up to 10 M Baud Modem control lines TMT RCV RTS CTS Additional functions CTS as clock input RTS as clock output 20 mA isol up to 38 4 kBaud Current loop 2 constant current sources provided by the S Link Can be passively or actively configured if passively then electrically isolated e RS 422 isol up to 10 M Baud Modem control lines TMT RCV RTS CTS Termination resistors can be switched into circuit on the S Link Additional functions CTS as clock input RTS as clock output SL LWL e Connection for plastic SL LWL P or glass fiber optic link SL LWL G e Cable length up to 1000 m e JIS plug connector system from Toshiba e RS 485 up to 12 M Baud e Switchover from transmit to receive either under software control or automatically e g for SDLC HDLC e With its own Intel CAN controller Transmission rate of up to 1 Mbits s e 11 bit and 29 bit identifiers e Elec
3. RS 232 serial interface additional CLK output SL 232i S Link for an RS 232 serial interface electrically isolated SL 422 S Link for an RS 422 serial interface SL 422i S Link for an RS 422 serial interface elecrically isolated SL 485 S Link for an RS 485 serial interface SL 485i S Link for an RS 485 serial interface electrically isolated SL DPSi S Link for a PROFIBUS DP slave connection electrically isolated SL CANi S Link for CAN bus electrically isolated SL 2SSli S Link for 2 synchronous serial interfaces Stegmann compatible 2 channels FM 2585 SL TEST S Link for testing all other S Links Manuals and Software One FM 2226 Manual is included in the board s scope of delivery FM 2181 Additional User M anual for the M ulti COM German FM 2226 Additional User M anual for the M ulti COM English FM 2231 FM 2324 FM 2325 FM 2232 FM 2233 FM 2234 FM 2237 FM 2238 FM 2268 FM 2269 FM 2270 SW 1442 3964 R protocol Siemens S5 single licence general lincence on request MA 1529 User M anual for the SCC 85C30 and 85230 English Accessories for Multi COM One FM 2229 plug connector is included in the board s scope of delivery K2 6259 Shielded cable 1 5 m long for the Multi COM one end with 62 pole D Sub min plug connector the other end with five 9 pole D Submin plug connectors K3 6260 Shielded cable 3 0 m long for the Multi COM one end with 62
4. operation without PC Local CPU up to 133 MHz Temperature and fan 10 timers monitoring 5 multi purpose serial interfaces configurable with S Links Possible physical interfaces E RS 232 and RS 232 iso RS 422 and RS 422 iso RS 485 and RS 485 iso Real time multi tasking b 9 Po Pe a operating system aah Ch he Nhe as he ee Mh ie Ha Clock watchdog Intelligent basis The Multi COM board for the ISA bus con tains a complete computer with comprehen sive peripherals on a PC expansion board The board can work independently of the PC meaning genuine parallel processing is pos sible up to 8 boards in one PC A 486 or 586 CPU clock frequencies cur rently up to 133 MHz operates on the M ulti COM board this CPU can be used for pro cessing communication protocols for ex ample A static and or dynamic RAM serves for storing the communication programs and for buffering transmit receive data The board is available with a max RAM size of 34 MByte An EPROM contains the Multi COM board s operating system A watchdog timer monitoring features for the fan CPU tem perature and operating voltage ensure an ap propriate response to any error occurring For example important data can still be saved in the event of a power loss 10 timers each with interrupt capability are also provided as is a real time clock for date and time likewise bufferable The M ulti COM board can also be run in stand alon
5. charge The operating systems and compilers sup ported are included in the listing below to gether with their versions If the compiler you re using is not mentioned there please get in touch with SORCUS Operating systems and programming languages supported MS DOS E Borland C as from Version 3 1 E Microsoft C as from Version 8 0 E Watcom C as from Version 10 0 E Borland Pascal as from Version 6 0 also Protected Mode Windows 3 x E Borland C as from Version 3 1 E Borland Pascal Version 7 0 Borland Delphi as from Version 1 0 E Microsoft Visual Basic as from Version 3 0 Microsoft Visual C as from Vers 1 0 Watcom C as from Version 10 0 Windows 95 98 and Windows NT E Microsoft Visual C as from Vers 4 0 E Borland C as from Version 5 0 Microsoft Visual Basic as from Vers 4 0 Borland Delphi as from Version 2 0 E DASYLab Under preparation E LabView drivers 1Q99 Real time programming All SORCUS boards provide their own micro processor running an operating system with real time capabilities OsX This enables genuine parallel processing with the PC to be implemented which is more or less essen tial if data are to be acquired and processed in real time especially when modem day PC operating systems like Windows 98 or NT are being used Data acquisition and commu nication tasks can be run on the board in com plete independence of the PC thus freeing your PC to handl
6. e CAN controller on the S Link MO49TASK ensures that messages are received and transmitted over the CAN bus The applica tion software communicates with MO49TASK by function calls which can be made both from the PC and from the board in real time Fax Order Form to 49 0 62 21 32 06 66 Company Date Name Department Please print name PO Box Street Ordering No City Post Code Signature Stamp Ordering No Brief description Total price Multi COM with 6 serial interfaces S Links must be ordered separately EM 2140 Multi COM intelligent PC board with a 486 DX2 CPU 66 M Hz intemal 512 kB static RAM including fan manual and connector EM 2173 Multi COM intelligent PC board with a 586 133 CPU 133 MHz internal 2 MB static RAM including fan manual and connector Multi COM intelligent PC board with a 586 133 CPU 133 MHz internal ESCC 85230 10 MB RAM 2 MB static and 8 MB dyn including fan manual and connector Multi COM intelligent PC board with a 586 133 CPU 133 MHz internal ESCC 85230 34 MB RAM 2 MB static and 32 MB dyn including fan manual and connector EM 2224 EM 2592 S Links for Multi COM FM 2230 SL 20M A S Link for a 20 mA serial interface current loop active or passive if passive then electrically isolated SL 232S S Link for an RS 232 serial interface SL 232A i S Link for an RS 232 serial interface additional CLK input SL 232A o S Link for an
7. e mode Configurable interfaces The board contains a total of 6 serial commu nication interfaces and can be used for even the most complex communication jobs For instance it can be equipped with RS 232 RS 422 RS 485 CAN etc since the communi cation interfaces can be configured channel by channel using plug on micro modules also referred to as S Links There is likewise up to 34 MByte RAM an option for implementing a fiber optic inter face The S Links job is to match the respec tive signal levels and to provide electrical isolation for the interfaces A total of five S Links can be plugged on S Links for the Multi COM RS 232 RS 232 iso RS 422 RS 422 iso RS 485 RS 485 iso 20 mA current loop Optical fiber CAN iso CAN controller incl PROFIBUS iso Slave controller incl SSI iso 2 channels The sixth serial interface is a complete RS 232 interface with all modem control lines Each interface possesses its own baudrate generator and a DPLL with the following op erating modes asynchronous synchronous HDLC SDLC monosync and bisync A basic program for buffered serial communication is available for synchronous and asynchronous communication tasks And numerous com munication protocols are already available too such as 3964 R etc Compatible with MODULAR 4 486 A special advantage particularly for those users already familiar with the programming 20 mA iso Optical fib
8. e other tasks like visualiza tion and storage jobs The OsX multi tasking operating system en ables more than one process task to be ex ecuted simultaneously on a single board Real time programs running as tasks on the board are very easy to program for you as the User data Transmission MO49TASK elects calls associated procedure task Reception object 1 Multi COM SL CANi with CAN Controller CAN bus MESSAGE X MESSAGE 1 programming protocols CAN user since you can access Borland s and Microsoft s standard compilers Pascal or C during programming A specific devel opment environment is not necessary Developing your own programs To develop your own real time programs you have to proceed in three steps 1 Enter and compile the real time program concemed under Microsoft or Borland C or Borland Pascal 2 Transfer the program onto the Multi COM board 3 Test and debug the real time program with the Borland source code debugger remote debugging Transmission object 3 Transmission object x SL CANi receives message and calls MO49TASK MESSAGE Y Messages are sent via the CAN bus SL CANi receives and transmits messages The messages are supplied from and to MO49TASK M O49TASK passes on the user data received from the associated applications or forwards user data to the associated applications Structure of real time programs A real time program s structure resembl
9. er link CAN iso PROFIBUS iso etc RS 232 of SORCUS boards is the Multi COM board s compatibility with the widely used MODU LAR 4 486 boards from SORCUS The M ulti COM board basically corresponds to a MODULAR 4 486 board which is fitted with three M COM 2 communication modules The serial interfaces have been implemented with a total of 3 SCC building blocks Z85C30 resp Z85230 extended version with larger FIFOs And a programmable quartz oscillator for the communication interfaces is addition ally provided on the Multi COM Thus all existing programs are compatible and can also be used on the Multi COM board The board s EPROM contains a real time multi tasking operating system for up to 1024 tasks This operating system is used on all SORCUS boards and is excellently suited not only for communication jobs but also for other functions as well for example in addi tion to communication activities further real time programs for open and closed loop con trol as well as monitoring functions can be utilized such as digital PID controllers Fast Fourier transformations etc There is an op tion for writing your own programs intended to run as a task on the Multi COM using the familiar PC development environments with out the need for a specific development tool Drivers for MS DOS Windows 3 x Windows 95 98 and Windows NT are also included in the MultitCOM board s scope of delivery as are libraries and DLL
10. es that of a DOS program except that the pro gram code has been subdivided into what are called task procedures Task procedures can be called from other tasks on the board or from the PC as well e g to start or abort transmit or receive functions In addition to the task procedures the program also com prises what are called the parameter area and the data area The parameter area will nor mally contain configuration and parameteriz ing data definable by the user like baudrate parity etc The data area can be used to ac commodate the user data As with the task procedures here too other tasks on the board and the PC can very easily access parameters and data The Multi COM board s libraries provide a variety of functions for this purpose The completely compiled real time program can be transferred onto the M ulti COM board either with the PC utility programs supplied or from one of the user programs by means of the PC libraries supplied Debugging real time programs You can use the Turbo Debugger from Borland to test the real time program devel oped exhaustively This debugger enables a real time program to be debugged just like a PC program at the source code level All the Turbo Debuggers features such as breakpoints watch variables etc are of course available for this purpose CAN You must install the MO49TASK driver soft ware supplied on the Multi COM for operat ing the SL CANi S Link Together with th
11. et An application program or a superimposed protocol software package accesses the ba sic communication facility with function calls Basic communication functions can be uti lized both by PC and real time programs on the board All the requisite commands are included in the high level language libraries supplied with the board You can use similar libraries for the Multi COM board as for the MODULAR 4 486 board High level language libraries These offer the opera tor a user friendly inter face for communicat ing from the PC with Multi COM boards and are available for a vari ety of programming languages like C Pas cal and BASIC and for different operating systems such as MS DOS Windows 3 x Windows 95 98 and Windows NT You can serve up to eight boards from one library The libraries handle the following tasks configuring the board loading real time programs onto the board data exchange between board and PC error handling interrupt handling Portability The functionality of the libraries is the same for the various PC operating systems which means that a particular application program once it has been developed can easily be ported onto a different operating system Scope of delivery All high level language libraries plus the cor responding drivers are included in the boards scope of delivery The current library versions are also available at any time in the Internet www sorcus com free of
12. inutes seconds bufferable with external battery interrupt capability 1 64 sec 1 sec 1 min 1 h Included in the board s EPROM With real time capabilities max 1024 tasks interrupt tasks timer initiated tasks and non interrupt tasks 5 V measured with 586 133 MHz fan and LED off without S Links 18A 12 V 0 2 mA 12V 0 2 mA 5V not connected Board measured without slot plate and D Sub plug connector 106 mm x 158 mm Temperature optional 0 to 55 C 70 C Humidity not condensing 5 to 95 SLinks for Multi COM The Multi COM provides five slots for S Links S Links are plug on micro modules with a stan dard connection pattern for serial interfaces which enables all commonly used signal levels to be configured Installation and or replacement of S Links can be performed by the customer S Links are available with or with out electrical isolation And there is also an option for plugging on a fiber optic S Link S Links are au tomatically recognized by the Multi COM board and the serial interfaces concemed are initial ized appropriately SL 232A o SL 232S RS 232 up to 220 kBaud Modem control lines TMT RCV RTS CTS DTR DSR RI DCD Additional functions RI as clock input CTS as clock input RTS as clock output e RS 232 isol up to 220 kBaud e Isol modem control TMT RCV RTS CTS e Additional functions CTS as clock input RTS as clock output SL 422i lines
13. ities on the PC for the user interface to save evaluate and graphically edit the results Block diagram of the M ulti COM board Stl S Link e SCC S Link e S Link e SCC S Link S Link e SCC es RS 232 St3 Special characteristics Intelligent PC board with its own CPU and peripherals E The board s local CPU works in parallel with the PC s CPU E Available with 486 or 586 CPU up to 133 MHz E Up to 34 MByte RAM DRAM 8 or 32 MByte and bufferable SRAM 512 kByte or 2 MByte E Watchdog NMI and RAM buffer ing logic on board E 10 timers each with interrupt ca pability E Time and date real time clock E 6 serial interfaces async sync HDLC monosync bisync and other protocols pos sible baudrate generator and DPLL for each channel E 5 hardware interfaces individually configurable customer specific as well RS 232 RS232 iso RS 422 RS 422 iso RS 485 RS 485 iso 20 mA iso CAN iso PROFIBUS iso optical fiber link E 1RS 232 interface E OsX real time multi tasking ope rating system on board in the EPROM or in the Flash EPROM E Drivers for MS DOS Windows 3 x Windows 95 98 and NT in cluded in the package E Communication protocols avail able e g 3964 R E Libraries for developing user pro tocols included in the scope of delivery H 100 compatible with MODU LAR 4 486 with 2 or 3 M COM 2 modules E Short PC board for 16 bit ISA slot option for stand alone
14. pole D Sub min plug connector the other end with five 9 pole D Submin plug connectors Additional 62 pole D Submin plug connector with hood for the M ulti COM Serial connection cable for Interface B debug cable 1 5 m long 3 pole Mini DIN to 9 pole D Sub FM 2229 K2 4003 K3 5003 Serial connection cable for Interface B debug cable 3 0 m long 3 pole Mini DIN to 9 pole D Sub Total amount dispatch charges Your local distributor lt S Sum total of invoice SORCUS Computer GmbH Im Breitspiel 11 D 69126 Heidelberg Phone 0 62 21 32 06 0 Fax 0 62 21 32 06 66 Hotline 0 62 21 32 06 32 www sorcus com SORCUS
15. s for all commonly used high level languages Multi COM Technical data CPU RAM ROM EEPROM Timers Serial interfaces 586 133 MHz or 486 DX2 66 Max 34 MByte static 512 kByte or 2 M Byte battery bufferable dynamic 8 M Byte or 32 M Byte EPROM or FlashEPROM up to 512 kByte 128 words serial 3 timers with a width of 16 bits programmable input frequency 1 MHz 2 5 MHz or 10 MHz with interrupt capability 6 timers in the SCCs and one in the real time clock 6 of which 5 configurable with S Link to 62 pin D Sub connector 1 RS 232 with all modem control lines to 3 pin Mini DIN plug connector and 20 pole plug connector SCC 85C30 resp ESCC 85230 Max Baudrate S Link slots Interrupts Voltage monitoring Temperature monitoring Fan monitoring PC interface Clock Multi tasking operating system Power consumption Dimensions Compatibility programmable quartz oscillator 1 2 M Baud async 5 Mbits s sync applies for EM 2224 and for EM 2592 see last page 5 Max 15 some of them also available extemally Two response thresholds 4 8 and 4 65 V NM I triggering buffering of RAM and real time clock The CPU temperature is measured and monitored with interrupt triggering Speed monitoring with interrupt triggering and software based fan control 16 bit parallel bidirectional with interrupt capability locally and to the PC Date day month year weekday and time hours m
16. trically isolated from the CAN bus e Including software Programming High level language libraries and real time Protocols All the Multi COM s communication inter faces can be operated with a wide variety of protocols Those available from SORCUS include for example 3964 R GE Fanuc and Bosch LSV2 There is also an option for developing your own protocols Each serial interface provides its dedicated baudrate generator and aDPLL The possible operating modes are as follows asynchronous synchronous HDLC SDLC Monosync and Bisync When the appropri ate S Links are plugged on PROFIBUS and CAN can also be implemented For this purpose SORCUS supplies ready to use communication programs which facilitate integration into the software The SL CANi CAN bus S Link Synchronous and asynchronous communication A basic program CQ6 for buffered serial communication is available for synchronous and asynchronous communication jobs You can implement user specific protocols very easily on the basis of this software Basic communication is set up on the PC using a utility program and installed on the Multi COM board At the bottommost level the CQ6 supports the following settings e g for asynchronous communication 5 to 8 data bits 1 1 5 or 2 stop bits With or without parity even or odd Handshake per XON XOFF or with RTS CTS Baudrates of 110 to 115 200 Baud Size of the transmit and receive buffers can be s

Download Pdf Manuals

image

Related Search

Related Contents

80 T1 120Mbps Digital Access Cross Connect Switch  Emulex® Drivers Version 10.2 for Windows  Panasonic HDC-SD40 hand-held camcorder    ma bible brûle-graisses ma bible brûle-graisses  manuale d`uso - Direttiva391.it  取扱説明書 離コ・ド    

Copyright © All rights reserved.
Failed to retrieve file