Alarm manager working
This commit is contained in:
parent
621167a552
commit
9e59ec907a
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Development/cr_barn5_RECOVERED_2025-08-14T09-58-17-AllUsers.opt
Normal file
BIN
Development/cr_barn5_RECOVERED_2025-08-14T09-58-17-AllUsers.opt
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,67 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Symbolconfiguration xmlns="http://www.3s-software.com/schemas/Symbolconfiguration.xsd">
|
||||||
|
<Header>
|
||||||
|
<Version>3.5.14.0</Version>
|
||||||
|
<SymbolConfigObject version="4.5.2.0" runtimeid="3.5.19.61" libversion="4.5.0.0" compiler="3.5.21.10" lmm="3.5.21.10" profile="CODESYS V3.5 SP21 Patch 1+" settings="SupportOPCUA, LayoutCalculator=OptimizedClientSideLayoutCalculator" />
|
||||||
|
<ProjectInfo name="cr_barn5_RECOVERED_2025-08-14T09-58-17" devicename="Device" appname="Application" />
|
||||||
|
</Header>
|
||||||
|
<TypeList>
|
||||||
|
<TypeSimple name="T_BOOL" size="1" swapsize="0" typeclass="Bool" iecname="BOOL" />
|
||||||
|
<TypeSimple name="T_DINT" size="4" swapsize="4" typeclass="DInt" iecname="DINT" />
|
||||||
|
<TypeSimple name="T_INT" size="2" swapsize="2" typeclass="Int" iecname="INT" />
|
||||||
|
<TypeSimple name="T_LDATE_AND_TIME" size="8" swapsize="8" typeclass="LDateAndTime" iecname="LDATE_AND_TIME" />
|
||||||
|
<TypeSimple name="T_STRING" size="81" swapsize="0" typeclass="String" iecname="STRING" />
|
||||||
|
<TypeSimple name="T_STRING_100_" size="101" swapsize="0" typeclass="String" iecname="STRING(100)" />
|
||||||
|
<TypeSimple name="T_UINT" size="2" swapsize="2" typeclass="UInt" iecname="UINT" />
|
||||||
|
<TypeUserDef name="T_atMessagingAlarm" size="203" nativesize="216" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessagingAlarm">
|
||||||
|
<UserDefElement iecname="state" type="T_BOOL" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="textALM" type="T_STRING_100_" byteoffset="1" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="textRTN" type="T_STRING_100_" byteoffset="102" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
</TypeUserDef>
|
||||||
|
<TypeUserDef name="T_atMessagingEmailAddress" size="82" nativesize="96" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessagingEmailAddress">
|
||||||
|
<UserDefElement iecname="address" type="T_STRING" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="enabled" type="T_BOOL" byteoffset="81" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
</TypeUserDef>
|
||||||
|
<TypeUserDef name="T_atMessagingEmailStatus" size="96" nativesize="104" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessagingEmailStatus">
|
||||||
|
<UserDefElement iecname="lastStatusMessage" type="T_STRING" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="lastStatus" type="T_BOOL" byteoffset="81" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="lastStatusTime" type="T_LDATE_AND_TIME" byteoffset="88" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
</TypeUserDef>
|
||||||
|
<TypeArray name="T_ARRAY__0__9__OF_atMessagingAlarm" size="2030" nativesize="2160" typeclass="Array" iecname="ARRAY [0..9] OF atMessagingAlarm" basetype="T_atMessagingAlarm">
|
||||||
|
<ArrayDim minrange="0" maxrange="9" />
|
||||||
|
</TypeArray>
|
||||||
|
<TypeArray name="T_ARRAY__0__9__OF_atMessagingEmailAddress" size="820" nativesize="960" typeclass="Array" iecname="ARRAY [0..9] OF atMessagingEmailAddress" basetype="T_atMessagingEmailAddress">
|
||||||
|
<ArrayDim minrange="0" maxrange="9" />
|
||||||
|
</TypeArray>
|
||||||
|
<TypeUserDef name="T_atMessagingEmailSettings" size="1310" nativesize="1472" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessagingEmailSettings">
|
||||||
|
<UserDefElement iecname="server" type="T_STRING" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="smtpPort" type="T_UINT" byteoffset="82" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="useSSL" type="T_BOOL" byteoffset="84" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="fromName" type="T_STRING" byteoffset="85" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="fromAddress" type="T_STRING" byteoffset="166" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="password" type="T_STRING" byteoffset="247" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="username" type="T_STRING" byteoffset="328" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="toAddress" type="T_ARRAY__0__9__OF_atMessagingEmailAddress" byteoffset="409" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="subject" type="T_STRING" byteoffset="1229" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
</TypeUserDef>
|
||||||
|
<TypeUserDef name="T_atMessaging" size="1408" nativesize="1600" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessaging">
|
||||||
|
<UserDefElement iecname="emailSettings" type="T_atMessagingEmailSettings" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite" />
|
||||||
|
<UserDefElement iecname="emailStatus" type="T_atMessagingEmailStatus" byteoffset="1312" vartype="VAR_OUTPUT" access="ReadWrite" />
|
||||||
|
</TypeUserDef>
|
||||||
|
</TypeList>
|
||||||
|
<NodeList>
|
||||||
|
<Node name="Application">
|
||||||
|
<Node name="AlarmManager">
|
||||||
|
<Node name="AlarmGlobals">
|
||||||
|
<Node name="g_diAlarmStateTransitionCounter" type="T_DINT" access="Read" />
|
||||||
|
<Node name="g_diAlarmStorageCounter" type="T_DINT" access="Read" />
|
||||||
|
<Node name="g_iAlarmStorageClear" type="T_INT" access="Read" />
|
||||||
|
</Node>
|
||||||
|
</Node>
|
||||||
|
<Node name="Message">
|
||||||
|
<Node name="alarms" type="T_ARRAY__0__9__OF_atMessagingAlarm" access="ReadWrite" />
|
||||||
|
<Node name="messaging" type="T_atMessaging" access="ReadWrite" />
|
||||||
|
</Node>
|
||||||
|
</Node>
|
||||||
|
</NodeList>
|
||||||
|
</Symbolconfiguration>
|
||||||
BIN
Development/cr_barn5_RECOVERED_2025-08-14T09-58-17.project
Normal file
BIN
Development/cr_barn5_RECOVERED_2025-08-14T09-58-17.project
Normal file
Binary file not shown.
4
Development/cr_barn5_RECOVERED_2025-08-14T09-58-17.~u
Normal file
4
Development/cr_barn5_RECOVERED_2025-08-14T09-58-17.~u
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
c
|
||||||
|
CLARENCE-PC
|
||||||
|
19044
|
||||||
|
638908114524860615
|
||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user