Академический Документы
Профессиональный Документы
Культура Документы
Yo Mario Patricio Vásquez Cadena, declaro bajo juramento que el trabajo aquí
descrito es de mi autoría; que no ha sido previamente presentada por ningún
grado o calificación profesional; y, que he consultado las referencias bibliográficas
que se incluyen en este documento.
Certifico que el presente trabajo fue desarrollado por Mario Patricio Vásquez
Cadena, bajo mi supervisión.
En e! país desde hace varios años se está implementando este tipo de control
de procesos, principalmente en industrias grandes, y los resultados están a la vista
cuando se tiene mejor control de la producción con menos gastos de recursos
humanos y económicos.
RESUMEN
Página
1. INTRODUCCIÓN 1
1.1 HISTORIA 3
2.1 DEFINICIONES 5
2.2 ARQUITECTURA 7
2.2.1 ESTRUCTURA EXTERNA 7
2.2.2 ESTRUCTURA INTERNA 8
2.3 CICLO DE OPERACIÓN DE UN PLC 18
2.4 UNIDADES DE PROGRAMACIÓN 19
2.5 CANALES DE COMUNICACIÓN 21
2.5.1 PRINCIPIO DE TRANSMISIÓN 21
2.5.2 TRANSMISIÓN PARALELA 22
2.5.3 TRANSMISIÓN SERIAL ASINCRÓNICA 23
2.5.4 TRANSMICION SERIAL SINCRÓNICA 24
2.6 PARÁMETROS GENERALES DE LA TRANSMISIÓN SERIAL
ASINCRÓNICA 25
2.6.1 TIPOS DE UNIONES 25
2.6.2 NUMERO DE BITS DE DATOS 27
2.7 INTERFACES DE COMUNICACIÓN 29
2.7.1 INTERFAZ ESTÁNDAR RS-232C "¿9
2.7.2 INTERFAZ ESTÁN DAR RS-485 33
2.7.3 INTERFAZ4-20mA 35
2.8 PROTOCOLOS DE COMUNICACIÓN - 35
2.8.1 PROTOCOLO MODBUS 38
2.8.2 PROTOCOLO UNITELWAY 44
2.8.2.1 REQUERIMIENTOS 47
2.9 SISTEMA SCADA 48
BIBLIOGRAFÍA
ANEXOS
C. PROGRAMACIÓN EN PL707
D. SENSORES INDUCTIVOS
E. CONVERSOR RS232C/RS485
F. VARIADOR DE FRECUENCIA
CAPITULO I
INTRODUCCIÓN
1.1 HISTORIA
2.1 DEFINICIONES
AUTOMATISMOS Y AUTOMATIZACIÓN
f CPU
^
Intetfaces de _$,
h P xn cesado r ^^*, Iníerfaces de
Entradas Memoria msoss^ Salidas
\ J
AI PLC también se le puede definir como una "caja negra" en la que existen
terminales de entrada a los que se conectarán pulsadores, finales de
carrera, fotoceldas, detectores, etc, terminales de salida a los que se ie
conectarán bobinas de contacíores, elecíroválvulas, lámparas, etc, de tal
forma que la actuación de estos últimos están en función de las señales de
entrada que estén activadas en cada momento del programa almacenado.
2.2 ARQUITECTURA
MEMORIA:
- Sistema operativo
- Memoria de E/S
- Programa de usuario
- Memoria de estados internos
- Salvaguarda de datos
- Variables internas Microprocesador
Reloj
1
Registros y unidades de E/S Expansión BUS
Expansión E/S
1
- Red indusrial
Acopladores E/S E/S serie
- E/S adicionales
- E/S especiales
SENSORES - RS-485
ACTUADORES - RS-232
> Sección de entradas: se trata de líneas de entrada, las cuales pueden ser
de tipo digital o analógica. En ambos casos se tienen rangos de voltaje
estandarizados, los cuales se especifican en las hojas de características
del fabricante. A estas líneas se conectan los sensores y emisores de
señal.
Sección de salidas: son una serie de líneas de salida, que también pueden
ser de carácter digital o analógico. A estas líneas se conectan los
actuadores.
>• Unidad central de proceso (CPU): se encarga de procesar el programa de
usuario que se introduce a través de un dispositivo o terminal de
programación. Para ello se dispone de diversas zonas de memoria,
registros e instrucciones de programa.
Tanto las entradas como las salidas están aisladas de la CPU según el tipo
de autómata que se utilice. Normalmente se suelen emplear optoacopladores en
las entradas y relés/optoacopladores en las salidas.
> Crear una imagen de las entradas, ya que el programa de usuario no debe
acceder directamente a dichas entradas.
Memoria
8 bits = 1 byte
16 bits = 1 palabra ( 2 bytes)
Con este tipo de memorias no es necesario una puesta a punto previa de!
programa sobre memoria RAM, no se requiere radiaciones ultravioletas para
borrar un programa y éste permanece inalterado en caso de corte de energía.
Palabra n° O
Palabra n° 1
Palabra n° 2
Procesador:
Las inspecciones tienen por objeto establecer sí las entradas y salidas han
actuado. Estas acciones establecen un lazo de control entre las señales de
entrada tales como: interruptores, finales de carrera, pulsantes, sensores, y las
salidas: relés, transistores, triacs, etc.
Fuente de alimentación
Las más utilizadas son las digitales, que por medio de optoacopladores
toman el voltaje entrante y permiten la activación de la variable respectiva dentro
del programa del PLC. Las señales de entrada son generalmente voltajes
provenientes de sensores ubicados en la máquina o proceso a controlar. Las
entradas de un PLC pueden ser también de diferentes voltajes, ya sea corriente
alterna o de corriente continua.
Estos voltajes pueden ser de 24 VDC, 110 VAC, 220 VC, entre oíros.
Obsérvese la figura 2.4 (a) el diagrama eléctrico de una entrada que utiliza como
iníerfaz un circuito con opíoacoplamiento para aislar los voltajes externos al PLC,
ofreciendo una protección hasta de 6000 voltios en la entrada, sin producir daño
alguno a la circuitería interna. Este exceso de voltaje dañaría las entradas del
PLC (optoacopladores), pero no ocasionaría daños a los circuitos internos del
PLC porque se está utilizando optoacopladores y estos aislan a los circuitos del
PLC de la energización de las entradas.
Sensor , c
ptoaooplador -*- '*
1 ^
>-, Entrada
Y
. C ~—
-
- -! Hacia la CPU
ID]
77 -
Fie uní 2. 4
Las señales de entrada típicas son : 1-5, 0-5, 0-10 Vdc. Este es el voltaje
medio en la entrada de los terminales de entrada analógica. Si se transmite
mediante señales de corriente (4-20 mA), esta señal es convertida de 1-5 Vdc
correspondientemente, usando resistencias escalonadas conectadas a través de
los terminales de entrada del módulo analógico.
Salidas (Outputs)
I 0«.f*laCPU
EWTRflí/VS
LÓGICA?
OFTOflSL^OOR CGM'vERTIDQft
DESDE
DPU DC ^r
- VN- i
J
v>, ,/-
x TRIGGER
FfilflC
ft fit,
OC
CQNTBOL J*
Figura 2. 5
Contadores (counters).
Al igual que las entradas lógicas, los contadores de un PLC son variables
que simulan a los dispositivos contadores reales. Pueden hacer conteo de
entradas y salidas físicas o lógicas, como también, pueden hacerlo en forma
ascendente o descendente, activando otras variables luego de comparar el valor
del conteo en que se encuentren con un valor que se haya programado
previamente.
Leer Entradas
*"""'•"• BSraO^BIk.
Ejecutar Programa
El tiempo de ciclo depende del tamaño de! programa, del número de E/S,
de la cantidad de comunicación requerida y de la velocidad del procesador.
1. Retardo de entrada.
5. Retardo en salidas.
Para reunir todas estas demandas, tres modos de transmisión han sido
definidos.
2.5.2 TRANSMISIÓN PARALELA
AUii ¿U
i
Unidad 1
Unidad 2
BUS
Unidad 3 -
- "
Unidad 4 -
- 8 lineas de direcciones
del bus
!
4
Linease e gestión \
i/
Lineas
L
*.
de control de datos
ine de gestión de
transferencia de
datos
I I " I I I
bit de envío Dato Bit de parada
START (enlreSyShíis) (1;1 íX2o2bits)
Para este tipo de transmisión la línea tiene solo un cable; los bits de datos
binarios de una palabra o carácter se envían sucesivamente, uno a continuación
de otro. Ninguna señal de reloj u otra señal de sincronización es enviada con los
datos, sino que el receptor y el transmisor tienen relojes internos que se
sincronizan con cada carácter a partir del bit de inicio.
Site de fin de
mensaje
Dalo
Inicio de mensaje
A 0
Cada una de las dos estaciones pueden transmitir o recibir, pero no las dos
simultáneamente. La unión solo puede operar en una dirección en
cualquier momento.
v" A -i:-' 0 -•SÍ
.. . ;. ••
Y
Unión Multípunto
•-C-.
> Codificación en 8 bits: codificación binaria pura, con señal y sin señal
Dirección de irartsmisión
0 0 1 1 0 1 0 0 1 1
Puridad
> Paridad impar: el número total de bits en 1 (carácter +bií de paridad) debe
ser impar.
El reloj receptor solo está sincronizado con el reloj transmisor por el tiempo
de duración de la transmisión de caracteres. El añadir bits de servicio (inicio y
parada) a cada byte a ser transmitido corresponde a una pérdida mínima del 25 %
de la capacidad de la línea de transmisión.
Es, por lo tanto, aconsejable solo utilizar un bit de parada con el fin de
mejorar la eficiencia.
Velocidad de Transmisión.
Características Eléctricas
13...
25...
Las señales Rl, DSR, DTR, son usadas para crear y abrir el circuito cuando
una línea no está permanentemente asignada a la interfaz.
Las señales RTS, GTS, DSR son usadas para ¡nícializar la transmisión.
Uso de la Interfaz
Distancia
15 m
1 iv-fc-j Velocidad
Resistencia
Linea Terminal
K. A A'
X
H
/3 B1
raO. 1
I
Transmisor Receptor
Características Eléctricas
Transmisor
Fisura 2. 22
> Receptor
Características Dinámicas
El uso de pares trenzados blindados con calibre de más de 0.2 mm2 (AWG
24), y un elemento de final de línea, velocidad de datos de hasta 100 kbps son
posibles sobre distancias de 1000 metros.
Esta interfaz está hecha hasta de dos lazos, uno para transmisión y otro
para recepción, los cuales pueden o no tener circulación de corriente a través de
ellos (20 mA), a partir dé una fuente de voltaje.
Una vez definida la conexión física para poder transferir información entre
los dispositivos o sistemas, debe existir un formato para los datos y una estrategia
de sincronización de. como se envía y recepta los mensajes, incluyendo la
detección y corrección de los errores. En un enlace de datos se presentan
bloques que cumplen diferentes funciones.
^ Piscado -_
S»- Campanilla
Escucha ¿^ -^"
¿*~ ^- Atiende
^_ identifica"
"Hola" ^
Requiere i^- ..
^ "^ Espera
y_ —- \
Requiere ^__^
.. Espera h*
"Hola" ^" i iernpo
Tiene 300. ^ "listo" "^- -_^
Tn Cemento
——.
y Precio? • ^Solo Tengo
—
— — ^.
J L
Nivel de Gerencia
I)
Nivel de auiomah'iacióff
ID1 0
0
1 U
G
/'
'ni3.e.
Dus de campo
Por ejemplo, el código de función 03 pedirá al esclavo que lea los registros
ocupados y responda con su contenido. Los datos de campo deben contener la
información que diga al esclavo con que registro empezar y cuantos registros leer.
La Respuesta:
Modo ASCII
1 iii ii
i
ii
Bit de
, I 0 1 0
Carácter ASCII "É"
0
'
0 1 0 , A
t t Biís de
comienzo Bií de paridad parada
(start bií) (parity bit) (stop bits)
rn 2. 28 Transmisión en ASCll
MODO RTU .
VARIADOR DE CONTROL
NUMÉRICO
¡u VELOCIDAD
coxca
a aa a
£ OO
UNI-TELWAY
V Topología bus,
INTERFAZ RS-485 aislada,
Cable del bus blindado, par trenzado
Resistencia del cable: SSohms/km,
Resistencia del blindaje: 12 ohms/km
Capacitancia entre conductores: 100 pF/m,
Características de la impedancia diferencial: 85 ohms,
Atenuación por km: 13 dB/km desde O hasta 20Km,
Longitud del bus 1000 metros
46
CAPA DE ENLACE: Se ocupa de las técnicas para "colocar" y " recoger" los
datos en el cable de interconexión. Se subdivide en:
7
UNI-TE
APLICACIÓN
6
PRESENTACIÓN
5
SESIÓN
4
TRANSPORTE
3
TE NETV/QRK
CAPA DE TRABAJO
2
OAPA DE ENLACE
PUERTO DE
TELWAY7 UNI-TELWAY
1 PROGRAMACIÓN
OAPA FÍSICA
2.8.2.1 Requerimientos
PC
¿&
SOFTWARE SCADA
Dentro de las funciones básicas realizadas por un sistema SCADA están las
siguientes:
"í*^-,.
CAPITULO IIÍ
'Para el desarrollo del presente módulo se van a utilizar los equipos que
se detallan a continuación, básicos para una mejor comprensión de la temática
planteada :
2 en autómatas de 16 ó 24 E/S,
9 5 10
-13
7 6 11
nn i u 11 i tí. .1 mu m t i n -ni
Jv
200 metros máximo (1)
Entradas/salidas específicas
Entrada RUN/STOP
Entrada preseleccíón a O
Enirncfíi contojú Entrada validación; pontaje?
r
Salida dlreciaO Satlda directa 1
Autómata de base
1,
r Itbl 1 1 1 1 1 1 1 1 1 1
r
i 1 i J
1
|;-;v;-:;::-;-;;-;|
:y.-:XOX:::.
ir Período variable T1
Períodos posibles:
nr Período constante T
Parámetros de configuración:
Períodos posibles:
'> Sin filtrado; confirmación de señales cortas para aplicación rápida pero
sensible a los rebotes y señales parásitas. En este caso, se desaconseja
el uso de contactos secos.
Autómata
de base Extensión de E/S
1 \l
0
O O
f
U I! I 1 1 i I
enlace de extensión
o o O O
enlact; de oxlensídn
Extensión
üe&S
rxní
Direccionamiento de entradas/salidas
% IOQ; O o 1 :- a [
símbolo I - entrada 0 = autómata de base Punto i - número de vía
Q= salida o extensión autómata
1 - extensión de las
entradas/salidas
Ejemplo de direccionamiento:
%I0.3 significa : Entrada, vía n° 3 del autómata de base
%Q1.6 significa : Salida, vía n° 6 del autómata utilizado en la extensión
de las entradas/salidas
68
%fl.3 1 W1.3-
1J
í í
%Q1.S-
Analógico
valor de O a 255
Numérico
Potenciómetro Conversión Colocación en una
de ajuste Analógica/numérica palabra sistema %SW
Figura 3. 12 Registro del valor del potenciómetro en una palabra de memoria interna
%SW113
Aiirrentasón lrfás:c
Ciras conexiones
fkíentc- í?4 V oxlema)
i—ó-—-o—o—-o-—g—o-—-o-—o—c-—-o———- T
—o-
T
H O O
< u U
O—O—-o- 1—C—o—o-
T
J
1
I
I
4-20 itA
tt"1 lI E
I r~.
G t- 10 V
Entradas lógicas
L11 +24
O
I IO i <"* 4
Li¿. *£<*
Ü3
LI4
K?
K1
—O G- C
LI2 LÍ2 •*'s
LI3 LÍ3
LI4 LIA
(p
3.1.3 SENSORES
Detector cíe
proximidad
Generador de
Delactof Impulsos (2)
fotoeléctrico
Autómata de base
2 5 13
A
OflTOACOPLADORES
= 24V T
= 24V
ddp 3 hilos
SI /
10 líDC
salida
100:.^
El S1 es un relé interno de salida del PLC por e! cual se obtiene el PWM para el
funcionamiento de incremento del voltaje hacia el circuito.
V/
Aumentación
y Alimentación
TSXPC01Ü30
Ejemplos de Instrucciones
Grafcet
,
3 |—!
o
LD %M10
- XM10
4
nTH I- H
LD
5
4
%I0.7
- %HX7 SM15
# 5
[•J -1
¿ LD
5
%M15
7
LU
H
O LS2 SS1 LS2 SS1
«0.1 %io.r
k ;h-
%M 3
K~
%J\M£ %Q1.2
/" \
H 1
%MW2Z :^ %MW1S + KWT
Columnas 1 2 3 4 5 7 8 9 10 11
Filas
Araa da comprebadün
Afea do acctón
Fisura 4. 1
Ejemplos de programación :
ANO %!0.3
%QO,D
)
-()- ST %Q0.1
Figura 3. 31
Figura 3. 32
Ejemplo 3: Ejemplo 4:
%IO.O %10-Q %I0.5 %QU.1
Hh H' • • -
SKJ.3 %1Q.2
HH
Figura 3. 33 Fisura 3. 34
%W.4
H
Figura 3. 35 Figura 3. 36
%J0.3
-(H H M)-
%JOL4
H M
%¡o.a
H
ísui'íi 3. 37 . 38
.LD%IO.O LD %IO.O
AND(%I0.1 AND(%I0.1
OR( %I0.2 OR(%I0.2
AND %I0.3 AND %I0.3
AND %10.5
OR( %I0.4 OR(%I0.2
AND %I0.3 AND %I0.4
84
ST%Q0.1 )
ST%Q0.1
Requerimientos de Hardware
Configuración típica:
Controlador UNI-TELWAY
IpMÍifeStóliffi^
File Edit ?
COMPori-- - ñate[Baud] •
; Save
r 300 f UoLIU -
r CO M 2 í~" 600 í" 19200 Clpen
r COMS 38400
Default
r COM4 r 2400 r 57BOQ :
Self-Adaptatíon
(in sec) r. •
A ^•^f ¿i ^ -. --^™,«v« ~„
-UH1-TELV/AY AQuie^ííGS™"""
'
Base jí~~ Murnbef J í
„ \a 3. 39 Configuración del driver Unitelw
Grupo Driver
r Dnveí • ••'•Request-'-'-"—--'
£1 ñeque?!;
O «ver instance: 1 Type; MIRROR (3 octeto]
1 Remóte addfess; 0.254.0
TimeoutfrnsjpJOO
fi]Stat&: Discoiinected i
; Local address;
ConnecE Abouf
Grupo Request
Puertos de extensión
JÜpo
G >LI
gíts^seg
ülaMe ttddress : f
Time Uuf CCnarJ ' f
flutoma^2_ '
*%iííi '. : ?víi V*y Evcn
fiutomafaS. '
©;<ji ( -Na
Sfop Bifs
@1. Bit 2 Hits
' •^
^. >v.... *^íEjliIÍMiilJlÍ®ÍSfiI£ETS
¡
Tipo ¡
1 C^-^} fiSCIi Qnaestro UNKÍELWflY ®!É5CÍauo Ofii-f ELWfiY! \
r üiis»/ ¿>t¿y
O Í288 O 2400 O 48 00 ® 9600
| 4| |
1
Pdi'ihy Ud i d 0 1 1 => ;
r
(_) Eu en ;
5lup Bíli :
Í^J) Ninguno ®1 Bit Q2 Bits !
_w_J.^__ Anular ¡
Estación de
Trabajo del
Operador
Base de
Datos
Comunicación
Estructura de comunicación
Ejemplos:
1:1:40012
1:1:40012:3
Ejemplos:
1:1:40012,L!N(0,100,0,1000) esto es una conversión LIN del Servidor de Base
de Datos
1:1:40012,SQRT() esto es una conversión SQRT de! Servidor de Base de
Datos
1:1:40012,BCD(12) esto es una conversión genérica del Servidor Driver BCD
Ejemplos:
2:4:40001:2 hace referencia al bit 2 del registro #40001 en e! PLC #4 que está
conectado al Puerto #2.
1:1:10001 se refiere a la entrada #10001 en el PLC #1 que está conectado al
Puerto #1."
3.3 APLICACIÓN.
Funcionamiento
> Empiezan a funcionar los rodillos y la banda de! túnel avanza. Las
bombas de proyección de agua se activan al mismo tiempo que el motor
que hará girar los rodillos.
Nomenclatura
Los contactores auxiliares KAO, KA1 y KA2 se sustituyen por los bits
internos %MO, %M1 y %M2.
El flanco ascendente del bit interno %M4] puesto a 1 todos los lunes
(medíante la comprobación de los cuatro primeros bits de la palabra de sistema
%SW50) provoca la puesta a cero del contador semanal de lavado (contador
%CO). El totalizador del número de lavado (palabra interna %MWO) se
reinicializa con valor 1 automáticamente cuando su valor alcanza un cierto valor
que se preseleccione para el contador.
99
^H?
Kti
socf»
MI r
r -W
ff
KM?
KA8
I "1 T T T T ' T n T
Ascenso Avance Reíroceso
™$o rodillos lúnel lún>5l
Figura 3. 46 Esquema de control del ejemplo: lavadora de autos.
100
PANTALLA PRINCIPAL
'is£íí*í%*&™**I1 | II R"
í%sfa$3fea&.t I \\r
%%&*?>'?%&*}
y&P.tywg l^<r|i lt |j i i| 'lili-
;\
P^^T^I^^gj^^ffSy^^i^^^iiy?
^^^^^ift»P^ÍIiPÍ
^ Bits internos: Mi
> Palabras internas: MW¡
> Registros de contadores: Cj.V
Descripción Datos PLC TAGS PCIM
Comienzo de ciclo MO START
Parada M2 STOP
Totalizador numero de MWO NUMJTOT
Lavado
Contador semanal de co.v NUM_SEM
Lavado
Descenso del rodillo M23 DESROD
Avance del túnel M22 AVTUN
Control local M10 LOCAL
Control Remoto M11 REMOTO
indicador de inicio M12 INICIO
Ascenso del rodillo M20 ASROD
Retorno del túnel M21 RETUN
Indicador del M14 INDI
funcionamiento del ciclo
Frecuencia del motor MW1 VEL
Variación de la velocidad MW2 CANVEL
1.02
CONCLUSIONES Y RECOMENDACIONES
4.1 CONCLUSIONES
> El computador se comunica con el PLC a través del cable PC/PP1 que
es un conversor RS-232 a RS-485. Otra forma de comunicación sería la
utilización del puerto RS-485, si éste se tiene disponible en el PLC, con
Io7 que se realizaría la comunicación directa al PLC.
103
> El sistema PC-PLC es cada vez mas utilizado en la industria ya que para
el control y monitoreo de procesos automáticos, esta configuración
puede procesar grandes cantidades de información en tiempos cortos,
comunicarse con otros dispositivos, etc.
4.2 RECOMENDACIONES
> Cada protocolo tiene un rango de aplicación, fuera del mismo disminuye
el rendimiento y aumenta la relación costo/prestación. En muchos casos
no se trata de protocolos que compitan entre sí, sino que se
complementan, cuando se trata de una arquitectura de un sistema de
comunicación de varios niveles
104
IHli IÍ130
IQO.'l
110.8
110.2 SM10
IH14
TYPE TON
TB 1s
ADJ Y
T.P 5
IH1
ITH1
IH1
IN
TYPE TON
TB 1s
ADJ Y
T.P 5
syu. tf
üflA
| /[„ ____ i / i
\ I \ \ I \Z 110.6 |
110.3 . |M2
iIO.2 110.7
ÍQ0.1
•ÍRJ-
$SW50:X3
m iI // Ii
ICO
ÍHS
E I-
ADJ Y
C.P 9999
1X2
F I--
CD
!M4 IM5
IM2
r—Compare 1 r ^-Operate-
liHW = 30001 |
i ______0perate~
|!MH3 := 100 * \mi
*— —Operate-
IIPWM.R := |M»3 / 255
TB 10 ros
P.P 10
|IW2.0:XO IM16
|IW2.0:X1 IMW
IM18
ÍIK2.0:X3 IM19
tan %QW2.0:X1
IM19
SH19
%QO.Í
-Ooerate-
I1MW1 := %Itf2.1
IQ0.4 2M22
SQ0.5 2M21
«I
| IQ0.
Temporizador: Símbolo:
Preseleccion:
Contador: 0 Símbolo:
—• fl juste •
Pre5eleccion: GNO ®SÍ
1 OK 1 | Anular j |
1
ANEXO A.2
110.1 §ItfO.O:X4 ÍH2
H'rfO.O:XO SIHO.O:X5|
!IWO.O:X1 |IWO.O;X5I
IH1
|QWO.O:X1|
|ItfO.O:X2 |I'rfO.O:X5|
IH1
IWO.O;X3 |IWO.O:X51
"I I -I/I—*
-Opérate-
IK4
Salidas de umbral
ANEXO B
ModiconTSXNanoPLCs
PL7 language
General
PL7 language on Nano PLCs enables the programming of simple sequential applicatlons such as those requíring
numerical processing or spec'rfic functlons such as schedule blocks, fast counting, etc. Thls programming is in List
language (Instruction List) or in Ladder language,
These two languages are reversible provlded a few simple programming rules are respected : any Nano PLC program
which has been written in Instruction List (on an FTX 117 terminal or using PL7-07 software) can be read and modífied
In Ladder language (wíth PL7-07 software on an FT 2000/FTX 517 terminal or PC compatible) or více versa.
List lanquaqe
\ 001
002
003
AND
AHDH
OR
{ %I0.1
%TMQ.Q
%Q0.1
• Instructions on Ladder diagram bits, logtc diagrams or
Boolean equations
004 )
005 ST %Q.l • Instructions on control system functlon blocks (timers,
006 IN %TMO counters. etc)
007
• Grafcet instructlons
Ladderjang u§ap_
PL7 Ladder language is entírely graphic and thus offers the advantage of stmilarity with electromagnetic relay control
systems. Its basic symbols are complemented by graphic elements allowing U to carry out control systern functlons,
numerical processing and structuring of Nano PLC programs.
Ladder language provides addítional assistance when debugging appllcaíions through the real-time dísplay of graphic
symbols (for example. the highllghting of closed contacts).
programming termináis
The development. transfer, debugging and archMng of programs for Nano PLCs can be carrled out equally well on elther
of the two types of terminal:
Dedica tedpocket terminal, for programming inüst language Standardised design office and workshop terminal, wiíh
with operation in offline or online mode. PL7-07 software for programming in Ladder and/or Ust
language (Instruction List).
40052/2
ModiconTSXNanoPLCs
PL7 language
Characteristics
• 10 contacts of 7 Unes with 1 output per une * Normally open, normally closed and on edge contacts
* Tille : 122 characters per rung • Direct, inverse, SET and RESET coils
• Comments : A Unes of 122 characters • Program Jump, subroutine cali
* %»i:L : bit strings (I/O, Interna!, system and Qrafcet • %oWi:L : word tables (¡nternal, constant and system
bits) words)
40052/3
ModiconTSXNanoPLCs
PL7 language
Functíons
Software structure
Periodic execution
PLC sean
• Roading of inputs
The state of each preactuator connected to the ¡nputs (%Í) is memorised. It ¡s this memorised state which Is taken into
account during program processing.
« Program proccssing
The program Is executed in íhe order in which the user has written It (except for program or subroutine jump
ínstrucíions).
• Updating of outputs
The outputs (%Q) are activated or deacíivated depending on the state (O or 1) defined by the program.
40052/4
PL7 language
Functions
Program structure
A program in PL7 language comprises a list of instructions (up to 1CCG instrucfons) from the following different families :
• Bit instructions : for example. read input n° 3 : LD %io . 3
• Function block instmctlons : for example, start tlmer n° O : XN %TMO
• Word Instructions : for example, an addition [%MWIO := %KWSO * 100]
• Program instructions : for example, cali subroutine na 5 : SRS
• Grafcet Instructions : for example, step nD 8 : - *- B
Each program Une has an automatically generated line number,
an instruction code and a bit or word operand.
Exampie of a program líne: 003 AND %M27
operand
instructíoncode
• une number
-4- %I0.4
m 1
4- %I0.5
010
Olí
012
013
ANDN
íí
LD
%10.2
3
2
%10.4
• Conditions
lí ends with execufan of the ='- POS
instrucílon.
014 fj 1
015 -'- 03
D1S LD %10.S
%X1 %QO."1 017 ff 1
n 1
(, /^
( ^
018
019
H ' = POST Pos t- processing
Thls is made up of a list of Instructions
%X2 %Q0.2 LD %X1
] ' 020 ST %Q0.1 for processing :
I f\ j ^ j
021 LD %X2 • Instructions from the sequential
%X3 %Q0.3 - 022 ST %Q0.2 processing parí to control íhe outputs
023 LD %X3 • Safety Iníerlocks specific to íhe
i i ( r~ 024
025
OR(
AMOS
%m
%10.2
outputs
%M1 %I0.2 %|0.7
026 AND %10.7
HH-HH 027
028 ST %Q0.3
40052/5
ModiconTSXNanoPLCs
PL7 language
Functions (cont.)
Ladder language
Program structure
Graphíc elements
• Contacts These test the síate of the bit associated wlth them.
4 types are avaílable: normally open. normally dosed,
H h -í/1- HPH rising edge (P) and falllng edge (N).
• Standard and specific function blocks These correspond to the control systemfunctions.
There are 10 of them (see next page), A single function
block Is authorlsed for each rung.
• Program structure elements These cali up subroutine n and the program jump for rung
n.
-^ SRn --?> %Ln
• Connecíing elements These elements, called horizontal Boolean logic and vertical
Boolean logic are used to connect ail the graphic elements
described above.
Reversjbility
The reversibillty of Ust and Ladder languages enables the dlsplay oí programs in whlchever language Is desired,
regardless of the language used In their creatlon. For example, an application developed in the design office in Ladder
language can be read, and even modifled. ¡n List Janguage, and vice versa.
In order to be reversible, an application wrStten In List language must respect a few rules of reverslbiiity :
• Ceríain Instructlons such as XOR, JMPCN. ele rnust not be used.
• Function blocks such as BLK, OUT_BLK and END_BLK. etc must be used.
Each part of a non reversible program is represented in List language, íhe rest of the reversible program Is presented In
the form of rungs.
40052/6
PL7 language
Standard function blocks
Functions
Function blocks are pre-programmed In Ihe Nano PLC_and allow contigLsystem functions to be Inteqrated easíly ¡nto_ap¡jjjcatígn_p_rgQnams.
Descríption Number Chart Function Function
Drum 4 %DRI
R Return to step zero %DRl,S Number of current step
controller R F U Forward step input F Last bit not currently defined
U LEN Number oí steps Command bits 16 %Qi or %MÍ bits
IÍK:J
Exchange R Communicatlon initialisation input E Comm única tion error output bit
control -B a D Avallable link output bit
E
Step counter 8 \. i R Reset %SCL] bits to 0 %SCi.J Bits 0 lo 255 of step counter %SCi
HR - CU Increment ¡nput one step
.cu ' . CD Pecrement input one step
. CD
40052^
Modicon TSX Nano PLCs
Nano PLCs
Charactenstics
Environment
Conforminq to standards IEC 1 131-2. IEC 664, UL 508, UL 746 C, UL 94, CSA 22-2 no. 142, EN 50081/dass B ;
Storaqe °c -25...+ 70
Type of PLC TSX 07 30/31/32/33 *••£, TSX 07 3L ««28, TSX 07 30/31 »*«2, TSX 07 EX «12
TSX 07 EX M28
Limlí Hz 47...6S „
40050/9
Modicon TSX Nano PLCs
Nano PLCs
Current A DC-12 : 1-24 V (0.3 x 10S op. cycles) 0.625 (at 30 V) 0.625 (at 30 VJ
DC-13 : 0.4-24 V (1 x 10* op. cvcles) common to "-" loads common to "•*•" loads
Response State 0 to 1 ms £5 ¿1 £1
time
State 1 to 0 ms <10 £1 ,1
Leakage
current AtstateO mA £1 £1
Voltage
drop At state 1 V < 2 (for I = 0,5 A) < 1.5 (for I = 0.5 A)
Built-in Overloads None (íit one fuse per I/O poínt or Yes None (fit a fuse on the preactuator
protection and short-círcuits qroup of I/O points) common)
40050/10
Modicon TSX Nano PLCs
Nano PLCs
Modbus characteristícs
t
Type of PLC TSX 07 30/31 ••••
Bus lenqth 10 m max. 1000 m when uslnq the TSX P ACC 01 terminal port cable connector
Services Uni-TE server Wriíing or readlng Nano master data after a request Is sent by a connected
clfent device
Reception of messages from all
devices on the bus (master or slave)
128 bytes máximum
40050/11
ModiconTSXNano PLCs
Nano PLCs
Dímensions, mounting
Dimensions
Mounting
I i I i i 1-LUTilJ
60 a J
TSX073«10«« 105
TSX 07 3» 16««. TSX 07 3L 1428 135
TSX 07 3» 24-c». TSX 07 31 1648. TSX 07 3L 2028 165
("> 2knock-outs fí 4
Mounting
c
¿u..
E
J -i ¿
3JI 15-j
EndstopAB1-AB8P35
2 Access cover
Installation rules
b ¿40 mm
40050/15
ModiconTSXNanoPLCs
Nano PLCs
Connection of ¡nputs
C 0 1 2 3 . 5 13
ÍC'OM;2;3:4:5 6
''Lffilffi Inpuls
Ajialogue^ínput
TSX 07 32 1028/33 o«28
I i JI -I t__J
1..,. j i -i 1--
I i__
ML__JÍN
-. -^-/oí
(1)3Afuse.
(2) Earth connectlon requlred for non-lsolated sensor.
40050/16
Modicon TSX Nano PLCs
Nano PLCs
j 4 cutpuls 6 oulpuls i
wfí
- Í ¡ i c j pj i j 2: 3 : C: 4 1 5 j , ! i : Í
í_
(2) Í í 2 >[]
L N L N L N L N
i
7 ouipu s
Ú . y y PrcacíLialots
£2) i \ l v [
L N L N L N
-X-24...240V7— 24 V
Soulputs 10 oufpuls i
;m
CJ p j i; 2 : 3 j Í:
^^
;4-5:6,7; i í
^¡^ Is^M M ^
Íc¡oii!2;3!cj4i5|6i7!c;a;ci9! i I
!
í
(2) i ral
L N L N L N U N L N L N
7 oulpuis
R.1.1...r\.LL.LL.-.
n,
; ! ; c' o - i '2-3 C -1 . C • S . C ' 6 i :
Preactuaiors fl í]
ÍDTO
1 (2) fíf"
PÍÍ. T
(2) i ii nI
L N
- L| Nj L N
. i
L: N]
'X.- 2 4 . . 240 V / — 24 V
(1) Próvida an Inductiva overload protectlon device at the load termináis andfor each output : an RC or GMOV type peak
limitar círcuít for -x-, a flyv/heel diode for — .
(2) Fuse rated for load.
40050/17
Modicon TSX Nano PLCs
Nano PLCs
Ouiputs
c; o . i 2 ' 3 -v
Pronclttólofs
- — 24 V
CÍO[l.ZÍ3!4!CÍ5;6Í7j8:9;-V
Ouipuls
TTT)
C O 1 2 ¡ 3 i C : 4 i 5 i 6 ;+V, ! i
rr:24 V
Ouiputs
C! O 1 23 4 I C 5 G'?;B 9 :+V:
40050/18
Nano PLCs
Connection of extensions
Connecíion to Modbus and Uni-Telway buses
Connecíion of extensions
— — —.- _^ — ,
; Nano ; Nano ! Nano ]
base PLC : I/O extensión | PLC
| j extensión !
;
....... ^_
í A i BÍstíTs- '• \ j B -SGJTL ¡ j A [ B IsGplL
T)<1) JTm
) I ( —_nr o TI
(1)TSX CAO 003 cable (0.3 m long) or shieided twisted palr cable.
(2) Remote locatíon (200 m max) of Nano PLC extensions requíres either:
« TSX STC 050 cable (50 m long) or TSX STC 200 (200 m long), or
• Shieided twisted palr cable with the followlng main characterlstlcs :
- Mechanlcal characteristics : tínned copper core. 18 to 24 gauge with tlnned copper shíelding
- Electrical characteristics: load reslstance per unlt length of one wire : ¿ 85 O/km, load reslstance per unit length of
shleiding :¿12H/Km
FT2000
I =J--
„ ,,,... : :TV,-,.,-. ,,,.,,..,„,__ -..,-.,._, —,..-.- p .. .i ^.^,, _T,.— .„__..-,_,
i ,
/
1 TSX CSA »o* : bus cable, double twisted shieided palr. The shielding must be taken to earth at each device.
3 XBT-Z9Q8: connecting cable between the CCX 17 operator panel and the TSX SCA 62 subscriber socket (see page
43594/5).
4 TSX PCU 1030: Uni-Telway connecting cable between the PC compatible FT 2000 terminal and the TER port of Nano
PLCs or TSX P ACC 01 connectors.
T FTX CBF 020 : Uní-Telway connecting cable between the FTX517 terminal and Ihe TER port of Nano PLCs orTSX
P ACC 01 connectors.
5 TSX P ACC 01 : cable connector from a Nano PLC ío the Uni-Telway bus via Éhe PLC terminal port. The connecting
cable (1 m long) is integrated In the cable connector. It isolates signáis (over a dislance > 10 m) and adapts Une
termination impedance. It is also used to select the terminal port (Uni-Telway master/slave or character mode).
40050/19
ANEXO C
Appendices
A.1 Boolean instructions in List language with Ladderequivalent
AND, ANDN, ANDR, ANDF -\—I I l/i iPi |Nh Lógica! Bit 'AND1
H Hí
H "T Hhr "Ir
OR, ORN, ORR, ORF Logical Bit 'OR1
H/H HPH HNH
H h*I Iy H M FH I»
AND(, OR( (nest 8 levéis) Parentheses
H [J I i M h1
XOR, XORN, XORR, XORF HXORh HXORNh HXORRF HXORFh Exclusive 'OR1
In the following tables, the Keys refer to the keystrokes necessary to step through the
menus. TheQuick Keys are used to shortcut the menú to actívate the desired function.
A/1
A. 2-1 Configuratíon Editor menú options
EflPHBBB
Application Ñame Alt+C.N None
JaMliHUMIlill
Constants AIt+C,0 None
S^i
Sean Mode Alt+C, D None
? -OP
' ^t»
Termina! port Alt+C, 1 None
P<W.1W¡WW
^qñi
^íi—Sa
E OMKEMMB Extensión Port Alt+C,/ None
A/2
\ Help None F1
r- Alt + T, S None
Sort by Symbol
Hh
FH Contact F2 B. 2.1-3
H'h
F3 Negated Contact F3 B.2.1-3
W
FH Risíng Edge Contact F4 B.2.1-3
M
F5 Falling Edge Contact F5 B.2.1-3
->
Fh Horizontal Connector F6 None
£
FH Erase Down Connector F8 None
->ü
F1 Horizontal Connector fíll F9 None
•T}i
FIO Compare Block F10 B.3.1-5
<>
FH Coil Shift + F2 B.2.1-4
í/>
F3 Negated Coil Shift + F3 B.2.1-4
A/3
A.2-3 Ladder Editor instruction bar options (continued)
•ÍR)
FH Reset Coil Shift +F4 B.2.1-4
A/4
Appendices
VÍ
jHBarocI Valídate Rung Ait + T, R Ctrl + Enter
M^
«oaonm Previous Rung Alt + T, P Ctrl + Up
H4 1
• Uaswnal Next Rung Alt + T, X Ctrl + Down
A/5
A. 2-5 Ladder ViewerTools menú options
fiBC
ShowSymbois Alt + T,S Ctrl + F2
n Help F1 None
LD
Load F2 B.2.1-3
i
ST t
Store F3 'B.2.1-4
A/6
A.2-6 List Editor instruction baroptions (continued)
mu
AND F4 B.2.1-5
OR
F5 CR F5 BZ1-6
ÍÍOR
Fh Exclusive OR F6 B2.1-7
IN
-EL. Enable input/ínstruction F7
BLK
Beginfunctionblock F9 B.2.2-2
SR
JLÍSL Callordeclaresubroutine F10 B.2.44
xS
FS System bit Shift-i-FS B.3.1-2
HBD
FH Memory read Shift + F8 B.2.1-10
OUT
BLK
Wiresblockoutputs Shift+F9 B.2.2-2
BET
-LlíL Returnfrom asubroutine Shift+F10 B.2.4-4
KL
.—,—. Labe! Alt+F1 B.2.4-3
dll
Inputword Alt+F2 B.3.1-1
A/7
usttzdiiormsiruction baroptions (conímued)
«SU
F5 System word AIt+F5 B.3.1-1
;:!-!N
Ffa Constantword AIt+F6 B.3.1-1
::C
F7 Counter AÍÍ-Í-F7 B.2.2-4
ñPP
FB Movetopofstacktoaccumulator AIt+F8 B.2.1-10
ENC
BLH
n Endoffunctionblock AIt+F9 B.2.2-2
EMD
.flfl Endofprogram AIt+F10 B.2.4-1
c=Ht- I
f—í E Insert Alt + 7,1 Ins
m
n* J| AdriNpyflncítannA Alt + T,N Ctrl + Down
Kill
'_^.g Read Retained Valúes Alt + T.R None
A/8
A. 2-7 Data EditorTools menú options (continued)
«O'?
<?
_..-_. Help None None
!-V¿
^F fl ToggleNumberFormat None None
k ¡i
J^ „ ToqqleAnimatinn None None
A/9
A.3 PL7-07 PC programmmg software variables
Counters (%CQ-%C15)
%Ci.PPresetvalue R,W(2)
%Ci.VCurrentva!ue R,W
%Ci.EUnderflowoutput(empty) R
%Ci.D Presetoutputreached R
%DR¡.S Currentstepnumber R
%DRi.F Full(laststepreached) R
%FC.THO ThresholdbitO R
%FC.TH1 Thresholdbitl R
%FC.F Overflowoutput R
A/10
A. 3 PL7-07 PC programming software variables (continued)
%Ri.O Outputword R
%Ri.ERegisterempty R
%Ri.FReg¡sterfull R
Message (%MSG)
%PLS.D Puisegeneratiqndoneoutput R
A/11
A.3 PL7-07 PC programming software variables (continued)
Timers (%TMQ-%TM31)
%TMLV Currentvalue R
%TMi.Q Tímerdone R
(1) Certain bits and system words cannot be written. No specific messages warn the
user in the Líst/Ladder editor. The Write on these bits or words has no effect in the
PLC.
(2) These variables can be written if the Adjust Option is selected in the configuration.
If the Adjust Option is not selected, the Write access in the Data editor will display
a message, "PLC operation not available".
(3) Forcing the Run/Stop input or PLC status (security) output is authorized by the
programming tools, the input or output is signaled as being torced but the PLC does
not take the forcing into account.
Note: For all the variables that are not ailowed to Write, a message warns the user in the
Data editor.
A/12
A.5 instruction sean time and memory usage
Boolean instructions
These times must be multipiied by 3 when the instructions are written after program line
099.
(1) Forwordextractbiís%MW16to%MW255andforallothertypes(%KWi:Xj,%SWi:Xj)
these times are multiplied by 1.5 and the sizes are increased by 2 bytes.
(2) The times given in parentheses are the sean times for the instructions when the
- application has been initialized to use MCS/MCR instructions.
Summary : the choice of whether to use master relay instructions or not is made
when the application memory is cleared (see Parí C, Section 4.6 of the FTX 117
manual, or Part C, Section 5.21 of the PL7-07 manual).
A/15
Instructions on function blocks (in reversible programming)
Instruction Sean time (in jis) Memory usage (in bytes)
BLK %TMi 8 4
BLK %C¡ 8 4
BLK %RÍ 8 4
BLK %SBRi 8 4
BLK %SCi 8 4
BLK %DRi
BLK %FC 8 4
BLK %MSG 8 4
BLK %PMW 8 4
BLK %PLS 8 4
OUT_BLK 200 2
END_BLK 180 2
IN 1.2 4
R 0.6 4
CU 0.7 4
CD 0.7 4
1 1 4
O 1 4
U .. .;-:,-**£.í--
S 0.7 4
A/16
Numerical instructions
Comparison instructions
Grafcet instructions
#¡
#DÍ
A/17
Instructions on programs
NOP 0.4
JMP
JMPC, JMPCN
%Ln :
%SRn :
MCR 0.5
MCS 2.5 12
A/18
ANEXOD
D o c u m e n t No. 4S50IC43ÜO - pg. 1/2
The RS-232 port has a male DB25 connector with pins 2(TD), 3{RD), and 7(Signai Ground) supporíed. Pins 4(RTS) and 5(CTS)
are tied together, and pins 6(DSR), 8(CD), and 20(DTR) are also tied together. These handshake unes provide power íor the RS-232
side of (he isolator. If you have a port that cannot supply these pins, or if they cannoí provide enough power, a power supply can be
connected to the DB-25 connector on pins 25{+) and 12(-) to power the RS-232 side of the converter. Terminal blocks are provided for
Transmit Data (A) and (B), Receive Data (A) and (B), RS-485 power and ground as shown ¡n Figure 1. Note that the RS-485 Ground
terminal block is the connection for RS-485 Signa! Ground as well as the RS-485 power ground. Figure 2 shows how to connect the
converter to a two-wire or four-wire system. The resisiors Rí (labeled R6 on the converter) are termination resistors that should only be
used when very long cable runs are used at high baud rales. If installed, the resistors should equal the charactenstic impedance of the
une used, normally about 120 ohms. Refer to B&B's RS-422/485 Application Note for more Information on Serminatíon and biasing.
The 485OIC enables the RS-485 driver by automatic sensing of ¡he data on Transmit Figure 1: Timing Component Locatíons
Data (pin 2) of the RS-232 side. The 485OIC has two jumpers located adjacent ío íhe
terminal blocks. JP2 enables either RS-422 or RS-485 mode. Placing JP2 ¡n the shorting D TOCA) @
position enables RS-485 mode, removing íhe jumperswiíches ¡o RS-422 mode. JP1 is •H * " O TD(B)
O ROW ffi
used in íwo wire connections, prevenling data being sent from the RS-232 port from being •.
O R0(3)
echoed back to the RS-232 port. Placing JP1 in íhe shorting position will prevent íhe data
- TQP O
from echoing. Removing the jumper will hold the receiver enabled. Refer to Table 2 for GND ®
Up to 32 receivers can be driven by any one RS-485 driver, allowing you to put together Table 1. Timing Component Valúes
large systems with many drop poinís. No wire type or máximum run lengíh is Usted in the RS- Baud Time IUS C14
485 Standard. However, The RS-422 Standard {which is very similar) recommends number Rate (ras) (£>) í.uF)
24AWG twisted paír telephone cable wiíh a shunt capacitance of 16 picofarads perfoot, and 300 33-0 330K 0.1
no more than 4000 feet long. Proper operation of any RS-485 system requires the presence 600 1 6.0 I60K 0.1
of a return path. The RS-485 Standard recommends that a third wire be used'forthis.
1 200 S.2 820K 0.0 1
DECLARARON OF CONFORMITY 2400 4.3 4301C 0.0 1
Manufadufor*s Ñamo: 868 Electronics Manuíacluríng Company 4SOO 2. 1 200K 0.0 1
Manufactiirar's Addrcss: P.O. Box 1040 9600 i. 04 lOOK.
707 Daylon Road
0.01
Ollawn. 1L 61350 USA i. 19200 0.6 56K. 0.01
Model Numbore: 4S501C 33400 0.3 27ÍC 0.01
Dcscripfion; RS-232/485 Oplícally Isolalcd ConvcrtGf
Typo; Ljgtil industrial ITE equípment
Applicalion oí Cauncil Directivo: 89/336/EEC Table 2. Jumper Settings
Slnndards: EN 50082-1 (IEC 801-2. IEC 801-3, IEC 801-4) JPI JP2
EN50081-1 (EN 55022. IEC 1000-4-2}
EN 61000 {-4-2, -4-3. -4-4. -4-5. -4-6. «1-8. -4-11) RS-422 Off Off
ENV 50204
EN 55024
RS-4S5 2-wirc On On
RS-485 4-wire Off On
e &«3 ft"?i^ir*fi*firir
^Hfc« a»Se—ÍL. H,i ui-lifl"«s
itit.ra ¡Ti-Froi ff"n
I D E » 25, &• u_
707 Dayton Road - P.O. Box 1040 - Ottawa, IL 51350 USA Westíínk Commercial Paric- OranmorE. Co. Galway.-Ireland
Phona: {815} 433-5100 - Fax: (B15) 433-5105 Phone: +353 31 792444 - Fax: +353 91 792445
Home Pagel www.bb-elec.com Home Page: w//w.bb-europe.com
Sales e-rnail: ordefs@bb-elec.com • Fax: (315) 433-5109 Sales e-maíl: arders@bb-europe.com
Technical Suppnn e-mail: support@bb-elBC.com - Fax: (815) ¿33-5104 Techntcal Suppon s-mall: supporl@bb^europe.com
Documenr No. 4S5OIC430Ü - pg. 2/2
Figure 2.
4-V/lRE RS-¿a5 *S50IC 2-WIRE RS-+85
|
í "D" I
¡
1
RD(A)-
!
firj£B)-r
1
1 i
1
S pacifica tío ns
Transmission Mode: Full or half dúplex asynchronous
Data Rate: Up to 38.4K bps
Connectors: RS-232, DB25 Male; RS-485, Terminal Blocks
RS-485 Enable Control: Automatic Hardware Control on Presence of Data
RS-485 Enable Tímeout: Factory preset to 1 ms
RS-232 Power Requirements: Port powered or 10 to 14 VDC @ 40 mA max.
RS-232 External Power Connections: DB25pins25(+)and 12(-).
RS-485 Power Requiremenls: 10 to 14 VDC @ 60 mA max.
RS-485 Power Connections: Terminal Blocks
Isolalion: 1500 VRMSforl minute
Dimensions: 3.3"L x 2.2"W x 0.67"H {8.4 x 5.6 x 1.7 cm)
REMOTE GROUND
FOR RS-232
Electronics Ltd
707 Dayton Road - P.O. Box 1040 - Oílawa. IL 61350 USA V/estlink Commercíal Park - Oranmare, Co. Gslway - Ireland
Phonc: (815] 433-5100 - Fax: (815) 433-5105 Phone: 4353 91 792444 - Fax: +353 91 792445
Home Page: www.bb-elec.com Home Page: wv/w,bb-europe.cam
Sales e-mail: orders@bb-elec.com • Fax: [3Í5)¿33-5I09 Sales c-niail: orders@bb-europc.com
TBchnlcaISupport£:-mail:support@bb-elec.cam - Fax: (815) ¿33-51DJ Technlcal Suppone-mail: support@bb-eii ropa.com
ANEXO E
(ü\) and @ Approvals :
inducíive proxímity sensors XS1-M XS2-M Applicacie on proxtrnity swilches bearing Ihe
UL ana CSA Lislíng marks only.
Détecteurs de proximité induclifs Enclosure :Type 12.4X indoor use oniy
Induktíve Náherungsschalter Overcurrcnt protcction *
Detectores de proximidad inductivos Conductor síze
Interruttori di prossimita indutbvi AWQ mm? Ampere rating
Detectores de proximidade indutivos 20 0.5 5
22 0.34 3
22 0.22 2
25 o.n 1
26 0.08 O.S
* RasjírM on pitduct reísr&ncet; «ith tefrniríí-Jwn
number 230 - 9 rom plasí-c ufi:ts shall be inSfited w¡t
iT¡oui~:irg cíamp type XSZ-B. Fur connectt-f versen, a
su:ab g U', snn CSA Apcrjved ccnnecior nmst b3 us
Mechanrcal instnllntion
XS-M D/K/A/B/C/G/T
Mise en ceuvre mécaníque
Mechanische Installation
Instalación mecánica
Mcssa in opera meccanica
mecánica
Alcance aumentado
Sn D/K T(Nm). e3> di > h>
M8x1 1,5 50 40 61 13 4.5
MI 2X1 2/'4 50 42 61 17 15 24/*48 6/'12 12 O
M18X1 5/*10 60 51.5 70 75 106 74 75 95 24 35 10/'20 60ri20 15/'30 18/'28 O/'1.8
M30X1.5 10/'20 60 51.5 70 75 106 71 75 87 36 50 20/-40 120/-24C 30/'60 30/'50 0/*6 ore
M8x1 2.5 50 36 61 13 10 30 7.5 24
M12X1 50 37 61 17 15 16 48 12 36
M18X1 8 60 43.5 8 70 75 106 74 75 95 24 35 32 96 24 54 16
M30X1.5 15 60 38.5 13 70 75 106 I 71 75 87 36 50 60 180 45 90 30
Eléctrica! ¡nstallatlon XS-M-P-37- XS-M-KP340/KPM40 XS-M-DA210/211/214 XS-M-M-250
Mise un ccuvrc óíectrique BN/KNO). BU/3(NC) XS-M-M-230V239'
.BN/1
Elcktrischc Inslallatíon WH/2 Í BN *O
Instalación eléctrica
Messa in opera Dlotírica O
Instnlncáo clélrica
BU/3(NO), BN/1(NC) * Wíthout short circuit prolection
BN/1 (NO). BU/3(NC) Non proteges court-circuít
Ohne KurzschluBschutz
BK/4=NO No protecion cortocircuito
BK/2=NC Non proíello corto-circuito
BU/3L BK/-1 Nao proleccáo curto-circuito
BU/31NO), BN/KNC)
Voltage limrts (1) — 10...58V
Load switchinq capacüy (2) 0...200 mA 0...200 mA 1,5...lOOmA 8:5...100.012:5...2QQ,0ia^O:5...200 — 5...300 -
Voltaqe drop (3) <2V ¿2.6V £4V ¿5.5V
Leakage current {4) £ 0.5 mA g 1.5 mA(M-250í. £ 0.6 mA(M'23Q), ¿ 0.8 mA(M-239
Current consumplion (5) SIOmA ¿10mA.<15mA(KPM) -
(1) Limite de tensión / Betriebsspannung / Limites de tensión / ümíti di tensiore / Limites de tensao
(2) Couranl commuló / Schallstrom / Intensidad conmulada / Corrente commi..ia / Corrente comuiada
(3) Tensión de ct-chet / Spannungsfall {Ausgang durchgesteuert) /Tensión residual / Csdtria di tííostorfi /Tensan cte defeito
(4) Gournnl résicuel / Reststram (Ausgang gesperrt} / Intensidad rosicual / Corre-nte residual / Corre-nte residual
(5) Couranl consommé / Leerlaufstrom / Intensidad consumida / Corrente consúmala / Correrte consumioa
Brown Brun Braun Marrón Castanno
Bine Bleu BIau Azul
Black Noir Schwarz Negro Ñero Preto
Wnilo Blanc Blanco Bi.inco S raneo
Red _Rpug_e__ Rol Rojo
Gresn Ven Grün Verde
InstflíJalion prccautions
Prccautions de mise en cotivro
Vorsicht bol dcr Inbelriebnhame
Precaulíón de ¡nslalatión
Consigli di messa in opera
Procauqáo de ¡nstalflQáo
Indicatíon XS-M-M-2SO
^
.0 RD
Signalisalion NC NO
FunkUonsanzcigo
Señalización Disconnect when short circu
Soanalaziono Débrancher sur coun-circuil
Bei KurzschluB abschallen
Sínnlizacáo Deconectatío quartío conccircu
Scaltega'o su corlo-ofC'jiio
Desligar guando curto-circui
Cylindrical type, M18 x 1 threaded
Metal case (brass or stainless steel), form A
d.c. supply
Lengths (mm) :
a = Overall a = 60
b = Threaded section b-51.5
XS1-M1BNB370 _
NC .
•'• •• o ó
' 4-wire — PNP/NPN NO/NC - - XS1-M18KP340
. universal model prog/ammable
Characterisíics
Wiring schemes
3-wire — , NO or NC oulpul 4-wire — programmable, NO or NC oulpul
XS1-M18*«370/371/37DD, XS1-M18KP340/340D
BM/1 (NO). BU/3 (NC) BN/I tHOl.B
BN/ll
"Tp
BU/3L BU/3L
BU/3 (NO). BM/1 [NO BU/3 (NO). BM
N_9te : forXS1-M18»»370A sensors, NO_or NC outputpnjerminal.2 _
(i)_Sejisors^pre-c^)Ie_djvÍth_pther_cabÍe ienglhs :_. .. . .. „
Leñgllfgf cable _ " ' " Suílix lo be added to reíerences slaied aboye fot;2 m pre-cabíed sensors Weighl inc
5rn ""_"""! " " L1 " Ó.120ÍÍ9
iq_m •_ L2 __ 0.320 kg
Exampís: sensor XSÍ-MÍ8PÁ37p with S m cabíé bécomas,XS1-MÍBPÁ37pU _
(2) The íypé numbers'reíer tó suüable íemale conneclors and extensión cables, see pages 3/344 to 3/346.
(3) Can be supplied wilh recliíied •>« 24 V.
W}^^_yjecnfied_and Hllered. __. . .__. . . . . . . . . „_ ... ... .._
P i
1 i
1 í U L'
M
1
a : Sn standard
b : Sn íncreased T T
fin » 1 1.5 1 1.5 2 5 10 1.5 2 5 10 — — _ — — — — —
\//^S//í — _ _ _
(mm) b — 2.5 - 2.5 4 10 20 - - — - - - - - —
- 2.5 — 2.5 A 8 15 2.5 4 B 15 2.5 A a 15 2.5 A 8 15
%7Í&%
Supply DC • . • • • • • • • • • • • • • •
* • •
_ _
AC - - - - - -
AC/DC - - - - - - ~ • • • • - - - - • • • •
Connect!ü= • • e • • • • • • • • • • • • • •
* *
e • • • • • • • • • • • * • • • •
-c— * *
Cl
- - - - - - - - - - - - - - - - - - -
Ti'
Series : XSÍ-L/N XS1/XS2-H s , XS1/XS2-M , * r XS4-P' * . *
Cal. page : 46 48/49 47 50/51 58/59 66/67 80/81 5 2 - 5 5 60-63 68-75 82-89 56-57 64 76 90 57 65 76/79 90/93
oí
col
rol Applications
en
Information ío íhe aír condiíioning Monitoring the presence oí a parí for Moniloring the movement of and the
sysíem ¡ndicating opening of a wíndow starting a machining cycle space beíween tin cans on a conveyor
belt ío avoid over-filling
3
o
Monitoring the retalien of a support roller Monitoring íhe posiíioning of a carriage Monitoring machine cycles by detecíing
to check the corree! operation of íhe for detecíing a síeel cable on the a metal object on a conveyor system
conveyor bell conveyor system
o
(ni
ral Composition of a proximity sensor
en
?o Sub-secíion 2
Operation and terminology
/
3
o
o
í~
OPERATIVEPART
Figure 1 :
Operatíng zone
If a steel object is placed at various
distances from the sensing face, it
can be noted that the further the
object is from the sensing face, the OFF
further it has to travel into the field
before it triggers the output signal.
After a certain distance has been
exceeded, the object can no longer
trigger the output signal.
Figure 2 :
If the various activation points are rrri
joined up, the lateral detection curve
of the device can be determined.
Fig2
Sensing distance
OPERATIVEPART DETECTION CURVE
"O I
:D¡
o
Mild steel measuring
plaque Deactivation curve
Activation curve
Ferrite
MEASURING PLAQUE
UT
ON OUTPUT OFF OUTPUT
H
-•• S u M A X + H
Su MAX
••• S r M A X + H
?
oí SrMAX — Sn +H
Sn ... SrMIN + H
SrMIN v ... SuMIN-í-H
ASSURED SuMIN
OPERATING .SENSING FACE
D1STANCE
21
3
O
NOT SUITABLE FOR FLUSH MOUNTING SUITABLE FOR FLUSH MOUNT
OPERATIVEPART
CONTROL PART
3
O
There are 2 main categorías of
proximity sensor models on the market
c ol
§ and within the Teiemecanique range.
Simple (2-wire) Ud
P,or,N switching V
on the same
model
Although these modeis are wired in the same way as a limit switch,
in series with the load, they are not perfect switches, as mechanical
ones.
-o
+ ADVANTAGES DISADVANTAGES
-vil
ni /
-(ti i le , , t -<
\> Load ^^^ - NoUdorlr.V- v - 3 wires to be,>
—. \, . *
^lül
-^Direct "\\ compatibility ;\ connectep,, i ,
-o
- le (rid-lfaad, ^;\
/ , *" " ' ' . - , ^ * t - \ '\ .\ 1 Vv**''^"^''
currentdrawn)^
1 / Load ^\
1
MI Ir-
IC types^, rNr - *
Uí *,«•<*.• -, N""\\'*'>^'"'
"* -. s i i-í •*
T d\L
* * ^ - -^ - »-, x " * and NPN. / >
"~~~"
\ -O
The voltage drop and the residual current are negügible íor this type of device. This removes the need
to observe the compatibiiity rules for solid state ¡nputs.
However, depending on the type of input logic (reference to © orto Q), a PNP or an NPN type sensor
must be selected to ensure its function.
In addition to the load current, this type aiso has iís own current draw (le).
oí
en I
rol Telemecanique range. 2-wire type
en I
UNIVERSAL VERSIONS
o
This model meets the varied user
NON-POLARIZED, NO
requirements as well as those of our
distribution partners. BN
MULT1CURRENT / MULTIVOLTAGE
USERS
1 DC product, 4functions
(NO/NC/PNP/NPN) "
C'ÓVÉRED 1 AC/DC product, multi-current, multi-
voltage
WHOLESALERS, DISTRIBUTORS
REDUCED STOCK LEVELS
~- ,•»'*-• •v*-
' V- •^ !; * '' V-> ' fi
•jt *..•»••« '. - ^-3V*'; -- 3^* «M-tí-^
oí
o> I
rol Telemecanique range, 3-wire type
col
o|
mi
~\\
CONTROLPART
Dimensions
ALTIVAR 18 Orive
O
Dimensions:
in (mm)
ATV18 H O
U90M2, U18M2 4.41(112) 7.17(182) 4.76(121) 3.94(100) 6.7(170) 0.20(5)
U29M2.U18N4.U29N4 5.87(149) 7.24(184) 6.18(157) 5.39(137) 6.77(172) 0.20(5)
U41M2, U54M2,U72M21U41N4,U54N4, U72N4 7.28(185) 3.46(215) 6.22(158) 6.73(171) 7.95(202) 0.24(6)
U90M2, D12M2, U90N4, D12N4 8.27 (21 0) 1 1 .61 (300) 6.69 (1 70) 7.48 (1 90) 1 1 .02 (280) 0.28 (7)
D16N4, D23N4 9.65 (245) 1 5.35 (390) 7.48 (1 90) 8.86 (225) 1 4.57 (370) 0.40 (1 0)
nstallatíon Precautions
Flow Rate oí Integrated Fan
Connection Option
I
VW3A18104 3.5 (90) 3.9(100) 0.71 (18) 2.4(60) 4.3(110)
SQUARE
D
ALTIVAR18 AC Orive
Dimension
Dimensions (cont.)
s.ss
(144.3)
(144.3) CZD
•
n
, •8> ' o .
r '" ^ ~] 0.75 ' C¿
t, . 6.50 .
t 1 (190) T
I '- ,6.50_
'X „ (165.1) (165.1)
_ 6.00 _]_ \ .
l'»-W (152.4) (8.9) DIA í 3 P l a C e Í7,,DIA (3 Places)
(6 .9)
12.00 12.00
(304.B) (304.3)
.15.00 i
(381.0)
(381.0)
Inductors
Inductor m n p r s
RL-00401 4.4(112) 4.0 (102) 2.9 (74) 2.0 (50) 1.4 (36)
RL-01801 6.0(152) 4.8 (122) 3.1 (79) 2.1 (54) 2.0 (50)
RL-02502 7.2(183) 5.6 (142) 3.4 (86) 2.3 (60) 3.0 (76)
RL-03502 7.2(183) 5.7 (145) 3.8 (97) 2.6 (66) 3.0 (76)
RL-01203 '6.0(152) 4.8(122) 3.7 (94) 2.75 (70) " 2.0 (50)
RL-01803 7.2(183) 5.7 (145) 3.8 (97) 2.6 (86) 3.0 (76)
RL-02503 7.2(183) 5.7 (145) 3.3 (97) 2.6 (86) 3.0 (76)
^ , crní IAT=5F= n
ALTIVAR 18 AC Orives
Wiring Diagrams
Wiring Diagrams
[21
O
-Q—'
24 V Exiemal Supply
External 24 V Supply
/Vote All termináis are ¡ocated at the bottom ofthe dríve. Equip aII inductive circuits near the dríve (relays, con-
lactors, solenoíd valves) with no/se suppressors orconnect them to a sepárate ctrcuit.
SQUARE D
D
ALTIVAR18 AC Orive
Wiring Diagram
Recommended Fuses
4 5 U72M2 — 600 V, 30 A
11 15 D16N4 — 600 V, 40 A
15 I 20 D23N4 — 600 V, 60 A
SQUARE D
ALT1VAR 18 AC Orives
Electromagnetic Compatibility
Electromagnetic Compatibility
Installation Precautions
For electromagnetic Compatibility, observe the following ¡nstallaüon precautions:
• Ensure that the grounds of the drive, the motor, and the cable shields are at equal potential.
' Use shlelded cables with the shields tied to ground at both ends of Ihe motor cable and the control
cables. The ground connection to the shield must make contact with the complete circumference of
the shield.This shielding can be achíeved by using metallic conduit as long as there is no discontinuity
(bonding at conduit fittings is required).
Insíallatíon Plan
O O
ATV18
SQUARE D D
ALTIVAR18 AC Orive
i Electromagnetic Cornpatibil'i
1. Unpaínted sheet metal mounting píate with anti-corrosion conductiva treatment (ground plañ
Painted sheet meta! can be used ¡f a good electrícal contact is made between the support a
mounting surfaces and 2 and 5.
2. The drive is mounted directly to the metal píate. Ensure that all four córner mounting points ha
good elecirical contact with the metal píate.
-» 3. Non-shielded input wire or cable, connected io the input inductors, ¡f used. Maíntain separation b
tween input wiring and motor wiring.
4. Non-shielded wire for the output of the fault relay contacls. Maintain separalion between íault rel
wiring and motor wiring.
5. The shields of cables 6 and 7 musí be íastened and grounded as cióse Eo the drive as possible.T
shields must be well clamped to the mounting píate. To ensure good contact:
• Strip the shields.
' Pasten stripped portions of the shields to the mounting píate with correctly sized clamps.
' Use stainless síeel clamps.
6. Shielded cable for connection to motor, with shield tíed to ground at both ends. At the drive, t
shield is connected to the E or G/E terminal on the far right of the power terminal strip.This shie
must not be interrupted and if ¡ntermediale terminal blocks are used, they must be EMC-shield
metallic boxes.The cable shield must have an ampacity greater than or equal to the ampacíty
the ground conductor.
7. Shielded cable for connection to control system. For applicatíons requiring several conductors,
small wire size must be used (20 AWG or 0.5 mm2).The shield must be tied to ground at both end
At the drive, the shíeld is connected to the E or G/E terminal on the far right of the power termin
strip.This shield must not be ¡nterrupted and if intermedíate terminal blocks are used, they must
EMC-shielded metallic boxes. Maintain separation between control/command wiring and motor
wiring.
Note: Connection at equal potential of the grounds between the drive, motor, and cable shields does n
predude the connection of equipment ground conductors as requíred by national and local codes.
7*?
±=l] . SQUARE D • 1