Working on updating existing codesys to the latest libraries
This commit is contained in:
parent
17ebed4d67
commit
d0148a9ded
Binary file not shown.
BIN
Development/cr_barn5.Device.Application.74ccca2f-50e3-4d5a-9d7a-9fd420284f83.bootinfo
(Stored with Git LFS)
BIN
Development/cr_barn5.Device.Application.74ccca2f-50e3-4d5a-9d7a-9fd420284f83.bootinfo
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
Development/cr_barn5.Device.Application.74ccca2f-50e3-4d5a-9d7a-9fd420284f83.compileinfo
(Stored with Git LFS)
BIN
Development/cr_barn5.Device.Application.74ccca2f-50e3-4d5a-9d7a-9fd420284f83.compileinfo
(Stored with Git LFS)
Binary file not shown.
@ -2,44 +2,76 @@
|
||||
<Symbolconfiguration xmlns="http://www.3s-software.com/schemas/Symbolconfiguration.xsd">
|
||||
<Header>
|
||||
<Version>3.5.14.0</Version>
|
||||
<SymbolConfigObject version="4.7.0.0" runtimeid="3.5.20.10" libversion="4.6.0.0" compiler="3.5.21.10" lmm="3.5.21.40" profile="CODESYS V3.5 SP21 Patch 4+" settings="SupportOPCUA, XmlIncludeComments, LayoutCalculator=OptimizedClientSideLayoutCalculator" />
|
||||
<SymbolConfigObject version="4.7.0.0" runtimeid="3.5.22.10" libversion="4.6.0.0" compiler="3.5.22.0" lmm="3.5.22.10" profile="CODESYS V3.5 SP22 Patch 1+" settings="SupportOPCUA, XmlIncludeComments, LayoutCalculator=OptimizedClientSideLayoutCalculator" />
|
||||
<ProjectInfo name="cr_barn5" devicename="Device" appname="Application" />
|
||||
</Header>
|
||||
<TypeList>
|
||||
<TypeSimple name="T_BOOL" size="1" swapsize="0" typeclass="Bool" iecname="BOOL" />
|
||||
<TypeSimple name="T_BYTE" size="1" swapsize="1" typeclass="Byte" iecname="BYTE" />
|
||||
<TypeSimple name="T_DATE_AND_TIME" size="4" swapsize="4" typeclass="DateAndTime" iecname="DATE_AND_TIME" />
|
||||
<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_MAX_LEN_APPLNAME_" size="61" swapsize="0" typeclass="String" iecname="STRING(MAX_LEN_APPLNAME)" />
|
||||
<TypeSimple name="T_UDINT" size="4" swapsize="4" typeclass="UDInt" iecname="UDINT" />
|
||||
<TypeSimple name="T_UINT" size="2" swapsize="2" typeclass="UInt" iecname="UINT" />
|
||||
<TypeArray name="T_ARRAY__0__15__OF_BYTE" size="16" nativesize="16" typeclass="Array" iecname="ARRAY [0..15] OF BYTE" basetype="T_BYTE">
|
||||
<ArrayDim minrange="0" maxrange="15" />
|
||||
</TypeArray>
|
||||
<TypeSimple name="T_POINTER_TO_APPLICATION" size="8" swapsize="8" typeclass="Pointer" iecname="POINTER TO APPLICATION" />
|
||||
<TypeSimple name="T_POINTER_TO_BYTE" size="8" swapsize="8" typeclass="Pointer" iecname="POINTER TO BYTE" />
|
||||
<TypeSimple name="T_REFERENCE_TO_STRING_REF" size="81" swapsize="0" typeclass="Reference" iecname="REFERENCE TO STRING_REF" basetype="T_STRING" />
|
||||
<TypeUserDef name="T_atAlarmEventType" size="2" nativesize="2" swapsize="2" typeclass="Enum" iecname="atAlarmEventType" basetype="T_INT">
|
||||
<UserDefElement type="T_atAlarmEventType" iecname="null" enumvalue="0" />
|
||||
<UserDefElement type="T_atAlarmEventType" iecname="alm" enumvalue="1" />
|
||||
<UserDefElement type="T_atAlarmEventType" iecname="rtn" enumvalue="2" />
|
||||
</TypeUserDef>
|
||||
<TypeUserDef name="T_atMessagingEmailAddress" size="82" nativesize="88" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessagingEmailAddress">
|
||||
<TypeUserDef name="T_atMessagingEmailAddress" size="82" nativesize="1120" 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="96" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessagingEmailStatus">
|
||||
<TypeUserDef name="T_atMessagingEmailStatus" size="96" nativesize="1128" 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_atMessagingEmailAddress" size="820" nativesize="880" typeclass="Array" iecname="ARRAY [0..9] OF atMessagingEmailAddress" basetype="T_atMessagingEmailAddress">
|
||||
<TypeArray name="T_ARRAY__0__9__OF_atMessagingEmailAddress" size="820" nativesize="11200" typeclass="Array" iecname="ARRAY [0..9] OF atMessagingEmailAddress" basetype="T_atMessagingEmailAddress">
|
||||
<ArrayDim minrange="0" maxrange="9" />
|
||||
</TypeArray>
|
||||
<TypeUserDef name="T_atAlarmStatus" size="168" nativesize="172" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atAlarmStatus">
|
||||
<TypeSimple name="T_RTS_IEC_HANDLE" size="8" swapsize="8" typeclass="Pointer" iecname="RTS_IEC_HANDLE" aliasedtype="T_POINTER_TO_BYTE" aliasediecname="POINTER TO BYTE" />
|
||||
<TypeUserDef name="T_atAlarmStatus" size="168" nativesize="1056" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atAlarmStatus">
|
||||
<UserDefElement iecname="timestamp" type="T_DATE_AND_TIME" byteoffset="0" vartype="VAR_INPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="event" type="T_atAlarmEventType" byteoffset="4" vartype="VAR_INPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="id" type="T_STRING" byteoffset="6" vartype="VAR_INPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="description" type="T_STRING" byteoffset="87" vartype="VAR_INPUT" access="ReadWrite" />
|
||||
</TypeUserDef>
|
||||
<TypeArray name="T_ARRAY__0__249__OF_atAlarmStatus" size="42000" nativesize="43000" typeclass="Array" iecname="ARRAY [0..249] OF atAlarmStatus" basetype="T_atAlarmStatus">
|
||||
<TypeUserDef name="T_APPLICATION" size="188" nativesize="192" typeclass="Userdef" pouclass="STRUCTURE" iecname="APPLICATION">
|
||||
<UserDefElement iecname="pAppParent" type="T_POINTER_TO_APPLICATION" byteoffset="0" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="iId" type="T_UDINT" byteoffset="8" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="CodeGuid" type="T_ARRAY__0__15__OF_BYTE" byteoffset="12" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="DataGuid" type="T_ARRAY__0__15__OF_BYTE" byteoffset="28" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="udiState" type="T_UDINT" byteoffset="44" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="udiOpState" type="T_UDINT" byteoffset="48" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="hBootproject" type="T_RTS_IEC_HANDLE" byteoffset="56" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="hDebugTask" type="T_RTS_IEC_HANDLE" byteoffset="64" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="pfGlobalInit" type="T_POINTER_TO_BYTE" byteoffset="72" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="pfGlobalExit" type="T_POINTER_TO_BYTE" byteoffset="80" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="hSessionIdPool" type="T_RTS_IEC_HANDLE" byteoffset="88" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="hForcePool" type="T_RTS_IEC_HANDLE" byteoffset="96" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="hBPPool" type="T_RTS_IEC_HANDLE" byteoffset="104" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="bPersistentForce" type="T_DINT" byteoffset="112" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="szName" type="T_STRING_MAX_LEN_APPLNAME_" byteoffset="116" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="udiPSVersion" type="T_UDINT" byteoffset="180" vartype="VAR" access="ReadWrite" />
|
||||
<UserDefElement iecname="udiTargetSettingVersion" type="T_UDINT" byteoffset="184" vartype="VAR" access="ReadWrite" />
|
||||
</TypeUserDef>
|
||||
<TypeArray name="T_ARRAY__0__249__OF_atAlarmStatus" size="42000" nativesize="264000" typeclass="Array" iecname="ARRAY [0..249] OF atAlarmStatus" basetype="T_atAlarmStatus">
|
||||
<ArrayDim minrange="0" maxrange="249" />
|
||||
</TypeArray>
|
||||
<TypeUserDef name="T_atMessagingEmailSettings" size="1310" nativesize="1380" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessagingEmailSettings">
|
||||
<TypeArray name="T_ARRAY__0__99__OF_atAlarmStatus" size="16800" nativesize="105600" typeclass="Array" iecname="ARRAY [0..99] OF atAlarmStatus" basetype="T_atAlarmStatus">
|
||||
<ArrayDim minrange="0" maxrange="99" />
|
||||
</TypeArray>
|
||||
<TypeUserDef name="T_atMessagingEmailSettings" size="1310" nativesize="12736" 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" />
|
||||
@ -50,44 +82,29 @@
|
||||
<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_atAlarmManager" size="42000" nativesize="121116" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atAlarmManager">
|
||||
<TypeUserDef name="T_atAlarmManager" size="100830" nativesize="657616" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atAlarmManager">
|
||||
<UserDefElement iecname="all" type="T_ARRAY__0__249__OF_atAlarmStatus" byteoffset="0" vartype="VAR_OUTPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="active" type="T_ARRAY__0__249__OF_atAlarmStatus" byteoffset="42000" vartype="VAR_OUTPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="alarmLog" type="T_ARRAY__0__99__OF_atAlarmStatus" byteoffset="84000" vartype="VAR_OUTPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="activeCnt" type="T_DINT" byteoffset="100800" vartype="VAR_OUTPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="alarmCnt" type="T_DINT" byteoffset="100804" vartype="VAR_OUTPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="logCnt" type="T_DINT" byteoffset="100808" vartype="VAR_OUTPUT" access="ReadWrite" />
|
||||
<UserDefElement iecname="App" type="T_POINTER_TO_APPLICATION" byteoffset="100816" access="ReadWrite" />
|
||||
<UserDefElement iecname="AppResult" type="T_UDINT" byteoffset="100824" access="ReadWrite" />
|
||||
<UserDefElement iecname="_appNameLength" type="T_INT" byteoffset="100828" access="ReadWrite" />
|
||||
</TypeUserDef>
|
||||
<TypeUserDef name="T_atMessaging" size="1408" nativesize="1480" typeclass="Userdef" pouclass="FUNCTION_BLOCK" iecname="atMessaging">
|
||||
<TypeUserDef name="T_atMessaging" size="1408" nativesize="14896" 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">
|
||||
<Comment> This GVL must be initialized before GVL "GloballyForAlarmStorage", because this GVL
|
||||
causes the initialization of the variable g_stApplicationName.
|
||||
We only need the date and time format pattern for the converted code, therefore
|
||||
we can (and must!) omit the rest from conversion
|
||||
We must not use an attribute to hide this GVL, because there are some variables,
|
||||
that a developer might use. Additionally it is necessary, that this GVL in considered
|
||||
in the data server, but not visible for the user, because some variables of this GVL
|
||||
are added to the data source selection implicitely and for this purpose it is necessary,
|
||||
that this GVL is a part of the available items tree.</Comment>
|
||||
<Node name="g_diAlarmStateTransitionCounter" type="T_DINT" access="Read">
|
||||
<Comment> A global counter, that counts all the alarm state transitions, that occur.
|
||||
Needed by the alarm table for optimized painting. If this counter doesn't
|
||||
change during subsequent paint calls, the same alarms have been active and
|
||||
in the same state.
|
||||
Conditional show attribute must not be present for this variable, because
|
||||
some architectural problems it can lead in a not correct regitration
|
||||
CHECKED_OMIT</Comment>
|
||||
</Node>
|
||||
<Node name="g_diAlarmStorageCounter" type="T_DINT" access="Read">
|
||||
<Comment> A similar counter, that will be incremented each time an alarm is written
|
||||
into the alarm storage. This allows the alarm table to detect, whether
|
||||
some kind of processing has to be done, because there exists a new alarm.
|
||||
Conditional show attribute must not be present for this variable, because
|
||||
some architectural problems it can lead in a not correct regitration
|
||||
CHECKED_OMIT</Comment>
|
||||
</Node>
|
||||
<Node name="atAlarmManager">
|
||||
<Node name="_appNameLength" type="T_INT" access="ReadWrite" />
|
||||
<Node name="App" type="T_POINTER_TO_APPLICATION" access="ReadWrite" />
|
||||
<Node name="AppResult" type="T_UDINT" access="ReadWrite">
|
||||
<Comment> Result code </Comment>
|
||||
</Node>
|
||||
</Node>
|
||||
<Node name="atGVL">
|
||||
|
||||
Binary file not shown.
BIN
Development/cr_barn5.project
(Stored with Git LFS)
BIN
Development/cr_barn5.project
(Stored with Git LFS)
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
c
|
||||
CLARENCE-PC
|
||||
33828
|
||||
639104862056891662
|
||||
BIN
Development/cr_barn5_autosave.precompilecache
(Stored with Git LFS)
BIN
Development/cr_barn5_autosave.precompilecache
(Stored with Git LFS)
Binary file not shown.
BIN
Development/cr_barn5_project.precompilecache
(Stored with Git LFS)
BIN
Development/cr_barn5_project.precompilecache
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user