ESCUELA POLITÉCNICA NACIONAL FACULTAD DE INGENIERÍA ELÉCTRICA MOTOR DE PASOS: CONTROL DE POSICIÓN Y VELOCIDAD MEDIANTE UN MICROCONTROLADOR INTEL 8751. BYRON HERNÁN AGUIAR URSINA TESIS PREVIA'A LA OBTENCIÓN DEL TITULO DE INGENIERO EN ELECTRÓNICA Y TELECOMUNICACIONES QUITO, MAYO DE 1996
177
Embed
ESCUELA POLITÉCNICA NACIONAL...En el capítul de diseñol deo sisteml de controla qu,e corresponde al capítul 3o, se expone lan s característica dse los motores utilizados; s e
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
ESCUELA POLITÉCNICA NACIONAL
FACULTAD DE INGENIERÍA ELÉCTRICA
MOTOR DE PASOS: CONTROL DE POSICIÓN
Y VELOCIDAD MEDIANTE UN
MICROCONTROLADOR INTEL 8751.
BYRON HERNÁN AGUIAR URSINA
TESIS P R E V I A ' A LA OBTENCIÓN DEL TITULO DE INGENIERO
15.- N. N., "The application of Steping Motor to Machine Tools",USA, 1990.
120
REFERENCIAS
[I] N. N., "The applicatión, of Steping Motor to Machine Tools",, pag. 9.
[2] N, N., "The application of Steping Motor to Machine Tools"/pag. 11.
[3] EPN, "Equipo macrologic"
[4] N. N., "The application of Stepinq Motor to Machine Tools",pag. 17.
[5] N. N., "The application of Steping Motor to Machine Tools",pag. 18.
[6] N. N. , "The applica-tion of Stepinq Motor to Machine Tools",pag. 24.
[7] PHILIPS, "Stepping motors and associated electronics", pag.10.
[8] SPRAGUE, "Hojas Técnicas ",
[9] COMPUTER CRAFT, Mayo de 1993 "Build an RS-232 to Rs-422Converter", Nick Goss, pag. 76.
[10] ARRL 1989, "Power Suply", pag. (27-16)
[II] ARRL 1989, "Power Suply", pag. (27-17)
[12] ARRL 1989, "Power Suply", pag. (27-18)
APÉNDICE A:
MANUAL DE USO DEL PROGRAMA
A-l
En la parte frontal del equipo se halla un interruptor quesirve para el encendido, un led nos indica la presencia dealimentación en las tarjetas electrónicas. Se debe verificar quese halle conectado el cable serial entre un puerto serial delcomputador y la tarjeta MCPD51DA
Se debe conocer con exactitud de cual puerto se trata ( COMÍo COM2 ), ya que el programa de monitoreo y control requiere sabera cual puerto se halla conectado.
En la base se hallan agrupadas las tarjetas: de alimentación,MCPB51DA, el circuito de manejo y sus respectivos cableados. En latarjeta del circuito de manejo se halla un conmutador que permiteseleccionar el voltaje de alimentación de los motores de pasos, sepueden escoger +12 VDC ó +5 VDC.
Se pueden observar los dos motores f i jos mediante tornillos.
El programa de control ha sido desarrollado de forma tal quesea lo más amigable posible, se requiere que el usuario conozca unpoco del ambiente WINDOWS y el manejo del ratón. Desde elcomputador se comanda el funcionamiento de los motores de paso,esto se lo hace a través de ventanas o pantallas
El programa principal presenta un panel de control conbotones de selección, en primer lugar el usuario debe definir elpuerto de comunicaciones; -en caso de querer mover un motor, tansolo es necesario que se presione el respectivo botón, igual cosaen caso de querer parar un motor que se halle girando. Si elusuario presiona la tecla STOP, el programa termina; en caso dequerer cambiar los datos y parámetros de los motores se debepresionar con el ratón la tecla asignada como DATOS.
Al seleccionar DATOS, aparece una ventana en la cual, se debeescoger el.motor que se quiere reprogramar, realizada la selecciónaparece una nueva ventana en la cual se muestran los parámetrosque se van a programar. Podemos controlar:
Número de pasos.Velocidad o frecuencia de los pulsos.Sentido de giro.
Al presionar OK, el programa envía los datos al controlador, encaso de error o que éste se halle apagado se tendrá el respectivomensaje de error, caso contrario el programa espera un ciertotiempo antes de regresar a la ventana inicial que constituye elpanel del programa principal.
En caso de introducir datos erróneos se responderá con elrespectivo mensaje de acuerdo al error.
A-2
Es posible que el usuario desee controlar directamente elmovimiento de los motores de pasos, para esto es necesarioutilizar un programa similar al TERMINAL, se debe escoger elpuerto serial y setear la velocidad de transmisión en 9600; ademásse requiere que el usuario conozca los comandos, con este fin acontinuación se muestran los comandos.
Arrancar motor 1Arrancar motor 2Arrancar motores 1 y 2
Parar motor 1Parar motor 2Parar motores 1 y 2
Dirección del motor 1 horarioDirección del motor 2 horarioDirección de los motores 1 y 2 horario
Dirección del motor 1 antihorarioDirección del motor 2 antihorarioDirección de los motores 1 y 2 antihorario
Definir número de pasos del motor 1Definir número de pasos del motor 2Definir número de pasos de los motores 1 y 2
Definir frecuencia del motor 1Definir frecuencia del motor 2Definir frecuencia de los motores 1 y 2
Donde: número-1 es un valor entre 001 y 999y número-2 es un valor entre 001 y 256
MIM2M3
SIS2S3
D1HD2HD3H
DÍAD2AD3A
Dinúmero-1D2número-1D3número-l
Flnúmero-2F2número-2F3número-2
APÉNDICE B:
LISTADO DEL PROGRAMA
B-l
PROGRAMA PARA CONTROL DE DOS MOTORES DE PASOS; Realizado por: Byron Aguiar U.
1996/05/20TESIS_12.ASM
- *********************************************************** *-ff;* ASIGNACIÓN DE ETIQUETAS A ESPACIOS DE MEMORIA EXTERNA *- *************************************************************
OUT07 EQU OOOOH ;CHIP U9 COMO SALIDAOUT815 EQU 2000H ;CHIP U10 COMO SALIDA
;* CONSTANTES DEL PROGRAMA ***************************************************************
RETARD01 EQU 41 ;DAN UN RETARDO DE 1537RETARDO2 EQU 16 ;CICLOS MAQ. 41 16
;* ASIGNACIÓN DE ETIQUETAS A MEMORIA RAM INTERNA *
DSERIAL EQU 127 ;DATO RECIBIDOBASEMOT1 EQU 126 ;FRECUENCIA MOTOR 1BASEMOT2 EQU 125 ;FRECUENCIA MOTOR 2NUMPASOS1H EQU 124 ;BYTE +SIGNIF. MOTOR 1NUMPASOS1L EQU 123 ;BYTE -SIGNIF. MOTOR 1NUMPASOS2H EQU 122 ;BYTE +SIGNIF. MOTOR 2NUMPASOS2L EQU 121 ;BYTE -SIGNIF. MOTOR 2PUERT007 EQU 120 ;DATO QUE SALIÓ AL ULN (1)PUERTO815 EQU 119 ;DATO QUE SALIÓ AL ULN (2)DIR EQU 118 /DIRECCIÓN DE GIROAUX2 EQU 117AUX1 EQU 116AUXO EQU 115NUMX EQU 114 ;DATO NUMERO XYZ XNUMY EQU 113 ;DATO NUMERO XYZ YNUMZ . EQU 112 ;DATO NUMERO XYZ ZAUXW EQU 111 ;DATO AUXILIAR (6Fh)
- *************************************************************ENABLE1 BIT 00 ;HABÍLIT.MOV.MOTOR1COUNTER1 BIT 04 ;SALIDA OUTO (Cl)SAADIREC1 BIT 08 ;DIRECCIÓN MOTOR1 (Ml)SAARESET1 BIT 16 ;PARAR MOTOR 1 (Rl)SAALED1 BIT 24 ;ENCENDER LED MOTOR 1ENABLE2 BIT 64 ;HABÍLIT.MOV.MOTOR2COUNTER2 BIT 68 ;SALIDA OUT8 (C2)SAADIREC2 BIT 72 ;DIRECCION MOTOR2 (M2)SAARESET2 BIT 80 ;PARAR MOTOR 2 (R2)SAALED2 BIT 88 ;ENCENDER LED MOTOR 2
R7 ES EL CONTADOR PARA LA BASE DE TIEMPO DEL MOTOR1R6 ES EL CONTADOR PARA LA BASE DE TIEMPO DEL MOTOR2R5 Y R4 SON EL CONTADOR DE PASOS DEL MOTOR2Rl Y RO SON EL CONTADOR DE PASOS DEL MOTOR1
B-2
R2 SIRVE PARA CHEQUEAR EL INGRESO DE DATOS
ASIGNACIÓN DE REGISTROS DEL BANCO 1
R2 Y R3 PARA RETARDOS DE TIEMPO SUBRUTINA DELAY
ORG OOOOHLJMP INICIO
ORG OOOBHLJMP TIMER
ORG 0023HLJMP SERIAL
ORG 0030H
INICIO:
MOV SP ,#030*1
;INICIO DE ATENCIÓN INTERRUPCIÓN T/C O
;INICIO DE ATENCIÓN INTERRUPCIÓN SERIAL
;LOCALIDAD DE RAM DONDE SE CARGA EL;PROGRAMA
;INICIALIZO EL STACK POINTER
;SMOD = OL;TIMER 1 COMO TIMER MODO2,;SERIAL PORT IN MODE 1 (8BIT UART);BAUD RATE 9600 (PARA 7.3728MHz)
MOV PCON,#OOHMOV TMOD,#00100000BMOV SCON,#Ü1010000BMOV TH1,#OFEHMOV TL1,#OFEHSETB TR1 ;ARRANCO BAUD RATESETB EA ;HABILITO TODAS LAS INTERRUPCIONESSETB ES ;HABILITO INTERRUPCIÓN PÓRTICO SERIAL
;IE=10010000 HABILITO EA Y ES• *************************************************************;* VALORES INICIALES (UNA VUELTA) *- *************************************************************
MOV BASEMOT1,#10 ;BASE DE TIEMPO MOTOR1MOV BASEMOT2/#10 ;BASE DE TIEMPO MOTOR2MOV NUMPASOS1H,#00 ;NUMERO DE PASOS MOTOR 1 HMOV NUMPASOS1L,#100 ;NUMERO DE PASOS MOTOR 1 LMOV NUMPASOS2H,#1 ;NUMERO DE PASOS MOTOR 2 HMOV NUMPASOS2L,#145 ;NUMERO DE PASOS MOTOR 2 L
**************************************************************MOV R7,BASEMOT1 ;BASE DE TIEMPO MOTOR1MOV R6,BASEMOT2 ;BASE DE TIEMPO MOTOR2MOV Rl,#00 ;CONTADOR DE PASOS MOTOR1MOV R0,#00 . /CONTADOR DE PASOS MOTOR1MOV R5,#00 ' ;CONTADOR DE PASOS MOTOR2MOV R4,#00 ;CONTADOR DE PASOS MOTOR2MOV R2,#00 ;CHEQUEO DE DATOS
**************************************************************; SACAR l'S POR CHIPS U9 Y U10 ***************************************************************
;SACO l'S POR CHIP U9;COPIO LAS SALIDAS A PUERT007
B-3
MOV DPTR,#OUT815MOVX @DPTR,AMOV PUERT0815,A
/SACO l'S POR CHIP U10;COPIO LAS SALIDAS A PUERT0815
-*************************************************************;* EL VALOR QUE SALE A LOS PÓRTICOS SE ALMACENA EN B *;* BITS -SIG. MOTOR 1 BITS +SIG. MOTOR 2 ** ***************************************************************
/NUMERO DE PASOS MAS SIGNIFICATIVO/ES R1=NUMPASOS1H ??/SI AOR1 REGRESE AL LAZO PRINCIPAL
/ES RO=NUMPASOS1L ??/SI AORO REGRESE AL LAZO PRINCIPAL
MOV R1,#OOH /ENCERO EL CONTADOR DE PASOS
B-4
MOV RO,#OOHCLR ENABLE1 ;DESHABILITO EL MOV. MOTOR1'CLR B.3 ;APAGO LED MOTOR 1CLR LED1MOV A,BMOV DPTR,#OUT07MOVX {3DPTR,A ;SACO EL NUEVO VALOR A LA SALIDAMOV .PUERT007,A ;ACTUALIZO DATO
;****** RETRANSMISIÓN CARÁCTER DE FIN DE MOVIMIENTO (049) ***
CLR ES ;DESHABILITO INT. SERIALMOV A,#49 ;CARGO DATO A TX.MOV SBUF,AJNB TI,$ ;TRANSMITIÓ ??CLR TI ;HABÍLITO BANDERA DE TX.SETB ES ;HABILITO SERIALLJMP NOBASEMOT1X ;REGRESE AL LAZO PRINCIPAL
MOV R6/BASEMOT2 ;RELOJ DE LOS PULSOS DEL MOTOR 2JNB ENABLE2,NOBASEMOT2SETB LED2SETB B.7 ;LED MOTOR 2 ON
MOVERMOT2: ;DAR UN PASO MOTOR 2CPL B.4CPL COUNTER2MOV A,BSWAP A ;BITS +SIG. MOTOR 2MOV DPTR,#OUT815MOVX @DPTR,A ;SACO EL NUEVO VALOR A LA SALIDAMOV PUERT0815,A /ACTUALIZO D.VíO
INCREMENTO EL CONTADOR DE NUM. PASOS R5/R4MOV A,#01HADD A,R4MOV R4,ACLR AADDC A,R5MOV R5,A ;EN R5/R4 EL VALOR INCREMENTADO
;********* AHORA COMPARO R5/R4 CON NUMPASOS2H/L *************MOV A rNUMPASOS 2HXRL A,R5 ;ES R5=NUMPASOS2HJNZ NOBASEMOT2X ;NO VAYA AL LAZO PRINCIPALMOV A,NUMPASOS2LXRL A7R4 ;ES R4=NUMPASOS2LJNZ NOBASEMOT2X ;NO VAYA AL LAZO PRINCIPAL
B-5
MOVMOVCLRCLRMOVSWAPMOVMOVXMOV
R5,#OOH ; ENCERO EL CONTADOR DE PASOSR4,#OOHENABLE2 ;DESHABILITO EL MOV. MOTOR2B.7 ; APAGO LED MOTOR 2A,BA ;BITS +SIG. MOTOR 2DPTR,#OUT815@DPTR,A ;SACO EL NUEVO VALOR APUERT08157A ; ACTUALIZO DATO
;***** RETRANSMISIÓN CARÁCTER DE FIN DE MOVIMIENTOCLRMOVMOVJNBCLRSETBLJMP
******************************************;* SUBRUTINA DE ATENCIÓN A INTERRUPCIÓN SERIAL *- ****************** ***************** ****#************#******•*••*SERIAL:
;************ COMANDO PARA CAMBIAR LA DIRECCIÓN DE LOS MOTORES>INC R2 ;COMANDO VALIDOLCALL DATO ;ESPERO NUMERO DE MOTORMOV AUXO,A ;EN AUXO EL NUM.MOTOR
;*******CHEQUEO SI EL DATO ES CORRECTO 1 2 o 3******************CJNE A/#49/D2 ;ES EL MOTOR 1 ?SJMP DIRECC
;** COMANDO PARA CAMBIAR LA FRECUENCIA DE PULSOS DE .LOS MOTORES>INC R2 ;COMANDO VALIDOLCALL DATO ;ESPERO NUMERO DE MOTORMOV AUXO,A ;EN AUXO GUARDO EL NUM.MOTOR
;*******CHEQUEO SI EL DATO ES CORRECTO 1 2 o 3******************CJNE A,#49,F2 ;ES EL MOTOR 1 ?SJMP FREQ
B-9
F2 : CJNESJMP
F3 : CJNE
FREQ:LCALL
SIGNIFICATIVOSUBEMOVLCALLSUBEMOVLCALLSUBBMOV
LCALL
MOVJNBMOVMOV
FREQOK:
MOVCJNEMOVSJMP
FREC2?;CJNEMOVSJMP
FREC3?:CJNEMOVMOV
OKFREC -LJMP
NOOKFREC :LJMP
; ************?
COMANDOS :MOVCJNE
• -A"*-*-*********
INCLCALLCJNECLRMOVMOVSJMP
LIB2?:CJNECLRMOV
A,#50,F3FREQA, #51, NOOKFREC
DATOXYZ *X*A,#48NUMX,ADATOA, #48NUMY, ADATOA/#48NUMZ , A
BCDBIN
A,AUX2ACC . 0 , FREQOKAUX2 , #0AUX1,#OFFH
A,AUXOA,#49,FREC2?BASEMOT1,AUX2OKFREC
A,#50,FREC3?BASEMOT2,AUX2OKFREC
A, #51, NOOKFRECBASEMOT1,AUX2BASEMOT2/AUX2
OKEY
NOOKEYt** * * ****** *•*•** **
A,DSERIALA,#'S ' ,COMANDOX
;ES EL MOTOR 2 ?
;SON MOTORES 1 Y 2 ??
; ESPERO DIG.MAS
;EN NUMX EL BYTE +SIG.; ESPERO Y
;EN NUMY EL Y; ESPERO Z
;EN NUMZ EL Z
;NUM. MAYOR A 255, ACC . 0 DE AUX1 =1
; MOTOR 1; ALMACENAR FRECUENCIA MOTOR 1
; MOTOR 2; ALMACENAR FRECUENCIA MOTOR 2
; MOTORES 1 Y 2
; ALMACENO FRECUENCIA MOTOR 1; ALMACENO FRECUENCIA MOTOR 2
•*•*• -A-** * *********** * *********** *
COMANDO PARA PARAR LOS MOTORES> ***************R2DATOA,#49,LIB2?ENABLE1R1,#OOHRO,#OOHOKSTOP
A, #50, LIB3?ENABLE2R5,#OOH
; COMANDO' VALIDO; ES PERO NUMERO DE MOTOR
;DESHABILITO MOTOR 1; ENCERO EL CONTADOR DE PASOS
;DESHABILITO MOTOR 2; ENCERO EL CONTADOR DE PASOS
IB-10
MOVSJMP
LIB3?:CJNECLRCLRSJMP
R4,#OOHOKSTOP
A,#51,NOOKSTOPENABLE1 ;DESHABILITO MOTOR 1ENABLE2 ;DESHABILITO MOTOR 2OKSTOP
OKSTOP: 'LJMP
NOOKSTOP:LJMP
OKEY
NOOKEY
;****************CHEQUEO SI LLEGARON DATOS VALIDOS***********MOV A,R2CJNE A, #0 O , NOOKEYMOV R2/#00
FINSERIAL:POP BPOP PSWPOP DPLPOP DPHPOP ACCMOV R2/#00SETB ES ' -RETÍ
*************************************************************-A-;* SUBRUTINA DE RETARDO *-********************************•*****************•*•*****•**•&*:&*
;* TRANSMISIÓN DE CARÁCTER DE ACEPTACIÓN 'OK' = 251 V *- *************************************************************OKEY:
MOV A,#251MOV SBUF,AJNB TI,$CLR TI
B-ll
LJMP FINSERIAL
• *****************************************•**•*****-*************;* TRANSMISIÓN DE CARÁCTER DE ERROR "NOOK' = 88 X *- **** A**************** ***************************-*************NOOKE Y :
MOV A, #88MOV SBUF,AJNB TI,$CLR TILJMP FINSERIAL
TIMER:MOVMOVJNB
\ CLRDECDEC
1 LJMP
A,#250HSBUF,ATI , $TISPSPFINSERIAL
SP < — (SP)-2
DATO:- *****ARRANCAR T/C
JNB RI,$v" CLR RIMOV A,SBUFRETÍ
BCDBIN:
PUSHPUSH
MOVMOVMOVMOVMULADDMOVMOVMOVMULADDMOVCLRADDCMOV
POPPOPRET
ACCB
AUX1,#0AUX2,NUMZA,NUMY
;ESPERO EL DATO
;EN EL ACUMULADOR EL DATO
;GUARDAR STATUS
;RECUPERAR STATUS
END
APÉNDICE C:
PROGRAMA MONITOR DE LA TARJETA MCPD51DA
Cl
FORMATO INTEL HEX
La gran mayoría de los ensambladores de la familia 8051producen archivos en el formato INTEL HEX, el cual es convenientepara los programdores de EPROM y descarga en memoria RAM, se hacenecesario por lo tanto conocer en deta-lle dicho formato el mismoque servirá para comprender como funciona el programa residente enla tarjeta MCPD51DA.PCB.
El formato INTEL HEX almacena los bytes en códigos ASCIIrepresentados por caracteres hexadecimales, se incluyen datos dela dirección e información para el chequeo de errores, lo cual leda una mayor flexibilidad para la programación y transferencia-
El formato INTEL HEX consiste de una serie de registros:
NOMBRE fCARACTERES DESCRIPCIÓN
RECORD MARKRECORD LENGTH
ADDRESS FIELD
12
RECORD TYPE
DATA FIELD VARIA
CHEKSUM 2 •
Cada registro empieza con (:)Número de bytes de datos en elregistro.En registros de datos corresponde ala dirección donde se almacenan losprimeros bytes los siguientes vanen secuencia. En otros tipos deregistros son 0000.Existen 4 tipos de registros:00 Datos.01 Fin de archivo.02 Dirección extendida.03 Dirección de inicio.Depende del tipo de registros:00 Datos a ser programados.01 No se usan (vacios).02 SEGMENTO. Para direcciones
mayores de 64K, los datos sealmacenan desde(SEGMENTO +10H)-i-ADDRESS FIELD.
03 Dirección de inicio delprograma, a menudo i_o se usr- .
Para calcular el GESKSUM:l.~ Sumar todos los valores del
registro.2.- Sacar el complemento de 2
(complementar todos los bits ysumar 1).
3.- El CHEKSUM es el byte bajo delresultado.
C2
Como ejemplo podemos ver el archivo MONITOR.HEX que corresponde alprograma residente de la tarjeta MCPD51DA
Podemos ver que los registros 1 y 2 en el primer campo tienen03H lo cual indica que poseen 3 bytes de datos. En cambio losregistros del 3 al 9 tienen 16 datos (recuerde 10H=16) y elregistro 10 tiene 7 datos.
En el registro 1 la dirección de inicio es OOOOHEn el registro 2 la dirección de inicio es 0023HEn el registro 3 la dirección de inicio es 0030H, etc.
En el campo denominado RECORD TYPE se tiene siempre 00 lo cualindica que se tratan de datos, a este campo el program monitor lodenomina ESPACIADOR.
Los datos de hallan a continuación en negrillas.
Y por último se tiene el valor que corresponde al CHEKSUM.
Una vez que se ha comprendido el formato INTEL HEX, se puedeentender como esta hecho el programa monitor del cual se indica eldiagrama de flujo en el plano MONITOR.
El programa se inicia asignando etiquetas a la memoriaexterna y memoria interna, es de considerar que en la tarjeta
C3
MCPD51DA ciertos circuitos son considerados como localidades dememoria externa.
El programa espera un dato, al ser recibido es decir con unainterrupción serial se verifica que se trata de una recepción, sesetea una bandera llamada BSERIAL y el dato se almacena enDSERIAL.
El programa principal se inicia esperando el número de bytesdel registro/ se almacena en R7 y se retransmite el dato parachequeo. Luego espera por la dirección en dos etapas la primera elbyte mas. significativo y la segunda el byte menos significativo,se retransmiten los bytes.
A continuación se espera el separador y se retransmite; sereciben luego los datos que en el programa se denominan códigos,al ser leido un dato se descarga en la memoria RAM, se lee elcontenido y se retransmite, se incrementa el puntero y se chequeasi se trata del último dato de acuerdo con R7 que almacena elnumero de bytes de datos, si no es el último dato o código serepite la acción; al ser el último dato se espera por el cheksum yse lo retransmite, hasta aquí se ha leido un registro del formatoINTEL HEX, se repite el mismo procedimiento hasta que se hayanterminado todos los registros.
De esta forma se tienen en la memoria RAM (CI U14) los datosdel programa que se quiere ejecutar, para lo cual se deben cambiarlos jumper JP1, JP2,JP3 y JP6 de la tarjeta MCPD51DA.
DESCARGA EN RAM EJECUTAR DESDE RAM
JP3 |—~| JP3 | i_
JP2 JP2 ——
f f fI I I IJPl JP6 JP1 JP6
ñ continuación se tiene el listado del programa monitor.asm,y al final se muestra el diagrama de flujos.
C4
PROGRAMA RESIDENTE DE LA TARJETA MCPD51DA.PCB; B. Ledesma G.;*************************************************************;* ASIGNACIÓN DE ETIQUETAS A ESPACIOS DE MEMORIA EXTERNA *• *************************************************************
EXTINTO?SW07OUT07OUT815DIPSINP07ADCDACRAMBASE
EQUEQUEQUEQUEQUEQUEQUEQU
2000HUOOOHOOOOH2000H4000H6000H4000H8000H
• *************************************************************;* ASIGNACIÓN DE ETIQUETAS A MEMORIA RAM INTERNA *• *************************************************************
DSERIAL EQU 7FH ;DATO RECIBIDOBSERIAL BIT OOH /BANDERA SERIAL
• A*****************************-*******************************;* ASIGNACIÓN DE REGISTROS DEL BANCO O , *• *************************************************************
R7 ES EL CONTADOR DEL NUMERO DE BYTES DE UNA LINEAR6 ES EL BYTE MAS SIGNIFICATIVO DE LA ADDRESSR5 ES EL BYTE MENOS SIGNIFICATIVO DE LA ADDRESS
;INICIALIZO EL STACK POINTER;HABILITO INT. SERIAL EA Y ES;SMOD = OL;TIMER 1 COMO TIMER MODO2. ^;SERIAL PORT IN MODE 1 (8BIT UART);BAUD RATE 1200;BAUD RATE 1200 (7.3728 MHz);ARRANCO BAUD RATE;RESETEO BANDERA SERIAL;PUNTERO A RAMBASE EXTERNA
C5
NBYTES :JNB
CLRMOVMOVMOV
RAMADRES :ONB
CLRMOVMOVMOV
JNB
CLRMOVMOVMOV
MOVMOVADDMOVMOVADDMOV
SEPARADOR:JNBCLRMOVMOV
CÓDIGOS :JNBCLRMOVMOVXMOVXMOVINC
BSERIAL,:?
BSERIALA,DSERIALR7,ASBUF,A
BSERIAL, $
BSERIALA,DSERIALR6,ASBUF,A
BSERIAL, $
BSERIALA,DSERIALR5,ASBUF,A
DPTR,#RAMBASEA,DPLA7R5DPL,AAyDPHA,R6DPH,A
BSERIAL, $BSERIALA,DSERIALSBUF,A
BSERIAL,!BSERIALA,DSERIAL@DPTR,AA,@DPTRSBUF,ADPTR
;ESPERO A RECIBIR UN DATO POR RX ESTE;PRIMER DATO ES SIEMPRE EL NUMERO DE;BYTES DE UNA LINEA DE PROG.;BORRO BANDERA SERIAL;LEO EL DATO RECIBIDO;CARGO EN R7 EL #BYTES DE UNA LINEA.;RETRANSMITO DATO RECIBIDO
;ESPERO EL BYTE MAS SIGNIFICATIVO DE LA;TORECCION DE INICIO DE LA LINEA DE PROG
;CARGO EN R6 EL MSBYTE DE LA ADRESS,/RETRANSMITO DATO RECIBIDO
;ESPERO EL BYTE MENOS SIGNIFICATIVO DE;DIRECCIÓN DE INICIO DE LA LINEA DE PROG
;CARGO EN R5 EL LSBYTE DE LA ADRESS.;RETRANSMITO DATO RECIBIDO
;VAMOS A ARMAR LA DIRECCIÓN DE RAM:
DJNZ R7,CÓDIGOS
;TENGO EN DPTR LA DIRECCIÓN DE RAM:
;ESPERO EL "OOH" QUE ES SEPARADOR
;RETRANSMITO DATO RECIBIDO
;ESPERO LOS DATOS HEX DEL PROGRAMA
;DESCARGO EN RAM EL CÓDIGO RECIBIDO;RELEO EL CONTENIDO DE RAM;RETRANSMITO EL CÓDIGO;APUNTO A LA SIGUIENTE LOC. DE RAM
;DECREMENTO EL CONTADOR DE CÓDIGOS Y SI;NO ES CERO REGRESO A LEER EL SIGUIENTE;CÓDIGO.;SI EL CONTADOR YA LLEGO A CERO:
C6
BSERIAL,$BSERIAL
CHECKSUM:JNBCLRMOVMOV SBUF,ASJMP 7TBYTES
;ESPERO CÓDIGO DEL CHECKSUM
;RETRANSMITO DATO RECIBIDO;REGRESO AL LAZO PRINCIPAL
- *************************************************************;* . SUBRUTINA SERIAL ***************************************************************
SERIAL:JBMOVMOVSETB
TI,FINSERIALA,SBUFDSERIAL7ABSERIAL
FINSERIAL:CLR TICLR RIRETÍ
;LEER DATO;ALMACENAR DATO EN DSERIAL;SETEO BANDERA SERIAL
;HABILITO TX;HABILITO RX;RETORNO
END
APÉNDICE D:
CARACTERÍSTICAS ELÉCTRICAS
1ID
31-s
erie
s£9
04 1
12 3
100t
9904
112
311
01
4-P
HA
SE
UN
IPO
LA
R S
TE
PP
ING
MO
TO
RS
perm
anen
t m
agne
t ve
rsió
n
QU
ICK
RE
FE
RE
NC
E D
AT
A
mot
or t
ype
perf
orm
ance
obta
ined
with
Ste
p an
gle
Max
. wor
kíng
to
rqu
eH
oldi
ng t
orqu
eM
ax. p
ull-
in ra
teM
ax. p
ull-
ouí
rate
9904
11
23
10
01
inte
grat
ed c
írcu
itS
AA
10
27
7°
30'
22
mN
m3
0m
Nm
1 80
ste
ps/s
9904
11
23
11
01
drív
e unít
9904
131
030
06
7°
30'
24
mN
m3
4m
Nm
400
step
s/s
500
step
s/s
AP
PL
ICA
TIO
N
Mot
or 9
904
112
3100
1 is
ada
pted
for
driv
e w
ith I
C S
AA
10
27
. Thí
s m
oto
r ís
. for
app
licat
ions
whe
resy
stem
eff
icie
ncy
prev
ails
.
Mo
tor
9904
11
23
11
01
is a
dapt
ed fo
r dr
ive
unit
9904
131
030
06 a
nd o
ffer
s hi
gher
to
rqu
e a
nd s
peed
in
thos
e ap
plic
atio
ns w
here
var
iabl
e sp
eed
is n
eede
d.
Mai
n ap
plic
atio
n ár
eas
of b
oth
ver
síon
s ¡n
clud
e p
aper
fee
d m
echa
nism
s fo
r sm
all p
rinte
rs,
punc
hed
tape
tran
spor
t m
echa
nism
s, s
ervi
ng m
achi
nes,
ad¡
ustm
ení
of n
eedl
e an
d tr
ansp
ort
stro
ke,
auto
mot
ive,
car
-bure
ttor
contr
ol,
etc.
TE
CH
NIC
AL
DA
TA
Qui
lines
Con
nect
ing
lead
s
1
= y
ello
w1'
= b
lack
2 =
gre
y2'
= r
ed
3 =
ye
llow
3' =
bla
ck4
= gr
ey4
' = r
ed
3.5*
0.2
— 2
3,0+ (í I A
— 1
0,3
—
B
_LD
<1[—
•2,
HZÜ
2D
F¡g.
Mar
ch 1
986
• 9904
112
310
0199
04 1
12 3
1101
/
cata
logu
e nu
mbe
r
\é •
Pow
er c
onsu
mpt
ion
of
mo
tor
only
Máx
imum
wo
rkin
g t
orq
ue
Hol
ding
tor
que
Tor
que
dera
ting
Máx
imum
pull-
in r
ate
Máx
imum
pul!-
out r
ate
Res
ista
nce
per
phas
e at
20
°CIn
duct
ance
per
pha
seC
urre
nt p
er p
hase
The
rmal
res
ísta
nce,
coí
l-am
bíen
tP
erm
issi
ble
am
bie
nt
tem
pera
ture
ran
geP
erm
íssí
ble
stor
age
tem
pera
ture
rang
eP
erm
issi
ble
mo
tor t
em
pe
ratu
reIn
sula
tion
resi
stan
ce a
t 50
0 V
(C
EE
10}
Ste
p an
gle
Ste
p an
gle
tole
ranc
e, n
ot c
umul
ativ
eN
umbe
r of
ste
ps p
er r
evol
utio
nD
irect
ion o
f ro
tatio
nR
oto
r in
ertía
Mas
sM
áxim
um r
adia
l fo
rcé
Máx
imum
axi
al f
orcé
Bea
rings
Con
nect
ions
The
con
nect
ing
lead
s ar
ein
the
Gen
eral
Sec
tion
or
appl
ied
torq
ue[m
Nm
)
^s
.co i4 50
•ÍO 30
20 10 0
C
sl~~
• '
9904
11
23
10
01
4 2 3 1 6 1 1 1 1 > 7 + 4í
re 1 2C 5 1, su
2 0 0,4
80
2 60 90 2 20 t
o 4-
70
40
to+
10
020 2 D
30
'
20'
i vers
ible
50 5 de (b
ronz
e)
9904
11
23
11
01
4 W
24
mN
m34
m
Nm
-0,4
%
/K40
0 st
eps/
s50
0 st
eps/
s17
n
45
mH
325
mA
12
K/W
-20
to +
70
O
G-4
0to
+1
00
°C
120
oc
>2
M
ÍZ7°
30
'±
20
'
48 reve
rsib
le1
1 gc
m2
200
g
5 N
1,5
Nsl
ide
(bro
nze)
our-
code
d {s
ee F
ig.
1 ]
and
are
conn
ecte
d to
the
IC
or
driv
e unit
as s
how
nph
ase
unip
olar
ste
ppin
g m
otor
s.
i i
¡ .
1 ,
__
__
^_
,
7Z76
467.
I
1 /
~Y_
//
-/-¿
//\
!
1
1
2,5
5 7i5
devi
atio
n (d
egre
wt
Fig.
2 A
pplie
d to
rque
ver
sus
devi
atio
n.
60
Nov
embe
r 1983
| [
f.
*$ ^
4-
phas
e un
ipol
ar s
tepp
ing
mo
tors
/
Mot
or 9
9C 40
torq
ue
(mN
m)
30
20 10 0
1 i;
Mot
or 9
90 40
torq
ue
imN
m)
30
20 )0 0
1 12
)4 1
12 3
1001
with
inte
grat
ed c
írcu
it S
AA
1027
——
—p^
1 Vk
s ^S\n V \
\
99
04
112
31001
99
04
112
311
01
7Z7G
482
0
30
100
300
1000
3000
st
ep
s/s
,5
. 37,5
125
375
12
50
3
75
0
rev/m
in
Fig
. 3
Tor
que
vers
us s
tepp
ing
rate
, mea
sure
d at
roo
m t
empe
ratu
re.
4 11231101 w
ith d
rive
unit
9904
131
030
06
7276
481.
1
^=
! L_--
"-*-
""V \
!pull-
in
' .
_
1 ! 1 i
\t V"
\
1
!
1
U
1
I I
I I
M
I I0
30
1 0
0
300
1
000
3000
st
ep
s/s
,5
37,5
125
375
1250
3
75
0
rev/m
in
Fig.
4 T
orqu
e ve
rsus
ste
ppin
g ra
te, m
easu
red
at r
oom
tem
pera
ture
.
^(s
*
Nov
embe
r 19
83
6
7Z73
207.
3
Máx
imum
perm
isib
le a
mbi
ent
Hg.
2.
oper
atin
g te
mpe
ratu
res
9904
112
060
0199
04 1
12
27
00
199
04 1
12
28
00
19
90
41
12
31
00
199
04 1
12 3
1004
9904
11
23
10
06
9904
11232001
9904
11
23
30
04
99
04
11
23
40
04
99
04
11
23
50
14
99
04
11
23
50
16
9904
11
23
60
14
Mín
imum
per
mís
síbl
e
Max
. sto
rage
tem
pera
ture
: +
125
oc
Min
. st
orag
e te
mpe
ratu
re:
-4Q
°C
,
65 55 65 70 70 70 80 55 65 65 65 70
13ís
conn
ecte
d ¡o + 12 V.
''March 1986
70 70 90 90 90 90 70 70 70 70 90
INT
EG
RA
TE
D C
IRC
UIT
for
driv
ing
4-p
ha
se u
nipo
lar
siep
ping
mot
ors
AP
PL
ICA
TIO
N
The
SA
A10
27 t
rans
form
s an
input
puls
e se
quen
ce m
ío a
suí
tabl
e fo
rm f
or d
rivin
g th
e fo
llow
íng
mo
tors
:
-99
04
11
20
60
01
(ID
06-
seríe
s)
99
04
11
23
20
01
[10
32-
seríe
s)-
9904
11
22
70
01
(ID
27-
sene
s)
9904
11
23
30
04
(ID
33-
serie
sJ-
9904
11
22
80
01
(ID
28-
serÍe
s)
9904
11
23
40
04
(ID
34-
serie
s}-
9904
11
23
10
01
(ID
31-s
erie
s)
9904
11
23
50
14
(ID
35-
serie
s)-
9904
11
23
10
04
(ID
31-
serÍe
s)
9904
11
23
50
16
(ID
35-
serie
s)-
9904
11
23
10
06
(lD
31-s
erie
s)
9904
11
2 3
6014
(ID
36-
serie
s)
For
det
aile
d ¡n
form
atío
n on
the
SA
A10
27 s
ee D
ata
Han
dboo
k "L
inear
LSI,
Sup
plem
ent t
o IC
11N
"
DE
SC
R1P
TIO
N
The
circu
it co
mpr
ises
thr
ee in
put
stag
es,
a lo
gic
stag
e an
d fo
ur
ou
tpu
t st
ages
.T
he i
nput
s a
re:
- C
— a
cou
nt input
that
rec
elve
s th
e or
der
for
the
roto
r to
ste
p-
M —
a m
ode
Ínput
tha
t de
term
ines
the
direct
ion
of
rota
tion
by
settí
ng t
he o
utpu
t pu
lse
sequ
ence
- R
— a
rese
t Ín
pu
t th
at c
an b
e us
ed t
o se
t the
log
ic c
ount
er t
o "z
ero
" be
fore
the
trig
ger
puls
es a
reap
plíe
d.
All
thre
e in
puts
are
com
patib
le w
ith h
igh
noí
se í
mm
unity
log
ic í
o en
sure
pro
per
oper
atio
n, e
ven
ín n
oisy
enví
ronm
ents
.
The
fou
r ou
tput
sta
ges
can
each
sup
ply
350
mA
. In
íegr
ated
dio
des
pro
tect
the
outp
uís
agai
nst t
ran
sie
nt
spik
es c
ause
d by
sw
itchí
ng t
he m
oto
r co
ils.
ME
CH
AN
1C
AL
DA
TA
The
pac
kage
ou
tlin
e is
16-
lead
dua
l in-li
ne; p
lást
ic (
SO
T-3
8A).
Mar
ch 1
986
135
SA
A1
02
7
SOLD
ERIN
G1.
By
hand
App
ly t
he s
olde
ring
íron
bel
ow t
he s
eatin
g pl
añe
(or
not
mor
e th
an 2
mm
abo
ve i
t)If
its
tem
pera
ture
¡s b
elow
300
°C
R m
ust n
ot b
e in
con
tact
for
mor
e th
an 1
0 se
cond
s; if
betw
een
300
°C a
nd 4
00 ^
C,
for
not
mor
e th
an 5
sec
onds
.
2. B
y di
p o
r w
ave
The
máx
imum
per
mis
sibl
e te
mpe
ratu
re o
í th
e so
lder
¡s
260
°C; s
olde
r at
this
íem
pera
ture
mus
t not
be
be in
con
tact
with
the
¡oi
nt f
or m
ore
than
5 s
econ
ds. T
he t
otal
con
tact
tim
e of
suc
cess
íve
sold
erw
aves
mus
t not
exc
eed
5 se
cond
s.Th
e de
vice
may
be
mou
nted
up
to t
he s
eatin
g pl
añe,
but
the
tem
pera
ture
of
íhe
plás
tic b
ody
mus
tno
t ex
ceed
the
spe
cifie
d st
orag
e m
áxim
um.
If th
e pr
inte
d-ci
rcuí
t bo
ard
has
been
pre
-hea
ted,
forc
edco
olin
g m
ay b
e ne
cess
ary
imm
edia
tely
aíte
r so
lder
ing
to k
eep
tile
tem
pera
ture
with
in th
e pe
rmis
sibl
eli
mit
,
3. R
epai
ring
sold
ered
join
ts
The
sam
e pr
ecau
tions
and
lim
its a
pply
as
in (
1) a
bove
.
CO
NN
EC
TIO
NS
Inte
grat
ed c
trcu
ít f
or d
rívi
ng 4
-pha
se u
nipo
lar
step
ping
mot
ors
SA
A1
02
7
0.1
jiF
VC
C2 M
al
Wt
WZ
ST
EP
PIN
G M
OT
OR
r
Fig
.1.
136
Mar
ch 1
986
ELE
CT
R1C
ALD
AT
A
Inpu
t da
ta
Dire
ctio
n of
rot
atio
n (p
in 3
, mod
e in
put
M)
VIH
, H
IGH
{cou
nter
-clo
ckw
ise}
V|i_
, LO
W (c
lock
wis
e)
'lH
atV
IH-l
!La
tV,L
Ste
ppin
g (p
in 1
5, c
ount
inpu
t C)
V|H
, H
IGH
VIL
, LO
W
l|H
atV
,H-l
|l_
atV
|UT
rigge
ring
occu
rs w
hen
C g
oes
from
LO
W to
HIG
H.
Set c
ontr
ol (
pin
2, r
eset
ínpu
t R)
VIH
, H
IGH
V|L
, LO
W
!IH
atV
IH-l
|La
tV|L
Not
e: W
hen
C is
HIG
H a
nd R
¡s L
OW
the
outp
uts
are:
max
.
min
.
max
.
typ.
typ.
max
.
min
.
max
.
typ.
typ.
max
.
min
.
max
.
typ.
typ.
18 7,5
4,5 1
30 18 7,5
4,5 1
30 18 7,5
4,5 1
30
V V V p> px V V V pt p/
V V V ^ Pí
= L
OW
, Q2
= H
IGH
, Q
3 =
LO
W, Q
4 =
HiG
H.
Rem
arks
Four
inte
graí
ed d
iode
s di
ssip
ate
íhe
ener
gy s
tore
d in
the
mot
or c
oils
whe
n th
e ou
tput
s Q
are
bei
ngsw
itche
d.
• T
he c
omm
on U
ne o
f th
ese
clam
ping
dio
des
(pin
13)
mus
t the
refo
re h
ave
the
shor
test
pos
sibl
eco
nnec
tion
to t
he c
omm
on l
ine
of t
he m
otor
win
ding
s. D
ue to
hig
her
díss
ipat
ion
the
tem
pera
ture
rise
of í
he IC
incr
ease
s w
ith íh
e st
eppi
ng r
ate
of í
he m
otor
. Thí
s re
duce
s íh
e m
áxim
um p
erm
issi
ble
ambi
ení
tem
pera
ture
in w
hich
the
IC
can
opé
rate
. To
coun
tera
ct t
his,
ext
erna
l dio
des,
suc
h as
BA
X12
,ac
ross
the
mot
or w
indi
ngs
are
reco
mm
ende
d (s
ee F
ig.
3}.
• If
the
R ¡n
put
is n
ot u
sed
it sh
ould
be
conn
ecte
d to
the
sup
ply.
• W
hen
both
the
IC
and
the
mot
or a
re c
onne
cted
to t
he s
anie
sup
ply,
a s
impl
e R
C n
etw
ork
(see
Fig
s2
and
3) m
ust b
e us
ed in
the
logi
c su
pply
line
to p
reve
nt th
e lo
gic
sequ
ence
from
bei
ng d
istu
rbed
by
mot
or
9904
112
0600
199
04 1
1227
001
9904
112
2800
19
90
41
12
31
00
199
Q4
1123
1004
9904
112
3100
699
04 1
1232
001
9904
112
3300
499
04 1
1234
004
9904
11
2350
1499
04 1
1235
016
9904
112
3601
4
RB1
80
n, 0
,67
W150n,
1,15
W15
0 Ü
, 1,
15W
1 80
ÍÍ,
0,67
W1
80 H
, 0,
67 W
18
0n
, 0,
67 W
270
R 0
,33
W15
0P-,
0,6
7 W
150n,
0,67
Wi
so
n, 0
,57
wi
so
n, 0
,57
w1
80
n,0
,67
W
'sys
tem
(12
V)
íran
sien
t spi
kes
caus
ed b
y th
e m
otor
coi
ls b
eing
sw
itche
d. T
he R
g va
lúen
capa
cito
r sh
ould
be
conn
ecte
d as
ció
se a
s po
ssib
le t
o pi
n 14
.50
0 m
A60
0 m
A60
0 m
A40
0 m
A40
0 m
A40
0 m
A30
0 m
A60
0 m
A60
0 m
A60
0 m
A60
0 m
A60
0 m
A
Mar
ch 1
934
ULN2002/LULN2KI3A ULN2U04A
OR GINAL
LINEAR INTEGRATED CIRCUITS
DARLINGTON ARRAYSSEVEN DARLINGTONS PER PACKAGEOUTPUT CURRENT 500 mA PER DRIVER (600 mA peak)OUTPUT VOLTAGE 50VINTEGRAL SUPPRESSION DIODES FOR INDUCTIVE LOADSOUTPUTS CAN BE PARALLELED FOR HIGHER CURRENTTTL/CMOS/PMOS/DTL COMPATIBLE INPUTSINPUTS PÍNNED OPPOSITE OUTPUTS TO SIMPLIFY LAYOUT
The ULN2001A, ULN2002A, ULN2003A and ULN2004A are high voltage, high current darlíngtonarrays each containing seven open collector darlíngton pairs wíth common emitters. Each channel israted at 500 mA and can wíthstand peak currents of 600 mA. Suppression diodes are included for ín-ductíve load driving and The ¡nputs are pínned opposite the outpuTs to simplify board layout.The four versions ínterface to all common logic familíes:
ULN 2001 AU LN 2002 AULN 2003 AULN 2004 A
General purpose, DTL, TTL,PMOS, CMOS14-25V PMOS
5V TTL, CMOS6 - 15V CMOS, PMOS
These versatile devices are usefui for driving a wide range of loads íncluding solenoids, relays DC motors,LED displays, filament lamps, thermal printheads and high power buffers.The ULN200TA/2002A/2003A and ULN2004A are supplied ¡n 16 pin plástic DÍP packages with acopper leadframe to reduce thermal resístance.
ABSOLUTE MÁXIMUM RAT1NGS
V0
Vín
le
Ib
PÍOÍ
T
1 amb
"stg
Output voitageInputvoltage (for ULN2002A/2003A/2004A}Continuous collector currentContinuous base currentPower dissipation at TamD = 25°C (one Darlington pair)
(total package)Operating ambíent temperature rangeStorage temperature range
5030
50025
12
-20 to -r 85-55 to 150
VV
mAmA
Ww-c°c
MECHAN1CAL DATA Dimensions ín mm
127™*' I
n • n n f n n o r~i
LJ "U LJ U LJ L_| L_í LJ
3/83 284
ULN2Q01A ULN2DÜ2AUUJ21B3A ULN20IMA
CONNECTION DIAGRAM
•
^ ^ ^ r^
^ r> L -
,
taCOMMON FREE] 3 WHEEUNG DKX)€5
SCHEMATIC DIAGRAM
rt
1i11< . M
EACH DR1VER
7.2 kfl
I/
•
T1
*1- J
-OOUT
Series ULN-2001A(each driver)
7.2 !(Q
, '
../
3kn
-HH — OCOM
!
ii
Series ULN-2002A(each driver)
EACH DRIVER EACH DRIVER
Series ULN-2003A(each driver)
Series ULN-2004A(each driver)
285
..805
1/80
31S
ing
/e-C
hip
8-B
/f M
fcro
co
mp
ute
r
8031
-
Con
trol
orie
nled
.CP
U w
ith R
AM
and I
O
8051
- A
n 8
031
with
lact
ory
mas
k-pr
ogra
mm
able
RO
M
DIS
TIN
CT
IVE
CH
AR
AC
TE
RIS
TIC
S
4K
X8
RO
M12
8 x
8 R
AM
Fou
r 8-
bit
port
s, 3
2 I/O
une
sT
wo
16-b
ít tim
er/e
venl
cou
nter
sH
igh-
perí
orm
ance
ful
l-dup
lex
seria
l ch
anne
!E
xter
na! m
emor
y ex
pand
able
to
128
KC
ompa
tible
with
808
0 an
d 80
85 p
erip
hera
lsB
oole
an p
roce
ssor
8048
arc
hite
ctur
e en
chan
ced
with
:-
Non
-pag
ed ju
mps
- D
irect
add
ress
ing
- Fo
ur 8
-reg
jste
r ba
nks
- S
tack
dep
th u
p to
128
-byí
es-
Mul
tiply
, di
vide
, su
btra
ct, c
ompa
reM
ost
inst
ruct
ions
exe
cute
in 1
/¿s
4/j.s
m
ultip
ly a
nd d
ivid
e
GE
NE
RA
L D
ES
CR
IPT
ION
The
80
51/8
031
are
mem
bers
o(
a ía
mily
of
adva
nce
dsi
ngle
-chi
p
rníc
roco
mpu
ters
. T
he 8
051
coní
ains
4K
x 8
read
-onl
y pr
ogra
m m
emor
y; 1
28 x
8 R
AM
; 32
Í/O li
nes;
two
16-b
it tim
er/c
ount
ers;
a
fiv
e-s
ou
rce
, tw
o-p
riority
-leve
l,he
sted
ínt
erru
pt s
truc
ture
; a
seria
l I/O
por
t fo
r eí
ther
mul
lí-pr
oces
sor
Com
mun
icat
ions
, I/O
exp
ansi
ón,
or f
ull
dúpl
exU
AR
T; a
nd o
n-ch
ip o
scíll
ator
and
clo
ck c
ircui
ts. T
he 8
031
¡sid
entic
al,
exce
pt t
hat i
t lac
ks th
e pr
ogra
m m
emor
y. F
or s
ys-
tem
s th
at re
quire
ext
ra c
apab
ility,
the
805
1 ca
n b
e e
xpan
ded
usin
g st
an
da
rd T
TL
com
patib
le m
emor
ies
and
the
byte
orie
ntad
808
0 an
d 80
85 p
erip
hera
ls.
The
805
1 m
icro
com
pute
r, lili
e ¡t
s 80
48 p
rede
cess
or,
Is e
fíi-
cien
i bot
h as
a c
ontr
olle
r an
d as
a b
oole
an p
roce
ssor
. The
8051
has
ext
ensi
va [
acíli
ties
lorb
ínary
and
BC
D a
rithm
etíc
and
exce
ls in
bit-
hand
ling
cap
abili
ties.
Efíi
cien
t us
e of
pco
-gr
am m
emor
y re
sults
fro
m a
n in
stru
ctio
n s
et c
onsi
síin
g o
f44
% o
ne-b
yie, 4
1% tw
o-by
te, a
nd 1
5% th
ree-
byíe
inst
ruc-
tions
. With
a 1
2MH
z cr
ysta
l, 58
% o
f the
inst
ruct
ions
exe
cute
in 1
/zs,
40%
in 2
/ts
and
mul
tiply
and
div
ide
requ
ire o
nly
4/¿s
.A
mon
g th
e m
any
inst
ruct
ions
add
ed t
o th
a st
anda
rd 8
048
insí
ruct
ion
set
are
mul
tiply
, di
vide
, su
btra
ct, an
d c
ompa
re.
Fig
ure 1
. B
lock
DIa
gram
OR
DE
RIN
G
INF
OR
MA
TIO
N
Ope
ratin
gña
nga
Pac
kage
Com
marc
ial
0°C <
TA *
7C
TC
VC
C =
+5
V ±
5'i'
0
Vss
= O
V
Indust
rial
-40°C
* T
A «
85°
CV
CG
- ^S
VK
ÍOít
Vss
= °V
Mlll
tary
-55'
C *
TA *
12
5°C
Vcc =
+5
Va
:IO
%
Vs
s-O
V
Her
met
ic D
IP
Mdd
ed D
IP
Her
met
ic D
IP
Her
met
ic D
!P
12M
Hz
w/R
OM
D80
SI-X
XX
XX
P80
51-X
XX
XX
ID80
51-X
XX
XX
MD
SO
Sia
-XX
XX
X
W/0
RO
M
D60
31
P80
31
ID60
31
MD
8D31
B
•XX
XX
X Is
a (¡
ve d
ígit
RO
M c
ode
iden
tifie
r as
sign
ed h
y fa
ctor
y.
-
INTj (P
3.3). Interrupt 1 input or gate control input for O
utpL". from the oscillator's am
plifier. Input to Ihe internal timing
counter 1 circuitry. A
crystal or external source can be used.-
TQ (P
3.4). Input to counter 0.
I ^" S1?!? -S * • P
Iflí ift tí-! í í §o g . H j - p w . o g = * £ . - w o . a' 3. "S. ' * S c g ^ =5- £ S. ° m
,n -ÍT ~ — ™ -a S ^ 2 £ — M 3 o °" "S » r - S n - O . • " "Dn sü»Mif \\\\§ .ifii • íing externa! mem
ory.d th
e control signáis
T
he
Pr°9
ram
sto
re E
nab[e
ou|P
ut ls
a C
0f
sink/source four LS
lha
exte
fna
l P™
9ram M
emory to the bu
operations. It Ís activated every six osduring external data m
emory accesses
internal program execution.
rí. It also contains the -^
"n'o
Co
3 aTeS
nC
W
hen held a, a TTL high level. the 80511 ío
r that (unción to
frofp '*
8 In
tern
a! R
OM
when
the p
c IS
Ies
TL loads. T
he
secón- a
t a T
TL
low
leve
l- lh
a 8
05
1 íe
tcn
es
al1
¡n
Port 3, as follows:
Pr°9
ram
Wem
orV
'
data input X
TAL,
ynchronous). |nput to the oscillator's high gain am
pltter data output
crysía! ís used. Connect to V
ss w
hen eronous).
on x* A
L2.
ontro! Input forX
TAU
;
JP í H g~ g ^ M d . O3 ' &. =¡ * 3 o §. «.|| S|| |-ÍS|
|í ||| ÍI|| '
. g 5 = 2" o"' n S 5 " " -w S— ^ n - g E T ^t X P E.Q.U1 I Q Ü ^ T M
1-
TI (P
3.5). Input to counter 1
,-
WR
(P3.6). T
he wrile control slgnal latches the data byle
from P
ort 0 Into the External D
ata Mem
ory.-
RD
(P3.7), The read control slgnal enables E
xternal Data
Mem
ory to Port 0,
RS
T/VP
D
I/O port, It is
also the
A
n'9n le
ve
l Ofl th
ls Pin
rese
ts ln
e 8
051 • lf VP
D 's
neld
w'tíl¡n
¡lsbus w
hen using ex- sP
ec (appr°xim
ately +5V), w
hlla VCc drops below
spec, VP
D w
illduring program
verifl- P
rovid
e standby power to the R
AM
. When V
PD is low
, Ihe RA
M's
loa
cjs currenl ls draw
n (rom VCQ
. A sm
all internal resistor permits
power-on reset using only a capacitor connected to VCG-
ALE
íort. It is used for th
e ,
,.
,_
,erificatlon. P
ort 1 can P
rovides Address Latch Enabíe output used for latching the ad-
dress into exíernal m
emory during norm
a! operation. It Is acti-vated every six oscillator periods, excepl during an externa! datam
emory access.
poflii c í o a_ini_3I I I I I I I I ' f pUrij?
= v>0 0 0 - f í!* 2S • - fi g
O
I l l l l l l II II I l l l l ' • ; . : . .fO«II «>«T1 POBTt .' '
Ú «DOHEBl BUS AOOnCCI 1 CUTA BUS , .
f l | 2 2 2 3 2 2 2 2 l 2 s £ 2 5 2 2 s : ' " °nnnnnnnnnnnnnnnnnnnn i
1 KP- fifí! itít ííf í itííí!'ísilÜI'íílíiií ÍfíJii:'t¡IPlKí!!f
l.l§|á°f|a ||¡ g-f || |s||Í-^8 s-S-fllfS IfSíi? §lls|= 5.3-18:35? IS? »gg ' T Z f g a s S • g „ á §• | 2. »??-|g| „ =. 2 Sfg|i||||r l^fíf? t ||il íllfll- §ffS?.^ |f|3s /S s o S - í S - ^ s - g ST 2 P -" | ñ | =rj§||-£f f | "5"^ ,«S «ffgS'S. ¡ .| s"?^,? S
WITH ASCII/BINARYP O S I T I O N R E A Ü O U T & AUTOMATIC
DIRECT10N FINDÍNG
• INTELLIGENTPOSITIONINGco STEPPER MOTOR CONTROLLER
The CY51.2; intelligent positioning stepper motor controller is astandard 5 volt, 40 pin LSI device configured to control any 4-phase
steppermotor. The CY512will interfaceto any computerusing parallelTTL input and provides numerous TTL inputs and outputs for auxiíiary
control and interfacing. The CY512 allows sequences of hi-level type commands tobestoredinternallyinaprogrambufferand beexecuted uponcommand. The TTL outputssequence the stepper drive circuits thatconsistof standard powertransistors or transistorarrays. When absolute position commands are executed, the CY512 automaticallydetermines whether it is necessary to move CW or CCW to reach the specífied targetposition.
STANDARD FEATURESASCII-DECIMAL OR BINARY COMMUNICATIONSINGLES VOLT POWER SUPPLY25 HI-LEVEL LANGUAGE COMMANDSSTORED PROGRAM CAPABILITYHALF-STEP/FULL-STEP CAPA8ILITYABSOLUTE/RELATIVE POSITION MODESPROGRAMMABLE VÍA ASCII KEYBOARD8000+STEPS PERSECOND (11 MHz XTAL)PROGRAMMABLE OUTPUT UNETWO INTERRUPT REQUEST OUTPUTSMORE LINEAR RAMPTHAN CY500HIGHER RATE RESOLUTION THAN CY500PROGRAMMABLE DELAY
PIN CONFIGURARON
SOFTWARE DIRECTION CONTROLHARDWARE/SOFTWARE START/STOP•ABORT CAPABILITYAUTOMATIC DIRECTION DETERMINARONRAMP-UP/SLEW/RAMP-DOWNVERIFY REGISTER/BUFFER CONTENTSSTEP INHIBIT OPERATION'DO-WHILE' AND 'WAIT-UNTIL' COMMANDS'JUMPTO'COMMANDSEVERAL SYNC INPUTS AND OUTPUTS'SLEW1NG11NDICATION OUTPUTTERMÍNATE1 STEP LINE FOR MAX ACCELERATIONLOOP COMMAND WITH REPETIT1ON COUNT
THE CY512 STEPPER MOTOR CONTROLLER UTILIZES A Hl-LEVEL LANGUAGE FOR CONVENIENT CONTROL OF DIRECTION,POSITION, SPEED, AND ACCELERATION OF ANY FOUR PHASESTEPPER MOTOR. THE SELECTION OF EITHER BINARY CODEOOR ASCII-DECIMAL CODEO COMMANDS ALLOWS THE USE OF ASIMPLE ASCII KEYBOARD FOR PROTOTYPE DEVELOPMENT.
\E DEVELOPMENT SYSTEM
CY512 PROGRAMMING EXAMPLE
R 1801 JSTEP RATEF ij IPARAMETERSAJ r DECLARE HOMEEJ ENTEn PROGRAM CODE
EPS AT A TIMEallN CLOC^WISE DIRECTION
¿6TARTSTEPPING'URNON CONTROL UNE
reUirnlf n
hatlrie
#X::5000 i DELAY FQR 5 SECÓNOSt- B l ','ÍTURN Of DONTROL L1NE' • ' -'• " .OOP6TTMESTOADDRESS
AFTER 6 SETS OF 20 STEPS
'AITHEREUNTILL1NEGOESHICONTINUÉ LOOPINGUNTILPIN281SHIFINISHED. RETURNTOCOMMAND MODÉQUIT PROGRAM
Consider a program thal will lake 20sieps. lurn on an exiernal control UneforSsecondsthenconlinuelo IhenexloieequallyspacedpQsllions. Allertheslxíh poslllon. the motor should reUlo Ihestarling posltlon and waillfexternal control Une lo Indícate thalprogram can be slarted again. The pro-grarnshould alao leal anolher exiernalcontrol Une and ejiher continué Iheprogram or return lo the comm?ndmode. (
The parameter valúes lor slepplng raleand slope oí ACCEL/DECEL can be selprior lo program loadlng.tnus alio wingal lof the program bulter lo be used loraclivelnslructlons. We begln execulingIhe stored progcam by sandlng 'D' (íordo ít now).
USER SOFTWARE FORPHOGRAM UOADING
BUFFERIN HOST
ENIER 1 COMPUTERCY512/HOSTINTERFACE
CY512COMMANDS
A ATHOME(DECLAREDPOSITION)B BITSET (CONTROL OUTPUT=l)C CLEARBIT(SETCOHTROL=OJD DO ITNOWIEXECUTEPROGRAM)E ENTEH (PROGnAM ItJTO CYS1Z)Fi FACTOR PARAWETER FOR RATEG GO(BEGINSTEPPING)
H HALFSTEPMODEI IN1TIALI2E CY512J. JUMPTOBYTE'á'IHPROGRAMLe,. LOOP'c' TIMES TOADDRESSBYTE'a
Nn NUMBER OF STEPS nO0 OFFSETDRIVESIGNAUSASREQ'D
Pe POSITION p 1S DESTINATIONQ • OUIT PHOGRAM MODERr RATEOFSTEPPINGSETTOrS. SLOPE OF ACCELERATION (js)T TILPIN28HI.REPEATPROGRAMU UNTIL'WAIT LOV/. WAIT HERE
V. VERIFY BUFFER CONTENTS
W UNTIL'WAIT'HI, WAIT MERE
Xx EXPENDVMIUISECONDDELAY+ SET CUOCKWISE DIRECTION
- SET COUNTERCLOCKWISE DIR.Ó RETURN TO COMMAND MODE
•NO CAHRIAGE RETURtl AFTER O
USED ONLY 1N THE COMMAND MODE. THE VERIFY COMMANDALLOWS THE USER TO EXAMINE THE INTERNAL REGISTERSANDPROGRAMBUFFEHOFTHECY512. 1F
V D") ISENTEREO.THEUSERMAYREADBACKTHECURRENTPOSITION VALUÉ IN BINARY OR ASCII
V i) WILL READ BACK. IN BINARY. THE PROGRAM STOREDIN THE PROGRAM BUFFER. THE PROGRAM AT LEFTWOULD BE HEAD BACK AS:4EH 14H OOH 2BH 47H «H 5BH BSH 13H ...
N 20 X 5000
V 3} V/ILLGIVETHECUHRENT VALÚES OF'NUMBER/'SLOPE.1•RATE.' AND TACTOR.' THE EXAMPLE PROGRAM WILLPRODUCE VALÚES OFUH OOH 02H B4H 01H
N=20 R=1BO
HOST SOFTWARE CONSISTS OFBUFFER TO HOLD COMMANDS TO BELOADED INTO CY512 PñOGRAM BUFFERPLUS HAND SHAKING ALGOHITHMTO COMMUNICATE WITH CY512
«CYBERNET1C MICROSYSTEMS • 445-203 SO. SAN ANTONIO ROAD • LOS ALTOS. CA 94022 • USA • PHONE: 415/949-0666 • TELEX: 171-135-CYBERNET1CS
1981
CY512\T POSITIONING
STEPPER MOTOR CONTROLLER
ELECTRICAL SPECIFICATIONSABSOLUTE MÁXIMUM RATINGS:Ambient Temperatura underbias o°C to?0°C
Storage Temperature -65° C to +125° C
Voltage on any pin with respecí to GND -0.5V to +7V
Power Dissipation 1.5 Watts
DC & OPERATING CHARACTERISTICS TA = 0°C to 70° C Vcc =+5V + 10%
SYMBOL
'ceVIHVILILOVOH
VOLFCY
PARAMETER
PWRSUPPLYCURRENTINPUTHIGHLEVELINPUTLOWLEVELDATA BUS LEAKAGE
OUTPUTHI VOLTAGE
OUTPUT LOW VOLTAGECRYSTALFREQUENCY
MIN
2.0— 5
2.4
2
MAX
170
VCG.8
10
.45
11
UNIT
mAV
VMA
V
V
MHz
REMARKS
(3.BV FOR XTALli2, RESET)(0.6V FOR XTAL1-2, RESET)HIGH IMPEDANCE STATE
PIN 30 LO IF NO TRIGGERING, STEP ON Hl-TO-LOTRANSITION'D' COMMAND SELECTS DO PROGRAM, '0 ' SELECTSCOMMAND MODE
•MODE O 1S DEFAULT MODE IF DEFAULT EXISTS'ABSOLUTE MODE SET VÍA EACH 'POSITION' COMMAND, ELSE RELATIVE MODE IN EFFECT.*RETURN TO DEFAULT MODE ONLY BY RESET (HARDWARE) OR 'INITIALIZE' COMMAND (SOFTWARE). 512DS-005-0681-5K
«5£^/KIT
FOR EVALUATION
Now you can intelligently control your 4 phase steppermotor ¡n just a few hours. The CY512 prototyping kit
comes ready to assemble, complete with a CY512 intelligentpositioning stepper motor controller and documentation.
A wirewrap section even allows for custom ínterfacing to your particularapplication. Just add power supply and keyboard or computer .... then seehow intelligent your motor can be.
STANDARD FEATURES
DESIGNED FOR FLEXIBLE CONTROL OF CY512 INTELLIGENT POSITIONINGSTEPPER MOTOR CONTROLLER
GENERAL PURPOSE POWER DRIVER MANÓLES MANY 4-PHASE STEPPER MOTORS(LESS THAN 1.5 AMP/PHASE)
TOGGLE SWITCHES ON ALL CY512 CONTROL INPUTS
LEDs ON ALL CY512 CONTROL OUTPUTS
COMMAND INPUT FROM YOURASCII KEYBOARD OR8-BIT COMPUTER PORT
EASY INTERFACE WITHSTANDARD 50-PINCONNECTOR
REQUIRES ONLY 5 VOLTSAT0.5 AMP MAX. (PLUSMOTOR CURRENT & VOLTAGE)
COMPACTSIZE6" x 7%"(15.2 cm x 19.5 cm)
QUICK ASSEMBLY
Cybernetic Micro Systems$ CYBERNETIC MICRO SYSTEMS 1981PRINTED IN U.S.A.
Baarerstrasse112Te] í\ \r CH-6300 ZUG
ELEKTRONISCHE BAUTEILE Tel. (042} 31 5477
4022» USAYBERNETICS
005-068l-5k
/* UCN-5804BIntegrated Circuit
THE MARK Oí-' ñELUBILITV
BiMOS I! TRANSLATOR/DRIVER
DATA SHEET 26184.12
FEATURES
• 1.5 A Máximum OutpLtC^'íenl• 35VOutputSustainingVoit3ge• Wave-Drive, Two-Phase, 3nd Halí-S'.ep Dtive Formats• InternalCIampOiodes• Ouípuí Enable and Direction Control• Power-ON Reset• Internal Thermal Shuldown Circuitfy
Combining low-power CMOS logic \vith high-current andliigh-vultagc bipolar outpms, the UCN-5S04B BiMOSII translutor/driver provides complete control and driveIbr a Ibur-phase unipolar steppür^rioiurwithcomuHiousouiput current ratings lo 1.25 A per phase (1.5 A startup)and 35 V.
The CMOS logic section provides ihe sequencing logic,DtRECTiON and OUTPUT tiNABLí: control, and a powcr-ONrcset function. Three stepper-motor dríve formáis, wavc-drive (one-phase), iwo-phuse, and half-siep are externallyselectable. The ínputs are compatible with standardCMOS, PMOS, andNMOS circutis. TTLorLSTTL mayrequirethe use of appropriate pull-up resisiors 10 insurea propcr inpui-logic high.
The wave-drive tbrmat consista of energfcing on.e motorphuse at a time in un A-B-C-D (or D-C-B-A) sequence.This cxciíation modo consumes the least power andassures posilional accurucy regardleüs of any wíndinginbalance ín the motor. Two-phase drive energi^es twoadjacem phases in euch detent posilion (AB-BC-CD-DA).This sequence mode oíTers an improved lorquo-spcodproducl, greater detent torque, andis less suscepiible tomotor resonance. Half-siep excitation altérnales beiweenihe one-phase and two-phase modes (A-AB-B-BC-C-CD-D-DA), providíng an eighi-siep sequence.
The bipolar outputs are capable oí'sinking up to 1.5 Aand withstanding 50 V Ín the oi:Hstaie (.sustaining voltagesup lo 35 V). Ground clamp and flyback cliodes próvido
OUTPUTu 16 SUPPLY
DIRECTION
GROUND
i) STEPINPUT
101 HALF-STEP
ONE-PHASS
proieciion againsí induciive iransícni.'». Thernuí! proiecrlion circuitry disables ihe ouipuis \vhon the chip icm-peraiure is excessive.
The UCN-5804BÍS raied Ibroperat ionoveriho lem-peraiure range oí" -20°C to -f S5°C. I i i:> iupplicd in a16-pin dual in-iine plástic baiwing package with a copporlead frame and hcat-sinkable tabs tbr improved po\vcrdissipaiion capabiliiios.
A. Mínimum data set up time 100 nsB. Mínimum data hold time 100 nsC. Mínimum step input pulse width 500 ns
BiMOSIITRANSLATOR/DRIVER
TYPICAL APPLICATION
L/R STEPPER-MOTOR ORIVE
DIRECTIONCONTROL
Product Data Sheet
onderware® InTouch™ 5.6 is an object-oriented, graphical man-machine ínter face (MMI) applicationgenerator for industrial automation, process control and supervisory inonitoring. Types of applications include
í discrete, process, DCS, SCADA and other types of manufacturing environments. lt is the Jjfth generaüon of theindustry's leading MMI from Wonderware, the company that pioneered the use of Windows in industrial automation.One of the most sígnificant new features, Wonderware's new pre-conñgured graphic 'Wizards,' inakes (.he creation ofpowerful applications faster-and easier.
Tens of thousands of Wonderware InTouch packages are in use and producing dramatic results. Users report lowerproject and life cycle costs and improved production in both quality and quanüty. OpÜonal SPC, Recipe and SQLmodules help users satisfy a variety of industry reporting requirements. Versión 5.6 continúes our commiünent thatcurrent InTouch applications will always be able to run on future versions of the software, protecting your investmeiiLof time, energy and money.
Wonderware InTouch applications span the globe in amultitude of vertical markets including food processing,semicbnductors, oil and gas, automotive, chemical,pharmaceutical, pulp and paper, transportation, utiliüesand more. InTouch was selected to help dig the"chunnel" under the English channel, a major engineer-ing project, and now monitors the traffic going throughit. InTouch was used to monitor experiments aboard aNASA space shuttle. In Venezuela, InTouch is the MMI ofchoice ¡n the largest glass manufacturing facility in theworld. Eastman Kodak uses InTouch to supervise the •packaging of x-ray film at its Dental Finishing Depart-ment. The Blite-Weinhard Brewing Company installedInTouch, and achieved impressive gains in manufactur-ing and quality control. InTouch is used to mine metáisand íerment corn in South África, to produce vitamin C inChina, and to manufacture trucks, farm equipment andautomobiles in the U.S., Sweden and Germany.
Features & BenefitsObject-Oriented Graphics
Easy-to-con figure applications mean faster development times. Objects and groups of objects can be moved, sized andanimated more quickly and simply than bit-mapped graphics. Powerful object-oriented design tools make it easy todraw, arrange, align, layer, space, roíate, invert, duplícate, cut, copy, paste, erase and more. These tools are availablein a unique, confígurable Toolbox or from standard pull-down menus. InTouch supports any graphics resolution,including EGA, VGA, and Super VGA, and allows an unlimited number of animated objects per window.
Animation LinksAnimation links may be combined to provide complex size, color, movement, and/or position changes. Animation
links include discrete, analog and string touch inputs; horizontal and vertical sliders; discrete and action pushbuttons; show and hide window push buttons; Une, fill and text color links for discrete and analog valúes and
alarms; object height and width links; vertical and horizontal position links; vertical and horizontal percent filllinks; visibility links; discrete, analog and string valué output links, rotation links and blink links.
Standard User InterfaceWonderware adhieres closely to the standard Windows GUI format, so it's a breeze to move from one
InTouch versión to another, or between InTouch and other Windows programs. Identical versión
I n T o u c h 5 , 6numbers oí InTouch Standard and InTouch for Windows NT use idéntica! user interfaces. This coininon look and fe elsimpliíies running muHiplc Windows progranis on the saine scrcen simultaneously.
WIZARDSInTouch 5.6 includes a library of Wizards — pre-configuredcomplex objects Ihat users can modify and duplícate freely.FrequenUy used Wizards can be aclded to the InTouch Toolboxfor even easier access during applicaüon deveíopment. TheExtensibility Toolkit ailows users and third-party developers tocréate very complex Wizards, such as an AutoCAD drawingconversión Wizard. Or OEMs, for example, can provide custom-ized Wizards that créate graphics and datábase lags automaü-cally, making custom installaüons a snap.
NetDDEUsing Wonderware's NetDDE, included with InTouch, usersbenefit frorn DDE connectivity between applications on differentnodes over the network. Connectivity support is provided between Windows, VMS, and UNIX operaüng environmentsover a range of network protocols such as NetBIOS, TCP/IP, and DecNET, plus serial port communication. NetDDEenables the workstaüon to be a virtual gateway between network protocols.
New User FeaturesVersión 5.G has many NEW clístrib-uted features. Dyiiamic Refcrencinglets users change datábase referencesto input /output tags at runüme. Thismeans that users can change datareferences on the fly for PLC ad-dresses, Excel spreadsheet cells,DynamicData Exchange (DDE)references, and the like. Using thisexciting new capability, operators canuse a single tag to 'view' any cell in aspreadsheet, for example. Coupledwith Wonderware's exisüng ability to
dynamically switch between 1/0 servers or other DDE-awareapplications, Dynamic Referencing provides tremendous appíica-üon flexibility. Distributed Alarming supports múltiple alarmservers or'providers' simultaneously, which gives operators the
ability to view alarm ínformaüon from múltiple remóte locations at the same time. The new clistributed alarm func-üons let users implement 'point-and-click' alarm acknowledgement, alarm scroll bars and many other new features fornetworked use. The new Distribuíed Historical Trending system ailows users to dynamically specífy differenthistorical file data sources for each of the pens on a trend chart. Since InTouch permits the use of up to eight pensper trend chart, users can have an unprecedented amount of historical data available for viewing at any given time.Remote Deveíopment features have been added to accommodate large multi-node installaüons. These includeapplicaüon updating of all noeles on a network, either automatically in a üme-based fashion or in response to operatortriggers or application events.
Real-time DatábaseDatábase tags can be configured as discrete, real and integer valúes, and strings. There is no limit to the number ofeach type. Utilities are included for datábase exporüng/imporüng to/from spreadsheets, other databases, or editors.
I n T o u c h 5 , 6Real-time and Historical Trends
Built-in objects allow easy crealion of real-üme and historical trend clisplays. Display up lo eighl peas al a lime in historicaltrend charts and have each pen reference a differenl historical file. Each histórica! trend has run-lime tagname selection,valué at cursor display, zooming, scrolling, and centering capabilities. Export dala to Excel, lexl files, or any DDE program.Real-üme trend clisplays support four pens. There is no limil lo the number of charts that can be displayed per screen or perapplication.
Extensive Alarm CapabilitiesAlarms are easy lo configure and prioritize. InTouch provides for 1-999 alarm priorities and alarm color changes accordinglo alarm stalus, and supports hierarchical alarm groups to eight levéis. Each alarm group may have up to 1G sub-groups.There is no limit to the number of alarms. Alarms can be dis-played on screen, logged to disk, or output to a printer. The alarmdisplay allows individual seleclion of formáis for display, disklogging or printing, as well as viewing of all alarms or any subseteíther as alarm summary or history. New-distribuled alarmfunclions include global acknowledgment, point and clickacknowledgernent, alarm scrolling , and viewing of múltiplealarm províders in a single alarm object
Script EditorInTouch provides extensive scripting capability for rapidprototyping, background calculations, and simulation. CondilionScripts include OnTrue, On False, While True, and Wliile False.Button Scripts include On Button Down, While Bullón Down, andOn Button Up. Wíndow Scripts can be invoked when Opened,Closed or While Open. Data Change Scripts actívale when dalachanges valué, upon operator actions such as selecting objects,or as the result of events such as alarm conditions. Scripting iseasy. All funclions are simply buttons Uiat are adjacent to the script window. All scripl funclions and data variables arechosen by point and click. The scripl editor itself has Find/Replace and Converl, ancl it offers up to 256 character expres-sions for Condition Scripts.
Script FunctionsScript functions support logical and mathematical expressions. Users can display single precisión floaling point numbers,while internal calculations use double precisión íloating point numbers. New functions have been added such as slringmanipulation, malh functions, file I/O, system resources, and hexadecimal and scientiñc numerical representations. Userscan also write theír own script functions and add them to Iheir script menú tlirough Ihe use of the Extensibility Toolkit.
Password ProtectionPassword protection offers built-in log-on wilh up to 10,000 levéis of assignable access, ancl provides extensive capability forpassword access and conditional operations.
Optimized PollingWonderware's use of exception-based polling provides the highest througbpul of dala possible. The only lags and dalapoints that are continually polled are those in currently displayed Windows or those used for alarming, historical, or scriptactívation. ínTouch auíomatically keeps track of how a tag is being used, eliminaling Ihe use of complex tag-polling lables.
Window Printing/DocumentationUsers can easily design and genérate custom reports directly from wilhin InTouch appiicalions by simply formalling ascreen. Report screens can be set up to print automalically if triggered by an event. InTouch Wizards can be used also to•automatically send reports vía E-mail. InTouch provides extensive application documenlation.
SPCWonderware's SPC oplion provides Slatistical Process Control capabilities at the operator level. By comparing rcal-tíme statistical process performance wilh defined high and low control limils, the qualily of the process and, ulli-malely, the producís will be improved. Histograms, Pareto Charts, and a variety of control charls are supporled. Allcharts and limils are user-configurable. This oplion is available on a single node or a dislributed syslem.
RecipeThe Recipe option allows users lo easily créate, modify and download recipes or machine sel-up paramelers. Processvariables such as setpoinls, ingredienls, process limils, liming, and lemperalures, are slored in a .CSV formalledworksheet and can be downloaded lo the PLC based upo ti an event or action.
SQL AccessWonderware's SQL Access option provides InTouch users with access lo virtually all of the large datábase programs,including Microsoft SQLServer, ORACLE, SyBase, dBase, and olhers that supporL the Open Data Base Connectivity(ODBC) standard.
Extensibility ToolkitThis software package allows users Lo cuslomize and exlcnd Ihe capabililies of InTouch according lo their specificneeds. The Toolkit incíudes theWizard Development Kil, the ScríptEnhancementKil and the IDEA Toolkit. Userswith "C" programming competence can créale their own Wizards and unique script funclions and include them as paríof Uieir developmenl syslem. Tliey can also tap inlo Ihe powerof Visual Basic, FORTRAN, Pascal, etc., for additionaidevelopment of visual elemente, forms, dalabase access and manipulador!.
DDE I/O ServersA wide range of I/O servers is available from Wonderware as well as third-parly developers for hundreds of Ihe mostpopular control devices, including Allen-Bradley, Siemens, Modicon, Opio 22, Square D and more. All Wonderwareservers provide slandard DDE communication lo any Windows/DDE appiicalion as well as "faslDDE" for cominunica-tion wilh Wonderware producís. Wonderware also offers a DDE Server Toolkil Ihal lets users develop new or propri-elary DDE servers.
Comprehensiva SupportWonderware's award-winning leclinical support staff has been raled the best in the induslry. Continuing our commit-ment to customer support, Wonderware offers the Comprehensive Support CD-ROM (CSCD), which expands (lieconcept of support and elévales it lo new levéis. The CSCD support package incíudes quarterly software updates,addilions lo Ihe Wizards library, complete producl documentalion, sampie applicaüons, embedded "how-to" videosand multimedia presentalions, news releases, appiicalion stories, lechnical supporl papers, solutions, and accessnumbers to Wonderware's Bulletin Board Syslem (BBS).
SpecificationsHardware Required:
Software Required:
Networking:
PC as required by operating system with a minimum of 8 MB of RAM
WFW 3.11 or Windows 95.
Supports any standard NetBIOS network: Ethernet, Novel!, Token Ring,Arcnet, etc. DECnet, Serial and TCP/IP connectivity supported.
Wonderware ¡s a registered trademark of Wonderware Corporation. Wonderware InTouch and NetDDE are trademarks of Wonderware Corporation.
Conlact Wonderware or your local Distributor for informalion about software producís for industrial automationWonderware Corporation • 100 Technology Dr. • Irvine, CA • 92718 • Tel: (714) 727-3200 • Fax: (714) 727-3270
PN15-309ReI.09/15/95
REVOLUTIONARY MMI SOFTWAREWITH NO COPY-PROTECTION
:\cw PC Drop-In Mistic Pro-cessorNew High-Resolutlon/DensityI/O BricksFaclory Mutual CertificationFor MisticMistic Natural Gas PipelineApplicationNew G4 I/O Switch Modules
l í you're tired oí Lhe headachespresented by Ihird-parly operator inter-í'ace software, ihen stop reading theirreference manuals. stop taking all theaspi r in and get ready for Lhe real cure.OPTO 22 introduces ¡Ls MisLic Man-Ma-ch ine Interí 'ace ( M M I ) . t ak ingauLomalion hardware and software Lo arevolutionary new level oí productivity.
Diverse appl ica t ions . f rom highspeed Lurbine control to chemical pro-cessing. wií l be performed wi th
unpara l le led pff ic iency usi¡:¿í ihe mis-Lie 200 controlleí and iLs new M M I .Gombin ing leading-edge control hard-ware. Lhe world's smaries i I/Ü. thefr iendl ies t of control software and nowa seamlessly integrated M M I . mis i ichelps sysLem designers reduce automa-tion development t ime and cut cosis.The cost cu t t i ng begins w i th the mis i icMMI ' s price of SI295.00. anti Hiereare no extra charges for m u l t i p l t 1 us-ers or sites. Never!
Mi\ff...continued on page 2
22
MMI...c0fl£í/2(/ec/ '/rom pag& 1
I'M
Alisiir MMI isa Microsoft Wlndows-hased operator interface that lighllynuiples ihe world of the operaior andUií.1 real-iime conirol layer. System de-signers. can access I/O. controlvariables, monitor alarm status, logdata to disk. trend real-time informa-linn and mure.
\lisiic MMI takes full advanlage oíthe un-board intelligence in the Misticprocessor and smart 1/0 Brick func-tions. The melding of the real-timecontrol layer and Lhe operator interface\viih Mistic MMI allows control systemilesigners lo bring new operations on-line more quickly and at greatly re-ilucéil expense.
\iistic MMI's high degree oí controland operaior software integration per-miis des'igners lo work in a singlefiatahase environment, which elim-ínales the crpss-referencing and re-emering oí tag ñames. This approachalso iets designers work with seleclablemenus to elimínate many data enlry er-rors and speeds debugging.
Neiwork support provides access toall mistic processors on Lhe llnk. allow-ing supervisory control and monitoringírom any operator station. Mistic MMIcommunicates vía industry standardnemorking interfaces or an RS485 orRS232-serial link.
IVIIVM
MEW!AVAILABLE 2ND QUARTER
Misiic MMl's network DDE optionprovides hassle-free network communi-caiion in any direction: upward,dmvnward. sideways whatever. Linkmúltiple sites across ihe network toijuilcl sophisticated. control systems.l'lilize any DDE aware. application toaccess informat-ion directly: your favor-iLe word processor for reports and apeí spreadsheei for data analysis.DDE connectivity allows you to use therighl lools for the ¡ob at hand.
F E A T U R E S
• Single database-usestag ñamesfrom user's Cyrano control program
• Sophisticated object-oriented drawenvironment
• Imports bit-mapped graphics •
• Symbol library includes 3-D graphics .and standard ISA symbol library
• Real-time trending•
• Multimedia sound card support
Mistic MMI defines the next gener-alion of operator interface software withpower, ease-of-use and price perfor-mance thal other packages only dream
• Recipe support
• Histórica! data loggíng
• Complete objectanimation
• On-line help
• Saves acquired data in delimitad ASCIIfor easy ¡mport into spreadsheets, wordprocessors and SQC and SPCprograms
• No site license or copy protection
about. With mistic MMI. you'll completeprojects on time and uncler budgei. mak-ing an importanl conlribution LO yourcompany's bottom Une.
\;EXCEPTIONAL PERFORMANCE AND ECONOMY
All ihe intelligence. speed and flexibil-ity of the induslry's most, advancedcompuier-based control system is herenow on a PC board: Inlroducing thenew mistic G4LG32ISA controller íromOPTO 22.
Smarler'than a PLC. More flexiblethan a DCS. The mistic G4LC32ISA con-troller is a modular high performanceprocessor ihai drops right into any indus-try slandard PC. It ¡s compatible withthe entire mistic automation family ofcontrollers. I/O and software. Peaturesinclude 32-bit microprocessor. floatingpoint math, optional math coprocessor.256 Kbyte RAM and 256 Kbyte FLASH(both expandable). high speed local 1/0interface. and an RS485 serial port forremote 1/0 or third-party device inter-face.
The RS485 seria! port can be used tocommunicate directly with mistic re-mote 1/0 bricks or coníigured to talk lo
third party serial devices such as bar-code wands. scales and analyzers.Communication daughler cards are alsoavailable to expand capabilities further.providing additionai serial poris andneiworking interíaces. Unique to theG4LC321SA. as comparecí with existingpltig-in control processors. is the abilityto communicate directly with other ISAcards over the PC backplane. TheG4LC321SA can access other vendor'sdevices that perform specialty func-tions like high speed analog samplingand third party hard\\'are communica-tion. Because the G4LC32ISA does notrely on the PC's main processor totransíer data between these cards.tighl real-time. control is maintainedalong with the flexible bencíits of utlliz-ing Lhe PC for operaior interfacereportíng and neiworking. The only rt
MIST1G CONTROLLERS.,.con///]í/erfo/í page 3
O P T O 22
OPTO 22
CYRANO 200SOFTWARE
MODEL CYRANO 200
DESCRIPTION
CYRANO 200 ¡s a poweríul, easy-to-usesoftware package for Opto 22's mt'stic 200industrial control system. Cyrano lets yourepresent control logic ¡n a visually íntuitiveflowchart forrnat.
FEATURES
4 Dramatically Reduces SoftwareDevelopment Time
* Genérate Solutions By Drawing Charts
4 Debug By Watching Execution Of Chart
4 Floating-point Math
4- Ful! Function ASCII String Libran/
4 High Performance, MultitaskingSolutions
4 Non-proprietary CommunicationsProtocol For Networked Applications
4 ARCNET Networking Support
4 Stand Alone As V\fell As Netwo-í'.adSolutions
4 All Text In Programmíng EnvironmentContained In ASCII Files
4 Define Control In DirectTerms(i.e., Turn On Pump #5')
4 Develop Control Solutions OverComplete Spectrum Of IndustrialApplications
4 No Copy Protection
4 Mouse And Menú Driven
DEVELQP, DOWNLOAD, RUN AS EASY AS 1...2...3
1. Deve/op application on PC Workstation using CYRANO 200.
MÍNIMUM HARDWARE CONFIGURARON
IBM PC / AT or EQUAL WITH:* 640Kbytes RAM* Hard Disk* EGA/VGA Video Adapter (256K card)* Mouse* Serial / Parallel Port
DEVELOP APPLICATION2. Download application to a mistic 200 controller and debug using CYRANO debugger running on PC
Workstation.
3, Run application stand-alone or networked.
DRUNNING CYRANO
CENTRALCONTROL
COMPUTER
ARCNET OR RS^SS SERIAL LINK- - - UP TO 256 CONTROLLERS
.ANCVOR S^NSCfiS
STAMD-ALONE OR NETWORKED
Typical Application FlowchartFile Conf Igure Charts System Pr iot
255¿32 PROGRAM :' SPECSHÉT CHART :" POUERUP
BñTCH'PROCESS. CONTROL
"ZOOh : 1.000
ORERATION
CONDITION
CONNECT
DETAIU
ERftSE
MOUE
COPY
ZOOM-IN
ZOOM-OUT
PftN
COUOR
TEXT
ÑAME
OPTO 22
mistic MMI
mistic MMI is a sophisticated operator interface software package for Opto 22's mistic 200 controlsystem, Utilízing the Microsoft Windows graphical user interface, the user can quickly and easílybuiid complex graphics screens to access I/O, control variables, log data to disk, trend real-timeinformaíion, and much more. Network support provides easy access ío all mistic processors on thelink, allowing supervisor/ control and monitoring from'any MMI station.
The MMI is íightly integrated with all Opto 22 mistic 200 hardware, taking fui! advaníage of theon-board intelligence of the processor and smart I/O brick funcíions. The high degree of integratíonbetween the Cyrano control software and the MMI means íwo databases and typing in tag ñames area thing of íhe past. • This seamless coupling between the real-time controí (ayer and the operatorinterface woríd translates into a massive savings in total project development time and costs.
FEATURES -
+ Tightly Integrated with Cyrano Control Software and mistic 200 Hardware
+ Single Datábase - Uses Tag Ñames Generated from User's Cyrano Control Program
+ Sophisticated Object Oriented Draw Environment
+ Ability to Import Biímapped Graphics
+ Built-in Object Symbol Library
4 Real-time Trending
+ Hisíorical Logging io Disk
+ Multimedia Sound Card Support
+ Complete Object Animation
+ Full mistic 200 ARCNET Network Support
+ On-line Help
>- Save Acquired Data ¡n Delimited ASCII for Easy Importation into Spreadsheets, WordProcessors, SQC, and SPC Programs
+ No Site Licenses or Copy Protection
THE WORKSPACE ENVIRONMENT
Architecture
mistic MMI is comprised of íwo parts; the configurator and the runtime. The configurator ¡s a poweríulbut easy to use, object based draw package. In the configurator, the user designs the graphics,applies dynamic animation attributes, and connects to Cyrano data to be accessed by the runtímeenvironment. The runtime environment is used to access the desired real-time data and apply thedynamic attributes designed in the configurator.
Controller Driven
Jfc
Objecí animation is determinad by íhe síatus of Cyranoprogram daía in íhe mistíc 200 coníroller.
es* Une Color«a* Fill Color«• Visibility / Blink^ Horizoníal Size^ Horizontal Position"S*" Vertical Size"3" Vertical Position
A Coníext Sensiíive help system saveswasíed time normally spent wading íhroughhardcopy documentation.
ll£j
Text Animation
Text ColorVisibiliíy / BlinkDisplay Valué / SíringHorizontal PositionVertical Position
Draw Functions
These tools assist in quickand effídent screen formaííing.«* Alígn Obj'ects131 Bring to íront«• Send to backes" Resize•a" Snap Grid
Operator Driven Graphic Objects
Permíts users to manipúlate Cyrano prograrndata from the MMI runtime environment«" Horizontal Slider=a- Vertical Slider^ Touch - Pop Window" Touch - Send Valué to Controller«• Touch - Send Discreíe to Controller031 Touch - Send String to Controller
THE WORKSPACE ENVIRONMENT
Connecting An Object To The Controller
A unique shared datábase approach allows the mistic MMI to access data generated by íhe Cyranocontrol program direcíly by íag ñame. Because this selection process is compleíely menú driven andoniy vaüd data types can be selected, íypographical and syntactical errors are eliminaíed. Tying agraphic object creaíed in the MM1 Configurator to the desired Cyrano data is accomplished by doubíeclicking on the objecí and then selecting the proper Cyrano ¡tern frorn a series of menus.
3. Select ítem To Be Connected ToBy Tag Ñame Created Iri Cyrano
2. ChooseítemType
Drawing
The MMI configurator contains a comprehensiveset of drawing tools thaí enable the user to créatecomplex graphic objecís. Bitmapped ¡mages canbe imported and animated or used as backdrops íoprovíde additionai graphic detail.
Animation
Any object can be assigned one or more dynamicanimation attributes. An object can have its fulcolor cmtrolled by an analog ouíput and have ¡ísver'ical position deíermined by a floaíing pointvariable. The same object can also be configuredto send data to íhe controller when accessed byíhe user at runíime.
Select-
Rectangle
Ellipse
Polyline
Place Bitmap
Trend
Tool
O
Une
RoundedRectangle
Polygon
Bezier Curve
Text
Produci Une Data Book
THE PARAGON SOFTWARE CONCEPT
The Paragon software concept embodies an ¡nnovaíive approach ío íhe design and ¡mplemeníaíionof your automation síraíegy. With Paragon's graphic programming language, process design,start-up, and troubleshooting is híghly iníuiíive, so you spend more of your time concenírating onyour process, not on íhe software, Further, Intec's commitmení to delivering a high performance,real-tíme environmení and open access architecture guarantees a robust application environmeníwhich can expand to meet the changing demands of your process.
Function BlockCategories
Graphic Programming Language — Intuitive Tools"If you can draw ¡t, Paragon can do ¡ti" summarizes Intec's corporaíe charter to produce ¡ntuitivesoftware which unlocks your mind to créate the control strategies and data acquisiíion methodsnecessary for opíimum efficiency. Intec pioneered the development of the icon-based useriníerface so íhat absoluíely no prograrnmíng is necessary. The entire Paragon ¡mplemeníation isaccornpiished by using the mouse to paste monítoring and control function blocks onío theworkscreen. The síraíegy building process is self-documenting, making it easierto troubleshootand ío undersíand the control scheme, You can also easily modify or expand your sírategy, evenmerging paríial sírategies togeíher to save time and effort. Sírategies and operaíor displays arequickly and easily completed, allowíng you ío conceníraíe on yourdesign objectives wiíhouí havingío learn a complex software configuration technique.
Function BlocksParagon's design tool, íhe "Straíegy Builder", is based upon an original concepí which abandonsthe oíd connecíion menú approach. Instead, the Strategy Builder utilizas a graphic engineeringdrawing formaí containing Funcíion Blocks, picíorial representations of industry standard algoriíhmsthat need to be execuíed during Runtime. These pictorial representaíions provide a visualdimensión ío yourstrategy, enabling you ío see at a glance the location of your I/O points and íheirinterrelaíionships. Paragon's funcíion blocks allow you to define analog and discreíe, as well asstring handling functions. The function blocks are stored under íhe foilowing categories:
Input/OutpuíCalculatíonMathSelectorBasic and Advanced LogicBasic and Advanced ConírolStringHistorian
There are aiso function blocks forthe I/O devices and forspecial options such as Reports, Recipes,SPC, and Communications. With the correct íype of I/O hardware, you can ímplemení rock solidcontrol with, for example, the PID block for providing "bumpless" PID, íhe Set Poiní Profíler blockfor managing up to 256 sequence steps for applications like ramp and soak, the Truth Table blockfor implementing complex logic sequences and performing interlocking and encoding/decodíng,plus a host of other functions.
¡nfec Controls Corporation
CompoundsMost strategies have funcíions that arerepeated. Wiíh Paragon, you can groupfunctionblocks into a customized block called aCompound, ñame it, and put ¡í inío the blocklibrary for repeated use. The Compound blockmakes ¡t possible to paste down entire complexfunctíons within any sírategy usíng onerepresentativa block, saving time whileincreasing accuracy. It also helps to reducethe number of function blocks on one screenfor easier comprehension and manipulation.Compound blocks provide a needed íunctionalhierarchy to the strategy.
Process BlocksCompound blocks can then, in turn, with otheríuncíion blocks, be placed wiíhin a ProcessBlock, to organize your siraíegy into processunlís. Intec oríginated the concept of thegrocess block, a unique method by which allfüncíion blocks wiíhin a single, relaíivelyindependent process can be defined, saved,and assigned to run in expanded memory,distributed ío a node on íhe network,redistribuied ío a diíferent node on the network,or aííached ío a graphical representation with a fewclicks ofthea clear, high level view and partitioning of the strategy, allowingyou think.
Select any number ofyour connecled andconfigured blocks.
One mouse click groupsíhern inío a cusfom blockcalled a compound.
Add íhe compound iothe library and use iíover and over.
Put compounds ¡níocompounds, up toten levéis deep.
Group up ío 800 blocksinto a process b/ocfc forassignmení ío expendedmemory or to any síatlonon a Paragon network.
Process Block
mouse, Process blocks give youyou to design íop-down, the way
Compounds ProvideNesting and Duplicaronof Functionality
Djstributed Processing for Plant-wide Information ManagementProcess blocks, combined with Paragon's support of off-the-shelf LAN networks, provides theability to ¡mplement true disíribuíed processing oí your strategy across múltiple nodes whileautomatically mainíaining all ¡nterprocess connections. You have íhe ability to view or change anypoint in the sírategy írom any node during Runíime. The location of points becomes íransparení.No longer is there a need to decide during inítial design stages exactly where you iníend to assignpoints on íhe network or ¡f you even intend to neíwork at all. There is no need to worry as yourapplicaíion grows because Paragon is capable of handling an unlimited number of poinís. Paragonruns on commercially available NetBios and TCP/IP oriented high-speed LAN's (local áreaneíworks). Plus, complete upward compatibility means you can start with a single stand-aloneParagon síaíion and build your neíwork as your application expands. Paragon's networkingcapabiliíy allows easy sharing of information with other software packages to satisfy yourmanagement reporting and ClM needs.
Product Une Data Boak
Process Blocks AllowNetwork Distribution of
Functionality
YOUR STHATEGY
True Real-time Data Acquisition and ControlParagon provides real-time data acquisiíion and control, as opposed ío íime-slicíng or oíherprimitive multiíasking techniques that are suitabie only for non-criíical applications. Real-timeprocessing provides íask prioriíizaíion, allowing one processing taskío take prioriíy overanoíhertask as needed, as opposed to time-slice techniques which perform íasks in a set order withoutthe ability ío preempí a lower priority íask for a higher prioriíy one. Performance is sought afíer atevery level of Paragon. By utilizing a real-time operaíing system, Paragon can easily handle anyplant-floor application thaí requires time-critical background data processing, communicaíions,alarming, and reporting.
Open Access ArchitectureParagon's archiíecíure is designed so íhat other software and computer systems have access tothe wealth of process daía acquired by Paragon — the end resulí is íoíal plant-wide connectiviíy.Paragon 550, in particular, targets those applications íhaí require the constant exchange ofprocess informaíion between the plant-floor control sysíem and plant computers which manageproduction scheduling, material planning, inventory control, daía archiving and reporíing, qualitycontrol, and recipe maintenance.
By supporting standard NetBios LAN's, TCP/IP LAN's, and associated Utilities, Paragon cancommunicate directly wiíh minicomputer, mainframe, and workstation hosts such as VAX's,AS/400's, HP9000's, and Sun machines. To facilítate information exchange, Paragon can storeand process informaíion in íhe Comma Separated Valué (CSV) file format, an ASCII delimiíedformat which ¡s directly readable by plant computer applications such as relational databases,spreadsheeís, and data analysís and reporting software. Your existing software can thus becomean analysis and reporting íool for Paragon data.
Process data can also be available to remote computers vía the Host Support Package (HSP).HSP lets you communicaíe serially with a Paragon station, via a modem or direct link, (rom anyDOS-based hosí computer. You can receive or send files, and read or wriíe ío data poinís in arunning Paragon straíegy.
planar cnough. Llsed w i t h \VM Basic, Ualso automates the analysis of paramelersensi t ivi ly. Conlacl: Kiiowleiiije Revolulion,ófi Bovel Mi/., Su/ le 200, Síin A-ífík'o, CA9-M02, Sü0-7ti(i-fifí i5; or circle 1 1 1 .
Jack M. Winters ¡s associate professor ofbio medical engineering, CatholicUniversity of America, Cardinal Station,Washington, D.C. 20064. His e-mailaddress is w¡[email protected].
Virtual instrutneñts'KENNETH R. FOSTHR.
lany programa written íor dataacquisicion cards do a good job
l o f taking data. LabVIEW, byNalionnl Instruments, does Car more: ii ¡sa platform for developing catire measure-ment and control systenis based on per-sonal computcrs. This latest reléase addsstill more goodies and improvements toan already disiinguishcd prodact.
LahVIEW interfaces a computer tothe real world of insrrumenis and data , kcan drive a wide variety oí- data acquisi-Lion producís, including analog-to-digi-ta l converlers (mostly those made byNational Ins t ruments , but possibly alsoconverters made by othcr manufacturcrsas well, using Microsoft Windows' DDEf a c i l i c y ) , I E E E 488 c o n i r o l l e r s , VXIdevices, and serial Instruments.
The package has two distinctíve fea-tures. Rrst, Hs set of tools for signal pro-cessing and display is unusual ly com-plete. They ¡nclude extensive packagesfor the graphical display of dala, signalanalysis, file Input/outpur, programmingtoáis, and Communica t ions capabi l i t iesusing transmission concrol and DDE pro-tocols. The signal analysis package, forexample, offers 21 different transforms, a
(Juzcn d i l l e r en t Windows, 1 I d i f f e r e n tdigital fihers, probability and suiíistics,peúk delection, and more.
LabVtEW's second, and more exciling,distinction is Hs graphical programmingcapnbility. A user can constmct elabórate"v i r tua l ins t ruments" by asbcmbl inggraphical icons into block diagrams locarry out complex tasks—without writinga line of code. Thcse icons may represents i m p l e a r i t h m e l i c a l o r p r o g r a m m i n goperations or more complex operationssuch as digital f i l te r ing or siatistical anal-ysis. Icons may trven be o ther v i r t u a linstruments, which simplifies devclopingcomplex applications.
caled nceds, I suspea ihe preseni verdiónwould be enough.
I ran a beta test versión of LabVllEW•I.O on my compuier, under Windows3.1, which uses an AMD 486 micropro-cessor r u n n i n g ai 100 MHz wi th 16MBof memory. The program ran smootlily,and w i i h i n a short t ime I was ab lc todeve lop a v i r t u a l ¡ n s t r u m c n t of myown, an elecirocardiogram m o n i t o ru s i n g a bandpass H u t t c r w o r t h l i l i e r .LabVlEVV is ub t r r f r iendly , bul i t s t i l l isl a rge a n d c o m p l e x , a n d i t d e m a n d ssome familiarily with signal processing onihe parí of the user. For real-time applica-t ions , i t s ma in l i m i t a t i o n i s probably
LabVIEW 4.0. For VV7míotus 2.1 ana 95. Qlbcr vfrsionsare availtilleJor Windows NT, Mndnlosl}, Potoeratací, SiníSpcircStiitions rwwiím/ Solaris i or2, fi»íl Hcivlelt-Pai-kanlworlslalions. Prices slarl al $995forPCs, $i995Jor
s, antí $2995 for Sun S¡>arcSlalíons ana HPs. Tbt: Windows versión m/mVes
Perhaps equal ly importan! , the usercan créate a graphical display of kcy con-trols and data that has eye appca!, or avirtual ¡nslrumem: that is not only a strik-ing visual s imulat ion üf the real thing butalso easy to use and not prone ro swampa nontechnical user with excessive detail.An cngineer m i g h r deve lop a v i r t u a linstrument to control a complex industri-al process for use by operating personnel.
Versión 4 was rcleased in February.Among its m a n y enhancements are anew user i n t e r f a c e wi th f l o a t i n g cus-tomizable paleues for tools, similar tothose in some high-end graphics pro-grams. Other al tract ions are new pro-ductivity luols, including a routine thatf inds the execution time of different seg-ments of a program (which is useful fordebugging applications). \Vhethcr theseenhancements would j u s t i f y an expen-sive upgrade by present users is an openquesrion/ but for those wi th uncompli-
speed, which is limited both by the soft-ware and che plniíorm that is running it.
LabVIEW so impressed me tha t Idecided to incorpórate a student versiónof it in an earlior reléase in an inslrumen-tation course. Designing "virtual instru-menta" w i l l be an i m p o r t a n t s k i l l fo rengineers. Too bad ihc company cnnnoialso supply virtual data, and Ict us all golióme early. Coiilijcí.- Ní i l íú j i f i í /nslrnni«ils,650-f Britlife Po í f i l Parkwny, A H S Í I J I , TX73730-5039/ 5 í 2-79-/-0 JOO,- SOÜ-J33-3-Í 88(Lltiiletl S id íes íuu/ Can a ti ti"), t-mail,[email protected], or Gírele I 12.
Kenneth R. Foster is associate professor in thedepartment of bioengineering, Universityof Pennsylvania, 220 S. 33rd St, Philadel-phia, PA 19104-6392. Hís e-mail address [email protected].
Siinion 3D, versión 6.0. An electrón- andion-optics simulation program. For PCs.US $500. Co»íí/cí; Pri'iiurfoiJ E/ccírouffsSysleuis Inc., Box «627, Princclon, NJOS5'í3-atí2, a09-7tf9-5695,jax, (509-709-77-Í3/ f-IHfífí, /JeSÍHCCtU/ílllítí.íl/CC.COHI; W^V/VVI|j!í/):///t/ií(üJi/cc.coiíi/-|)csíiic/, or circle I 13.
VisFly. A high-speed, 3-D computer-aidec! dcsign v i sua l i za t ton tool. ForSilicon Graphics Inc. workstations ands u p e r c o m p u t e r s . $6íJOO per sea t .
Design-a-course. 1-or ihc design of trainingprograms. For windows 3.1, Windowsfor Vv'orkgroups, Windows 95,Windows NT, and Novell. $175 perseai . Be rns t e in & Associates, 5Dunwoody Park, Suite 118, At lan ta ,
GA 30338; 770-392-1488; fax, 770-671-1618; or Gírele I 15.
Cornerstone 2.. 1. Exploralory dala anal-ysis software. For Windows. Cosí perusen $2000 ( f o r U n i x ) and $1000(Windows). CüHificl: CBN DÜJIUIIH Cor/t.,í5u Cambridge Park U/*., Gitn/Jf/íí^e, A-IA02I-JO, G/7-873-50üOí/íIX, tí 17-873-G 153,