Instrucciones Relacionadas: Brk, Jmp, Lbl, Jsr, Sbr, Ret - Rockwell Automation Allen-Bradley Logix5000 Manual De Referencia Del Conjunto De Instrucciones Generales

Ocultar thumbs Ver también para Allen-Bradley Logix5000:
Tabla de contenido

Publicidad

11-4
Instrucciones FOR/interrupción (FOR, BRK, RET)
Ejemplo de FOR:
Otros formatos:
Formato:
texto neutro
texto ASCII

Instrucciones relacionadas: BRK, JMP, LBL, JSR, SBR, RET

1756-6.4.1ES - Octubre de 1999
Una vez habilitada, la instrucción FOR ejecuta repetidamente routine_2 e incrementa value_2 en un valor de 1
cada vez. Cuando value_2 es > 10 o una instrucción BRK está habilitada, la instrucción FOR ya no ejecuta
routine_2 .
Sintaxis:
FOR( routine_name,index,initial_value,terminal_value,step_size );
FOR routine_name index initial_value terminal_value step_size

Publicidad

Tabla de contenido
loading

Tabla de contenido