Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 0 additions & 41 deletions azure-pipelines.yml

This file was deleted.

21 changes: 12 additions & 9 deletions example/AsProject/AsProject.apj
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version="4.11.4.55 SP" WorkingVersion="4.11"?>
<Project Description="Starter Automation Studio project." Version="1.00.0" Edition="Standard" EditionComment="Standard" xmlns="http://br-automation.co.at/AS/Project">
<Communication />
<ANSIC DefaultIncludes="true" />
<IEC ExtendedConstants="true" IecExtendedComments="true" KeywordsAsStructureMembers="false" NamingConventions="true" Pointers="true" Preprocessor="false" />
<Motion RestartAcoposParameter="true" RestartInitParameter="true" />
<Project StoreRuntimeInProject="false" />
<Variables DefaultInitValue="0" DefaultRetain="false" DefaultVolatile="true" />
<?xml version="1.0" encoding="utf-8"?>
<?AutomationStudio Version="6.5.1.7" WorkingVersion="6.5"?>
<Project Description="Starter Automation Studio project." Version="1.0.0" Edition="Standard" EditionComment="Standard" xmlns="http://br-automation.co.at/AS/Project">
<Communication />
<ANSIC DefaultIncludes="true" />
<IEC ExtendedConstants="true" IecExtendedComments="true" KeywordsAsStructureMembers="false" NamingConventions="true" Pointers="true" Preprocessor="false" />
<Motion RestartAcoposParameter="true" RestartInitParameter="true" />
<Project StoreRuntimeInProject="false" />
<Variables DefaultInitValue="0" DefaultRetain="false" DefaultVolatile="true" />
<TechnologyPackages>
<OpcUaCs Version="6.6.1" />
</TechnologyPackages>
</Project>
9 changes: 9 additions & 0 deletions example/AsProject/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The MIT License

Copyright 2023 Loupe

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 changes: 4 additions & 4 deletions example/AsProject/Logical/Global.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

TYPE

END_TYPE
TYPE
END_TYPE
16 changes: 8 additions & 8 deletions example/AsProject/Logical/Global.var
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

VAR

END_VAR

VAR CONSTANT

END_VAR
VAR
END_VAR
VAR CONSTANT
END_VAR
14 changes: 7 additions & 7 deletions example/AsProject/Logical/Libraries/Loupe/Package.pkg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<Package xmlns="http://br-automation.co.at/AS/Package">
<Objects>
<Object Type="Library" Language="ANSIC" Reference="true">..\..\src\Ar\vartools\ANSIC.lby</Object>
<Object Type="Library" Language="Binary">stringext</Object>
</Objects>
</Package>
<?xml version='1.0' encoding='utf-8'?>
<Package xmlns="http://br-automation.co.at/AS/Package">
<Objects>
<Object Type="Library" Language="Binary">stringext</Object>
<Object Type="Library" Language="ANSIC" Reference="true">..\..\src\Ar\VarTools\ANSIC.lby</Object>
</Objects>
</Package>
27 changes: 13 additions & 14 deletions example/AsProject/Logical/Libraries/Loupe/stringext/Binary.lby
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?xml version='1.0' encoding='utf-8'?>
<Library xmlns="http://br-automation.co.at/AS/Library" Version="0.14.4" SubType="Binary">
<Files>
<File Description="Exported data types">StringExt.typ</File>
<File Description="Exported constants">StringExt.var</File>
<File Description="Exported functions and function blocks">StringExt.fun</File>
<File Type="File">CHANGELOG.md</File>
</Files>
<Dependencies>
<Dependency ObjectName="astime" />
<Dependency ObjectName="AsBrStr" />
<Dependency ObjectName="AsBrWStr" />
</Dependencies>
</Library>
<?xml version='1.0' encoding='utf-8'?>
<Library xmlns="http://br-automation.co.at/AS/Library" Version="1.0.0" SubType="Binary">
<Objects>
<Object Type="File" Description="Exported data types">StringExt.typ</Object>
<Object Type="File" Description="Exported constants">StringExt.var</Object>
<Object Type="File" Description="Exported functions and function blocks">StringExt.fun</Object>
</Objects>
<Dependencies>
<Dependency ObjectName="astime" />
<Dependency ObjectName="AsBrStr" />
<Dependency ObjectName="AsBrWStr" />
</Dependencies>
</Library>
19 changes: 0 additions & 19 deletions example/AsProject/Logical/Libraries/Loupe/stringext/CHANGELOG.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Automation Studio generated header file */
/* Do not edit ! */
/* stringext 0.14.4 */
/* stringext 1.0.0 */

#ifndef _STRINGEXT_
#define _STRINGEXT_
Expand All @@ -9,7 +9,7 @@ extern "C"
{
#endif
#ifndef _stringext_VERSION
#define _stringext_VERSION 0.14.4
#define _stringext_VERSION 1.0.0
#endif

#include <bur/plctypes.h>
Expand All @@ -18,34 +18,22 @@ extern "C"
#define _BUR_PUBLIC
#endif
#ifdef _SG3
#include "AsBrStr.h"
#include "astime.h"
#include "AsBrStr.h"
#include "AsBrWStr.h"
#endif
#ifdef _SG4
#include "AsBrStr.h"
#include "astime.h"
#include "AsBrStr.h"
#include "AsBrWStr.h"
#endif
#ifdef _SGC
#include "AsBrStr.h"
#include "astime.h"
#include "AsBrStr.h"
#include "AsBrWStr.h"
#endif


/* Constants */
#ifdef _REPLACE_CONST
#define STREXT_INVALID_CHAR 221U
#define STREXT_MAX_UDINT 4294967295U
#else
_GLOBAL_CONST unsigned char STREXT_INVALID_CHAR;
_GLOBAL_CONST unsigned long STREXT_MAX_UDINT;
#endif




/* Datatypes and datatypes of function blocks */
typedef enum STREXT_ERR_enum
{ STREXT_ERR_INVALID_INPUT = -1
Expand Down Expand Up @@ -85,6 +73,22 @@ _BUR_PUBLIC unsigned char wchar2char(unsigned short wcharacter);
_BUR_PUBLIC signed long formatString(plcstring* dest, unsigned long destSize, plcstring* format, struct StrExtArgs_typ* pArgs);
_BUR_PUBLIC unsigned long stringfTime(unsigned long dest, unsigned long destSize, unsigned long format, plcdt time);
_BUR_PUBLIC plcdt stringpTime(unsigned long src, unsigned long format);
_BUR_PUBLIC unsigned long stringdtoa(double value, plcstring* buffer, unsigned long ndigits, unsigned long bufferSize);
_BUR_PUBLIC unsigned long stringftoa(float value, plcstring* buffer, unsigned long ndigits, unsigned long bufferSize);
_BUR_PUBLIC double stringstrtod(plcstring* value, plcstring** pEnd);
_BUR_PUBLIC float stringstrtof(plcstring* value, plcstring** pEnd);


/* Constants */
#ifdef _REPLACE_CONST
#define STREXT_INVALID_CHAR 221U
#define STREXT_MAX_UDINT 4294967295U
#else
_GLOBAL_CONST unsigned char STREXT_INVALID_CHAR;
_GLOBAL_CONST unsigned long STREXT_MAX_UDINT;
#endif




#ifdef __cplusplus
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Automation Studio generated header file */
/* Do not edit ! */
/* stringext 0.14.4 */
/* stringext 1.0.0 */

#ifndef _STRINGEXT_
#define _STRINGEXT_
Expand All @@ -9,7 +9,7 @@ extern "C"
{
#endif
#ifndef _stringext_VERSION
#define _stringext_VERSION 0.14.4
#define _stringext_VERSION 1.0.0
#endif

#include <bur/plctypes.h>
Expand All @@ -18,34 +18,22 @@ extern "C"
#define _BUR_PUBLIC
#endif
#ifdef _SG3
#include "AsBrStr.h"
#include "astime.h"
#include "AsBrStr.h"
#include "AsBrWStr.h"
#endif
#ifdef _SG4
#include "AsBrStr.h"
#include "astime.h"
#include "AsBrStr.h"
#include "AsBrWStr.h"
#endif
#ifdef _SGC
#include "AsBrStr.h"
#include "astime.h"
#include "AsBrStr.h"
#include "AsBrWStr.h"
#endif


/* Constants */
#ifdef _REPLACE_CONST
#define STREXT_INVALID_CHAR 221U
#define STREXT_MAX_UDINT 4294967295U
#else
_GLOBAL_CONST unsigned char STREXT_INVALID_CHAR;
_GLOBAL_CONST unsigned long STREXT_MAX_UDINT;
#endif




/* Datatypes and datatypes of function blocks */
typedef enum STREXT_ERR_enum
{ STREXT_ERR_INVALID_INPUT = -1
Expand Down Expand Up @@ -85,6 +73,22 @@ _BUR_PUBLIC unsigned char wchar2char(unsigned short wcharacter);
_BUR_PUBLIC signed long formatString(plcstring* dest, unsigned long destSize, plcstring* format, struct StrExtArgs_typ* pArgs);
_BUR_PUBLIC unsigned long stringfTime(unsigned long dest, unsigned long destSize, unsigned long format, plcdt time);
_BUR_PUBLIC plcdt stringpTime(unsigned long src, unsigned long format);
_BUR_PUBLIC unsigned long stringdtoa(double value, plcstring* buffer, unsigned long ndigits, unsigned long bufferSize);
_BUR_PUBLIC unsigned long stringftoa(float value, plcstring* buffer, unsigned long ndigits, unsigned long bufferSize);
_BUR_PUBLIC double stringstrtod(plcstring* value, plcstring** pEnd);
_BUR_PUBLIC float stringstrtof(plcstring* value, plcstring** pEnd);


/* Constants */
#ifdef _REPLACE_CONST
#define STREXT_INVALID_CHAR 221U
#define STREXT_MAX_UDINT 4294967295U
#else
_GLOBAL_CONST unsigned char STREXT_INVALID_CHAR;
_GLOBAL_CONST unsigned long STREXT_MAX_UDINT;
#endif




#ifdef __cplusplus
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading