rwth-ebc / aixocat Goto Github PK
View Code? Open in Web Editor NEWA repository combining OSCAT community with sophisticated automation communication structures
License: MIT License
A repository combining OSCAT community with sophisticated automation communication structures
License: MIT License
When you want to get the variables of a TwinCAT project, always the whole variable list of the project is extracted.
Sometimes you just want to control a subset of all the variables. The issue is to provide a functionality, such that you can
mark with comments the variables you want to get and only those variables will be extracted.
The module parsing_and_assignment contains the functions, that extract the variable list of the TwinCAT project. You provide
either a text file (*.GVL) containing the variables list or a an ADS connection to the corresponding function in
parsing_and_assignment (for example parsing_and_assignment.getADSVariables(gvl_file)) and the functions return
the variables categorized in a publish- and a subscribe-set.
To parsing_and_assignment the functions "getMarkedADSVariables" and "getMarkedADSvarsFromSymbols" will be added.
One function gets the marked variables from a text file, the other on directly from the ADS connection. The desired
variables have to be commented with "//#" in the TwinCAT project, the functions will then only extract the variables marked
with the respective comment.
A seperate library with its documentation
Fixing a setting of SymbolsLoader in the ADS.vb in order to read symbols from arrays via ADS
Setting SymbolsLoadMode from .Flat to .VirtualTree
Just stopping by to let us know about some issue you encountered with AixOCAT? Please feel free to delete all of this text and tell us what you think!
If you want to suggest larger changes and/or adding new structures to AixOCAT, please make sure to briefly answer the following few questions. For more information on how to contribute to AixOCAT, see our Wiki. Before submitting the issue, you can delete these first lines. Thanks for contributing!
The library installation-link for TwinCAT3 in the README.MD-file is not working.
The right one should be:
https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_plc_intro/27021601982523403.html
s.o.
In the Wiki is a page "HowTo" where we can put useful Beckhoff and TwinCAT Tutorials. It would be nice to find links there
Hi and sorry for not folowing the default issue format.
First, thank you for hosting the OSCAT lib. This is a really good thing that at least someone have done this.
I'm only interested in the OSCAT lib and I will to contribute to it since the last changes have made ages ago. As I have seen in the OSCAT forum, here is the only active git repo for OSCAT.
http://www.oscat.de/community/index.php/topic,4425.0.html
Please provide another repo for the OSCAT lib. If the lib is seperated, you can pin this repo (AixOCAT) to a specific commit/release of the future OSCAT repo so you can always be sure to work on a known state of the lib.
With the lib placed elsewhere we can also do continuous integration and unit testing of the lib, too!
By the way, there are quite a lot of open source things here and there, here are some examples:
https://github.com/TcOpenGroup
https://tcunit.org/
Help AixOCAT's public community to contribute their (approved) suggested features and fixes.
Document BACnet connection to WILO pumps (including BACnet MS/TP to BACnet IP) and add clean example
I would like to add a Function:
TON pausable. I hope this is useful for someone
FUNCTION_BLOCK TON_P // Ton pausabile
VAR_INPUT
IN : BOOL;
PT : TIME;
PAUSE : BOOL;
END_VAR
VAR_OUTPUT
Q : BOOL;
ET : TIME;
END_VAR
VAR
rtPause : R_TRIG;
tTimePaused : TIME;
ton : TON;
END_VAR
IF NOT IN THEN
tTimePaused := T#0S;
END_IF
rtPause(CLK := IN AND PAUSE);
IF rtPause.Q THEN
tTimePaused := tTimePaused + ton.ET;
END_IF
ton(IN := IN AND NOT PAUSE, PT := PT - tTimePaused);
Q := ton.Q;
ET := tTimePaused + ton.ET;
Just stopping by to let us know about some issue you encountered with AixOCAT? Please feel free to delete all of this text and tell us what you think!
If you want to suggest larger changes and/or adding new structures to AixOCAT, please make sure to briefly answer the following few questions. For more information on how to contribute to AixLib, see our Wiki. Before submitting the issue, you can delete these first lines. Thanks for contributing!
broken link on start page http://rwth-ebc.github.io/AixOCAT/
FILTER_MAV_DW calculates wrong moving average values when input value decreases
here a small example run with codesys 3.5 SP17
PROGRAM POU
VAR
mav : OSCAT_BASIC.FILTER_MAV_DW;
END_VAR
mav(X := 10, N := 2, RST := FALSE);
mav(X := 8);
IF mav.Y <> 9 THEN
mav.X := mav.X; // we should never get here
END_IF
Implementing changes from AixOCAT Fork Repo (https://git.rwth-aachen.de/andy.otto/aixocat-hil3-fork/-/tree/hil3_gui/dev), in order to use AixOCAT libary as HiL3-submodule
I believe there is a bug in FT_PID (this is also the same code as in OSCAT 3.33). If the TN value was previously not 0, and then is set to 0, it does not reset the the integral term and keeps accumulating if IEN was previously true. Is the intent that RST should be TRUE if TN = 0?
Provide structures as DataType for control parameters and the new generic terminal functions blocks.
Add two function blocks that represent a voltage-controllable fan that can be implemented from OSCAT.
Add an extended delay over up to 200 cycles.
Add an arithmetic average over up to 200 cycles.
Just stopping by to let us know about some issue you encountered with AixOCAT? Please feel free to delete all of this text and tell us what you think!
If you want to suggest larger changes and/or adding new structures to AixOCAT, please make sure to briefly answer the following few questions. For more information on how to contribute to AixOCAT, see our Wiki. Before submitting the issue, you can delete these first lines. Thanks for contributing!
Since many PR have been merged into the development branch it is time for a new Release.
To do so, we merge the current development into the main and compile a new library file.
When developing or running a GUI built with VBAixGUI the GUI is responding very slowly when the PLC can't be reached via network.
Developing/Using a GUI built with VBAixGUI
Check for multiple failed connection attempts and interrupt automatic reconnect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.