1 / 13

Consideraciones generales STEP 7

Consideraciones generales STEP 7. Pablo San Segundo C-206 pablo.sansegundo@upm.es. Tipos de datos base. Constantes numéricas. Instrucción AWL. [<ETIQUETA>< : >] <OPERADOR> [<OPERANDOS>] [<//><COMENTARIO>]. 4 caracteres alfanuméricos excepto el primero que tiene que ser no numérico.

jamal
Télécharger la présentation

Consideraciones generales STEP 7

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Consideraciones generales STEP 7 Pablo San Segundo C-206 pablo.sansegundo@upm.es

  2. Tipos de datos base

  3. Constantes numéricas

  4. Instrucción AWL [<ETIQUETA><:>] <OPERADOR> [<OPERANDOS>] [<//><COMENTARIO>] 4 caracteres alfanuméricos excepto el primero que tiene que ser no numérico

  5. Palabra de estado (SR)

  6. Direccionamiento de memoria

  7. Ejemplos de identificadores de variables ON E 124.7 U E124.0 UN A 124.8 O EB 124 U MD 124 L EW 124 L MW 124 L ED 124

  8. Operadores Carga (L) y Transferencia (T) L EW10 ACU2=ACU1 ACU1=EW10 ACU1 = EW10 ACU2 = ACU1 EW10 ACU2 ACU1 MW10 EW10 = ACU1 T MW10: EW10 = ACU1 Acumuladores (32 bits)

  9. 1 1 0 0 1 0 0 0 0 0 1 1 0 1 0 0 0 1 0 1 0 0 1 0 1 1 0 0 1 0 0 0 Direccionamiento de memoria BIG-ENDIAN RAM MB 0 MW 0 MB 1 MD 0 MB 2 MD 1 MB 3 MB 4 LDW#16#FF00AA00 T MD 0

  10. Biestables RLO y /ER en operaciones BOOL E 124.0 =1 E 124.1 =0 A 124.0 = ? E 124.1 =0 Inicio : RLO0 ER0 (primera consulta) RLOE 124.0 ER1 RLORLO + E124.1 ER no cambia RLORLO · E 124.2 ER no cambia A 124.0RLO ER0 (primera consulta) OB1 (seg.1) U E124.0 O E124.1 U E124.2 = A 124.0

  11. OB1 U E 32.0 UN M_Flanco = M_Pulso M_Flanco Memoria t M_Pulso U E 32.0 = M_Flanco tciclo t Flancos FLANCO DE SUBIDA E 124.0 t FLANCO DE BAJADA?

  12. Operadores Booleanos

  13. M10.0 # NOT Lenguaje de contactos (KOP) A1.0 Mflanco N Expresión Mflanco A1.0 P Expresión A1.0 E1.0 Expresión POS Mflanco A1.0 E1.0 Expresión NEG Mflanco A1.0 Expresión Bloque conector

More Related