7.9.2
7.9.3
7.9.4
7.10
7.10.1
7.10.2
Instrucciones de rotación ...........................................................................................................254
8
Instrucciones avanzadas ....................................................................................................................... 257
8.1
Fecha y hora ..............................................................................................................................257
8.1.1
8.1.2
8.1.3
8.1.4
Instrucción SET_TIMEZONE .....................................................................................................263
8.2
Cadena y carácter......................................................................................................................264
8.2.1
8.2.2
Instrucción S_MOVE..................................................................................................................265
8.2.3
8.2.3.1
8.2.3.2
8.2.3.3
8.2.4
Instrucciones con cadenas ........................................................................................................278
8.2.4.1
LEN ............................................................................................................................................278
8.2.4.2
CONCAT ....................................................................................................................................279
8.2.4.3
LEFT, RIGHT y MID...................................................................................................................280
8.2.4.4
DELETE .....................................................................................................................................281
8.2.4.5
INSERT ......................................................................................................................................282
8.2.4.6
REPLACE ..................................................................................................................................283
8.2.4.7
FIND...........................................................................................................................................284
8.3
8.3.1
8.3.2
RDREC y WRREC.....................................................................................................................286
8.3.3
RALRM.......................................................................................................................................289
8.3.4
8.3.5
DPRD_DAT y DPWR_DAT ........................................................................................................296
8.3.6
DPNRM_DG...............................................................................................................................298
8.4
Alarmas ......................................................................................................................................301
8.4.1
8.4.2
Alarmas cíclicas .........................................................................................................................304
8.4.2.1
8.4.2.2
8.4.3
Alarmas de retardo ....................................................................................................................307
8.4.4
8.5
8.5.1
8.5.2
8.5.3
Instrucción LED..........................................................................................................................312
8.5.4
Instrucción DeviceStates ...........................................................................................................313
8.5.5
Instrucción ModuleStates...........................................................................................................314
8.5.6
Instrucción GET_DIAG...............................................................................................................316
Controlador programable S7-1200
Manual de sistema, 04/2012, A5E02486683-06
Índice
9