MCC MIIC-203 Bedienungsanleitung

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung MCC MIIC-203 an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von MCC MIIC-203, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung MCC MIIC-203 die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung MCC MIIC-203. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung MCC MIIC-203 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts MCC MIIC-203
- Den Namen des Produzenten und das Produktionsjahr des Geräts MCC MIIC-203
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts MCC MIIC-203
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von MCC MIIC-203 zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von MCC MIIC-203 und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service MCC finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von MCC MIIC-203 zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts MCC MIIC-203, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von MCC MIIC-203 widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 1

     TM !479,12 User’s Guide RS-232 to I 2 C Host Adapter w ith ASCII Fast Mode Interface with iPort Utility Pack for Windows www. m c c - u s . c o m[...]

  • Seite 2

    Introduction The MCC iPort/AFM (#MIIC-203) RS-232 to I 2 C Host Adapter with ASCII Fast Mode Interface allows any PC, Host Computer, or Data Terminal with an RS-232 port to become an I 2 C Master or Slave device, transmitting or receiving I 2 C messages to one or more I 2 C devices across an I 2 C Bus. This user’s guide describes the installation[...]

  • Seite 3

    Copyright© 2002 by Micro Computer Control Corporation. All rights reserved. No part of this publication may be reproduced by any means without the prior written permission of Micro Computer Control Corporation, PO Box 275, Hopewell, New Jersey 08525 USA. DISCLAIMER : Micro Computer Control Corporation makes no representations or warranties with re[...]

  • Seite 4

    Table of Contents: Part 1 RS-232 to I 2 C Host Adapter w/ASCII Fast Mode Interface Overvi ew .............................................................. 8 i P o r t / A F M A d a p t e r ................................................. 8 iPort Utility Pac k Softwa re ........................................... 8 Program me r ’ s R e f e r e n[...]

  • Seite 5

    M a s t e r O p e r a t i o n s ................................................. 2 6 T o M a s t e r T r a n s m i t D a t a ....................................... 2 6 To Mast er Receive Data ........................................ 2 7 S l a v e O p e r a t i o n s .................................................. 2 8 T o S l a v e T r a n s m [...]

  • Seite 6

    i N t e r r u p t S i g n a l A s s e r t ......................................... 4 6 i N t e r r u p t S i g n a l R e l e a s e ....................................... 4 6 i P o r t / A F M P r o m p t s ................................................ 4 7 i P o r t / A F M R e a d y ............................................. 4 7 Slave N ot [...]

  • Seite 7

    8 Part 1 Model MIIC-203 RS-232 to I 2 C Host Adapter w/ASCII Fast Mode Interface Model MIIC-203[...]

  • Seite 8

    9 RS-232 to I 2 C Host A dapter w /A SCII Fast Mode Interface Ov erv iew The MCC iPort/AFM (#MIIC-203) RS-232 to I 2 C Host Adapter with ASCII Fast Mode Interface allows any PC, Host Computer, or Data Terminal with an RS-232 port to become an I 2 C Master or Slave device, transmitting or receiving I 2 C messages to one or more I 2 C devices across [...]

  • Seite 9

    10 RS-232 Serial Port Connector Packing Slip This package includes the following items: • iPort/AFM (#MIIC-203) RS-232 to I 2 C Host Adapter with ASCII Fast Mode Interface. • 4 Foot I 2 C Interface Cable. (#CAB4) • 1Ft. /INT-Trigger Cable (#AXM-12G) • Serial Port Cable, 9F/25M, 1 Foot Long. (#C9F25M1) • 1Ft. /INT-Trigger Cable (#AXM-12G) [...]

  • Seite 10

    11 DB-25 Serial Port Pinout DB-25 Pin 2, Transmit Data from the Host Computer to the iPort DB-25 Pin 3, Receive Data from the iPort to the Host Computer. DB-25 Pin 4, Request to Send from the Host Computer to iPort. DB-25 Pin 5, Clear to Send from the iPort to the Host Computer. DB-25 Pin 7, Ground between Host Computer and iPort DB-9 Serial Port P[...]

  • Seite 11

    12 3. I 2 C Interface Connector The iPort/AFM Host Adapter includes a four wire, positive locking, modular connector (see Appendix A for more info on these parts) for interfacing to an external I 2 C Bus. Lines provided include I 2 C Clock (SCL), Data (SDA), Ground, and +5VDC. Receptacle C onnector An I 2 C Interface Cable (White=SCL, Red=+5VDC, Gr[...]

  • Seite 12

    13 Hardw are Configuration Pull-up Resistors The iPort/AFM Host Adapter includes a slide switch used to enable or disable internal 1.8K ohm Pull-Up resistors on the SCL, SDA, and INT lines. Every I 2 C Bus system must have at least one Pull-Up on each line. Use this switch to configure the iPort/AFM appropriately for your sy stem. Connecting to a 3[...]

  • Seite 13

    14 Part 2 iPort Utility Pack for Windows V5[...]

  • Seite 14

    15 iPort Utility Pack for Windows 1. Introduction to Utility Pack This product includes two (2) Windows applications (Message Manager and Message Center) that help a user get started sending and receiving I 2 C Bus messages quickly. iPort Message Center The iPort Message Center operates with all versions of the iPort I 2 C Bus Host Adapter. With th[...]

  • Seite 15

    16 iPort Message Manager The Message Manager operates with all versions of the iPort I 2 C Bus Host Adapter. Using this program you can perform all four (4) modes of I 2 C Bus messages activity, including: • Master Transmit • Master Receive • Slave Transmit • Slave Receive[...]

  • Seite 16

    17 2. System Requirements a. One of the following: 1. iPort (#MIIC-201) Windows to I 2 C Bus Host Adapter. 2. iPort/AI (#MIIC-202) RS-232 to I 2 C Bus Host Adapter with ASCII Interface 3. iPort/AFM (#MIIC-203) RS-232 to I 2 C Bus Host Adapter with ASCII Fast Mode Interface. b. Windows 95 or higher c. 1 free RS-232 Serial Port. 3. Softw are Installa[...]

  • Seite 17

    18 iPort Message Center for Window s Introduction to Message Center The iPort Message Center supports I 2 C Master Transmit and Receive activities for all versions of the iPort I 2 C Bus Host Adapter. With this program you can create, save, and execute scripts of I 2 C Master messages. The MCC iPort Message Center Software, w hen used with an MCC i[...]

  • Seite 18

    19 Opening Screen Main Application I 2 C Message Operations In order to communicate with another I 2 C device, a user must take the following steps: 1. Start  Programs  iPort Utility Pack  iPort Message Center 2. Select which device y ou are operating with by choosing the corresponding image (Opening Screen), or the correct checkbox on the[...]

  • Seite 19

    20 3. Select the PC ComPort where the iPort is connected to y our computer. 4. Use the Options menu to override default Baud Rate and I 2 C Bus Clock rate settings. 5. Establish a link to the iPort with the Open button. The iPort Message Center software sets the iPort ’ s own I 2 C Slave address to 0xFE. 6. To open an existing message list, click[...]

  • Seite 20

    21 You can insert a new message between existing messages by clicking once on message below w here you want to insert, press the “ Insert ” button on your key board, this will bring up the I 2 C Message Editor screen, set all information and click OK. 7. On the main screen, click on Send to transmit the current list of I 2 C Master messages, wi[...]

  • Seite 21

    22 iPort Message Manager Softw are for Window s Introduction to Message Manager The MCC iPort Message Manager Software, w hen used in conjunction with an MCC iPort allows a PC to become an I 2 C Master or Slave device, transmitting or receiving I 2 C messages between the PC and one or more I 2 C devices across an I 2 C Bus. The iPort Message Manage[...]

  • Seite 22

    23 Opening Screen Main Application I 2 C Message Operations In order to communicate with another I 2 C device, a user must take the following steps: 1. Starting the program : Start  Programs  iPort Utility Pack  iPort Message Manager 2. Select iPort Dev ice Select which device y ou are operating with by choosing the corresponding image (Op[...]

  • Seite 23

    24 Basic Set Up S creen Basic Set-up Select the PC ComPort attached to your iPort and the baud rate, then click OK. The Communications Events window on the Main Screen should report “ I 2 C Open Successful ” . If this message does not appear, check the iPort connections and power.[...]

  • Seite 24

    25 Advanced Set Up Screen A dvanced Set-up On the Advanced Set-up screen you can set the follow ing parameters: 1. iPort I2C Slave Address Select iPort ’ s I 2 C slave address. iPort w ill acknowledge messages sent to this address. 2 .iPort General Call Enabled allows iPort to respond to the I 2 C general call address (00). General call is used t[...]

  • Seite 25

    26 Diagnostic Set Up Screen Diagnostic Set-up (iPort Only) On the Diagnostic Set-up screen you can set the follow ing parameters: 1. iPort Log File Level Select iPort logging level.1 gives minimal info, 4 is verbose. Use the log file to troubleshoot communication problems. 2. Log File Name iPort log file name if enabled. 3. Log File Size (Lines) iP[...]

  • Seite 26

    27 Sending Messages Master Operations 1. To Master Transmit Data On the main screen, set the Master Tx Message Bytes edit box to the data you w ant to send by single clicking on the box. For example: To send a 0x05(hexadecimal) to the device, enter ~05 in the edit box. Click Ok and then the Master TX button to send the message. The Communications E[...]

  • Seite 27

    28 2. To Master Receiv e Data On the main screen, use the I 2 C Destination Address list control to set the slave address of the device you w ant to communicate with. Main Application Screen On the lower part of the main screen, set the By tes to MasterRx edit box to the number of bytes y ou want to read. For example: Set this to 1 to read a single[...]

  • Seite 28

    29 Slave Operations To Slav e Transmit a message: Enter data to be transmitted in the Slave Tx Message Bytes control by single clicking. Binary data by tes are entered using a three character Hex-Equivalent format (~00 ... ~FF), you may also type in ASCII text. These bytes are automatically transmitted when a Slave Transmit Request is received from[...]

  • Seite 29

    30 Part 3 Programmer ’ s Reference ASCII Command Interface Definitions V2[...]

  • Seite 30

    31 iPort/AFM Quick Start Follow these steps to start sending and receiving I 2 C messages: 1. Install iPort/AFM as directed in the “ Installation Instructions ” section of this User ’ s Guide. 2. Use a terminal emulator program (like the Windows Terminal Program or Windows Hyperterminal) to get started. Remember to select the correct Com Port[...]

  • Seite 31

    32 iPort/AFM ASCII Text Interface Comm ands Note: [CR] = Carri age Return Code or Enter Key . Syntax: [Select], (Optional), xx = [00..FE], n = [0..32767] Command Description Ctrl/R,Ctrl/R,Ctrl/R iPort/AFM Reset This command resets the iPort/AFM to its default state. //[CR] Status Display Display iPort/AFM status information. /B[0|1|2][CR] RS-232 Ba[...]

  • Seite 32

    33 /N( [0|1|A|R] )[CR] iNterrupt Signal Monitor/Control/Status Sets Monitor/Control/Status of INT line. [0 = Disable, 1 = Enable, A = Assert, R = Release/CR=Status] /O[CR] Open I 2 C Connection Activates iPort/AFM as an I 2 C device attached to the bus. /(*)Rn[CR] Master Read Message Read the specified number of data bytes from the current Destinat[...]

  • Seite 33

    34 Command: Ctrl/R,Ctrl/R,Ctrl/R ‘ iPort Reset Response. * ‘ iPort/AFM Ready Default Setting: None Status Display This command displays current iPort/AFM status. Command: //[CR] 'Status Display Response: iPort/AFM I 2 C Host Adapter w/ASCII Fast Mode Interface Vxx.xx Copyright © xxxx, Micro Computer Control Corp. Visit our Web Site at: ht[...]

  • Seite 34

    35 Close I 2 C Connection This command disconnects iPort/AFM from the I 2 C Bus. Command: /C[CR] 'Close I 2 C Connection Response: /CCC[CR] 'Close Connection Complete Default Setting: 'Closed Set Destination I 2 C Slave Address This command sets the destination I 2 C Slave Address (Hex 0,2...FE) for all subsequent Master Transmit or [...]

  • Seite 35

    36 The RTS/CTS protocol uses two additional wires in the cable connecting communicating devices. The RTS wire is an output signal. It indicates that the device generating the signal has buffer space available, and can receive. The CTS wire is an input signal. It indicates that the other device has buffer space available, and can receive. In general[...]

  • Seite 36

    37 Command: /H[0|1][CR] 'Hex Only Display [0 = Disabled, 1 = Enabled] Response: * 'iPort/AFM Ready Default Setting: Enabled Set iPort/AFM ’ s Own I 2 C Slave Address This command sets iPort/AFM's own I 2 C Slave Address (Hex 2...FE). Subsequent I 2 C messages to this address will cause iPort/AFM to become an active Slave device on [...]

  • Seite 37

    38 // Status Display /B[0|1|2] RS-232 Baud Rate Control (0=19.2, 1=57.6, 2=115.2KHz) /C Close I2C Connection /Dxx Set Destination I2C Slave Address /E[0|1] Echo/Prompt Control (0=Disable, 1=Enable) /F[0|1] Flow Control (0=XON/XOFF, 1=RTS/CTS) /G[0|1] General Call Control (0=Disable, 1=Enable) /H[0|1] Hex Only Display Control (0=Disable, 1=Enable) /[...]

  • Seite 38

    39 Master Read Message This command causes iPort/AFM to read the specified number of data bytes from the currently selected Destination I 2 C Slave Address with or without generating an I 2 C Stop condition after the last byte is received. Enter Byte Count (Decimal 0...32767) then Press Enter, or ESCape to Cancel. A Byte Count of Zero (0) represent[...]

  • Seite 39

    40 Slave Transmit Message This command should be issued to iPort/AFM in response to a Slave Transmit Request (/STR). This command causes iPort/AFM to write the specified data bytes to the requesting I 2 C Master Receiver device. Enter Message Bytes (1 or more Printable ASCII or Hex-equivalent ~00..~FF), then Press Enter, or ESCape to Cancel. Note 1[...]

  • Seite 40

    41 /Sab~7Ecd[CR] ‘ Tilde embedded in ASCII Printable characters /S12~0D24[CR] ‘ Carriage Return embedded in ASCII Printable characters Master Transmit Message This command causes iPort/AFM to write the specified data bytes to the currently selected Destination I 2 C Slave Address with or without generating an I 2 C Stop condition after the last[...]

  • Seite 41

    42 Default Setting: None Examples: /Tabcd1234[CR] ‘ ASCII Printable characters "abcd1234" /T~00~01~02[CR] ‘ Binary data bytes 00, 01,02 /*T~00~01~02[CR] ‘ Binary data bytes 00, 01,02 with No Stop /Tab~7Ecd[CR] ‘ Tilde embedded in ASCII Printable characters /T12~0D24[CR] ‘ Carriage Return embedded in ASCII Printable characters Se[...]

  • Seite 42

    43 Comm and : /X[S|~xx|R| r|P|0| 1| ? | D|d|C| c|L|A| |"]..., then Press Enter or ESCape Enter /X fo llowed by zero or more sub-comm ands, th e [CR] Response: /XCC(see com m ands below)[CR] High Level Sub-Com mands: S = Send Start ~xx = Send Byte (xx = 00...FF)(response = A or N) R = Read Byte with Ack (response = ~xx) r = Read Byte with Nak ([...]

  • Seite 43

    44 Mid Level Response: /XCC0000[CR] Low Level Com m and:/X dc dCcDCcdCcdCcDCcDCcDCcdCc DCAc dCcdCcdCcdCcdCcdCcdCcDCc DCAcdCcdCcdCcdCcdCcdCcDCcdCc DCAc dCcdCcdCcdCcdCcdCcdCcDCc DCAc dCD[CR] Low Level Response: /XCC0000[CR] Master read three bytes from slave address 0x4F. First two bytes are acknowledged by master. Com m a nd: /X S ~4f Rrr P [CR] Res[...]

  • Seite 44

    45 Display Tx bYte Count (requires V2.00+) Returns the num ber of bytes received by the slave device in the last master transm it m essage. Command: /Y[CR] 'Tx bYte Count Response: /TBCn[CR] 'n =00000...32767[...]

  • Seite 45

    46 Asynchronous Interface Events Asynchronous Events are those iPort/AFM interface activities initiated by the iPort/AFM I 2 C Host Adapter in response to activities on the I 2 C Bus. Slave Transmit Request This event is caused by the reception of an I 2 C Bus Slave Transmit message directed at the current iPort/AFM ’ s own Slave address. Prompt:[...]

  • Seite 46

    47 The received text is a representation of the data bytes within the Slave Receive message. The format of this data is controlled by the current setting of the Hex Only Display Control . Prompt: /GRCtext[CR] ‘ General Call Receive Complete Command: None Required I 2 C Bus Time-out Detected Prompt: /I85[CR] I 2 C Bus Time-out Detected Cause: iPor[...]

  • Seite 47

    48 iPort/AFM Prompts iPort/AFM Prompts are messages generated by iPort/AFM in response to Host computer commands. iPort/AFM Ready Prompt: * ‘ iPort/AFM Ready Cause: iPort/AFM is ready for the next Host command. Slave Not Acknowledging Prompt: /SNA[CR] ‘ Slave Not Acknowledging Cause: There is no response (I 2 C Slave Address Acknowledgment) dur[...]

  • Seite 48

    49 iPort/AFM Connection Closed Prompt: /I88[CR] ‘ iPort/AFM Connection is Closed. Cause: Host is attempting to perform an I 2 C Bus message operation while the iPort/AFM Connection is Closed. The Host should issue an Open I 2 C Connection command before attempting to perform I 2 C Bus message operations. Invalid Command Argument Prompt: /I89[CR] [...]

  • Seite 49

    50 Example Code The following examples are written in MS Visual Basic V3 for Windows using the serial communications control (MSCOMM.VBX). It can be used as a guide in implementing iPort/AFM interface programs in other programming languages and operating environments. Note: This example code is available online at: http://www.mcc-us.com/202ug.htm#E[...]

  • Seite 50

    51 If Msg$ = Chr$(13) Then Msg$ = "" ' Remove CR If Msg$ = Chr$(10) Then Msg$ = "" ' Remove LF If Msg$ = "*" Then ' if iPort/AFM Ready Msg$ = "****" ‘ Substitute Token CharIn$ = Chr$(13) ‘ Terminate Line End If LineBuf$ = LineBuf$ + Msg$ 'Add new text to line buffer If CharIn$ = Chr$(1[...]

  • Seite 51

    52 ElseIf (StrComp(iPortResp$, "/BC2") = 0) Then ' iPort/AFM Baud Change 2 {115.2K} TextBox.Text = "iPort/AFM Baud Change 0 {115.2K} " ' Test for iPort/AFM Asynchronous Interface Events ElseIf (StrComp(iPortResp$, "/SRC") = 0) Then ' Slave Rx Complete Processing TextBox.Text = LineBuf$ 'Update Displ[...]

  • Seite 52

    53 TextBox.Text = "/I83 Arbitration Loss" 'Update Display ElseIf (StrComp(iPortResp$, "/I84") = 0) Then TextBox.Text = "/I84 I2C Bus Error Detected" ElseIf (StrComp(iPortResp$, "/I85") = 0) Then TextBox.Text = "/I85 I2C Bus Time-out Detected" ElseIf (StrComp(iPortResp$, "/I88") = 0) T[...]

  • Seite 53

    54 iPort/AFM Revision Report This section defines revisions and changes made to the iPort/AFM interface: Revision: 1.02 1. Initial Release Revision: 2.00 1. Add Firmware Version Command. 2. Add eXtended Commands. 3. Add Tx bYte Count Command. Additional Information For additional information on the I 2 C Bus, please refer to the following: “ The [...]

  • Seite 54

    55 Software License Agreement BY INSTALLING THIS SOFTWARE, YOU ARE AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT. IF Y OU DO NOT AGREE TO THE TERMS OF THIS AG REEMENT, PROMPTLY RETURN THE ENTIRE PRODUCT WITHIN 7 DAYS WITH ALL ITS CONTENTS TO THE PLACE OF PURCHASE, WITH A NOTE THAT YOU RETAIN NO COPIES OF THE SOFTWARE OR PRINTED MATERIALS,[...]

  • Seite 55

    56 implied, included but not limited to the implied warranties of merchantability and fitness for a particular purpose. The Purchaser assumes entire risk as it applies to the quality and performance of the Softw are. Should the Software prove defective, the Purchaser (and not MCC, authorized MCC distributors, or dealers) assume the entire cost of a[...]

  • Seite 56

    57 Appendix A Interface Connector and Plug Information MCC uses two (2) different connectors and plug assemblies. These parts are all compatible with one another and are interchangeable. Connectors Molex SEMCONN ACCESS.bus Receptacle Connector Molex Part # 15-83-0064 AMP SDL (Shielded Data Link) Connectors for ACCESS.bus AMP Part # 4-943197-1 Plugs[...]