7.10
7.10.1
7.10.2
Instrucciones de rotación ...........................................................................................................245
8
Instrucciones avanzadas ....................................................................................................................... 247
8.1
Fecha y hora ..............................................................................................................................247
8.1.1
8.1.2
8.1.3
8.1.4
Instrucción SET_TIMEZONE .....................................................................................................253
8.2
Cadena y carácter......................................................................................................................254
8.2.1
8.2.2
Instrucción S_MOVE..................................................................................................................255
8.2.3
8.2.3.1
8.2.3.2
8.2.3.3
8.2.4
Instrucciones con cadenas ........................................................................................................268
8.2.4.1
LEN ............................................................................................................................................268
8.2.4.2
CONCAT ....................................................................................................................................269
8.2.4.3
LEFT, RIGHT y MID...................................................................................................................270
8.2.4.4
DELETE .....................................................................................................................................271
8.2.4.5
INSERT ......................................................................................................................................272
8.2.4.6
REPLACE ..................................................................................................................................273
8.2.4.7
FIND...........................................................................................................................................274
8.3
8.3.1
RDREC y WRREC.....................................................................................................................275
8.3.2
RALRM.......................................................................................................................................278
8.3.3
8.3.4
DPRD_DAT y DPWR_DAT ........................................................................................................284
8.3.5
DPNRM_DG...............................................................................................................................286
8.4
Alarmas ......................................................................................................................................289
8.4.1
8.4.2
Alarmas cíclicas .........................................................................................................................292
8.4.2.1
8.4.2.2
8.4.3
Alarmas de retardo ....................................................................................................................295
8.4.4
8.5
8.5.1
Instrucción LED..........................................................................................................................298
8.5.2
Instrucción DeviceStates ...........................................................................................................299
8.5.3
Instrucción ModuleStates...........................................................................................................300
8.5.4
Instrucción GET_DIAG...............................................................................................................301
8.6
Impulso.......................................................................................................................................303
8.6.1
Instrucción CTRL_PWM.............................................................................................................303
8.6.2
8.6.3
8.7
Registrar datos...........................................................................................................................307
8.7.1
Estructura del registro................................................................................................................308
Controlador programable S7-1200
Manual de sistema, 11/2011, A5E02486683-05
Índice
9