Resumen del contenido incluido en la página 1
User’s Guide
TM
2
RS-232 to I C Host Adapter
with ASCII Fast Mode Interface
with iPort Utility Pack for Windows
www.mcc-us.com
Resumen del contenido incluido en la página 2
Introduction 2 The MCC iPort/AFM (#MIIC-203) RS-232 to I C Host Adapter with ASCII Fast Mode Interface allows any PC, Host Computer, or Data Terminal with an RS-232 port 2 to become an I C Master or Slave device, transmitting 2 2 or receiving I C messages to one or more I C devices 2 across an I C Bus. This user’s guide describes the installation and 2 operation of the iPort/AFM (#MIIC-203) RS-232 to I C Host Adapter with ASCII Fast Mode Interface and iPort Utility Pack Software for Windows. MCC
Resumen del contenido incluido en la página 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 respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Further, Micro
Resumen del contenido incluido en la página 4
Table of Contents: Part 1 2 RS-232 to I C Host Adapter w/ASCII Fast Mode Interface Overview .............................................................. 8 iPort/AFM Adapter ................................................. 8 iPort Utility Pack Software ........................................... 8 Programmer’s Reference ............................................ 8 Packing Slip ........................................................... 9 System Requirements ...............................
Resumen del contenido incluido en la página 5
Master Operations ................................................. 26 To Master Transmit Data ....................................... 26 To Master Receive Data ........................................ 27 Slave Operations .................................................. 28 To Slave Transmit a message .................................... 28 To Slave Receive a message .................................... 28 Uninstalling iPort Utility Pack ........................................... 28 Part 3 Pro
Resumen del contenido incluido en la página 6
iNterrupt Signal Assert ......................................... 46 iNterrupt Signal Release ....................................... 46 iPort/AFM Prompts ................................................ 47 iPort/AFM Ready ............................................. 47 Slave Not Acknowledging ...................................... 47 iPort/AFM Busy ............................................. 47 2 I C Bus Arbitration Loss ....................................... 47 2 I C Bus Error Detected ...
Resumen del contenido incluido en la página 7
Part 1 Model MIIC-203 2 RS-232 to I C Host Adapter w/ASCII Fast Mode Interface Model MIIC-203 8
Resumen del contenido incluido en la página 8
2 RS-232 to I C Host Adapter w/ASCII Fast Mode Interface Overview 2 The MCC iPort/AFM (#MIIC-203) RS-232 to I C Host Adapter with ASCII Fast Mode Interface allows any PC, Host Computer, or Data Terminal with 2 an RS-232 port to become an I C Master or Slave device, transmitting or 2 2 2 receiving I C messages to one or more I C devices across an I C Bus. PRODUCT FEATURES 2 Turn ANY Computer’s Serial Port into an I C Port. 2 Supports Standard (100) and Fast (400) I C Bus Activity. High Pe
Resumen del contenido incluido en la página 9
Packing Slip This package includes the following items: 2 iPort/AFM (#MIIC-203) RS-232 to I C Host Adapter with ASCII Fast Mode Interface. 2 4 Foot I 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) iPort/AFM User’s Guide. iPort Utility Pack for Windows Software. Power Supply Standard 120VAC, 60Hz, USA Plug (#MWT-5VA) European 220VAC, 50Hz, European Plug (#MWT-5VAE) International 1
Resumen del contenido incluido en la página 10
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 Pinout DB-9 Pin 3, Transmit Data from the Host Computer to the iPort DB-9 Pin 2, Receive Data from the iPort to the Host Computer. DB-9 Pin 7, Request
Resumen del contenido incluido en la página 11
2 3. I 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 2 2 external I C Bus. Lines provided include I C Clock (SCL), Data (SDA), Ground, and +5VDC. Receptacle Connector 2 An I C Interface Cable (White=SCL, Red=+5VDC, Green=SDA, 2 Black=Ground) is provided to connect to a external I C Bus. Since there is 2 no standard I C Bus connector, you may want to cut off one end o
Resumen del contenido incluido en la página 12
Hardware 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. 2 Every I C Bus system must have at least one Pull-Up on each line. Use this switch to configure the iPort/AFM appropriately for your system. Connecting to a 3.3v System 1. Shut off iPort internal pull-ups. (See Pull-up Resistor section) 2. Use external pull-ups to 3.3 volts. The iPort uses a 5 volt device. 3.3
Resumen del contenido incluido en la página 13
Part 2 iPort Utility Pack for Windows V5 14
Resumen del contenido incluido en la página 14
iPort Utility Pack for Windows 1. Introduction to Utility Pack This product includes two (2) Windows applications (Message Manager and 2 Message Center) that help a user get started sending and receiving I C Bus messages quickly. iPort Message Center 2 The iPort Message Center operates with all versions of the iPort I C Bus Host Adapter. With this program you can create, save, and execute scripts 2 of the following modes of I C Bus message activity: Master Transmit Master Receive 15
Resumen del contenido incluido en la página 15
iPort Message Manager 2 The Message Manager operates with all versions of the iPort I C Bus Host 2 Adapter. Using this program you can perform all four (4) modes of I C Bus messages activity, including: Master Transmit Master Receive Slave Transmit Slave Receive 16
Resumen del contenido incluido en la página 16
2. System Requirements a. One of the following: 2 1. iPort (#MIIC-201) Windows to I C Bus Host Adapter. 2 2. iPort/AI (#MIIC-202) RS-232 to I C Bus Host Adapter with ASCII Interface 2 3. iPort/AFM (#MIIC-203) RS-232 to I C Bus Host Adapter with ASCII Fast Mode Interface. b. Windows 95 or higher c. 1 free RS-232 Serial Port. 3. Software Installation Windows 95 and Above: 1. Insert software distribution diskette into floppy drive. 2. Select StartRun. Type “A:SETUP.EXE”. 3. Follow instructions
Resumen del contenido incluido en la página 17
iPort Message Center for Windows Introduction to Message Center 2 The iPort Message Center supports I C Master Transmit and Receive 2 activities for all versions of the iPort I C Bus Host Adapter. With this 2 program you can create, save, and execute scripts of I C Master messages. The MCC iPort Message Center Software, when used with an MCC iPort 2 allows a PC to become an I C Master transmitter or receiving device, 2 2 sending I C messages between the PC and one or more I C devices across 2 a
Resumen del contenido incluido en la página 18
2 I C Message Operations 2 In order to communicate with another I C device, a user must take the following steps: 1. Start Programs iPort Utility PackiPort Message Center 2. Select which device you are operating with by choosing the corresponding image (Opening Screen), or the correct checkbox on the main application. Opening Screen Main Application The Main Application screen is opened by selecting an image on the Opening Screen. 19
Resumen del contenido incluido en la página 19
3. Select the PC ComPort where the iPort is connected to your computer. 2 4. Use the Options menu to override default Baud Rate and I C Bus Clock rate settings. 5. Establish a link to the iPort with the Open button. The iPort Message 2 Center software sets the iPort’s own I C Slave address to 0xFE. 6. To open an existing message list, click File|Open List on the menu bar. 2 To enter or edit a message List, open the “I C Message Editor” screen, by double clicking on a me
Resumen del contenido incluido en la página 20
You can insert a new message between existing messages by clicking once on message below where you want to insert, press the “Insert” button on 2 your keyboard, this will bring up the I C Message Editor screen, set all information and click OK. 2 7. On the main screen, click on Send to transmit the current list of I C Master messages, with the option to auto repeat upon completion, or send on INT assert (low). 2 Once the link has opened successfully, you are now an active I C node. Messages are