Documente Academic
Documente Profesional
Documente Cultură
LAD/STL/FBD Editor
MPI
PROFIBUS
SIMATIC MANAGER
Net PRO Connection ETHERNET
Enlaces
SIMATIC HMI
SEND/RECIVE (DATA)
Name of FB
COMPARE BLOCKS
REWIRE Name of FC
CROSS REFERENCE
Short Cut For Simatic Manager
Click
Starting Simatic Manager
BARRA DE MENU
AYUDA SOFTWARE
ARCHIVO:
BARRA DE STATUS
Tool Bar
ABRIR
NUEVO
SELECCIONAMOS PROYECTO
ESCRIBIR NOMBRE
DE PROYECTO
LUEGO OK
Create S7 Program
SELECCIONAMOS EL TIPO DE
PROGRAMA
Insert S7 Station
SELECCIONAMOS EL TIPO DE
ESTACION
Open Hardware Configuration Editor
ABRIMOS CONFIGURACION DE
HARDWARE
SELECCIONAMOS EL CATALOGO
CATALOGO DE HARDWARE
Insert Rack
CATALOGO:
1- ABRIMOS CPU 300
2.- SELECCIONAMOS CPU
CATALOGO:
1- SELECIONAR Simatic 300
2- SELECCIONAMOS RACK 300
3-INSERTAMOS RAIL
Selecting The Signal Modules
CATALOGO:
1- ABRIMOS SM-300
2- SELECCIONAR MODULO DE SEAL. (SM).
3.- NSERTAMOS ENTRADAS/SALIDAS
ANALOGAS/DIGITALES
Input & output Modules Address Overview
DIRECCIONES
Change the Address of the Input & output Modules
Clock Memory 7 6 5 4 3 2 1 0
GUADAMOS Y COMPILAMOS
Downloading HW Config. To the PLC
2
3
Click OK
6
4 5
Uploading HW Config. From the PLC
2
Slot Reservation & Addressing
Slot No. 2 4 5
Slot 1
Reservado para la fuente de poder
Slot 2
CPU.
Slot 3
Modules CPU DI DO AI AO
Reservado para los modulos de interface
(IM)
Slots 4-11
PS
IM 32.0 36.0 40.0 44.0 48.0 52.0 56.0 60.0
Rack to to to to to to to to
1 (361Send
Receive) 35.7 39.7 43.7 47.7 51.7 55.7 59.7 63.7
Slot 1 2 3 4 5 6 7 8 9 10 11
MAPEO Inputs/ Outputs (BOOL)
MEMORIA MARCAS
M0.0 MW MD10
TIMERS TEMPORIZADORES
SFB4 (TON)
SFB5 (TOF) SBD
Temporizadores S7
S_IMPULS S_EVERZ S_SEVERZ S_AVERZ
Globales: OB -FC-FB
Instancia: OB-FC-FB (Static variables) DB de Instancia
VARIABLES TEMPORALES
Ejecucin durante el ciclo del FC ( Caculos intermedio o locales).
Organization Block (OB)
Function Block FB
Function (FC)
BLOQUES DE Vlvulas
DB Almacena valores
MEMORIA
Motores
Globales Multiinstancia
AWL = STL = ESTRUCTURADO
KOP = LAD = ESCALERA
FUP = FB = BLOQUES
SELECCIONAMOS EL TIPO DE
LENGUAJE
Programming Languages
LAD
Ladder Diagram is very similar to a circuit diagram. Symbols such as contacts and coils are
used. This programming language often appeals to those who have a drafting or electrical
background.
Programming Languages
STL
The Statement List consists of STEP 7 instructions. This programming language is preferred
by programmers who are already familiar with other programming languages.
Programming Languages
FBD
The Function Block Diagram uses boxes for the individual functions. The character in the
box indicates the function (such as & --> AND Logic Operation). This programming
language has the advantage that even a non-programmer can work with it.
ematical algorithms and complex data processing tasks for PLCs.
Programming Languages
S7-GRAPH
With the S7-GRAPH programming language, you can clearly and quickly configure and
program sequential sequences that you wish to control with an S7 PLC system.
CFC
The CFC engineering tool enables you to create automation applications for SIMATIC S7 by
drawing a process flow chart - similar to a function diagram for programming a PLC.
SCL
MONITORIZAR
GUARDAR ARCHIVO
Podemos utilizar directamente la direccin
sin la utilizacin de la tabla de smbolos.
FC IN
OUT
IN_OUT Variables que no pierden valor
FB TEMP
Multiinstancia
Al utilizar FB es
necesario la creacin DB Alacena valores
de :
Sistema Numerico
Name Base
The Decimal Number
Binary Base 2
The Binary Number
The Hexadecimal Number Decimal Base 10
Hexadecimal Base 16
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 1 1 1 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Arithmetic Operations: such as + R, * R, <R, ==R ,sin, acos, ln, exp, SQR
Double Integer (DINT, 32-Bit Integer) Value Range -32768 to +32767 (without sign: 0 to 65535)
Bloque de datos
---( OPN ) DB DBX DBB DBW DBD
---( OPN ) D DIX DIB DIW DID
Temporizador (T) T T
Contador (Z) Z Z
Direccionamiento absoluto y simblico
Una direccin absoluta compuesta por un identificador de
operandos y una direccin.
Elemento (T, Z) o bloque (FB, FC, SFB, SFC, DB, DI, OB).
Direccionamiento absoluto y simblico
Sintaxis general en el direccionamiento directo absoluto
Direccin de bit: (E, A, M, L) rea de memoria Nmero del byte. Nmero del bit
(contiene tamao) M 100.
Direccin de bit: (DIX, DBX) rea de memoria, tamao Nmero del byte. Nmero del bit
DB1,DB100
Direccin de doble palabra: rea de memoria, tamao Nmero del primer byte
(1 de 4 bytes) MD 202
INT DINT
DATE
S5TIME
REAL
TIME
TOD
Tipo de datos compuestos
Un tipo de datos compuesto est formado por un grupo de datos
simples y/o compuestos.
Los parmetros pueden ser del tipo ARRAY, STRUCT, STRING y tipo
de datos de usuario (UDT).
Declaraciones de bloque
w#16#wxyzsiendo:
Count Value
S_CU Up Counter
C no. Z no.
CU ZV
CD ZR
S S
PV ZW
PV ZW
R R
CV DUAL
CV_BCD DEZ
Q Q
S_CUD (Up-Down Counter) is preset with the value at input PV if there is a
positive edge at input S. If there is a 1 at input R, the counter is reset and
the count is set to zero. The counter is incremented by one if the signal
state at input CU changes from "0" to "1" and the value of the counter is
less than "999". The counter is decremented by one if there is a positive
edge at input CD and the value of the counter is greater than "0".
If the counter is set and if RLO = 1 at the inputs CU/CD, the counter will
count once in the next scan cycle, even if there was no change from a
positive to a negative edge or viceversa.
The signal state at output Q is "1" if the count is greater than zero and "0"
if the count is equal to zero.