8.7
Conversión ...................................................................................................................... 284
8.7.1
CONV (convertir valor) ..................................................................................................... 284
8.7.2
8.7.3
8.7.4
inferior) ........................................................................................................................... 289
8.7.5
8.7.6
8.7.6.1
8.7.6.2
8.8
Control del programa ....................................................................................................... 295
8.8.1
8.8.2
8.8.3
8.8.4
RET (retroceder)............................................................................................................... 299
8.8.5
8.8.6
8.8.7
STP (finalizar programa) ................................................................................................... 304
8.8.8
8.8.9
8.8.10
8.8.10.1
8.8.10.2
Instrucción IF-THEN.......................................................................................................... 310
8.8.10.3
Instrucción CASE.............................................................................................................. 311
8.8.10.4
Instrucción FOR................................................................................................................ 312
8.8.10.5
Instrucción WHILE-DO ...................................................................................................... 313
8.8.10.6
Instrucción REPEAT-UNTIL................................................................................................. 314
8.8.10.7
Instrucción CONTINUE...................................................................................................... 315
8.8.10.8
Instrucción EXIT ............................................................................................................... 315
8.8.10.9
Instrucción GOTO............................................................................................................. 316
8.8.10.10
Instrucción RETURN.......................................................................................................... 316
8.9
8.9.1
8.9.2
INV (complemento a 1) .................................................................................................... 318
8.9.3
8.9.4
8.10
Desplazamiento y rotación ............................................................................................... 322
8.10.1
8.10.2
9
Instrucciones avanzadas.................................................................................................................... 325
9.1
9.1.1
9.1.2
Funciones de reloj............................................................................................................ 328
9.1.3
9.1.4
9.1.5
9.2
Cadena y carácter ............................................................................................................ 334
9.2.1
9.2.2
Controlador programable S7-1200
Manual de sistema, V4.5 05/2021, A5E02486683-AO
Índice
11