Page 2 - Introduction
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 portto 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...
Page 5 - Set Destination I
Master Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 To Master Transmit Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26To Master Receive Data . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 8 - Overview
9 RS-232 to I 2 C Host Adapter w/ASCII Fast Mode Interface Overview 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 withan RS-232 port to become an I 2 C Master or Slave device, transmitting or receiving I 2 C m...
Page 9 - Packing Slip; This package includes the following items:; System Requirements; The I
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...
Page 11 - C Interface Connector
12 3. I 2 C Interface Connector The iPort/AFM Host Adapter includes a four wire, positive locking, modularconnector (see Appendix A for more info on these parts) for interfacing to anexternal I 2 C Bus. Lines provided include I 2 C Clock (SCL), Data (SDA), Ground, and +5VDC. Receptacle Connector An ...
Page 12 - Hardware Configuration; C Bus system must have at least one Pull-Up on each line. Use this; Connecting to a 3.3v System; C Interface Cable to iPort/AFM and your I
13 Hardware Configuration Pull-up Resistors The iPort/AFM Host Adapter includes a slide switch used to enable ordisable 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 a...
Page 14 - iPort Utility Pack for Windows; Introduction to Utility Pack; C Bus; iPort Message Center; The iPort Message Center operates with all versions of the iPort I
15 iPort Utility Pack for Windows 1. Introduction to Utility Pack This product includes two (2) Windows applications (Message Manager andMessage 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 vers...
Page 15 - iPort Message Manager; The Message Manager operates with all versions of the iPort I
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
Page 16 - System Requirements; C Bus Host Adapter with ASCII; Software Installation; Windows 95 and Above:
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...
Page 18 - C Message Operations; In order to communicate with another I
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 you are operating with by choosing the corresponding image (Opening Sc...
Page 23 - C Open Successful”. If this message does not appear, check the iPort
24 Basic Set Up Screen Basic Set-up Select the PC ComPort attached to your iPort and the baud rate, then clickOK. 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.
Page 24 - Enabled allows iPort to respond to the I
25 Advanced Set Up Screen Advanced Set-up On the Advanced Set-up screen you can set the following parameters: 1. iPort I2C Slave Address Select iPort’s I 2 C slave address. iPort will acknowledge messages sent to this address. 2 .iPort General Call Enabled allows iPort to respond to the I 2 C genera...
Page 25 - iPort log file length if enabled.
26 Diagnostic Set Up Screen Diagnostic Set-up (iPort Only) On the Diagnostic Set-up screen you can set the following parameters: 1. iPort Log File Level Select iPort logging level.1 gives minimal info, 4 is verbose. Use the logfile to troubleshoot communication problems. 2. Log File Name iPort log f...
Page 26 - To Master Transmit Data
27 Sending Messages Master Operations 1. To Master Transmit Data On the main screen, set the Master Tx Message Bytes edit box to the datayou want to send by single clicking on the box. For example: To send a0x05(hexadecimal) to the device, enter ~05 in the edit box. Click Ok andthen the Master TX bu...
Page 27 - To Master Receive Data; On the main screen, use the I; Destination Address, or the device is not answering to its address.
28 2. To Master Receive Data On the main screen, use the I 2 C Destination Address list control to set the slave address of the device you want to communicate with. Main Application Screen On the lower part of the main screen, set the Bytes to MasterRx edit box tothe number of bytes you want to read...
Page 28 - Slave Operations; To Slave Transmit a message:; Uninstalling iPort Utility Pack; Follow the on screen instructions.
29 Slave Operations To Slave Transmit a message: Enter data to be transmitted in the Slave Tx Message Bytes control by singleclicking. Binary data bytes are entered using a three characterHex-Equivalent format (~00 ... ~FF), you may also type in ASCII text. Thesebytes are automatically transmitted w...
Page 29 - Programmer’s Reference; ASCII Command Interface Definitions
30 Part 3 Programmer’s Reference ASCII Command Interface Definitions V2
Page 30 - Quick Start
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....
Page 31 - ASCII Text Interface Commands; Command
32 iPort/AFM ASCII Text Interface Commands Note: [CR] = Carriage Return Code or Enter Key. Syntax: [Select], (Optional), xx = [00..FE], n = [0..32767] Command Description Ctrl/R,Ctrl/R,Ctrl/R iPort/AFM ResetThis command resets the iPort/AFM to its default state. //[CR] Status DisplayDisplay iPort/AF...
Page 32 - Synchronous Interface Events
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 MessageRead the specifie...
Page 35 - C General Call Control
36 The RTS/CTS protocol uses two additional wires in the cable connectingcommunicating devices. The RTS wire is an output signal. It indicates that thedevice generating the signal has buffer space available, and can receive. The CTSwire is an input signal. It indicates that the other device has buff...
Page 37 - Interrupt Signal Control/Status
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...
Page 41 - Set I; Display firmware version
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 ...
Page 45 - Asynchronous Interface Events
46 Asynchronous Interface Events Asynchronous Events are those iPort/AFM interface activities initiated by theiPort/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 c...
Page 46 - C Bus Time-out Detected; iNterrupt Signal Assert
47 The received text is a representation of the data bytes within the Slave Receivemessage. The format of this data is controlled by the current setting of the Hex OnlyDisplay Control . Prompt: /GRCtext[CR] ‘General Call Receive Complete Command: None Required I 2 C Bus Time-out Detected Prompt: /I8...
Page 49 - Example Code; 'Set Destination Slave Address
50 Example Code The following examples are written in MS Visual Basic V3 for Windows using theserial communications control (MSCOMM.VBX). It can be used as a guide inimplementing iPort/AFM interface programs in other programming languages andoperating environments. Note: This example code is availab...
Page 51 - ' Test for iPort/AFM Asynchronous Interface Events
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 ...
Page 53 - iPort/AFM Revision Report; Initial Release; Additional Information; For additional information on the I
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 ...
Page 54 - Software License Agreement; Life Support Applications
55 Software License Agreement BY INSTALLING THIS SOFTWARE, YOU ARE AGREEING TO BECOMEBOUND BY THE TERMS OF THIS AGREEMENT. IF YOU DO NOTAGREE TO THE TERMS OF THIS AGREEMENT, PROMPTLY RETURNTHE ENTIRE PRODUCT WITHIN 7 DAYS WITH ALL ITS CONTENTS TOTHE PLACE OF PURCHASE, WITH A NOTE THAT YOU RETAIN NOC...
Page 55 - Limitation of Remedies and Damages
56 implied, included but not limited to the implied warranties of merchantabilityand fitness for a particular purpose. The Purchaser assumes entire risk as itapplies to the quality and performance of the Software. Should the Softwareprove defective, the Purchaser (and not MCC, authorized MCC distrib...
Page 56 - Appendix A
57 Appendix A Interface Connector and Plug Information MCC uses two (2) different connectors and plug assemblies. These parts are allcompatible with one another and are interchangeable. Connectors Molex SEMCONN ACCESS.bus Receptacle Connector Molex Part # 15-83-0064 AMP SDL (Shielded Data Link) Conn...