Service USB Manual.010
Total Page:16
File Type:pdf, Size:1020Kb
Service USBService Anleitung USB manual Bönig und Kallenbach oHG page 1 Service USB manual Service USB RS232 • Service USB plus • Service USB classic • Service USB core Version 2.5 from 02.05.2009 Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB manual Bönig und Kallenbach oHG page 2 1. Description 5 2. Service USB plus 6 2.1 System requirements 6 2.2 Scope of delivery 6 2.3 Hardware description 7 2.4 Function of the sockets 9 2.4.1 Usage of the cable clamp 11 2.4.2 Sub D 25 pinout 12 2.4.3 RS232 pinout 13 2.4.4 Digital outputs 15 2.4.5 Digital inputs 15 2.4.6 Analogue inputs 16 2.4.7 Mains supply 17 2.4.8 USB-Connector 17 2.5 Light emitting diodes 17 2.6 Technical information 18 2.7 Schematic diagrams 19 3. Service USB classic 21 3.1 System requirements 21 3.2 Scope of delivery 21 3.3 Recommended accessories 22 3.4 fischertechnik® construction kits 22 3.5 Hardware description 22 3.5.1 The funktion of the sockets and lamps 25 3.5.2 The serial RS232 interface 27 3.6 Technical Information 28 3.7 Schematic diagrams 29 4. Service USB core 31 4.1 System requirements 31 4.2 Scope of delivery 31 4.3 Hardware description 32 4.4 Dimensions and connectors 33 4.5 Connection with ribbon cable 34 4.6 USB-Anschluss 34 4.7 The light emitting diodes 35 4.8 Technical information 35 4.9 Schematic diagrams 36 5. Service USB RS232 38 5.1 System requirements 38 Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB manual Bönig und Kallenbach oHG page 3 5.2 Scope of delivery 38 5.3 Recommended accessories 39 5.4 Hardware description 39 5.5 Technical information 40 5.6 Schematic diagrams 41 6. Sample circuits for Service USB Plus 42 6.1 Sample circuit for the digital inputs 42 6.2 Sample circuits for the analogue inputs 43 6.2.1 Example of measuring resistance 43 6.2.2 Example of measuring voltage 44 6.2.3 Input voltage range enhancement to 10V 45 6.2.4 Example of measuring current 45 6.2.5 Example of measuring current up to 1 Ampere 46 6.2.6 Accuracy of the analogue inputs 47 6.2.7 Sample circuits for the digital outputs 47 6.2.8 DC-Motor connection 48 6.2.9 Stepper Motor connection 50 7. Software 53 7.1 Start up 53 7.2 Applications 55 7.3 Command syntax 55 7.4 Description of the basic commands 59 7.4.1 Commands for the RS232 interface 66 7.4.2 Pulse width modulation (analogue value output) 70 7.4.3 Use the lower digital inputs as outputs 74 7.4.4 Usage of the additional analogue inputs 74 7.5 Enclosed software 76 7.5.1 The installation program „SERVICE USB.pkg“ 76 7.5.2 The „Runtime Revolution“ folder 77 7.5.3 The „Fischertechnik“ folder 77 7.5.4 The „RealBasic“ folder 78 7.5.5 The „4th Dimension“ folder 79 7.5.6 The „Director“ Folder 79 7.5.7 The „AppleScript“ folder 79 7.5.8 The „Filemaker“ folder 80 7.5.9 The „Ragtime“ folder 80 7.5.10 The „Xcode“ folder 80 7.5.10.1 The „UNIX“ folder 81 7.5.10.2 The „RS232 Terminal“ folder 81 Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB manual Bönig und Kallenbach oHG page 4 7.5.10.3 The „AppleScriptStudio_Cocoa“ folder 83 7.5.10.5 The „Pulse width“ folder 83 7.5.11 The „Java“ folder 83 7.5.12 The „Testprograms“ folder 83 7.5.13 The „MaxMSP“ folder 84 7.5.14 The „teach robot“ folder 84 7.5.15 The „Step motor“ folder 84 7.5.16 The „Numbers“ folder 84 7.5.17 The „TCP/IP“ folder 85 7.5.18 The „POS“ folder 86 7.5.19 The „Scratch“ folder 86 8. Troubleshooting 87 8.1 Der Bootprozess, laden der Firmware 87 8.2 The green LED did not glow 87 8.3 The green LED glows 91 8.4 Error numbers 93 8.5 Service USB return value is mostly 88 94 9. Manufacturer's declaration of conformity 95 Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB description Bönig und Kallenbach oHG page 5 1. Description The name SERVICE is an amalgam of "serial variable interface." It is a line of universal interfaces with digital inputs, digital outputs as well as analog inputs and one RS232 serial connector. The inter- faces can be connected in cascade to get more in- and outputs. Depending on the model it is best used for controlling fischertech- nik -construction-kits, motors, lamps, relays, solenoids push- buttons switches and serial devices like receipt- or barcode print- ers. The diference between all three designs is shown in the table below: Product Service Service Service Service USB plus USB clas- USB core USB sic RS232 Digital inputs 8 8 4 1 +5* Digital outputs 8 x 12V/ 8 x 9V/ 4 1 1,3A 0,2A +8* Analog inputs 2 2 0 0 +6* +2* RS232 1 1 0 1 Power supply built in Plug power from USB from USB 115/230V pack Housing Aluminium Plastics open frame Sub D 25 connector Intended use Complete fischertech- Base for self USB/RS232 box for nik® developed converter profession- electronics Receipt als printer Service USB series *Additional In- and Outputs with a few constraints Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB plus Bönig und Kallenbach oHG page 6 2. Service USB plus Owners of other interfaces than Service USB plus can neglect the following chapter. Service USB plus is the professional version of his "small brother" Service USB classic and is best used in laboratories, fairs and for in- dustrial purposes. It has an integrated wide range power supply and can be used all over the world on every power outlet. The digi- tal outputs can directly drive lamps, relays and motors up to 15 watt. The Pulse width modulated outputs allow diferent motor speed and brightness of lights. The inputs can retrieve the status from switches and push buttons as well as the analog value from sensors in the range of 0-4.095V. The scope of delivery includes a lot of Software, so that you can use the Interface of nearly every Macintosh-Program. 2.1 System requirements A Macintosh with USB and OSX 10.3 to 10.5 is required to operate Service USB plus. For using the 12V/1.3A power outputs, the inter- face must be connected to a 115V or 230V power outlet. More than 100 Service USB plus can be controlled of one Macintosh 2.2 Scope of delivery • Service USB Plus (the interface) • USB A/B cable • power plug cord (available with EU, GB and US connector) • CD-ROM with driver and a lot of sample programs • OSX-Examples for Runtime Revolution, RealBasic, Apple- Script, FileMaker, RagTime, Xcode (C, C++, Objective-C, Co- coa, Java, AppleScriptStudio), 4th Dimension, MaxMSP, Adobe Director, BlueJ, Scratch, TCP/IP, Numbers and the UNIX-Shell. Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB plus Bönig und Kallenbach oHG page 7 Furthermore you will find Quicktime-Films about the supported fischertechnik®-Modells, and a detailed instruction manual. 2.3 Hardware description This is Service USB plus top view including all connectors and con- trol lamps: Service USB plus top view Here is the detailed description of all connectors and lamps: • One USB connector on the right. Most functions are powered by this. Only the outputs are powered by the built in power supply, because the USB does not deliver enough power for this function. • One green LED „USB“. It must glow all the times, if the Macin- tosh- Driver can correspond to the Service USB plus - this LED will show the correct function. • One green LED „12V“ is connected to the internal 12V power supply. The power supply is only used for the digital outputs. If this LED is switched on, the outputs can be used. • Two red light bars with four LEDs each show the value of the analog inputs. Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB plus Bönig und Kallenbach oHG page 8 • Sixteen red LEDs show the status of the digital inputs and out- puts. • 21 cable clamps are mounted to the top for a fast connection of single wires and cords. All eight digital inputs, eight digital out- puts and two analogue inputs are connected to this clamps as well as GND, 5V and 12V. • One Sub D25 male connector on the upper left is connected with the same signals as the cable clamps. • One SUB D9 male connector on the lower left is the RS232 gate- way. The RS232 can send and receive up to 19200 Baud. It is not possible to control the interface via RS232. The RS232 is con- trolled by the Macintosh and is used for connecting serial de- vices. In addition there are lead through a 5V auxiliary voltage and some inputs and outputs . Bönig und Kallenbach oHG • Dortmund • www.bkohg.com Service USB plus Bönig und Kallenbach oHG page 9 2.4 Function of the sockets 0V 0V EX 5V 12V In1 In3 In5 In7 Out1 Out3 Out5 Out7 0V EY 0V 12V In0 In2 In4 In6 Out0 Out2 Out4 Out6 Out7 Out6 Out5 Out4 Out3 Out2 Out1 Out0 In7 In6 In5 In4 In3 In2 In1 In0 12V 5V EX EY GND 1 14 50/60Hz 115/230V 12V USB RS232 1 USB 6 Out8 Rx Tx In10 GND HSKi Hsko Out9 5V Service USB Plus connectors and control lamps 0V All voltage instructions refer to this connection.