RTMC48(DOCS)		Optical Printer Control System		RTMC48(DOCS)

NAME
    rtmc48 - notes on the Kuper Controls RTMC48 card

LOGIC CONNECTOR
    Controlling the Kuper Logic connector changed with the new RTMC 48.
    Assuming the kuper base port is 0300:

	#define BASE 0x300

	/* WRITE 8 BITS TO THE LOGIC PORT */
	out(BASE+0x14h, byte);

    	/* READ 8 BITS FROM THE LOGIC PORT */
	out(BASE+0x15h, 0x40);		/* disable chip select */
	byte = inp(BASE);		/* read data from BASE */

    Note that it is now easy to use the output port (it's dedicated),
    but is hard to do a read (it involves two operations).

    For using the OPCS software with the RTMC48, it is NOT RECOMMENDED
    you use the Kuper Logic connector for reading data. However, writing
    data appears to be ok.

    This is in contrary to the recommendations for using OPCS with the 
    RTMC16, where using inputs is ok, but outputs is not.

    KUPER CONTOL CARD CONNECTOR 'P2'
    (DB37S - 37 pin connector)
    --------------------------------
       1  - (*)    20 - +5VDC       
       2  - STEP A 21 - DIR A        DB37S (37 pin connector)
       3  - STEP B 22 - DIR B       
       4  - STEP C 23 - DIR C       
       5  - STEP D 24 - DIR D       
       6  - STEP E 25 - DIR E       
       7  - STEP F 26 - DIR F         (*) = Jumper Select GND or +5 with JP5:
       8  - STEP G 27 - DIR G               +5VDC - Short pins 1 & 2 on JP5
       9  - STEP H 28 - DIR H               GND  - Short pins 2 & 3 on JP
       10 - STEP I 29 - DIR I       
       11 - STEP J 30 - DIR J       
       12 - STEP K 31 - DIR K         NOTE: All outputs are OPEN COLLECTOR
       13 - STEP L 32 - DIR L               TTL. Maximum +5 current draw
       14 - STEP M 33 - DIR M               should not exceed 400 milliamps.
       15 - STEP N 34 - DIR N       
       16 - STEP O 35 - DIR O       
       17 - STEP P 36 - DIR P       
       18 - (*)    37 - +5VDC       
       19 - (*)                     


	KUPER CONTOL CARD SWITCH SETTINGS 'JP4'
	Selects the KuperBase address value
	(Jumpers A3-A9)
	--------------------------------

		KuperBase
		Address	  A3 A4 A5 A6 A7 A8 A9
		------------------------------
		0300      1  1  1  1  1  0  0
		0320      1  1  0  1  1  0  0
		0320      0  1  0  1  1  0  0
		0330      1  0  0  1  1  0  0
		0340      1  1  1  0  1  0  0
		0280      1  1  1  1  0  1  0
		02a0      1  1  0  1  0  1  0
		0308      0  1  1  1  1  0  0
		0310      1  0  1  1  1  0  0
		0318      0  0  1  1  1  0  0

		NOTE: 	0 = off 	1 = on

		Factory setting is 0300, and there is usually no need
		to modify this setting unless other boards in the machine
		are conflicting with this address.


KUPER LOGIC CONNECTOR [R1]
Inputs are tied high to +5


    PIN   NAME               PORT       MASK (hex)
    -------------------------------------------
    1     GND                GND        GND    
    2     out 0              0x306      01     
    3     out 1              0x306      02     
    4     out 2              0x306      04     
    5     out 3              0x306      08     
    6     out 4              0x306      10     
    7     out 5              0x306      20     
    8     out 6              0x306      40     
    9     out 7              0x306      80     
    10-12 ???                ???        ??     
    13    +5                 +5         +5     
    14    GND                GND        GND    
    15    in 0               0x306      01     
    16    in 1               0x306      02     
    17    in 2               0x306      04     
    18    in 3               0x306      08     
    19    in 4               0x306      10     
    20    in 5               0x306      20     
    21    in 6               0x306      40     
    22    in 7               0x306      80     
    23-24 ???                ???        ??     
    25    +5                 +5         +5     

KUPER "INDUSTRIAL" CARD

    The Kuper Controls "Industrial Card" is a 'half slot ISA' card,
    a variation on the RTMC-48. So for OPCS, install the "RTMC48.COM"
    driver.

    The "H1" 40 pin connector (upper-left) is the steps/direction.
    The "H2" 40 pin connector (upper-right) is the "logic" connector.
    For OPCS, only the "H1" connector should be used.

    On the H1 connector, pin #1 is at the lower-left of the connector
    (component side facing you).

    This card has 3 jumper blocks, whose "factory" settings are:

    	JP1:  o-o o             -- sets voltage for pin #1 (OPCS: dont care)

	JP2:  o o o o o         -- sets samples-per-second(?) (default: 120/sec)
	      | | |
	      o o o o o

        JP3:  o o o o o o       -- sets the kuper base address (default: 0300H)
	            |
              o o o o o o

    ..where '-' is a horizontal jumper, and '|' is a vertical jumper.

KUPER PORT MONITOR PROGRAM
    The OPCS software comes with kuper.exe, a program that monitors
    the realtime status of the Kuper logic port. Run 'kuper.exe'.
    This tool can be downloaded from http://seriss.com/opcs/ftp/


SEE ALSO
    8255(DOCS) - how to control 8255 based digital I/O cards
    KUPER(DOCS) - documentation on the kuper card connectors

ORIGIN
    Gregory Ercolano, Topanga, California 04/12/00
© Copyright 1997 Greg Ercolano. All rights reserved.