From c2a66f38c834800e64df7f4a571f584a317e72c0 Mon Sep 17 00:00:00 2001 From: nwaters Date: Fri, 19 Jan 2024 15:02:32 -0800 Subject: [PATCH] DOC: add comments for sensors sharing the same IO --- plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM2K2_PPM.TcPOU | 3 ++- plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM3K2_PPM.TcPOU | 3 ++- plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM4K2_PPM.TcPOU | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM2K2_PPM.TcPOU b/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM2K2_PPM.TcPOU index 0089afc..d8eb467 100644 --- a/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM2K2_PPM.TcPOU +++ b/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM2K2_PPM.TcPOU @@ -15,7 +15,8 @@ VAR .fbYagThermoCouple.bUnderrange := TIIB[IM2K2-EL3314-E4]^TC Inputs Channel 2^Status^Underrange; .fbYagThermoCouple.bOverrange := TIIB[IM2K2-EL3314-E4]^TC Inputs Channel 2^Status^Overrange; .fbYagThermoCouple.iRaw := TIIB[IM2K2-EL3314-E4]^TC Inputs Channel 2^Value; - .fbFlowMeter.iRaw := TIIB[IM1K2-EL3052-E5]^AI Standard Channel 1^Value'} + .fbFlowMeter.iRaw := TIIB[IM1K2-EL3052-E5]^AI Standard Channel 1^Value'} + fbIM2K2: FB_PPM; fbStateSetup: FB_StateSetupHelper; diff --git a/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM3K2_PPM.TcPOU b/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM3K2_PPM.TcPOU index adecd29..5c0d30c 100644 --- a/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM3K2_PPM.TcPOU +++ b/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM3K2_PPM.TcPOU @@ -15,7 +15,8 @@ VAR .fbYagThermoCouple.bUnderrange := TIIB[IM3K2-EL3314-E4]^TC Inputs Channel 2^Status^Underrange; .fbYagThermoCouple.bOverrange := TIIB[IM3K2-EL3314-E4]^TC Inputs Channel 2^Status^Overrange; .fbYagThermoCouple.iRaw := TIIB[IM3K2-EL3314-E4]^TC Inputs Channel 2^Value; - .fbFlowMeter.iRaw := TIIB[IM1K2-EL3052-E5]^AI Standard Channel 1^Value'} // same as IM1K2'} + .fbFlowMeter.iRaw := TIIB[IM1K2-EL3052-E5]^AI Standard Channel 1^Value'} +// // IM3K2 shares the same flow meter as IM1K2 fbIM3K2: FB_PPM; fbStateSetup: FB_StateSetupHelper; diff --git a/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM4K2_PPM.TcPOU b/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM4K2_PPM.TcPOU index f8155d3..73be027 100644 --- a/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM4K2_PPM.TcPOU +++ b/plc-kfe-rix-motion/kfe_rix_motion/POUs/PRG_IM4K2_PPM.TcPOU @@ -15,7 +15,8 @@ VAR .fbYagThermoCouple.bUnderrange := TIIB[IM4K2-EL3314-E4]^TC Inputs Channel 2^Status^Underrange; .fbYagThermoCouple.bOverrange := TIIB[IM4K2-EL3314-E4]^TC Inputs Channel 2^Status^Overrange; .fbYagThermoCouple.iRaw := TIIB[IM4K2-EL3314-E4]^TC Inputs Channel 2^Value; - .fbFlowMeter.iRaw := TIIB[IM1K2-EL3052-E5]^AI Standard Channel 1^Value'} // same as IM1K2'} + .fbFlowMeter.iRaw := TIIB[IM1K2-EL3052-E5]^AI Standard Channel 1^Value'} +// IM4K2 shares the same flow meter as IM1K2 fbIM4K2: FB_PPM; fbStateSetup: FB_StateSetupHelper;