File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 10.03.2023, 13:23:56 companyName string 3S-Smart Software Solutions GmbH libraryFile SM3_Drive_ETC_Copley.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SM3_Drive_ETC_Copley.clean.json version version 2.0.0.0 ProjectInformation Released bool True ShowSmartCodingInfo True LastModificationDateTime date 10.03.2023, 13:23:56 LibraryCategories library-category-list Intern|SoftMotion Company string 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder SM3_Drive_ETC_Copley Project SM3_Drive_ETC_Copley Title SM3_Drive_ETC_Copley Version version 4.14.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SM3_Basic ¶ Library Identification ¶ Placeholder: SM3_Basic Default Resolution: SM3_Basic, * (3S - Smart Software Solutions GmbH) Namespace: SM3_Basic Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SM3_Basic SM3_Drive_CiA_DSP402 ¶ Library Identification ¶ Placeholder: SM3_Drive_CiA_DSP402 Default Resolution: SM3_Drive_CiA_DSP402, * (3S - Smart Software Solutions GmbH) Namespace: SM3_Drive_CiA_DSP402 Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SM3_Drive_CiA_DSP402 SM3_Drive_ETC ¶ Library Identification ¶ Placeholder: SM3_Drive_ETC Default Resolution: SM3_Drive_ETC, * (3S - Smart Software Solutions GmbH) Namespace: SM3_Drive_ETC Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SM3_Drive_ETC SM3_Drive_ETC_DS402_CyclicSync ¶ Library Identification ¶ Placeholder: SM3_Drive_ETC_DS402_CyclicSync Default Resolution: SM3_Drive_ETC_DS402_CyclicSync, * (3S - Smart Software Solutions GmbH) Namespace: SM3_Drive_ETC_DS402_CyclicSync Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SM3_Drive_ETC_DS402_CyclicSync Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard
Examples ¶ ExampleFancoil3StageAggregate (FunctionBlock)
Fancoil3Stage (FB) ¶ FUNCTION_BLOCK Fancoil3Stage Controls a fan coil unit with an N-stage fan (N 1..3) For application examples and device examples see FancoilContinuous . Functionality ¶ Fancoil3Stage provides a control strategy for a fan coil unit with an N-stage fan (N 1..3). The fan is controlled either by: control signal inputs - the heat / cool valve position setpoints compute by SequenceControl control deviation related to active operation mode (eModeIn) The Fancoil3Stage control strategy takes into account: control of fan speed dependent on valve position or control deviation minimum fan speed delays switching from on stage to another one fan follow-up time coil pre-heat / pre-cool control of optional condensate pump (cooling mode) manual control of fan manual control of valves Control of fan speed dependent on valve position or control deviation ¶ The fan can be controlled dependent on valve position or control deviation - default is dependent control deviation. Please be aware, that negative heating control deviation and positive heating control deviation should activate the fan. Usually a “dead zone” is supposed to be in between heating sequence and cooling sequence - for more details see SequenceControl . To setup the fan stage thresholds for fan control dependent control deviation choose rFanTresholdStage1Heat..rFanTresholdStage3Heat to appropriate heat deviation. Set rFanTresholdStage1Cool..rFanTresholdStage3Cool accordingly for cooling. To setup the fan stage thresholds for fan control dependent valve position choose rFanTresholdStage1Heat..rFanTresholdStage3Heat with appropriate heat valve. Set rFanTresholdStage1Cool..rFanTresholdStage3Cool accordingly for cooling. InOut: Scope Name Type Initial Comment Input xEnable BOOL TRUE Enable usiNumStages USINT (1..3) 3 Number of stages - 1 .. 3 rHeatIn REAL Heat control signal (0..100%). rCoolIn REAL Cool control signal (0..100%). eModeIn HeatCoolOperationMode HeatCoolOperationMode.UNUSED Controller operation mode. rDeviationMode REAL Control deviation related to active operation mode - negative value for HEAT, positive value for COOL xFanSpeedByDeviation BOOL TRUE Control fan speed dependent on control signal (FALSE) or control deviation (TRUE). rFanTresholdStage1Heat REAL -0.5 Treshold to enable fan stage 1 heating (in K for fan control dependent on control deviation, in % for fan control dependent on valve position) rFanTresholdStage2Heat REAL -1.0 Treshold to enable fan stage 2 heating rFanTresholdStage3Heat REAL -2.0 Treshold to enable fan stage 2 heating rFanTresholdStage1Cool REAL 0.5 Treshold to enable fan stage 1 cooling (in K for fan control dependent on control deviation, in % for fan control dependent on valve position) rFanTresholdStage2Cool REAL 1.0 Treshold to enable fan stage 2 cooling rFanTresholdStage3Cool REAL 2.0 Treshold to enable fan stage 2 cooling rFanHysteresis REAL 0.2 Fan stage hysteresis (0..INF K for fan control dependent on control deviation, 0..100 % for fan control dependent on valve position) Fan control dependent on control deviation: fan stage is reduced if control deviation reaches threshold + rFanHysteresis (heat) resp. threshold - rFanHysteresis (cool). Fan control dependent on valve position: fan stage is reduced if valve position reaches threshold + rFanHysteresis. tFanDelay12 TIME TIME#0ms Delay to switch stage 1 => stage 2 tFanDelay23 TIME TIME#0ms Delay to switch stage 2 => stage 3 tFanDelay32 TIME TIME#0ms Delay to switch stage 3 => stage 2 tFanDelay21 TIME TIME#0ms Delay to switch stage 2 => stage 1 tFanFollowUp TIME TIME#2m0s0ms Fan follow-up time - continue to run in stage 1 beyond request. tPreHeat TIME TIME#0ms Coil pre-heat time. tPreCool TIME TIME#0ms Coil pre-cool time. xCpumpErri BOOL FALSE Condensate pump error indication - condensate pump is signaling an error rHeatManual REAL 0.0 Heat valve manual control (0..100%). xHeatManual BOOL FALSE Heat valve manual control used. rCoolManual REAL Cool valve manual control (0..100%). xCoolManual BOOL FALSE Cool valve manual control used. usiFanStageManual USINT (0..3) 0 Fan speed manual control - 0 => off, or stage 1 .. 3 xFanStageManual BOOL FALSE Fan speed manual manual control used. xReset BOOL FALSE Reset itfDateTimeProvider Util.IDateTimeProvider Globals.g_dtpDateTimeProvider Source for the current date and time information in milliseconds since 1.1.1970 00:00:00.000 Output eModeOut HeatCoolOperationMode HeatCoolOperationMode.INACTIVE Operation mode. rHeatOut REAL Heat valve signal (0..100%). rCoolOut REAL Cool valve signal (0..100%). xFanStage1 BOOL Fan stage 1 xFanStage2 BOOL Fan stage 2 xFanStage3 BOOL Fan stage 3 usiFanStageOut USINT (0..3) Fan stage - 0 => off, or stage 1 .. 3 - supposed to be used in visualisation eFanState Fan3StageState Actual state xCpumpOut BOOL FALSE Condensate pump. xError BOOL Error indication eErrorID Error Error ID
SM3_Drive_ETC_Omron_G5 Library Documentation ¶ Company : CODESYS Title : SM3_Drive_ETC_Omron_G5 Version : 4.16.0.0 Categories : Intern|SoftMotion Author : CODESYS Development GmbH Placeholder : SM3_Drive_ETC_Omron_G5 Description [ 1 ] ¶ SoftMotion ETC SanyoDenki RS2 Contents: ¶ AXIS_REF_ETC_Omron_G5 (FunctionBlock) DriverName (Property) DriverVersion (Property) ParameterAccess inputs state-machine Projektinformationen GetBooleanProperty (Function) GetCompany (Function) GetNumberProperty (Function) GetTextProperty (Function) GetTextProperty2 (Function) GetTitle (Function) GetVersion (Function) GetVersionProperty (Function) Indices and tables ¶ [ 1 ] Based on SM3_Drive_ETC_Omron_G5.library, last modified 13.12.2023, 09:21:03. LibDoc 4.4.0.0-b.37 The content file SM3_Drive_ETC_Omron_G5.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 13.12.2023, 09:21:11.
AXIS_REF_ETC_Omron_G5 (FB) ¶ FUNCTION_BLOCK AXIS_REF_ETC_Omron_G5 EXTENDS AXIS_REF_ETC_DS402_CS InOut: Scope Name Type Initial Comment Inherited from Input wAxisStructID WORD 16#FE12 AXIS_REF_SM3 nAxisState SMC_AXIS_STATE power_off State of the axis according to the PLCopen state diagram: 0: power_off 1: errorstop 2: stopping 3: standstill 4: discrete_motion 5: continuous_motion 6: synchronized_motion 7: homing Parameter number: 1000 AXIS_REF_SM3 bRegulatorOn BOOL FALSE Parameter number: 1010 AXIS_REF_SM3 bDriveStart BOOL FALSE Parameter number: 1011 AXIS_REF_SM3 bCommunication BOOL FALSE TRUE : Communication OK Parameter number: 1012 AXIS_REF_SM3 wCommunicationState WORD 16#FFFF Parameter number: 1013 AXIS_REF_SM3 uiDriveInterfaceError UINT Drive interface error number Parameter number: 1014 AXIS_REF_SM3 bRegulatorRealState BOOL FALSE Parameter number: 1015 AXIS_REF_SM3 bDriveStartRealState BOOL FALSE Parameter number: 1016 AXIS_REF_SM3 wDriveId WORD 0 Parameter number: 1021 AXIS_REF_SM3 iOwner INT 0 Parameter number: 1022 AXIS_REF_SM3 iNoOwner INT 0 Parameter number: 1023 AXIS_REF_SM3 fCycleTimeSpent LREAL Parameter number: 1024 AXIS_REF_SM3 fTaskCycle LREAL 0.005 Parameter number: 1025 AXIS_REF_SM3 bError BOOL FALSE Parameter number: 1030 AXIS_REF_SM3 dwErrorID DWORD 0 Drive specific error identifier, parameter number: 1031 AXIS_REF_SM3 bErrorAckn BOOL FALSE Parameter number: 1032 AXIS_REF_SM3 bDisableErrorLogging BOOL FALSE Parameter number: 1036 AXIS_REF_SM3 fbeFBError ARRAY [0..g_SMC_NUMBER_FB_ERRORS] OF SMC_FBERROR Parameter number: 1035 AXIS_REF_SM3 dwRatioTechUnitsDenom DWORD 1 Parameter number 1051 AXIS_REF_SM3 iRatioTechUnitsNum DINT 1 Parameter number 1052 AXIS_REF_SM3 nDirection MC_Direction positive Parameter number 1053 AXIS_REF_SM3 fScalefactor LREAL 1 Parameter number 1054 AXIS_REF_SM3 fFactorVel LREAL 1 Parameter number 1055 AXIS_REF_SM3 fFactorAcc LREAL 1 Parameter number: 1056 AXIS_REF_SM3 fFactorTor LREAL 1 Parameter number: 1057 AXIS_REF_SM3 fFactorJerk LREAL 1 Factor jerk Parameter number: 1058 AXIS_REF_SM3 fFactorCur LREAL 1 Parameter number: 1059 AXIS_REF_SM3 iMovementType INT SMC_AXIS_TYPE.finite Parameter number: 1060 AXIS_REF_SM3 fPositionPeriod LREAL 1000 Parameter number: 1061 AXIS_REF_SM3 eRampType SMC_RAMPTYPE trapez Parameter number: 1062 AXIS_REF_SM3 byControllerMode BYTE SMC_position Parameter number:1091 AXIS_REF_SM3 byRealControllerMode BYTE SMC_position Parameter number: 1092 AXIS_REF_SM3 fSetPosition LREAL 0 Parameter number: 1100, 1 AXIS_REF_SM3 fActPosition LREAL 0 Parameter number: 1101 AXIS_REF_SM3 fAimPosition LREAL 0 Parameter number: 1105 AXIS_REF_SM3 fMarkPosition LREAL 0 Parameter number: 1106 AXIS_REF_SM3 fSavePosition LREAL 0 Parameter number: 1107 AXIS_REF_SM3 fSetVelocity LREAL 0 Parameter number: 1110, 11 AXIS_REF_SM3 fActVelocity LREAL 0 Parameter number: 1111, 10 AXIS_REF_SM3 fMaxVelocity LREAL 0 Maximum velocity of the drive (remote parameter) in [u/s] Parameter number: 1112,9 AXIS_REF_SM3 fSWMaxVelocity LREAL 0 Maximum velocity (software limit) in [u/s] Parameter number: 1113 AXIS_REF_SM3 bConstantVelocity BOOL FALSE Parameter number: 1115 AXIS_REF_SM3 fMarkVelocity LREAL 0 Parameter number: 1116, 9 AXIS_REF_SM3 fSaveVelocity LREAL 0 Parameter number: 1117 AXIS_REF_SM3 fSetAcceleration LREAL 0 Parameter number: 1120 AXIS_REF_SM3 fActAcceleration LREAL 0 Parameter number: 1121 AXIS_REF_SM3 fMaxAcceleration LREAL 0 Maximum acceleration of the drive (remote parameter) in [u/s²] Parameter number: 1122, 13 AXIS_REF_SM3 fSWMaxAcceleration LREAL 0 Maximum acceleration (software limit) in [u/s²] Parameter number: 1123 AXIS_REF_SM3 bAccelerating BOOL FALSE Parameter number: 1125 AXIS_REF_SM3 fMarkAcceleration LREAL 0 Parameter number: 1126 AXIS_REF_SM3 fSaveAcceleration LREAL 0 Parameter number: 1127 AXIS_REF_SM3 fMaxDeceleration LREAL 0 Maximum deceleration of the drive (remote parameter) in [u/s²] Parameter number: 1132, 15 AXIS_REF_SM3 fSWMaxDeceleration LREAL 0 Maximum deceleration (software limit) in [u/s²] Parameter number: 1133 AXIS_REF_SM3 bDecelerating BOOL FALSE Parameter number: 1135 AXIS_REF_SM3 fSaveDeceleration LREAL 0 Parameter number: 1137 AXIS_REF_SM3 fSetJerk LREAL 0 Parameter number: 1140 AXIS_REF_SM3 fActJerk LREAL 0 Parameter number: 1141 AXIS_REF_SM3 fMaxJerk LREAL 0 Maximum jerk of the drive (remote parameter) in [u/s³] Parameter number: 1142, 16 AXIS_REF_SM3 fSWMaxJerk LREAL 0 Maximum jerk (software limit) in [u/s³] Parameter number: 1143 AXIS_REF_SM3 fRampJerk LREAL 100000 Maximum Jerk, special value for sin² ramp type in [u/s³] Parameter number: 1144 AXIS_REF_SM3 fMarkJerk LREAL 0 Parameter number: 1146 AXIS_REF_SM3 fSaveJerk LREAL 0 Parameter number: 1147 AXIS_REF_SM3 fSetCurrent LREAL 0 Parameter number: 1150 AXIS_REF_SM3 fActCurrent LREAL 0 Parameter number: 1151 AXIS_REF_SM3 fMaxCurrent LREAL 100 Maximum current in [A] Parameter number: 1152 AXIS_REF_SM3 fSWMaxCurrent LREAL 0 Maximum user defined current in [A] Parameter number: 1153 AXIS_REF_SM3 fSetTorque LREAL 0 The set torque in [Nm] or [N] (linear) at the gearbox output. Parameter number: 1160 AXIS_REF_SM3 fActTorque LREAL 0 Actual torque in [Nm] or [N] (linear) at the gearbox output. Parameter number: 1161 AXIS_REF_SM3 fMaxTorque LREAL 0 The maximum torque in [Nm] or [N] (linear) at the gearbox output. Parameter number: 1162 AXIS_REF_SM3 fSWMaxTorque LREAL FPU.GetLRealSpecialVal(FPU.ESpecial_FP_Value.PosInf) The maximum torque (software limit) in [Nm] or [N] (linear) at the gearbox output. Parameter number: 1163 AXIS_REF_SM3 fSWLimitPositive LREAL 0 Position limit in positive direction in [u] Parameter number: 1200, 2 AXIS_REF_SM3 fSWLimitNegative LREAL 0 Position limit in negative direction in [u] Parameter number: 1201, 3 AXIS_REF_SM3 usiSWEndSwitchState USINT 0 Parameter number: 1204 AXIS_REF_SM3 bSWLimitEnable BOOL FALSE Parameter number: 1205 AXIS_REF_SM3 bHWLimitEnable BOOL TRUE Parameter number: 1206 AXIS_REF_SM3 bStartReference BOOL FALSE Parameter number: 1210 AXIS_REF_SM3 fReference LREAL 0 Parameter number: 1211 AXIS_REF_SM3 bStartReferenceRealState BOOL FALSE Parameter number: 1212 AXIS_REF_SM3 fOffsetPosition LREAL 0 Parameter number: 1215 AXIS_REF_SM3 dwPosOffsetForResiduals DWORD 0 Parameter number: 1230 AXIS_REF_SM3 dwOneTurn DWORD 0 Parameter number: 1231 AXIS_REF_SM3 dwLastPosition DWORD 0 Parameter number: 1232 AXIS_REF_SM3 bySwitchingState SMC_SWITCHING_STATE SMC_ST_INITIALIZING Parameter number: 1233 AXIS_REF_SM3 iRestNumerator DINT 0 Parameter number: 1234 AXIS_REF_SM3 iTurn INT 0 Parameter number: 1235 AXIS_REF_SM3 dwPosOffsetForResidualsHoming DWORD 0 Parameter number: 1237 AXIS_REF_SM3 dwActPosition DWORD 0 Parameter number: 1238 AXIS_REF_SM3 dwBusBandWidth DWORD 0 The bus band width, 0 if the bus has 32 bit, 2^k otherwise where 0 < k < 32 is the bus bit depth. Parameter number: 1240 AXIS_REF_SM3 dwBusModuloMask DWORD 16#FFFFFFFF The value (2^k - 1) where k is the bus bit depth. Parameter number ? AXIS_REF_SM3 eBrakeControl SMC3_BrakeSetState SMC_BRAKE_AUTO Parameter number: 1017 AXIS_REF_SM3 bBrakeClosedRealState BOOL FALSE Parameter number: 1018 AXIS_REF_SM3 bOldError BOOL Parameter number: 1033 AXIS_REF_SM3 bVirtual BOOL TRUE : Virtual drive. Parameter number: 1040 AXIS_REF_SM3 bLogical BOOL Parameter number: 1041 AXIS_REF_SM3 fSetActTimeLagCycles LREAL 3 Parameter number: 1070 AXIS_REF_SM3 diSetPosition DINT 0 Parameter number: 1108 AXIS_REF_SM3 diActPosition DINT 0 Parameter number: 1109 AXIS_REF_SM3 diSetVelocity DINT 0 Parameter number: 1118 AXIS_REF_SM3 diActVelocity DINT 0 Parameter number: 1119 AXIS_REF_SM3 diSetAcceleration DINT 0 Parameter number: 1128 AXIS_REF_SM3 diActAcceleration DINT 0 Parameter number: 1129 AXIS_REF_SM3 diSetCurrent DINT 0 Parameter number: 1158 AXIS_REF_SM3 diActCurrent DINT 0 Parameter number: 1159 AXIS_REF_SM3 diSetTorque DINT 0 Parameter number: 1168 AXIS_REF_SM3 diActTorque DINT 0 Parameter number: 1169 AXIS_REF_SM3 fSWLimitDeceleration LREAL 0 Deceleration in [u/s²] with which the system will brake in case of a software limit. Parameter number: 1203 AXIS_REF_SM3 xWaitForHaltWhenStopInterruptsHome BOOL TRUE : When |MC_Home| is interrupted by |MC_Stop| , then``MC_Stop.bDone`` is delayed until the drive reports that it has successfully halted. bStartReferenceRealState = FALSE Parameter number: 1213 AXIS_REF_SM3 fSWErrorMaxDistance LREAL 0 Distance in which the drive has to reach standstill after an error has occurred. Parameter number: 1250 AXIS_REF_SM3 eCheckPositionLag SMC3_CheckPositionLagMode 0 Parameter number: 1207 AXIS_REF_SM3 fMaxPositionLag LREAL Parameter number: 1208 AXIS_REF_SM3 bPositionLagActive BOOL Parameter number: 1209 AXIS_REF_SM3 bModuloDoneByDrive BOOL Parameter number: 1242 AXIS_REF_SM3 diFollowingError DINT Parameter number: 1243 AXIS_REF_SM3 fFollowingError LREAL Parameter number: 1244 AXIS_REF_SM3 aCaptDesc ARRAY [0..7] OF SMC3_CaptureDescription Parameter number: 1400 AXIS_REF_SM3 bRestarting BOOL FALSE AXIS_REF_SM3 xPersistentDataLoaded BOOL FALSE AXIS_REF_SM3 strDriveInterfaceError STRING(255) AXIS_REF_SM3 adatAcyclic ARRAY [1..SMC3_gc_usiNumberAcyclicChannels] OF SMC3_DriveAcyclicTel AXIS_REF_SM3 iLastSinSquareOwner INT -3 Internal: Last owner that constructed a sin² trajectory. AXIS_REF_SM3 bSetValuesModifiedByMoveSuperimposed BOOL Internal: MC_MoveSuperImposed active. Reset to FALSE in AfterReadInputs. AXIS_REF_SM3 nAbortCounter UDINT Internal: counts the number of aborts. This counter simply wraps to 0 when exceeding 2^32-1, so use accordingly. Increased in method SetOwner(). AXIS_REF_SM3 vMinRequiredVersion VERSION The minimum version of SM3_Basic that the driver requires. AXIS_REF_SM3 iRampType1 SMC_TG_IRAMPTYPE Instance of ramp type interface, used for Robotics, acceleration ramp AXIS_REF_SM3 iRampType2 SMC_TG_IRAMPTYPE Instance of ramp type interface, used for Robotics, deceleration ramp AXIS_REF_SM3 bAvoidReversalOnHaltStop BOOL Parameter number: 1260 AXIS_REF_SM3 bConsiderLimitsOfAbortedMotionOnHaltStop BOOL Parameter number: 1270 AXIS_REF_SM3 bUpdateIOsInStop BOOL Update the IOs if the application is stopped. AXIS_REF_SM3 overrideFactors SMRB.DynFactors AXIS_REF_SM3 Output strDriver STRING(16) AXIS_REF_SM3 dwDriverVersion DWORD AXIS_REF_SM3 Input out SMC3_CIA_DSP402_SpecificOutputs STRUCT(byModesOfOperation := 8) AXIS_REF_ETC_DS402_CS Properties: DriverName DriverVersion Methods: CommunicationStateMachine DriveStateMachine GetMappedDriveParameter ReadAndProcessSpecificInput Structure: DriverName (Property) DriverVersion (Property) ParameterAccess GetMappedDriveParameter (Method) inputs ReadAndProcessSpecificInput (Method) state-machine CommunicationStateMachine (Method) DriveStateMachine (Method)
FancoilContinuous (FB) ¶ FUNCTION_BLOCK FancoilContinuous Controls a fan coil unit with continuous fan. Application example ¶ Fan coil units are widely used in building automation for decentralised room temperatur control and air quality control. Fan coil units can roughly be classified in: 2-pipe-units (central switch over heating supply / cooling supply) vs. 4-pipe-units (separate heating supply / cooling supply) units with continuous fan vs. units with 3-stage fan ceiling mounted units vs. floor mounted units units without integrated controller vs. with integrated controller Device examples ¶ Arbonia Condiline Deckenkassetten https://www.arbonia.de/produkte/deckenprodukte/fan-coils/ Kampmann KaDeck https://www.kampmann.de/hvac/produkte/fan-coils/kadeck Why does CODESYS Building Automation library contain a fan coil unit control strategy, even if some fan coil units come with integrated controller? ¶ Lots of fan coil units are sold / installed “bare metal” without integrated controller. Quiet often even fan coil units with integrated controller are sold without a controller as an option. FancoilContinuous provides an implementation of control strategy for a fan coil unit with continuous fan to integrate (or copy, modify and integrate) in your application. Functionality ¶ FancoilContinuous provides a control strategy for a fan coil unit with continuous fan. The fan is controlled either by: control signal inputs - the heat / cool valve position setpoints compute by SequenceControl control deviation related to active operation mode (eModeIn) The FancoilContinuous control strategy takes into account: control of fan speed dependent on valve position or control deviation separate non-linear characteristic curve of fan speed for heating / cooling minimum fan speed fan follow-up time coil pre-heat / pre-cool control of optional condensate pump (cooling mode) manual control of fan manual control of valves Characteristic curve of fan speed ¶ The fan can be controlled dependent on valve position or control deviation - default is dependent control deviation. Please be aware, that negative heating control deviation and positive heating control deviation should activate the fan. Usually a “dead zone” is supposed to be in between heating sequence and cooling sequence - for more details see SequenceControl . To setup the characteristic curve of fan speed for fan control dependent control deviation choose rFanScaleHeatX0..rFanScaleHeatX2 to appropriate heat deviation and associate rFanScaleHeatY0..rFanScaleHeatY2 appropriate fan speed. Set rFanScaleCoolX0..rFanScaleCoolX2 / rFanScaleCoolY0..rFanScaleCoolY2 accordingly for cooling. FancoilContinuous does a linear interpolation on those inputs to compute the “automatic” fan speed. To setup the characteristic curve of fan speed for fan control dependent valve position choose rFanScaleHeatX0..rFanScaleHeatX2 with appropriate heat valve and associate rFanScaleHeatY0..rFanScaleHeatY2 appropriate fan speed. Set rFanScaleCoolX0..rFanScaleCoolX2 / rFanScaleCoolY0..rFanScaleCoolY2 accordingly for cooling. InOut: Scope Name Type Initial Comment Input xEnable BOOL TRUE Enable rHeatIn REAL Heat control signal (0..100%). rCoolIn REAL Cool control signal (0..100%). eModeIn HeatCoolOperationMode HeatCoolOperationMode.UNUSED Controller operation mode. rDeviationMode REAL Control deviation related to active operation mode - negative value for HEAT, positive value for COOL xFanSpeedByDeviation BOOL TRUE Control fan speed dependent on control signal (FALSE) or control deviation (TRUE). rFanScaleHeatX0 REAL 0.0 Characteristic curve of fan speed for heating X0 rFanScaleHeatY0 REAL 0.0 Characteristic curve of fan speed for heating Y0 rFanScaleHeatX1 REAL -1.0 Characteristic curve of fan speed for heating X1 rFanScaleHeatY1 REAL 50.0 Characteristic curve of fan speed for heating Y1 rFanScaleHeatX2 REAL -2.0 Characteristic curve of fan speed for heating X2 rFanScaleHeatY2 REAL 100.0 Characteristic curve of fan speed for heating Y2 rFanScaleCoolX0 REAL 0.0 Characteristic curve of fan speed for cooling X0 rFanScaleCoolY0 REAL 0.0 Characteristic curve of fan speed for cooling Y0 rFanScaleCoolX1 REAL 1.0 Characteristic curve of fan speed for cooling X1 rFanScaleCoolY1 REAL 50.0 Characteristic curve of fan speed for cooling Y1 rFanScaleCoolX2 REAL 2.0 Characteristic curve of fan speed for cooling X2 rFanScaleCoolY2 REAL 100.0 Characteristic curve of fan speed for cooling Y2 rFanMinSpeed REAL 0.0 Minimum fan speed (0..100%). tFanFollowUp TIME TIME#2m0s0ms Fan follow-up time. tFanFollowUpSpeed REAL 20.0 Fan speed during follow-up time (0..100%). tPreHeat TIME TIME#0ms Coil pre-heat time. tPreCool TIME TIME#0ms Coil pre-cool time. xCpumpErri BOOL FALSE Condensate pump error indication - condensate pump is signaling an error rHeatManual REAL 0.0 Heat valve manual control (0..100%). xHeatManual BOOL FALSE Heat valve manual control used. rCoolManual REAL Cool valve manual control (0..100%). xCoolManual BOOL FALSE Cool valve manual control used. rFanSpeedManual REAL 0.0 Fan speed manual control (0..100%). xFanSpeedManual BOOL FALSE Fan speed manual manual control used. xReset BOOL FALSE Reset itfDateTimeProvider Util.IDateTimeProvider Globals.g_dtpDateTimeProvider Source for the current date and time information in milliseconds since 1.1.1970 00:00:00.000 Output eModeOut HeatCoolOperationMode HeatCoolOperationMode.INACTIVE Operation mode. rHeatOut REAL Heat valve signal (0..100%). rCoolOut REAL Cool valve signal (0..100%). rFanSpeedOut REAL 0.0 Fan speed (0..100%). xCpumpOut BOOL FALSE Condensate pump. xError BOOL Error indication eErrorID Error Error ID
AXIS_REF_ETC_Omron_G5.DriverName (PROP) ¶ PROPERTY DriverName : STRING(16)
AXIS_REF_ETC_Omron_G5.DriverVersion (PROP) ¶ PROPERTY DriverVersion : DWORD
ParameterAccess ¶ GetMappedDriveParameter (Method)