SYS_CURRENT_PLC

Grupo

Constantes del tipo de PLC

Nombre

Esta constante del sistema tiene un valor único para el tipo de PLC seleccionado. Permite compilar los programas solamente para el tipo de PLC seleccionado.

Ejemplo
#if((SYS_CURRENT_PLC AND (SYS_FP0 OR SYS_FP_e))<>0) #then
(* only code for FP0 or FPe is executed*)
#elsif ((SYS_CURRENT_PLC AND (SYS_FP2 OR SYS_FP2SH OR SYS_FP10SH))<>0) #then
(* only code for FP2,FP2SH or FP10SH is executed*)
#end_if;
Temas relacionados

Modificado el: 20.08.2021Comentarios sobre esta páginaLínea directa de Panasonic