Author: Jan

BSA – Name Relationa

The diagram below illustrates some challenges we have in BSA – how does things glue together ? The small diagram have a single class “Customer”, a small state diagram and a Data Table – all providing different part of an application. Class as an example is a declaration of a “datatype” with attributes, methods and…

Read the full article

BSA – Sub Diagrams

The diagram below show two sub-diagrams. Sub_Diagram1 is a standard function call while Sub-Diagram2 have multiple input signals each connected to a specific method in the diagram. Both are legal drawings “as is”, but they have conflicting precentation needs. In “Sub_Diagram1” is is natural to assume that we call a function “Sub_Diagram1”, while on Sub-Diagram2…

Read the full article

BSA – Copy & Paste

Copy & Paste is finally working as they should. BSA allows you to draw duplicated tags, but the compiler will raise it as an error, so paste do not change tag names like the “Start_68” below (yet) – I am not sure I want it to either because design and coding are different tasks and…

Read the full article

BSA – SDL Support

The diagram below is an “abstracted SDL” – or simplified SDL if you like – it is a flowchart with SDL heritage that is a very good way of writing a visual specification assuming you have a tool that support it. This is at core in PLD. This exact example send a message and wait…

Read the full article

BSA . C/C++ Import

One of the upcoming features is the capability to import C/C++ code into a BSA project – correction I only want to be able to read C/C++ so I can set up the BSA Repository to generate code that uses an external C/C++ library. This is one of many important features as you integrate high-level…

Read the full article

BSA – Fork & Join

Fork and Join are part of UML State diagram heritage that I imported into PLD. The example below show a potential usage to take a signal, duplicate it to three threads and wait until they all are finished before you continue. Fork and Join are drawn as bars that can be horisontal or vertical –…

Read the full article

BSA – PLD Considerations

I am experimenting a bit with C++/PScript coding in PLD and you can see the mock-up below where I create 3 math functions. The diagram is named “Math” so the functions are Math.Pow2, Math.Abs and Math.Sin – two of them in C++ and one in PScript. Assuming the target is C++ you can add C++…

Read the full article

PnP Head

I am building a PnP Machine based on lumenPnP (an OpenPnP) variant, but as I lack many of the specialized parts they use I have to make changes. This has been a great project as it forced me to lern how a PnP machine works and what challenges it included. As I upgraded to version…

Read the full article

New PNP Head

I borrowed the design from LumenPnP (an OpenPnP variant), but I am honestly not impressed with their mechanical skills, so I re-designed the head. Firstly I needed a different end-sensor and added one on each side. But, the major issue was the blue belt holder that difficult to print and would not fir the belt…

Read the full article