|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OB30 Cyclic interrupt : Cyclic interrupt every 100 ms |
|
|
|
Network 1: V204 Steam regulating valve - PID_Compact "DI OUT P02".V204.Input := "DI OUT P02".TT210.Support.Out_Scale - "DI OUT P02".TT206.Support.Out_Scale; "+2-V204"(Input := "DI OUT P02".V204.Input, Setpoint := "DI OUT P02".V204.Setpoint, // difference Input_PER := "DI OUT P02".V204.Input_PER, Disturbance:="DI OUT P02".V204.Disturbance, ManualEnable:="DI OUT P02".V204.ManualEnable, ManualValue := "DI OUT P02".V204.ManualValue, ErrorAck := "DI MAIN GLB".P00.FLT_CmpltMaACK_REg, Reset := "DI OUT P02".V204.Reset, ModeActivate:="DI OUT P02".V204.ModeActivate, ScaledInput=>"DI OUT P02".V204.ScaledInput, Output => "DI OUT P02".V204.Output, Output_PER => "DI OUT P02".V204.Output_PER, Output_PWM => "DI OUT P02".V204.Output_PWM, SetpointLimit_H => "DI OUT P02".V204.SetpointLimit_H, SetpointLimit_L => "DI OUT P02".V204.SetpointLimit_L, InputWarning_H => "DI OUT P02".V204.InputWarning_H, InputWarning_L => "DI OUT P02".V204.InputWarning_L, State => "DI OUT P02".V204.State, Error => #tmp_llo,//"DI OUT P02".V204.Error, ErrorBits => "DI OUT P02".V204.ErrorBits, Mode:="DI OUT P02".V204.Mode); // 3= Auto Mode, 4= Manual Mode IF #tmp_llo THEN // Error capture "DI OUT P02".V204.Error := TRUE; END_IF; |
|
|
|
Network 2: V205 Glycol regulating valve - PID_Compact "DI OUT P02".V205.Input := "DI OUT P03".TT306.Support.Out_Scale - "DI OUT P02".TT211.Support.Out_Scale; "+2-V205"(Input := "DI OUT P02".V205.Input, Setpoint := "DI OUT P02".V205.Setpoint, // difference Input_PER := "DI OUT P02".V205.Input_PER, Disturbance:="DI OUT P02".V205.Disturbance, ManualEnable:="DI OUT P02".V205.ManualEnable, ManualValue := "DI OUT P02".V205.ManualValue, ErrorAck := "DI MAIN GLB".P00.FLT_CmpltMaACK_REg, Reset := "DI OUT P02".V205.Reset, ModeActivate:="DI OUT P02".V205.ModeActivate, ScaledInput=>"DI OUT P02".V205.ScaledInput, Output => "DI OUT P02".V205.Output, Output_PER => "DI OUT P02".V205.Output_PER, Output_PWM => "DI OUT P02".V205.Output_PWM, SetpointLimit_H => "DI OUT P02".V205.SetpointLimit_H, SetpointLimit_L => "DI OUT P02".V205.SetpointLimit_L, InputWarning_H => "DI OUT P02".V205.InputWarning_H, InputWarning_L => "DI OUT P02".V205.InputWarning_L, State => "DI OUT P02".V205.State, Error => #tmp_llo,//"DI OUT P02".V205.Error, ErrorBits => "DI OUT P02".V205.ErrorBits, Mode:="DI OUT P02".V205.Mode); // 3= Auto Mode, 4= Manual Mode IF #tmp_llo THEN // Error capture "DI OUT P02".V205.Error := TRUE; END_IF; |
|
|
|
Network 3: V312 Product inlet regulating valve - PID_Compact "+3-V312"(Setpoint := "DI OUT P03".V312.Setpoint, Input := "DI OUT P03".V312.Input, Input_PER := "DI OUT P03".V312.Input_PER, Disturbance:="DI OUT P03".V312.Disturbance, ManualEnable:="DI OUT P03".V312.ManualEnable, ManualValue := "DI OUT P03".V312.ManualValue, ErrorAck := "DI MAIN GLB".P00.FLT_CmpltMaACK_REg, Reset := "DI OUT P03".V312.Reset, ModeActivate:="DI OUT P03".V312.ModeActivate, ScaledInput=>"DI OUT P03".V312.ScaledInput, Output => "DI OUT P03".V312.Output, Output_PER => "DI OUT P03".V312.Output_PER, Output_PWM => "DI OUT P03".V312.Output_PWM, SetpointLimit_H => "DI OUT P03".V312.SetpointLimit_H, SetpointLimit_L => "DI OUT P03".V312.SetpointLimit_L, InputWarning_H => "DI OUT P03".V312.InputWarning_H, InputWarning_L => "DI OUT P03".V312.InputWarning_L, State => "DI OUT P03".V312.State, Error => #tmp_llo,//"DI OUT P03".V312.Error, ErrorBits => "DI OUT P03".V312.ErrorBits, Mode:="DI OUT P03".V312.Mode); // 3= Auto Mode, 4= Manual Mode IF #tmp_llo THEN // Error capture "DI OUT P03".V312.Error := TRUE; END_IF; |
|