! " ! ! ! # #
!& ')% +!'& !& + !* ,* ) * % &, $ !* *, " + +' & .
Table of Contents 1.0 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Ć1 1.1 Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Ć2 1.2 Related Hardware and Software . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Ć3 2.0 Mechanical/Electrical Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Ć1 2.1 Mechanical Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
" ! $ !" " " # ! " $ # $ ! $ " !
'$ * " "& $ # ' * '$ '$ * # " & " # &( $ * * # " & " # &( $ #"& * #$& # & #"% " ( & && " % * #$& # & #"% " ( & && " % #"& "' * %
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
The products described in this manual are manufactured or distributed by Reliance Electric Industrial Company. This manual describes the AutoMax PC Link Interface module and its associated software. The PC Link Interface module is designed to make any ATĆbus personal computer function as a drop on the DCS/AutoMax Network or the DCS/AutoMax Remote I/O network. Multiple PC Link modules can be installed in a personal computer. Each PC Link module is configured separately.
You must be familiar with all the instruction manuals that describe your system configuration.
M/N 57C445 contains one PC Link Interface Module and two diskettes (one 51/4Ćinch diskette and one 31/2Ćinch diskette) that contain the PC Link software and sample programs. The contents of both diskettes is the same. The PC Link module can be used with the following hardware and software: 1. M/N 57C430A, 57C431, or 57C435 AutoMax Processors. 2. M/N 61C126 ReSource Portable Computer, or other IBM/ATtĆcompatible personal computer running DOS version 3.1 or later. 3.
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
' ' ( $# ' & ' ( " # ! # ! (& ! & ( & '( ' $ ( # #( & "$ )! # #( & "$ )! ' %& #( & ) ( '' " !, ( ( %!) ' #($ # +% #' $# '!$( $ # - $"% ( ! % &'$# ! $"%)( & "$ )! $#' '(' $ %& #( & ) ( $ & & & (*$ '( ()' ' $# ( & & $ ( "$ )! $( ( & # ( & # * !! () $# * # ( % &'$# ! $"%)( & ' %$* & )% , * !! & " # $# )& #
$! $) ' #% *" %$) $( t # '%&'% ((%' , ) % )% #&" # $) ) "%,.
This section describes how to configure the port address and base memory address and how to install the module in the personal computer. The PC Link Interface module can be installed in any ATĆcompatible personal computer. The module requires an I/O port block of 8 bytes and 16K of host memory space. The port address is set using the DIP switches on the module. The memory address is set under software control by writing to a specific port in the port block.
Table 3.
Table 3.
3.1.2 Installing the PC Link Module in the Personal Computer Use the following procedure to install the module: 3.1.3 Step 1. Turn your computer off. Disconnect the power cord. Step 2. Remove the cover on your computer. Consult the user's manual for your computer on installing addĆin boards. Step 3. Find a free expansion slot in your computer. If you are not sure which slot to use, consult the user's manual for your computer.
The PC Link Interface module occupies 16K of host memory space. The base address is userĆselectable by writing to a port register which will normally be set automatically by the installation program. The default location is 0xD000. Unless there is a known conflict with other hardware in the host system, the default memory address should be used.
Table 3.
The diskettes provided with the PC Link module contain the Network Communication (RENET) and Remote I/O Network (RERIO) software as well as a loader program (INSTALL) that reads the code for the software, loads it into the module, and then enables the module. The loader program then waits for module diagnostics to be completed and reports the status of the installation. The PC Link software diskette contains the files listed below: \ INSTALL.EXE Ć RE2INST.EXE Ć README.
*' / $ # ) # $ ), ' ' (( )$ $#) #* ) #() !! ) $# ' (( # #. $) ' . , !! # ! ) #() !! ) $# ) % ( ' # , !! (%! . ) ) ! ()( ) $*' ' &* ' % ' " ) '( # ) ' *!)( ( *' $* # # #. % ' " ) ' . %' (( # ) #*" ' ) ) %' ( ) $* , !! %'$"%) $' # , #)'. $' ) ) % ' " ) ' .$* ' *( # ) # #) ' "$ *! , ) ) *)$ - '$ ' "" # - *) + ($ ), ' .
When you have finished making changes, or to accept the default parameters, press 9. To cancel the installation, press ESC. During the installation procedure, subdirectories :\, :\\NET, and :\\RIO will be created on the hard disk if they do not already exist. PC Link files will be copied from the floppy disk to the hard disk. These files will require approximately 250K of hard disk space. Two batch files, NET.BAT and RIO.BAT, will also be created. Step 3.
& ( '# $& +# * * !) &%% * +)!% * '* ( +) * #&-!% '(& +( 0 * ' *&' %/ ''#! *!&% * )") * * $ / (+%%!% * ' !) &%% * * * '* ( (&$ * !%" $& +# * ' +(% /&+( &$'+* ( & !) &%% * * '&- ( &( * ' $&, * &, ( &% /&+( &$'+* ( * ' ) ) ( - (!, ( *& ( $&, * ) ( - (&$ * ( " * !% * !%" $& +# % ( $&, * $& +# * ' " * % - $& +# &+* & !*) ) !''!% &%* !%
The sections that follow describe using the PC Link module as a drop on a DCS/AutoMax Network or a Remote I/O network. After the PC Link module has been installed in the personal computer and the INSTALL program has been run to configure the port address and memory location (see section 3.1.5), the module can be used for either DCS/AutoMax network or remote I/O network applications. However, it can be configured for only one application at a time.
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
5.0 DIAGNOSTICS AND TROUBLESHOOTING $ $ % ! $ # $ !( %! %#!& $ !!% % ! & "" ) !# $% ! % ##!# ! $ % % $" * * % ! & % "#! !% !## % &$ % "#! $ !( % & % $ !% &$ #+$ #' DANGER ONLY QUALIFIED ELECTRICAL PERSONNEL FAMILIAR WITH THE CONSTRUCTION AND OPERATION OF THIS EQUIPMENT AND THE HAZARDS INVOLVED SHOULD INSTALL, ADJUST, OPERATE, AND/OR SERVICE THIS EQUIPMENT.
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
D Storage temperature: -40_C Ć 85_C D Operating temperature: 0_C Ć 50_C D Humidity: 5-90% nonĆcondensing D Half Length, Single Slot 8Ćbit PC/AT Bus Card D Height: 4.2 inches D Width: 6.0 inches D 2.
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
" ") ! $$"$ " % * $ &'$! * & " $ #$" $ % $'! ! %# * "! & # $%"! " #'& $ % $ ! ) ! !( $ & $% "$& ! "$ "$* $ %% " ' "$* $$"$ " ' $" %%"$ $$"$ " ' $$"$ " ' " &) $ " ' "& "'! +
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
Appendix D Programming Notes Table of Contents 1.0 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D1Ć1 2.0 DCS/AutoMax Network Communications (RENET) . . . . . . . . . . . . 2.1 Differences Between RENET and a Network Communications Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 RENET Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Drop Register Image Table (DATA_TABLE) . . . . . .
! +( ! +( ! +( . $&* &% ! +( *!&% !)'# , . . $&* (&' * *+) . . $&* * # . # # # # # . . $&(, ( %!- *!&% .
This appendix describes the memory organization of the RENET and RERIO software that can be loaded onto the PC Link module. The descriptions and tables included in this appendix will be useful if you are writing your own device driver for the PC Link module. If you are using a commerciallyĆavailable driver, you do not need to read this appendix. In this appendix, any drops which the PC Link module emulates will be referred to as virtual drops.
Loading the Network Communications software (RENET) onto the PC Link module enables it to function like a Network Communications module (M/N 57C404). The PC Link module can act as any valid drop, except the Master (drop 0), and can have any valid drop depth.
Address Name Set By Description 000Ć1BFF DATAąTABLE BOTH Drop Register Image Table 1F00Ć1F37 DATAąCHNGE BOTH Data Change Table Ć one byte for each drop. A nonĆzero value indicates that data for the specifĆ ic drop has changed. 1F38 STATąCHNGE BOTH Status Change Ć Set to 0xFF any time active drop status changes. 1F39 GLOBąCHNGE BOTH Global Change Ć Set to 0xFF any time STATąCHNGE is set to 0xFF, or DATAąCHNGE is set to 0xFF, for drops which are enĆ abled in the ENąGLOBąCHNGE table.
Drop 0 contains the status and control registers.
Registers 4 through 7 contain the drop status bits which indicate the current status of the Network. A 1" indicates that a drop is active and a 0" indicates that a drop is not active. The status bit for the Master (drop 0) is maintained as well. Note that the PC Link module maintains status bits for all drops on the network including its own. These registers are read only.
2.3.2 Drop 1Ć55 Register Definitions The register definitions for drops 1Ć55 can be summarized as follows: Registers 0 through 31 contain 32 words of output (to the Master). These registers are read/write if the module is actively responding as this drop; otherwise, these registers are read only. Registers 32 through 63 contain 32 words of input (from the Master). These registers are read only. 2.4 Data Change Table (DATA_CHNGE) The data change table contains one byte for each drop.
Loading the Remote I/O software (RERIO) onto the PC Link module allows it to monitor all drops on a remote I/O network, accessing the output data being sent from the Master to the Slave drops as well as the input data being sent from the Slave drops back to the Master. The PC Link module may also be configured as an active drop which will receive output data from the Master and send input data back to the Master.
Table 3 - RERIO Memory Organization 0000 MODULEąID RERIO Module identification word. Set by REĆ RIO to 15A1H. Host may use to verify RERIO software is present. 0400-1FFF DATAąTABLE BOTH Remote I/O data table. Divided into Drops, Slots and Registers. 2000H RECONFIG BOTH Reconfigure byte. Host sets to 0FFH to cause card to reĆconfigure using new information. HOST Virtual drop enable table. Configuration packet must be present for all drops enĆ abled in this table.
Link module will then clear the lower four bits of the RECONFIG byte. The host may use this to indicate that it is all right to write the new configuration. The host may also place any initial data in the DATA_TABLE at this point. When the configuration information is complete, and all data in the DATA_TABLE is in the desired state, the host then clears the remaining bits of the RECONFIG byte. The PC Link module will then go on line" and begin passive monitoring if enabled.
configuration buffers with any updates it receives over the network. See section 3.2 of this appendix for more information on drop configuration. 3.2 Drop Configuration The Reliance Remote I/O network protocol uses configuration packets" to define the slot/register allocations for a given drop. These configuration packets are sent on the network only when a drop first comes on line" with the Master. The RERIO software will capture these configuration packets and place them in the CNF_BUF area.
There are 16 slot maps (SLOT_MAPS) for a given drop. Each slot map consists of two double words (each double word is 4 bytes). The first double word is the output register map; the second double word is the input register map.
3.4.1 Reading the Remote I/O Network Configuration (RIODIS) 0.!. /$! *)"%#0- /%*) + &!/. %) /$! *)"%#0- /%*) 0""!-. /* #!)!- /! /!3/ "%'! 2$% $ !. -% !. /$! *)"%#0- /%*) "*- '' /$! -*+. $!.! *)"%#0- /%*) + &!/. ) !%/$!- *(! "-*( /$! )!/2*-& *- ( 4 $ 1! !!) +-!1%*0.'4 +' ! *) /$! - 4 /$! $*./ 3.4.2 Setting the Remote I/O Network Configuration (RIOCNF) / &!. /!3/ "%'! 2$% $ *)/ %). /$! *)"%#0- /%*) %)"*-( /%*) "*- /$! )!/2*-& ) +' !.
# # ! !" " & # & $ ## $ $ $ $ #$ $%# " #$ "# $ % %" # #$ $ " !# $ " $ $& " %" # $ $ $ " $ " $ $& " %" ' $ " ! $ $%# %" ' $ $ '
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
Appendix E ScreenWare2 Data Acquisition Engine The ScreenWare2 Data Acquisition Engine (DAE) is a terminate and stay resident (TSR) program. It is accessed by ScreenWare2 through a software interrupt. It is responsible for exchanging data between the PC Link module and ScreenWare2 DAE can be used with ScreenWare2 version 3.x and later. Configuration File Installation If you are using ScreenWare2 version 3.10, place the file RELI.CNF in the directory \SW2\DESIGN and rename it SW.CNF.
The DAE executable is called RELICOMM.EXE. If you are using ScreenWare2 version 3.10, place this file in the directory and rename it ScreenWare2 can then access and load DAE from ScreenWare2's master menu. Use the following command line structure to access the PC Link module: DAE Ćd Ćh Ća where: file (required) The file argument specifies the application path and file that has been created using the ScreenWare2 logic editor.
fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd
For additional information 1 Allen-Bradley Drive Mayfield Heights, Ohio 44124 USA Tel: (800) 241-2886 or (440) 646-3599 http://www.reliance.com/automax Publication J2-3011-2 - July 1993 Copyright © 2002 Rockwell Automation, Inc.. All rights reserved. Printed in U.S.A.