more testing on distributor
This commit is contained in:
parent
1e14d19b72
commit
7196734d2d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1291,7 +1291,6 @@ Needs Element Collections library</Comment>
|
|||||||
<ArrayDim minrange="0" maxrange="9" />
|
<ArrayDim minrange="0" maxrange="9" />
|
||||||
</TypeArray>
|
</TypeArray>
|
||||||
<TypeSimple name="T_REFERENCE_TO_atCurveTimeClockData_REF" size="80" swapsize="0" typeclass="Reference" iecname="REFERENCE TO atCurveTimeClockData_REF" basetype="T_atCurveTimeClockData" />
|
<TypeSimple name="T_REFERENCE_TO_atCurveTimeClockData_REF" size="80" swapsize="0" typeclass="Reference" iecname="REFERENCE TO atCurveTimeClockData_REF" basetype="T_atCurveTimeClockData" />
|
||||||
<TypeSimple name="T_REFERENCE_TO_atDI_REF" size="167" swapsize="0" typeclass="Reference" iecname="REFERENCE TO atDI_REF" basetype="T_atDI" />
|
|
||||||
<TypeSimple name="T_REFERENCE_TO_atStage_REF" size="3234" swapsize="0" typeclass="Reference" iecname="REFERENCE TO atStage_REF" basetype="T_atStage" />
|
<TypeSimple name="T_REFERENCE_TO_atStage_REF" size="3234" swapsize="0" typeclass="Reference" iecname="REFERENCE TO atStage_REF" basetype="T_atStage" />
|
||||||
<TypeUserDef name="T_atAI" size="680" nativesize="1800" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atAI">
|
<TypeUserDef name="T_atAI" size="680" nativesize="1800" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atAI">
|
||||||
<UserDefElement iecname="in_raw" type="T_REAL" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite">
|
<UserDefElement iecname="in_raw" type="T_REAL" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite">
|
||||||
@ -1897,7 +1896,7 @@ Needs Element Collections library</Comment>
|
|||||||
<UserDefElement iecname="nowTOD" type="T_atTODWithOffset" byteoffset="1968" vartype="VAR" access="ReadWrite" />
|
<UserDefElement iecname="nowTOD" type="T_atTODWithOffset" byteoffset="1968" vartype="VAR" access="ReadWrite" />
|
||||||
<UserDefElement iecname="updateTimer" type="T_TON" byteoffset="2008" vartype="VAR" access="ReadWrite" />
|
<UserDefElement iecname="updateTimer" type="T_TON" byteoffset="2008" vartype="VAR" access="ReadWrite" />
|
||||||
</TypeUserDef>
|
</TypeUserDef>
|
||||||
<TypeUserDef name="T_atMixerControl" size="1496" nativesize="1000" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMixerControl">
|
<TypeUserDef name="T_atMixerControl" size="1336" nativesize="992" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMixerControl">
|
||||||
<Comment>Feed weigher / mixer</Comment>
|
<Comment>Feed weigher / mixer</Comment>
|
||||||
<UserDefElement iecname="in_dumpCtl" type="T_atAutoManOnOff" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite">
|
<UserDefElement iecname="in_dumpCtl" type="T_atAutoManOnOff" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite">
|
||||||
<Comment>dump mechanism control</Comment>
|
<Comment>dump mechanism control</Comment>
|
||||||
@ -1905,6 +1904,12 @@ Needs Element Collections library</Comment>
|
|||||||
<UserDefElement iecname="in_midnightReset" type="T_BOOL" byteoffset="4" vartype="VAR_INPUT" access="ReadWrite">
|
<UserDefElement iecname="in_midnightReset" type="T_BOOL" byteoffset="4" vartype="VAR_INPUT" access="ReadWrite">
|
||||||
<Comment>Pulse to reset totals at midnight</Comment>
|
<Comment>Pulse to reset totals at midnight</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="in_dumpEn" type="T_BOOL" byteoffset="5" vartype="VAR_INPUT" access="ReadWrite">
|
||||||
|
<Comment>Enable Dump normally on when weigh hopper is empty </Comment>
|
||||||
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="in_start" type="T_BOOL" byteoffset="6" vartype="VAR_INPUT" access="ReadWrite">
|
||||||
|
<Comment>Start mixing. Is reset to false immediatly</Comment>
|
||||||
|
</UserDefElement>
|
||||||
<UserDefElement iecname="in_weigherCapacity" type="T_REAL" byteoffset="8" vartype="VAR_INPUT" access="ReadWrite">
|
<UserDefElement iecname="in_weigherCapacity" type="T_REAL" byteoffset="8" vartype="VAR_INPUT" access="ReadWrite">
|
||||||
<Comment>Capacity of the scale. Recipes will use this to calculate amounts</Comment>
|
<Comment>Capacity of the scale. Recipes will use this to calculate amounts</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
@ -1923,87 +1928,81 @@ Needs Element Collections library</Comment>
|
|||||||
<UserDefElement iecname="in_loadCell" type="T_atLoadCell" byteoffset="24" vartype="VAR_IN_OUT" access="ReadWrite">
|
<UserDefElement iecname="in_loadCell" type="T_atLoadCell" byteoffset="24" vartype="VAR_IN_OUT" access="ReadWrite">
|
||||||
<Comment>Reference to an at loadcell </Comment>
|
<Comment>Reference to an at loadcell </Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="in_weighHopEmpty" type="T_atDI" byteoffset="828" vartype="VAR_IN_OUT" access="ReadWrite">
|
<UserDefElement iecname="in_ingredients" type="T_POINTER_TO_atIngredient" byteoffset="832" vartype="VAR_INPUT" access="ReadWrite">
|
||||||
<Comment>Turned on when weigh hopper is empty </Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="in_start" type="T_BOOL" byteoffset="995" vartype="VAR_IN_OUT" access="ReadWrite">
|
|
||||||
<Comment>Start mixing. Is reset to false immediatly</Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="in_ingredients" type="T_POINTER_TO_atIngredient" byteoffset="1000" vartype="VAR_INPUT" access="ReadWrite">
|
|
||||||
<Comment>List of ingredients</Comment>
|
<Comment>List of ingredients</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="in_reset" type="T_BOOL" byteoffset="1008" vartype="VAR_IN_OUT" access="ReadWrite">
|
<UserDefElement iecname="in_reset" type="T_BOOL" byteoffset="840" vartype="VAR_IN_OUT" access="ReadWrite">
|
||||||
<Comment>Alarm reset</Comment>
|
<Comment>Alarm reset</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="out_mixerEmpty" type="T_BOOL" byteoffset="1009" vartype="VAR_OUTPUT" access="ReadWrite">
|
<UserDefElement iecname="out_mixerEmpty" type="T_BOOL" byteoffset="841" vartype="VAR_OUTPUT" access="ReadWrite">
|
||||||
<Comment>Mixer is empty</Comment>
|
<Comment>Mixer is empty</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="timeoutWhileFilling" type="T_atAlarm" byteoffset="1012" vartype="VAR_OUTPUT" access="ReadWrite">
|
<UserDefElement iecname="timeoutWhileFilling" type="T_atAlarm" byteoffset="844" vartype="VAR_OUTPUT" access="ReadWrite">
|
||||||
<Comment>Alarm to indicate it took to long to fill the weigh hopper to the desired weight</Comment>
|
<Comment>Alarm to indicate it took to long to fill the weigh hopper to the desired weight</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="timeoutWhileDumping" type="T_atAlarm" byteoffset="1032" vartype="VAR_OUTPUT" access="ReadWrite">
|
<UserDefElement iecname="timeoutWhileDumping" type="T_atAlarm" byteoffset="864" vartype="VAR_OUTPUT" access="ReadWrite">
|
||||||
<Comment>Alarm to indicate it took to long for the weigh hopper to empty</Comment>
|
<Comment>Alarm to indicate it took to long for the weigh hopper to empty</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="noPremixIngredient" type="T_atAlarm" byteoffset="1052" vartype="VAR_OUTPUT" access="ReadWrite">
|
<UserDefElement iecname="noPremixIngredient" type="T_atAlarm" byteoffset="884" vartype="VAR_OUTPUT" access="ReadWrite">
|
||||||
<Comment>Alarm to indicate there is no premix ingredient defined</Comment>
|
<Comment>Alarm to indicate there is no premix ingredient defined</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="totalToday" type="T_REAL" byteoffset="1072" vartype="VAR_OUTPUT" access="ReadWrite">
|
<UserDefElement iecname="totalToday" type="T_REAL" byteoffset="904" vartype="VAR_OUTPUT" access="ReadWrite">
|
||||||
<Comment>Total amount mixed today (kg) </Comment>
|
<Comment>Total amount mixed today (kg) </Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="timeoutWhileFillingSP" type="T_REAL" byteoffset="1076" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="state" type="T_atMixerState" byteoffset="908" vartype="VAR_OUTPUT" access="ReadWrite">
|
||||||
<Comment>Delay time in seconds for timeout while filling alarm</Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="timeoutWhileDumpingSP" type="T_REAL" byteoffset="1080" vartype="VAR" access="ReadWrite">
|
|
||||||
<Comment>Delay time in seconds for timout while dumping alarm</Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="activeIngIdx" type="T_INT" byteoffset="1084" vartype="VAR" access="ReadWrite">
|
|
||||||
<Comment>Active ingredient index</Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="i" type="T_DINT" byteoffset="1088" vartype="VAR" access="ReadWrite">
|
|
||||||
<Comment>Loop variable</Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="ub" type="T_DINT" byteoffset="1092" vartype="VAR" access="ReadWrite">
|
|
||||||
<Comment>Array uppder bound</Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="scaleZero" type="T_REAL" byteoffset="1096" vartype="VAR" access="ReadWrite">
|
|
||||||
<Comment>Zero weight for the current batch</Comment>
|
|
||||||
</UserDefElement>
|
|
||||||
<UserDefElement iecname="state" type="T_atMixerState" byteoffset="1100" vartype="VAR" access="ReadWrite">
|
|
||||||
<Comment>State of the mixer</Comment>
|
<Comment>State of the mixer</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="stateLast" type="T_atMixerState" byteoffset="1102" vartype="VAR" access="ReadWrite" />
|
<UserDefElement iecname="timeoutWhileFillingSP" type="T_REAL" byteoffset="912" vartype="VAR" access="ReadWrite">
|
||||||
<UserDefElement iecname="stateTime" type="T_atStopWatch" byteoffset="1104" vartype="VAR" access="ReadWrite">
|
<Comment>Delay time in seconds for timeout while filling alarm</Comment>
|
||||||
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="timeoutWhileDumpingSP" type="T_REAL" byteoffset="916" vartype="VAR" access="ReadWrite">
|
||||||
|
<Comment>Delay time in seconds for timout while dumping alarm</Comment>
|
||||||
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="activeIngIdx" type="T_INT" byteoffset="920" vartype="VAR" access="ReadWrite">
|
||||||
|
<Comment>Active ingredient index</Comment>
|
||||||
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="i" type="T_DINT" byteoffset="924" vartype="VAR" access="ReadWrite">
|
||||||
|
<Comment>Loop variable</Comment>
|
||||||
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="ub" type="T_DINT" byteoffset="928" vartype="VAR" access="ReadWrite">
|
||||||
|
<Comment>Array uppder bound</Comment>
|
||||||
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="scaleZero" type="T_REAL" byteoffset="932" vartype="VAR" access="ReadWrite">
|
||||||
|
<Comment>Zero weight for the current batch</Comment>
|
||||||
|
</UserDefElement>
|
||||||
|
<UserDefElement iecname="stateLast" type="T_atMixerState" byteoffset="936" vartype="VAR" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="stateTime" type="T_atStopWatch" byteoffset="944" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Time since this state became active</Comment>
|
<Comment>Time since this state became active</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="activeIng" type="T_atIngredient" byteoffset="1124" vartype="VAR" access="ReadWrite" />
|
<UserDefElement iecname="activeIng" type="T_atIngredient" byteoffset="964" vartype="VAR" access="ReadWrite" />
|
||||||
<UserDefElement iecname="logger" type="T_atSystemLog" byteoffset="1256" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="logger" type="T_atSystemLog" byteoffset="1096" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>System log writer</Comment>
|
<Comment>System log writer</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="wheatEn" type="T_BOOL" byteoffset="1425" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="wheatEn" type="T_BOOL" byteoffset="1265" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Wheat is enabled</Comment>
|
<Comment>Wheat is enabled</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="premixPct" type="T_REAL" byteoffset="1428" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="premixPct" type="T_REAL" byteoffset="1268" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Premix demand in percent (0-100)</Comment>
|
<Comment>Premix demand in percent (0-100)</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="timeoutWhileFillingReset" type="T_BOOL" byteoffset="1432" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="timeoutWhileFillingReset" type="T_BOOL" byteoffset="1272" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Internal reset to</Comment>
|
<Comment>Internal reset to</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="autoSwitchPending" type="T_BOOL" byteoffset="1433" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="autoSwitchPending" type="T_BOOL" byteoffset="1273" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Auto switch to other bin is pending for the start of the next batch</Comment>
|
<Comment>Auto switch to other bin is pending for the start of the next batch</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="timeoutWithBackup" type="T_BOOL" byteoffset="1434" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="timeoutWithBackup" type="T_BOOL" byteoffset="1274" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Fill timeout while there is a backup premix has occured</Comment>
|
<Comment>Fill timeout while there is a backup premix has occured</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="midnightResetTrig" type="T_R_TRIG" byteoffset="1435" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="midnightResetTrig" type="T_R_TRIG" byteoffset="1275" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Midnight reset trigger</Comment>
|
<Comment>Midnight reset trigger</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="zSimWeighHopperWht" type="T_REAL" byteoffset="1440" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="zSimWeighHopperWht" type="T_REAL" byteoffset="1280" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Weight in the weigh hopper that is under the weigher</Comment>
|
<Comment>Weight in the weigh hopper that is under the weigher</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="zSimDumpWht" type="T_REAL" byteoffset="1444" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="zSimDumpWht" type="T_REAL" byteoffset="1284" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>Amount of weight to remove from wheigher on each scan during dump</Comment>
|
<Comment>Amount of weight to remove from wheigher on each scan during dump</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
<UserDefElement iecname="zSimFillDebounce" type="T_ARRAY__0__2__OF_atDebounce" byteoffset="1448" vartype="VAR" access="ReadWrite">
|
<UserDefElement iecname="zSimFillDebounce" type="T_ARRAY__0__2__OF_atDebounce" byteoffset="1288" vartype="VAR" access="ReadWrite">
|
||||||
<Comment>used to add some some freefall to the ingredient fill</Comment>
|
<Comment>used to add some some freefall to the ingredient fill</Comment>
|
||||||
</UserDefElement>
|
</UserDefElement>
|
||||||
</TypeUserDef>
|
</TypeUserDef>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user