Home
User Manual - Contemporary Controls
Contents
1. 14 7 o 15 8 Keil 18 9 I afe 20 9 1 20 9 2 Technical 20 9 3 TROD OIL cia Sessa E Tem 21 9 4 CEA OC 21 9 5 KEUS Tr oduch 21 iana E OTE 22 TOF 22 102 JRGSELBConbponeni 23 LOS ARCEVB Sehematie DID 24 Contemporary Controls TD020200 0MA Figures Figure 1 ARC EVS Components 1 Figure 2 Evaluation Board Block Diagram esee 6 Figure 3 PCI22 485X Indicator Lights and Node ID Switch 9 Figure 4 ARC EVB Control Panel Inactive 12 Figure5 Application 65 4 2 2 111 12 Figure 6 ARC EVB Control Panel Active eere ee 13 Fig re 7 LED StatUS ni 14 Figure 6 ELED CohlEO iiia onde ca os beca 14 Figure 9 AlimelFIID Init
2. 5 Evaluation System User Manual 0020200 CONTEMPORARY Trademarks Contemporary Controls and ARC Control are registered trademarks of Contemporary Control Systems Inc ARCNET is a registered trademark of Datapoint Corporation Other product names may be trademarks or registered trademarks of their respective companies Copyright Copyright 2002 by Contemporary Control Systems Inc All rights reserved No part of this publication may be reproduced transmitted transcribed stored in a retrieval system or translated into any language or computer language in any form or by any means electronic mechanical magnetic optical chemical manual or otherwise without the prior written permission of Contemporary Control Systems Inc Tel 1 630 963 7070 2431 Curtiss Street Fax 1 630 963 0109 Downers Grove Illinois 60515 USA E mail info ccontrols com WWW http www ccontrols com Contemporary Controls Ltd Tel 44 0 24 7641 3786 Barclays Venture Centre Fax 44 0 24 7641 3923 University of Warwick Science Park E mail info ccontrols co uk Sir William Lyons Road WWW _ http www ccontrols eu Coventry CV4 7EZ UK Contemporary Controls Shanghai Representative Office 86 21 62551335 Room 1012 Zhongchuang Building Fax 86 21 62552925 819 Nanjing Road W E mail info ccontrols co cn Shanghai 200041 China WWW http www ccontrols com cn Disclaimer Contemporary Contr
3. GND GND MM74HC32 Contemporary Control 2431 Curtiss Street Systems Inc Downers Grove IL 60515 Title ARCNET Controller amp Transceiver TD020200 0SA 4 B Date 23 2002 Sheet 4 of 6 S3 ARC SCH Drawn By RCW 2 3 4 5 6 10 3 Schematic Diagram Sheet 5 Prototype Area Header ADIO 15 0 15 Outputs INP7 1 2 1 6 ncs D3 INPS 3 4 INP4 4 RESET JARED INP3 5 6 _ INPI 7 8 INPO 2 H 222 n OUT7 9 10 OUT6 CS IOf OUTS 12 0 4 5 OUT3 13 14 OUT2 1 ADO OUTI 15 16 MM74HC32 ADI XIN3 17 18 XIN2 XINI 19 20 XINO MOSI 23 24 5 Qu ADS SCK ADG 4 _ vec PROTOTYPE HEADER RESETTABLE RD MM74HC32 ADO ADI AD3 AD4 ADS ADO AD7 74 573 SW DIPS CS U25 E od ADO E ADI Ege RP4 AD2 Ed ARCIDO ARCIDO E AD3 a AD4 ais D ADS 14 ARCID3 AD6 13 E ARCID4 ARCN ET ID ARCID4 ADT FRENOS F ARCIDS ARCIDS 2 ARCID6 ARCID7 5 ARCID7 MM74HC57 CS ARCDR 573 AR
4. Humber of Hecans ar Status Figure 8 shows a query to activate LEDs 0 and 2 has been successfully sent to Node ID 1 The Control Status message RX OK only means that a properly formatted query and response were exchanged It does not confirm that the correct data arrived at the destination Number of Recons Network reconfigurations are counted in this field The count can be reset to zero only by restarting the application Contemporary Controls TD020200 0MA 14 T Firmware Modification The Atmel Flip application included on the CD ROM is used to modify the ARC EVB firmware The application includes detailed online help but a procedural overview is presented below Procedure 1 Connect the ARC EVB to a PC via the provided null modem cable 2 Onthe ARC EVB install the J1 jumper to enable firmware modification 3 Apply power to the ARC EVB 4 Launch the Atmel Flip application f Atmel Flip 1 6 0 File Buffer Device Settings Help 55 Operations Flow Buffer Information device selected Size b4 FE bytes Blank Erase Range 0000 FFFF Checksum Offset 0000 I Blank Check Reset Before Loading Program Verify AMEL A Set Special Bytes Hun Clear Device gt Select Figure 9 Atmel Flip Initial Screen 5 The screen of Figure 9 appears with a lower left corner message prompting you to 6 Open the Device menu
5. and select a device Choose the T89C51RB2 and click OK Contemporary Controls TD020200 0MA 15 7 screen changes to display the device specific panel with appropriate fields for the T89C51RB2 As shown in Figure 10 these fields will remain ON I rm read only and the panel will remain dimmed until you specify the communication settings pe Device Boot Ids HSE Bootloader Ver Ir BLIE x2 Device BSB Ea Device SBY a A Device 556 Level Level Level Head Set Figure 10 Device Specific Panel before Reading the T89C51RB2 8 Open the Settings gt Communications menu Te TAT option and choose 5232 RS232 options depicted Figure 11 will appear Port COM B aud 19200 Special Syne Connect Disconnect Sunc Cancel Figure 11 5232 Options 9 From the RS232 options choose the Port appropriate to your computer and set the Baud value to 19200 Then click Connect Contemporary Controls TD020200 0MA 16 10 If the ARC EVB is working and the signal path between it and the is proper the device specific panel will be updated with data read from the T89C51RB2 as shown in the example of Figure 12 If communication between the Flip application and the ARC EVB is improper a Time Out Error will occur check the ARC EVB and the fieldbus cable Leave the upper portion of this panel alone but make sure as shown in Fig
6. are installed enter that number e Inthe Data Rate box select the data rate which matches that set on the ARC EVB Contemporary Controls TD020200 0MA 12 After completing the settings the Control Panel will appear as Figure 6 Three fields dimmed because they are read only Read Status Control Status and Number of Recons ARCNET Evaluation Board Control Panel Settings About LED Status Destination Head Status Control Status Number of Hecans Figure 6 ARC EVB Control Panel Active e Enter a hex value for the Destination Node ID which agrees with the DIP switch value set on the ARC EVB This value must differ from the ID value set for the NIM e The application is now ready for operation Contemporary Controls TD020200 0MA 13 Modbus over ARCNET Operation When the ARC EVB and the Windows application have achieved proper communications the Control Panel will affect operation as follows Evaluation Board Control Panel Reading LED Status from the ARC EVB Settings About Clicking the Start Button will initiate the transmission of Modbus Function Query Messages see Section 10 1 The application will continually read information from the Input DIP switch 1 on the ARC EVB Each time the read action is successful the message RX OK will appear in the Read Status field As long as the ARC
7. provided test application Modbus over ARCNET or the user s firmware The FLASH memory can also hold the Keil monitor allowing it to work with the Keil compiler debugger The ARC EVB also contains an SMSC COM20022 ARCNET controller backward compatible with the COM20020 which can support data rates from 156 kbps to 10 Mbps using a 20 MHz crystal This chip offers enhanced features over earlier generation chips New features include command chaining sequential access to internal RAM duplicate Node ID detection and variable data rates up to 10 Mbps 8 bit DIP switch S1 is provided as the input device and 8 associated LEDs report the state of each input An additional 8 LEDs indicate the states of the output signals LED 7 in each array is the MSB Another 8 bit DIP switch 2 is used for setting the ARCNET Node ID Switch 8 is the MSB The data rate is set by jumpers at jumper block J8 The ARC EVB uses an HYC4000 transformer coupled ARCNET transceiver This provides balanced EIA 485 signaling so that either a straight through or a crossover cable can be used ARCNET fieldbus connections are provided by either a 3 terminal open wire connector or an RJ 11 jack for standard twisted pair cable An extra RJ 11 jack is provided for installing the modular terminator provided in the ARC EVS The extra jack can also be used for daisy chaining a twisted pair bus if the ARC EVB is configured with more than one ARCNET a
8. within the family is identified by a model number ending in a 3 or 4 character suffix This suffix specifies a transceiver type which matches a particular type of cable Because the capabilities of each transceiver differ different models cannot occupy the same LAN segment 22 485 supports data rates from 1 25 Mbps to 10 Mbps operates in a Windows environment with one of our null stack drivers The driver directory on the CD ROM provides a selection of null stack drivers from which to choose This NIM incorporates the same ARCNET controller chip as used on the ARC EVB Bus contention problems are minimized since the interrupt level and I O base address are assigned through Plug and Play There is no requirement for wait state arbitration Two LEDs monitor network operation and bus access to the module An external DIP switch allows node addresses to be easily reassigned without removing the module 3 2 Hardware Installation The NIM can be installed in any PCI bus compatible computer bus With power detached from the computer remove the computer cover to expose the motherboard and expansion slots connectors Care should be taken when installing the card both it and the exposed motherboard are sensitive to electrostatic discharge To prevent inadvertent damage touch the metal case of the internal power supply to discharge yourself then remove the card from its protective ESD package Remove the backplate of the computer a
9. 0 3 Schematic Diagram Sheet 4 2 3 4 5 6 5 7 PULSE RXIN TXEN RS485B RS485A CHASSIS 16 018 8 5 RX485AC_A Alls TWISTED PAIR 7 pan 4 RX485AC 3 a C23 C24 JA R4 R5 6 N N 2 wae 5 6 29 3 5 6K 1 2W 5 4 0 15 C32 C19 3 10uF zs zs Vref x lt ae 21 R6 R7 1 52 GND HYC4000 5 6K 1 2W 5 6K 1 2W 2528 24 1o D PULSEI T D10 m PULSED hx CHASSIS CHASSIS 6 15 pe 29 EF D13 TXEN D 5 17 Dir 28 p 2 1 R20 2 SI X L 2 Dis RXIN EO lt S 1 onp 24 TERMINATION 109 5 m CHASSIS ALE gt m T a 397 iss GREEN RD i Ta BD VCC U13 oid CS ARC amp C CS i T Bi O Q A R8 RR 42 2 4 X5 10 516 5 Q BUSTMG GND HC14 SINGLE VCC m CLR i 470 DATA 35 GND R10 Cext VCC eee 0 DREQ GND VCC Rext Cext GND DACK GND e te uF uF 38 TC GND u MM74HC423A u GND A REFEX GND xD GND INT_ARC az LINE O RESET YELLOW COM20022 TQFP48 12 U19B 5 D2 13 Q R9 RR UAUA vcc aR 470 ACCESS 74 08 6 3 Cext O Rext Cext MM74HC423A MM74HC32 U20B C14 4
10. CNET NODE ID IOK U26 MM74HC32 i ADO E ADI Ce J8 17 2 BAUDO 1 2 AD3 16 is 22 3 BAUDI 3 1 VOL AD4 CEN 4 5 T 3 ADS 14 5 AD6 1j 50 4D 9ND ARCN ET Data rate 7Q spi NL ADT 8 9 74 573 2 en GND 41 C42 C43 C44 vcc 1 4 luF luF luF luF luF FUSE2 u u u u u PROTOTYPEPOWER TPI Contemporary Control 2431 Curtiss Street GNDC45 S stems Inc Downers Grove IL 60515 Title aD Digital I O TD020200 0SA 84 B Date 23 Apr 2002 Sheet 5 of 6 File Drawn By RCW 2 3 4 5 6 10 3 Schematic Diagram Sheet 6 2 6 L1 J9 D1 U27 VCC d R12 4 1 VSW 2 144004 R16 oo VC PWR JACK 2 8K 1 2 N 5340 3 2 80K 1 GND 35 C30 C31 LT1076 C38 C39 10 OHM 1 2200uF B R17 220uF 220uF 220uF 2 21K 196 GND U20D GND U16D GND MM74HC32 MM74HC126 Spare Gates 2431 Curtiss Street Contemporary Control Downers Grove IL 60515 Systems Inc Title Power Supply TD020200 0SA 84 B Date 23 Apr 2002 Sheet 6 of 6 File PWR_SUPPLY SCH Drawn By RCW 6
11. EVB is working each change to the Input DIP switch will instantly appear in the LED Status area of the Control Panel Turning a switch On lights its associated LED on the ARC EVB and causes its associated LED icon in the Control Panel to glow red In the example shown in Figure 7 switches 4 7 have been turned on Destination Hex NEN Head Status While the Start Button is dim changing the value the AJME Destination ID field will have no effect on the read action Clicking the Stop Button concludes the read action but the last data read continues to display The next time the Start Button is clicked the read function will use the current value in the Destination ID field but the read action will not be successful unless this new value matches the Node ID value with which the ARC EVB was initialized d Control Panel Controlling LEDs on the ARC EVB Changes in LED Control will affect the Output LEDs on the ARC EVB LED Destination ID Hex Control has 8 checkboxes Each time checkbox is clicked two things 1 determined the Destination ID and the status of 8 checkboxes The checkbox data are transmitted via a Modbus Function 104 Query Message see Section 10 1 to activate the corresponding LEDs on the ARC EVB But the transmission will fail unless the Destination ID matches the Node ID with which the ARC EVB was initialized Figure 8 LED Control Control Status
12. ILITY FITNESS FOR PARTICULAR PURPOSE OR USE TITLE AND NONINFRINGEMENT Repair or replacement as provided above shall be the purchaser s sole and exclusive remedy and CC s exclusive liability for any breach of warranty 9 2 Technical Support Technical support is available each weekday except holidays during the office hours listed below Outside these hours voice mail messages can be left in our mailbox after contacting the main phone number Requests can also be submitted by fax or by e mail to the numbers listed below but please leave a detailed description of the problem We will contact you the next business day by the method you request If the problem cannot be resolved by technical support the customer will be given an RMA number so that the product may be returned to CC for repair Contemporary Controls Contemporary Controls Ltd USA UK Office Hours 8 a m 5 p m Central time 8 a m 5 p m UK time Voice 1 630 963 7070 44 0 24 7641 3786 Fax 1 630 963 0109 44 0 24 7641 3923 Email techsupport ccontrols com support ccontrols co uk Web Site www ccontrols com www ccontrols co uk Contemporary Controls TD020200 0MA 20 9 3 Warranty Repair Products under warranty that were not subjected to misuse or abuse will be repaired at no charge to the customer The customer however pays for shipping the product back to CC while CC pays for the return shipment to the customer CC normally ships ground International s
13. Operating Temperature 0 C to 60 C Storage Temperature 40 C to 85 C Data Rates 10 Mbps 5 Mbps 2 5 Mbps 1 25 Mbps Dimensions 4 20 x 5 5 107 mm x 140 mm I O Mapping Requires 16 bytes of I O space for COM20022 controller Interrupt Lines Supports PCI INTA Compatibility Fully compatible with all of Contemporary Controls ARCNET products and PCI bus computers Regulatory Compliance CE Mark FCC Part 15 Class A Power Requirements Voltage 5V Current 400mA LED Indicators Function Number Color Host CPU Access 1 Yellow Fieldbus Data Transmitted 1 Green Contemporary Controls TD020200 0MA 4 1 55 Fieldbus Connectors Two cabling methods are provided for the fieldbus and differ by their connector type Identical open wire 3 terminal connectors are available on both the ARC EVB and the NIM Open Wire Connector Pin Assignments Pin Usage Signal Signal Shield The ARC EVB modular connector is of the RJ 11 type RJ 11 Modular Connector Pin Assignments Usage Not Installed Not Used Signal Signal Not Used Not Installed The NIM modular connector is of the RJ 45 type RJ 45 Modular Connector Pin Assignments Pin Usage Not Used Not Used Not Used Signal Signal Not Used Not Used Not Used 1 2 3 4 5 6 7 8 Contemporary Controls TD020200 0MA 5 2 ARC EVB Description The core of the ARC EVB is an Atmel T89C51 CPU which contains 16 KB of FLASH memory to hold the
14. RxD 11 24 AD8 AD6 17 16 BA6 14 28 6 U2 TxD 13 PORD 22 25 AD9 7 18 7Q 19 13 fs 29 ADT RESET P2 1 A9 28 _ 8D A7 7 Bos RES 7_ RESET AE 15 05 ADI MM74HC373 ADS 2 qoc 3 3 2 3 11 AD VCC C21 3 RESET2 16 28 ADI2 AD10 31 Es RES CS UART 17 23 10 1524 ADIT EE 24 PFI PFO 0 Ss 3 5 1 2 5 13 AM GND GND d WR Poar ae ADM708AR EDU RD 19 PA BDH 31 15 ADIOS ADI3 4 4130 GET 59 CS RAME 14 11 6 GND RESET 10 RESET Anm 33 ATE ADIS 7 X1 OE 32 MRD 32 PSEN 10 5 WR PSEN 16 WE Oc oe 20 xTAL2 EA gt D21 GREEN GND RAM 128K TSOP32 AP vec VCC Pog POWER Sea GND 22 22 GND MM74HC32 AT89C51RC2 IGND Chip Select amp Boot Logic U6A PSEN 1 BOOT PROCESS LOGIC Sch 3 MRD ADJ0 15 CS_RAM VCC RD 2 ee gt AD 0 15 CS_RAM gt n Instal boot jumper to enable internal boot ROM on startup so PSEN PSEN CS_ARC gt __ CS_ARC you program flash memory ALE 5 gt CS IO amp gt PSEN and ALE are sampled on falling edge of RESET to RESET CS_ARCDR 7 CS ARCDR RESET 4 determine boot mode These signal
15. chematic Diagram Sheet 3 1 2 3 4 U6C AD15 9 U14 s AD l A YO CS AD9 2 14 B 0 CS IOR U11B 3 13 2 oN CS_ARCID O _CS_ARCDR ADIO E HC14 SINGLE 10 AD9 MM74HC08 ADS C10 GND URIS 15 U15 1 aes VCC CLR CLOCK Mo E CER 5 Ol 3 20 6 02 RESET D EE ET 40 o QU 4 9 OO 4 p duc Ol 7 12 04 3D 50 Q2 8 15 05 4D 60 03 13 16 06 5 70 0414 19 6D 80 05 17 O6 18 122 8D MM74HC273 VCC C12 GND MM74HCO08 MM74HC08 VCC C11 luF GND 19 10K U16A MM74HC126 GND VCC p Y4 2 70 vcc 5 G2A 5 5 2 6 GND 0 X C9 MM74HC138 luF GND HIGH 400 F7FFH CS Chip Select Addresses CS 0000H F3FFH CS ARC 400 CS 10 F500H F5FFH CS ARCID F600H CS F700H F7FFH E gt 2 PSEN U16B MM74HC126 C13 5 luF GND gt ALE U16C MM74HC126 Contemporary Control 2431 Curtiss Street Systems Inc Downers Grove IL 60515 Title Chip Select amp Boot Logic TD020200 0SA B Date 23 Apr 2002 Sheet 3 of 6 File Drawn By RCW 1 2 3 4 1
16. ct code although source code may be of any size Programs that generate more than 2 Kbytes of object code will not compile assemble or link e The generated startup code includes LJMPs and will not work in single chip devices which are limited to less than 2 Kbytes of program space e The debugger supports files that are 2 Kbytes or smaller e Programs begin at offset 0 0800 and cannot be programmed into single chip devices e No hardware support is available for multiple DPTR registers e No support is available for user libraries or floating point arithmetic The following components are present in the full version but not in the Keil evaluation software e Code Banking Linker Locator e Library Manager RTX 51 Tiny Real Time Operating System To obtain a full featured version of the Keil software use the contact information below Keil Software Inc Keil Elektronik GmbH 1501 10th Street Suite 110 Bretonischer Ring 15 Plano TX 75074 D 85630 Grasbrunn USA Germany Toll Free 800 348 8051 Phone 972 312 1107 Phone 49 089 45 60400 Fax 972 312 1159 Fax 49 089 46 81 62 Sales sales us keil com Sales sales intli keil com Support support us keil com Support support intl keil com Contemporary Controls TD020200 0MA 18 Modbus over ARCNET server can be debugged on the ARC EVB using the Keil Debugger Detailed built in help screens are included with the Keil Compiler Debugger but a helpful general overv
17. dapter Debugging amp Firmware Downoad Serial Part B LEDs Node ID ARCNET Connectors EIA 485 Transformer RJ 11 Coupled Transceiver RJ 11 Extra Serial Port 4 Jumpers Data Rate Activity LED COM20022 Access LED Figure 2 Evaluation Board Block Diagram Contemporary Controls TD020200 0MA 6 2 13 s J6 ARCNET 3 wire port Extra ARCNET port J7 30 pin header Prototyping header SL aa NIE 6 header ARCNET data rate Set to desired rate Table 4 Data Rate J8 Power input connector Using provided power supply Table 1 Connectors Type Comment 8 pin DIP Data Input Set to desired data value 8 pin DIP ARCNET Node ID Set to ARC EVB ARCNET node ID Table 2 Switches 1 S2 DRO DR1 DR2 Data Rate 485 output B EIA 485 output Table 3 Test Points bod E X jumper installed Table 4 Data Rate J8 These rates are not supported by the ARC EVB transceiver but are available if the user wishes to replace the ARC EVB transceiver with a custom transceiver Contemporary Controls TD020200 0MA 7 3 22 485 3 1 Description The PCI22 485X is one of a family of Contemporary Controls network interface modules NIMs each serving to link a PCI bus compatible computer with the ARCNET local area network LAN Each model
18. djacent to the desired slot connector Then insert the card into this slot by applying an even downward pressure until it firmly seats in the connector The card s backplate can be fastened to the computer with the small screw used to attach the original backplate Hardware installation is completed by replacing the computer s cover 3 3 Software Installation Unlike ISA bus computers PCI bus computers usually have their resources assigned by the operating system The PCI22 485X NIM requires one interrupt line and 16 byte I O range for the COM20022 ARCNET controller Once the NIM is inserted and power applied to the computer Windows will recognize the card and ask the user for the driver location Point to the folder appropriate to the version of Windows being used After loading is complete the driver will be active The driver can be disabled from the Device Manager Contemporary Controls TD020200 0MA 8 3 4 Indicator Lights There are two LEDs located at the NIM s backplate The green LED indicates that the card is transmitting ARCNET traffic to the network The yellow LED indicates that the card is being accessed from the host computer via its I O address LSB Figure 3 22 485 Indicator Lights and Node ID Switch 3 5 ID Switch Although not always needed this NIM has a separate input port that reads an 8 bit DIP switch SW1 located at the backplate This switch is meant to serve as a Node ID switc
19. f the Read Holding Registers Function 3 Query Message Sequence Sequence Slave Function Starting y Split Flag Number Number Address Address Code Address 3H MSB LSB Response Message System Split Fla dd Byte Data Data Code 9 Address 3H Count MSB LSB ARCNET Header Modbus Message Input LED Status Data to Output LED Occupies LSB Occupies LSB Format of the Preset Multiple Registers Function 101 Query Message System Split Byte Data Data Code Flag Count MSB LSB Response Message Sequence Sequence Function System Slave Byte Data ARCNET Header Modbus Message Contemporary Controls TD020200 0MA 22 10 2 ARC EVB Component Layout DATARATE ARCNET NODE ID m C CPU UARTJ2 DATA _ un on 1 lt n we B Figure 13 Evaluation Board Layout Contemporary Controls TD020200 0MA 23 10 3 Schematic Diagram Sheet 1 CPU Memory Logic amp UART ARCNET Controller amp Transceiver Power Supply CPU SCH ARC SCH PWR SCH ADIO 15 lt gt e gt ADI0 15 wri ES ALE ALE ALE CLOCK oo E CLOCK CS ARCA CS ARCH INT ARC UNT SARUM INT_ARC RES RES amp _ gt ARC_RES CS IO CS_ARCID CS_ARCDR MOSI CS_ARCID CS_ARCDR 1_3 1_4 RESET Digita
20. h although it can serve as a general purpose switch if desired The switch has no connection to the COM20022 controller chip The most significant bit MSB is switch position 8 and the least significant bit LSB is switch position 1 A switch in the open position off position or away from the printed circuit board introduces a logic 1 In the example below the switch is set to hexadecimal address AF 3 6 Fieldbus Connection The PCI22 485X NIM supports AC coupled communication via its daughter board which has a fixed bias network isolated by a pulse transformer Unlike DC coupled devices bias adjustment is unneeded and wiring polarity is unimportant Dual RJ 45 jacks and one three position screw terminal connector are the options for attaching the field bus wiring For convenience a modular cable is provided for connecting the NIM to the ARC EVB Each end of the fieldbus wiring must have a proper value of termination resistance The NIM provides two options to achieve proper termination Onboard Termination Install the E1 jumper on the daughter board to apply an onboard resistance across the twisted pair If the jumper is removed no termination is applied External Termination f you wish to enable or disable termination without removing the NIM from the host computer external termination can be used In this case remove jumper E1 and insert either the provided RJ 45 modular terminator in the unused RJ 45 jack or a 120 ohm 1 4 wat
21. hipments may take longer If the product has been determined to be misused or abused CC will provide the customer with a quotation for repair No work will be done without customer approval 9 4 Non Warranty Repair CC provides a repair service for all its products Repair charges are based upon a fixed fee basis depending upon the complexity of the product Therefore Customer Service can provide a quotation on the repair cost at the time a Returned Material Authorization RMA is requested Customers pay the cost of shipping the defective product to CC and will be invoiced for the return shipment to their facility No repair will be performed without customer approval Ifa product is determined to be unrepairable the customer will be asked if the product can be replaced with a refurbished product assuming one is available Under no circumstances will CC replace a defective product without customer approval Allow ten working days for repairs 9 5 Returning Products for Repair To schedule service for a product please call CC Customer Service support directly at 1 630 963 7070 U S or 44 0 24 7641 3786 U K Have the product model and serial number available along with a description of the problem A Customer Service representative will record the appropriate information and issue via fax an RMA number a code number by which we track the product while it is being processed Once you have received the RMA number follow the instructio
22. ial SCEOeH ci depu D Ub 15 Figure 10 Device Specific Panel before Reading the T89C51RB2 16 Figure TT RS232 ODlIONS v Ser SUE dE 16 Figure 12 Device Specific Panel after Reading the T89C51RB2 17 Figure 13 Evaluation Board 2 4 1121222 23 Tables GONNE CU ONS 2 7 7 7 Tabie 4 Data Rate 29 Viei 7 Contemporary Controls TD020200 0MA 1 Introduction 1 1 Description The ARCNET Evaluation System ARC EVS is a very useful tool for exploring embedded ARCNET The system contains one ARCNET Evaluation Board ARC EVB one PCI22 485X ARCNET network interface module one wall mount power supply one null modem cable one modular cable one RJ 11 modular cable terminator e one RJ 45 modular cable terminator one CD ROM Figure 1 ARC EVS Components The ARC EVB contains a microcontroller that allows users to upload their firmware into FLASH and execute it It also works with the Keil compiler which allows users to debug their ARCNET code on the board The CPU is provided with external RAM to allow users to load up to 30 KB of firmware The PCI22 485X is a PCl based COM20022 ARCNET card When the card is installed in a computer and connected to the ARC EVB via the prov
23. ided modular cable a complete ARCNET network is created Contemporary Controls TD000800 0MA 1 1 2 Kit Features ARCNET compliant ANSI ATA 878 1 Industrial temperature range 40 C to 85 C Employs standard TTL signal levels Dual RJ 11 jacks for EIA 485X ARCNET Dual D Sub 9 plugs for serial communication Prototyping area with dual resettable fuses for Vcc Linear power supply One 8 pole switch for Node One 8 pole DIP switch for data input 8 LEDs for input indication 8 LEDs for output indication LED for power indication Contemporary Controls TD020200 0MA 2 1 3 Evaluation Board Specifications Electrical Power Requirements Power Consumption 1 8 W maximum with all LEDs lit Voltage 9 24 VDC Current commensurate with applied voltage Environmental Operating Temperature 0 C to 60 C Storage Temperature 40 C to 85 C Data Rates 10 Mbps 5 Mbps 2 5 Mbps 1 25 Mbps Dimensions 4 178 mm x 102 mm Functional Digital Signals Number Type Input or Output 8 TIL 5 Input Signal Voltage 0 5 V Maximum Output Low 450 mV 1 6 mA Minimum Output High 4 5 V 10 uA Serial Port TTL 5V ARCNET Compliance ANSI ATA 878 1 LED Indicators Function Number Color Power 1 Green CPU Access 1 Yellow Fieldbus Data Received 1 Green Input Signals 8 Red Output Signals 8 Red Contemporary Controls TD020200 0MA 3 1 4 22 485 Specifications Environmental
24. iew of using the Keil tools is presented below e Set the PC serial port to a baud rate of 19200 e Copy the entire Modbus over ARCNET server folder to your computer e Use Atmel Flip to copy the Keil monitor from the 51 directory to the ARC EVB e Remove the J1 jumper from the ARC EVB e Recycle power to the ARC EVB e Start the Keil compiler Using the Project gt Open Project menu option open arc eval uv2 e Inthe Select Target box gia pl choose Debug Image Debug Image e Use the Project gt Rebuild all target files option to compile link build the project e With the Debug gt Start Stop Debug Session option load the target to the ARC EVB 55 0 000 lt Ll style expression e When the download is completed enter 0x8000 in the Command Line Window to set the program counter to 0 8000 e Use the debugging options under the Debug menu to single step set breakpoints or run the application When the debugging is finished terminate the debug activity with the menu option Debug gt Start Stop Debug Session The final firmware to be written to the board is in target Flash Image Use the Project gt Rebuild all target files option to rebuild the flash image and generate a hex file called arc_flash hex Use the Atmel Flip application to copy the hex file to the ARC EVB NOTE When copying files from CD ROM to hard disk they will be created as read only files but some of these f
25. iles need to be updated For such files to be used this read only property must be cleared Contemporary Controls TD020200 0MA 19 9 Service 9 1 Warranty Contemporary Controls CC warrants its product to the original purchaser for one year from the products shipping date If a CC product fails to operate in compliance with its specification during this period CC will at its option repair or replace the product at no charge The customer is however responsible for shipping the product CC assumes no responsibility for the product until it is received This warranty does not cover repair of products that have been damaged by abuse accident disaster misuse or incorrect installation CC s limited warranty covers products only as delivered User modification may void the warranty if the product is damaged during installation of the modifications in which case this warranty does not cover repair or replacement This warranty in no way warrants suitability of the product for any specific application IN NO EVENT WILL CC BE LIABLE FOR ANY DAMAGES INCLUDING LOST PROFITS LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PRODUCT EVEN IF CC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR FOR ANY CLAIM BY ANY PARTY OTHER THAN THE PURCHASER THE ABOVE WARRANTY 15 IN LIEU OF ANY AND ALL OTHER WARRANTIES EXPRESSED OR IMPLIED OR STATUTORY INCLUDING THE WARRANTIES OF MERCHANTAB
26. l 1 0 10 SCH gt AD O 15 RD WR CS_IO CS_ARCID CS_ARCDR gt RESET CHASSIS MP3 1 MP2 MTGPAD Contemporary Control Systems Inc Title MP4 MTGPAD MTGPAD 2431 Curtiss Street Downers Grove IL 60515 ARCNET Evaluation Board TD020200 0SA B Date 23 Apr 2002 Sheet 1 of 6 File Drawn By RCW 2 3 4 5 6 10 3 Schematic Diagram Sheet 2 1 2 3 4 5 6 E vec AMIS Socket ies 10K U3 U4 2 43 ADO 1 20 C20 0 P1 0 T2 P0 0 ADO T BENE ing GND OC Ti uF 300 1_1 P1 1 T2EX SS P0 1 ADI C GND GND OE VCC 2 _ 1 2 1 P0 2 AD2 o 09 AO E j Bas GND OUT CLOCK P1 4 1 4 PO 4 AD4 2D 29 DI 5 7 38 ADS 2 7 6 BA2 18 23 MISO gt PI 5 CEX2 MISO P0 5 AD5 3D 2 D2 20MHz SCK 8 37 AD3 8 9 BA3 17 25 AD3 SCK a PI 6 CEX3 SCK P0 6 AD6 l 4D 49 D3 MOSI MOSI 2 P1 7 CEX4 MOSI P0 7 AD7 26501 SSS SD LL Bai Io 4 D4 DH GND 5 14 D 60 15 BAS 15 n Ds 27 ADS
27. ns of the Customer Service support representative and return the product to us freight prepaid with the RMA number clearly marked on the exterior of the package If possible reuse the original shipping containers and packaging In any event be sure you follow good ESD control practices when handling the product and ensure that antistatic bags and packing materials with adequate padding and shock absorbing properties are used CC is not responsible for any damage incurred from improper packaging Shipments should be insured for your protection Ship the product freight prepaid to the location from which it was purchased Contemporary Control Systems Inc 2431 Curtiss Street Downers Grove IL 60515 U S A Contemporary Controls Ltd Barclays Venture Centre University of Warwick Science Park Sir William Lyons Rd Coventry CV4 7EZ U K Contemporary Controls TD020200 0MA 21 10 Appendix 10 1 Modbus Message Format The Modbus protocol uses serial transmission One Modbus transaction consists of a Query message and a Response message A Modbus over ARCNET message consists of e ARCNET Header e Modbus Message The ARC EVS supports the use of two Modbus functions Function Read Holding Registers 34 which reads the status of the input LEDs on the AEB Function Preset Multiple Registers 104 which writes a value to the output LEDs on the AEB The formatting of these two functions is illustrated below Format o
28. ol Systems Inc reserves the right to make changes in the specifications of the product described within this manual at any time without notice and without obligation of Contemporary Control Systems Inc to notify any person of such revision or change Warning This is a Class A product as defined in EN55022 In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures Contemporary Controls TD020200 0MA Table of Contents 1 nea 1 1 1 donee 1 1 2 KUT 2 1 3 ARCNE T Evaluati n Board Specifications 3 1 4 eal 4 1 5 5 2 ARC EVB D6scEDEUO eR dr dune 6 3 S PAL P NIM E 8 3 1 UOS CEIDIONH 8 3 2 nas esta lta asad sells 8 3 3 8 3 4 PEOR LA E TE 9 3 3 IN OCG 9 3 6 9 4 a eee 10 5 Modbus over ARGNET 11 6 Modbus over ARCNET Operation
29. s must be released prior GND 6 ARC_RES to the 24th clock cycle after the falling edge of RESET 2 5 R3 vcc 1 2 exe MM74HCO08 10K VCC C U9 CHIP SELECT NOTES 1 16 C5 1 1 GND 3 ze IGND 15 11 All I O is memory mapped in 1K memory region from F400H to F7FFH 2 RAM is mapped in all other addresses C 4 2 V C7 luF Set TT 2 V 3 CPU UART Program can be loaded into RAM from 8000H to F3FFH The PSEN 08 TxD 11 14 4 Signal is only active above 32K This will allow 29 696 bytes for program MOSI 1 15 10 TEAM TI OUT 9 10 storage during debuggin DIN TX T2_IN T2_OUT 9 9 33103 5 2 14 5 SCK 3 POUT as 13 RxD nore ug CHASSIS 4 SCLK RIS O RI IN GND GE RAM can be accessed as XDATA anywhere except between 07 NT UARTH 6 CTS R2_OUT R2_IN F400H to F7FFH The internal boot ROM is located between F800H and IRQ 1 npe 4 voe 7 SEN MAX232 13 FFFFH so RAM will not be available that region either VCC 1 C18 2 10 16 6 1 luF GND OUT XI IVCC 2 1 8432MHz C8 7 x UE 3 GND 5 SPI UART MAX3100 QSOP16 GND 4 9 10 5 Gb Wun Contemporary Control 2431 Curtiss Street Systems Inc Downers Grove IL 60515 Title CPU Memory Logic amp UART TD020200 0SA B Date 23 Apr 2002 Sheet 2 of 6 File Drawn By RCW 1 2 3 4 5 6 10 3 S
30. t resistor across pins 1 and 2 on the screw terminal connector NOTE Terminating with a value less than 100 ohms will excessively load the EIA 485 transceivers so you must only use one method of termination at a time If more ARCNET devices are attached to the NIM and the ARC EVB in a bus topology only apply termination to the devices located at the ends of the bus Contemporary Controls TD020200 0MA 9 4 Source Code 1 provided with Modbus over ARCNET example code for both server and client When the server example code is executed on the ARC EVB it can receive one byte of output data and can transmit one byte of input data when polled by the Modbus client The 8 LEDs on the ARC EVB are used to indicate the received output data The 8 bit DIP switch S1 is used to provide ARC EVB input data The client software executes on a PC in which our PCI22 485X has been installed and requires the version of our Null Stack driver appropriate to the version of Windows being used The Modbus client will continually request current Modbus data from the Modbus server ARC EVB and will also update server output data when modified by the user The ARCNET Control Panel is illustrated in Figure 4 The server application causes the current ARC EVB input data to be displayed in the LED Status section of the panel and can change the ARC EVB output data in the LED control section of the panel The 8 output LEDs on the ARC EVB are used
31. that set on the NIM e Install jumper 1 to invoke onboard fieldbus termination Optionally the provided RJ 11 modular terminator may be inserted in the unused RJ 11 jack Apply power Fieldbus Setup e Connect the NIM to the ARC EVB with the provided modular cable Optionally any CAT 5 twisted pair cable may be attached between the open wire connectors Contemporary Controls TD020200 0MA 11 Windows Application Setup e Launching the application will display the Control Panel in Figure 4 Until the Settings Panel options have been entered the Control Panel features will remain inactive ARCNET Evaluation Board Control Panel Settings About LED Status E Destination ID a Head Status Control Status Humber of Hecans Figure 4 ARC EVB Control Panel Inactive e Selecting the Settings menu item will display the Settings Panel in Figure 5 Settings Made ID Enter Oto use Made ID switch Cancel Board Number 1 2 1 Data Hate 25 Mbps Figure 5 Application Settings Inthe Node box enter the ARCNET Node ID to be associated with the NIM and its host computer A zero value causes the Node ID to be read from the NIM s DIP switch e The Board Number field specifies how many ARCNET NIMS are installed in the host computer The default value of 1 rarely needs changing If more Contemporary Controls PCl based NIMS
32. to display its output state Also included is a Keil monitor HEX file that when copied to the ARC EVB allows the ARC EVB to communicate with the Keil debugger The HEX file for the Modbus over ARCNET server is also provided This allows the user to switch between debugging with the Keil compiler and executing the Modbus over ARCNET server Updated versions of Modbus over ARCNET client and server can be downloaded from www ccontrols com Contemporary Controls TD020200 0MA 10 5 Modbus over ARCNET Setup Confirm that the PCI22 485X NIM has been properly installed in the host computer as per Sections 3 2 and 3 3 and that the ARC EVB EEPROM contains the Modbus hex file The ARC EVB has been factory programmed with the Modbus firmware so loading this firmware will only be needed if it has been erased See Section 7 for firmware modification PCI22 485X NIM Setup e Set the NIM s Node ID switch to the desired value 1 255 decimal as per Section 3 5 Optionally the Node ID can be set via the Windows Application below e Make sure the NIM has proper cable termination applied as per Section 3 6 ARC EVB Setup NOTE The ARC EVB will initialize with Data Rate and Node ID values existing during power up Changes to these parameters will have no effect unless power is recycled e Set the Data Rate jumpers J8 to the desired data rate as per Table 4 Data Rate 48 e Set the Node DIP switch 2 to a Node ID that differs from
33. ure 12 that these adjustments are set in the lower portions of the panel e De select X2 Mode e Set Device SBV Software Boot Vector to FC T88CSIRB2 M anufact Id 58 Device Ids pz on on Device Boot Ids oo on HSB pF Bootloader Ver E Device BSB an e Setthe Device SSB Software Security Byte to FF Device 5 FC Device 558 FF f Level0 Level C 2 Head Set Figure 12 Device Specific Panel after Reading the T89C51RB2 11 copy a new program to the ARC EVB Select the menu item File gt Load HEX and open the desired file The filename and size will be verified in the lower center area of the Flip window e Under the Operations Flow panel the left of the Flip window check these boxes Erase Blank Check Program and Verify e Click Run The checked Operations Flow options should appear green if successful When finished close the Flip application remove power from the ARC EVB and remove jumper J1 The next time you power up the board it should execute the new firmware Contemporary Controls TD020200 0MA 17 Compiler Debugger The ARC EVB has been designed to work with the Keil Compiler Debugger An evaluation version of the Keil Compiler Debugger is included on the provided CD ROM This evaluation version is limited as follows e compiler assembler linker and debugger are limited to 2 Kbytes of obje
Download Pdf Manuals
Related Search
Related Contents
13 CBR500R-32MGZB000.book Massive Led outdoor Wall light 16714/47/10 カタログダウンロード Massive Wall light 37737/92/10 Samsung VC-MCP715 User Manual Visualizza/apri - POLITesi Instructions For Use - The Science of Sure – HOLOGIC REFERENCE MANUAL USER GUIDE - FTP Directory Listing sommario - Jaeger Copyright © All rights reserved.
Failed to retrieve file