Escolar Documentos
Profissional Documentos
Cultura Documentos
PLCs SIEMENS
CONTROLADOR LOGO Logic Module SIMATIC S7-200 Micro PLC SIMATIC S7-1200 Micro PLC SIMATIC S7-300 Modular Controller SIMATIC S7-400 Modular Controller SIMATIC C7 LOGO SOFTWARE (LOGO! Soft Comfort) (STEP 7 Micro/WIN) (STEP 7 Basic) (STEP 7 o STEP7 LITE) (STEP 7) (STEP 7 o STEP7 LITE) S7-400
S7-200 S7-1200
S7-300
Power Supply
Discrete I/O
Cada rack puede tener 1 power supply + 1 cpu + IM + 8 modulos No se puede tener slot vacio
Analog I/O
DIN Rail
CPU
Discrete I/O
Analog I/O
CPU
DIN Rail
Power Supply CPU Discrete I/O Signal Modules (SM) Analog I/O El S7-400 tiene su propio rack Hay rack de 18, 9 o 4 slots Discrete I/O Function Module (FM) Communication Processor (CP) Interface Module (IM)
ALAMBRADO
L+ = +24VDC M = -24VDC L1 = +110VAC N = -110VDC
EL SOFTWARE
SIMATIC MANAGER / STEP7
Para comunicarse con el PLC Para configurar el hardware Para crear los programas
COMUNICACIN
PC Adapter MPI
(PG/PC Interface)
PC Adapter
COMUNICACIN
Simatic Manager: Options > Set PG/PC Interface Windows Control Panel : Set PG/PC Interface PLC Set PG-PC Interface
Computadora
COMUNICACIN
Click aqu para verificar la comunicacin
No hay comunicacin
LENGUAJES DE PROGRAMACIN
Ladder (LAD) Function Block Diagram (FBD) Statement List (STL) Structured Text (SCL) Sequential Function Chart (S7-Graph)
LENGUAJES DE PROGRAMACIN
LAD
STL
FBD
LENGUAJES DE PROGRAMACIN
Structured Text (SCL)
LENGUAJES DE PROGRAMACIN
DIRECCIONAMIENTO
I 0.5
Input Byte 0 Bit 5 Output
Q 0.5
Byte 0 Bit 5 Memory
M 0.5
Byte 0 Bit 5
I0.0 to I0.7 I1.0 to I1.7 etc ENTRADA Bit Byte Word (16 bits) Double Word (32 bits) I IB IW ID SALIDA Q QB QW QD
MW5 = MB5 & MB6 MD5 = MB5 & MB6 & MB7 & MB8 MEMORIA M MB MW MD
Con memoria
Function (FC)
Sin memoria
Data Block
SIEMENS
NA
L U ONS
# S R P N
NA Rung = Network
NOT
EJEMPLO BSICO
EL SIMULADOR
1
3
2
EL SIMULADOR
4
FLIP-FLOPS
Con RESET prioritaria
TEMPORIZADORES
Formato : S5T#aHbMcSdMS
1. 2. 3. 4. 5.
5 Tipos de Temporizadores: On delay (S_ODT) Retentive on delay (S_ODTS) Off delay (S_OFFDT) Pulse (S_PULSE) Extended Pulse (S_PEXT)
Rango 10MS to 9S_990MS 100MS to 1M_39S_900MS 1S to 16M_39S 10S to 2H_46M_30S
TEMPORIZADORES
ON DELAY TIMER
Timer Block
Timer Coil
CONTADORES
3 Tipos de contadores: 1. Up Counter 2. Down Counter 3. Up/Down Counter Salida = 1 si el cuento es mayor de 0 Cuenta de 0 to 999
ON-DELAY TIMER
UP COUNTER
COMPARADORES
Comparador de numeros enteros
(numero entero (16bits)) (doble numero entero (32bits)) (punto flotante (32bits))
COMPARADORES
Comparador de puntos flotantes
ERROR
DETECCIN DE FLANCOS
POSITIVO NEGATIVO
BLOQUE
COIL
ENTRADA ANALGICA
Direccionamiento Analoga Ejemplo: PIW304 (Incluye B304 & B305) El siguiente entrada es PIW306
0 No error 0 Error
SALIDA ANALGICA
Direccionamiento Analoga Ejemplo: PQW304 FC106
TROUBLESHOOTING
Hardware Diagnostics
TROUBLESHOOTING
Hardware Diagnostics
TROUBLESHOOTING
Diagnostic Buffer
PLC > Diagnostic_Setting > Module Information > Diagnostic Buffer
TROUBLESHOOTING
MEMORY RESET
Resets memory in CPU If a memory card is present PLC will reload from memory card after a reset. 2 Ways: with switch or from software
TROUBLESHOOTING
Options/Reference Data/Display
INPUT/OUTPUT TABLE
TROUBLESHOOTING
CROSS REFERENCES
Options/Reference Data/Display
TROUBLESHOOTING
CROSS REFERENCES
Options/Reference Data/Display
TROUBLESHOOTING
FORCING
Hay que crear un force table con los direccionamientos que hay que forcar. (PLC/Display Force Values)