Good Afternoon ,
We have a new machine from Italy , and for some reason , the servo actual positions quit updating on the HMI. I looked at the tag in the "connection" tab in Numeric Display and it is
{[CLX]HMI.Scope.Recipe_Par[153]}.
I thought it was going to be simple , till I looked at the code below. I
know it not the easiest to read , the way I have it. What do you think the S:FS Bit stands for in a ControlLogix ? It may be that this bit is not true. Where would I see this. Also attached is another piece of code , that a cross reference of that HMI tag showed ?
What is a SIZE instruction used for ?
Thank you so much for your help. Why is code written so difficult sometimes ?
// Inizializzazione parametri all'accensione
// The below program initialises data to desired power up values. This only runs on S:FS Bit.
IF S:FS THEN
MAN_AX_LAST :=32;
// Tutti i parametri di ricetta invisibili
// All recipe parameters Not Displayed
FOR INDEX:=0 TO (MAX_MACHINE_PARAMETERS_NR-1) BY 1 DO
HMI_CONFIG.RECIPE_PAR_MIN_VALUE[INDEX] := 0;
HMI_CONFIG.RECIPE_PAR_MAX_VALUE[INDEX] := 0;
HMI.SCOPE.RECIPE_PAR[INDEX] := 0;
END_FOR;
We have a new machine from Italy , and for some reason , the servo actual positions quit updating on the HMI. I looked at the tag in the "connection" tab in Numeric Display and it is
{[CLX]HMI.Scope.Recipe_Par[153]}.
I thought it was going to be simple , till I looked at the code below. I
know it not the easiest to read , the way I have it. What do you think the S:FS Bit stands for in a ControlLogix ? It may be that this bit is not true. Where would I see this. Also attached is another piece of code , that a cross reference of that HMI tag showed ?
What is a SIZE instruction used for ?
Thank you so much for your help. Why is code written so difficult sometimes ?
// Inizializzazione parametri all'accensione
// The below program initialises data to desired power up values. This only runs on S:FS Bit.
IF S:FS THEN
MAN_AX_LAST :=32;
// Tutti i parametri di ricetta invisibili
// All recipe parameters Not Displayed
FOR INDEX:=0 TO (MAX_MACHINE_PARAMETERS_NR-1) BY 1 DO
HMI_CONFIG.RECIPE_PAR_MIN_VALUE[INDEX] := 0;
HMI_CONFIG.RECIPE_PAR_MAX_VALUE[INDEX] := 0;
HMI.SCOPE.RECIPE_PAR[INDEX] := 0;
END_FOR;