Examples ¶ ExampleAirConditioning1 (FB) Air types Sequence control heater coil / cooler coil Hints Caveats ExampleAirConditioning2 (FB) Air types Sequence control damper / heater coil / cooler coil Recirculation air admixing and energy selection Minimum outdoor air ratio Water side anti-freeze for heater coil Air side anti-freeze Hints Caveats ExampleHeating (FunctionBlock) Heating circuit operation Night time setpoint reduction vs. switching off heating circuit operation Economy mode Optional anti-freeze Caveats ExampleHotWater (FunctionBlock) 2 point control of boiler temperature Legionella prevention Optional unload protection Caveats ExampleRoomAutomation (FB) Air types Presence controlled energy level Night cooling Energy lock Sommer compensation Fast heat / cool Window alarm Manual fan control Hints Caveats ExampleVariantsRoomControlFCUSimple (FunctionBlock) Examples_ImagePool (ImagePool)
ExampleAirConditioning1 (FB) ¶ FUNCTION_BLOCK ExampleAirConditioning1 Example air conditioning 1 This example function block implements a very simple air conditioning plant to demonstrate how to: implement a plant / an aggregate in CFC using CODESYS Building Automation library function blocks use SequenceControl This example involves: sequence control of heater coil / cooler coil energy level exhaust air damper / outdoor air damper control extract air fan / supply air fan control Watch out for comments in the implementation where those aspects are covered. outdoor air damper heater coil (water operated) cooler coil (water operated) supply air fan extract air fan extract air temperatur sensor exhaust air damper Air types ¶ Air types - terms, abbreviations and colors oriented towards DIN EN 16798-3. Sequence control heater coil / cooler coil ¶ SequenceControl is used to control two sequences - heater coil and cooler coil. Hints ¶ Unused pins of function block instances are hidden, so refer to the function block documentation for more details. This example is evolved into ExampleAirConditioning2 . Caveats ¶ To keep complexity as low as possible this example omits the following real world application aspects worth mentioning: ignoring the subtle differences between indoor air control vs. extract air control (assuming extract air temp. = indoor air temp.) no anti-freeze mechanism for heater coil no indoor air / supply air cascade control (control quality) no supply air minimum enforced (physiological problems caused by low supply air temperature) configuration missing (configuration of m_energyLevelSetpoint, m_sequenceControl, m_hvacHeaterCoil and m_hvacCoolerCoil is not exposed on the ExampleAirConditioning1 VAR_INPUT section) input consistency checks (implausible measurement values, …) xError / eErrorID not computed from xError / eErrorID of all function block instances used, see ExampleAirConditioning2 how to do this InOut: Scope Name Type Initial Comment Input xEnable BOOL TRUE Enable eLevel EnergyLevel EnergyLevel.COMFORT Energy level rEtaTemp REAL 22.0 Extract air temperature rSetptHeatComfort REAL 21.0 Heat setpoint comfort level rSetptCoolComfort REAL 23.0 Cool setpoint comfort level xReset BOOL FALSE Reset to proportional control / reset detected input error 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%). rOdaDamperOut REAL Outdoor air damper signal (0..100%). rEhaDamperOut REAL Exhaust air damper signal (0..100%). xFan BOOL Extract air / supply air fan xError BOOL Error indication eErrorID Error Error ID
PumpOnOff (FB) ¶ FUNCTION_BLOCK PumpOnOff IMPLEMENTS IActuatorOnOff Pump on/off. Application example ¶ Pumps are widely used for certain tasks in building automation applications, most prominently: heating pumps circulating pumps Device examples ¶ Grundfos ALPHA2 https://product-selection.grundfos.com/de/products/alpha/alpha2?tab=models Wilo Stratos MAXO https://wilo.com/de/de/Katalog/de/produkte-expertise/wilo-stratos-maxo Wilo Stratos PICO plus https://wilo.com/de/de/Katalog/de/produkte-expertise/wilo-stratos-pico-plus/stratos-pico-plus-15-1-4 Functionality ¶ PumpOnOff controls a pump on/off covering the following aspects: on / off delay blocking protection command execution monitoring using pump service indication hardware error indication (input) malfunction detection malfunction locking operational time on / off delay ¶ Swichting on / off the pump (xOn) is delayed by given values tOnDelay, tOffDelay. Can be disabled by setting tOnDelay, tOffDelay to T#0S. blocking protection ¶ If pump is not running for a given time tBpMaxOff, run it even if reqest xReqOn = FALSE for a given time tBpTime. command execution monitoring ¶ Functionality of CommandExecutionMonitoring is applied to xSvciOn, xSvciOn_Used, tCemMargin. Can be diabled setting xSvciOn_Used := FALSE and/or tCemMargin := T#0S malfunction detection ¶ If a hardware malfunction is detected via command execution monitoring or hardware error indication (input) xError is set to TRUE, eErrorID is set to Error.HardwareError. malfunction locking ¶ Malfunction locking makes the difference how to handle / recover from a detected hardware malfunction. Malfunction locking enabled (xMalFuncLock := TRUE): If a malfunction is detected, the pump (xOn) is shut off. If the hardware malfunction is gone, xError / eErrorID and pump shutoff are kept until a reset (xReset := TRUE). Malfunction locking disabled (xMalFuncLock := FALSE): If a malfunction is detected, the pump (xOn) is NOT shut off. The pump recovers from a hardware malfunction automatically. InOut: Scope Name Type Initial Comment Input xReqOn BOOL FALSE Control signal - request to switch on pump tOnDelay TIME TIME#0ms On-delay tOffDelay TIME TIME#5m0s0ms Off-delay tBpMaxOff TIME TIME#2880m0s0ms Blocking protection maximum off time tBpTime TIME TIME#0ms Blocking protection time, set to T#0S to disable blocking protection xSvciOn BOOL FALSE Service indication - pump is running xSvciOn_Used BOOL FALSE Service indication xSvci is used / connected. tCemMargin TIME TIME#5s0ms Command execution monitoring margin time xErri BOOL FALSE Error indication - pump is signaling an error xMalFuncLock BOOL FALSE Enable the malfunction locking xOpTimeInit BOOL FALSE Initialize the operational time with a given value (tInit). tOpTimeInit LTIME LTIME#0ns Initialization value 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 xOn BOOL Switch on pump tOpTime LTIME Operational time xError BOOL Error indication eErrorID Error Error ID itfActuatorOnOff IActuatorOnOff Output to connect THIS to other function block inputs Properties: DateTimeProvider ErrorIdOut ErrorOut IsOn RequestOn Reset Structure: DateTimeProvider (Property) ErrorIdOut (Property) ErrorOut (Property) IsOn (Property) RequestOn (Property) Reset (Property)
SM3_Drive_ETC_Copley Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title SM3_Drive_ETC_Copley Version 4.14.0.0 Categories Intern|SoftMotion Author None Placeholder SM3_Drive_ETC_Copley Description 1 ¶ SoftMotion EtherCAT driver for Copley drives Contents: ¶ Copley AXIS_REF_ETC_Copley (FunctionBlock) 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_Copley.library, last modified 10.03.2023, 13:23:56. LibDoc 4.4.0.0-b.27 The content file SM3_Drive_ETC_Copley.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 10.03.2023, 13:23:56.
ValveContinuous (FB) ¶ FUNCTION_BLOCK ValveContinuous IMPLEMENTS IValveContinuous Continuous valve. Functionality ¶ Simple continuous valve including an optional blocking protection. Blocking protection ¶ If the valve is not opened for a given time tBpMaxOff, open it even if rSetpt = 0.0 for a given time tBpTime and the given position rBpPos. InOut: Scope Name Type Initial Comment Input xEnable BOOL TRUE Enable rSetpt REAL 0.0 Setpoint, 0..100(%) - 0% => closed, 100% => open tBpMaxOff TIME TIME#2880m0s0ms Blocking protection maximum off time tBpTime TIME TIME#0ms Blocking protection time, set to T#0S to disable blocking protection rBpPos REAL 100.0 Blocking protection position, 0..100(%) - 0% => closed, 100% => open 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 rSetptOut REAL Actual setpoint xError BOOL Error indication eErrorID Error Error ID itfValveContinuous IValveContinuous Output to connect THIS to other function block inputs Properties: DateTimeProvider Enable ErrorIdOut ErrorOut Reset Setpoint Structure: DateTimeProvider (Property) Enable (Property) ErrorIdOut (Property) ErrorOut (Property) Reset (Property) Setpoint (Property)
Copley ¶ AXIS_REF_ETC_Copley (FunctionBlock) DriverName (Property) DriverVersion (Property) ParameterAccess ConvertReceivedDriveParameter (Method) ConvertTransmitDriveParameter (Method) GetMappedDriveParameter (Method) SMC3_AxisReadyForMotion (Method) state-machine CommunicationStateMachine (Method) DriveStateMachine (Method)
AXIS_REF_ETC_Copley (FB) ¶ FUNCTION_BLOCK AXIS_REF_ETC_Copley 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 Parameter number: 1153 AXIS_REF_SM3 fActTorque LREAL 0 Actual torque in [Nm] or [N] (linear), actual value Parameter number: 1161 AXIS_REF_SM3 fMaxTorque LREAL 0 Parameter number: 1162 AXIS_REF_SM3 fSWMaxTorque LREAL FPU.GetLRealSpecialVal(FPU.ESpecial_FP_Value.PosInf) 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 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 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: SMC3_AxisReadyForMotion CommunicationStateMachine ConvertReceivedDriveParameter ConvertTransmitDriveParameter DriveStateMachine GetMappedDriveParameter Structure: DriverName (Property) DriverVersion (Property) ParameterAccess ConvertReceivedDriveParameter (Method) ConvertTransmitDriveParameter (Method) GetMappedDriveParameter (Method) SMC3_AxisReadyForMotion (Method) state-machine CommunicationStateMachine (Method) DriveStateMachine (Method)
ValveSixWay (FB) ¶ FUNCTION_BLOCK ValveSixWay Control a 6-way-valve with a heat / cool sequence. Application example ¶ 6-way-valves has been developed and are used for heating / cooling ceilings control. Device examples ¶ Danfoss ChangeOver6 003Z3155 https://assets.danfoss.com/documents/152688/AI162886480177en-020605.pdf Belimo EP015R-R6 https://www.belimo.com/mam/Datasheets/en-gb/belimo_EP..R-R6_BAC_datasheet_en-gb.pdf Functionality ¶ By construction 6-way-valves work in operation modes heat / cool / closed. Setpoints of the heat / cool sequence (0..100%) are scaled to the setting range of ValveSixWay (r*Begin..r*End - default 0..100%). The valve operation mode eModeIn can eventually provided by a specifc temperatur controller algorithm - in this case eModeOut follows the eModeIn. In case eModeIn is UNUSED, eModeOut is computed comparing rHeatSetpt / rCoolSetpt > 0. Some controller algorithms may apply control range constraints - eventually a lower limit > 0%. In this case the setpoints of the heat / cool sequences will become inconsistent to determine the valve operation mode from. If the controller algorithm doesnt provides a valve operation mode, but inconsistent heat / cool sequences ValveSixWay falls back to heat. Some real world 6-way-valves provide an operation mode input. Others 6-way-valves eventually miss such an operation mode input but require to map the tuple operation mode / valve setpoint to an “change over” control signal 2..10V / 0..10V according to datasheet (for an example see Belimo EP015R-R6 “conventional control”). To address this you can connect a HeatCool2Linear converter to ValveSixWay outputs. InOut: Scope Name Type Initial Comment Input xEnable BOOL TRUE Enable rHeat REAL Heat control signal (0..100%). rHeatBegin REAL 0.0 Heat control range begin (0..100%). rHeatEnd REAL 100.0 Heat control range end (0..100%). rCool REAL Cool control signal (0..100%). rCoolBegin REAL 0.0 Cool control range begin (0..100%). rCoolEnd REAL 100.0 Cool control range end (0..100%). eModeIn HeatCoolOperationMode HeatCoolOperationMode.UNUSED Controller operation mode. Output rOut REAL Valve control signal (0..100%). eModeOut HeatCoolOperationMode HeatCoolOperationMode.INACTIVE Operation mode. xError BOOL Error - r*End = r*Begin or rSetpt out of range 0..100%. eErrorID Error Error ID
AXIS_REF_ETC_Copley.DriverName (PROP) ¶ PROPERTY DriverName : STRING(16)
AXIS_REF_ETC_Copley.DriverVersion (PROP) ¶ PROPERTY DriverVersion : DWORD