top of page

WELCOME
Search


Attaching/Detaching appearances based on state
Recently we are seeing issues with the classic material flow. In particular the attach event is not working although it is properly...
Ivaylo Fiziev
3 days ago3 min read
1 view
0 comments


Upgrade ANTLR to version 4.13.2
The latest and greatest ANTLR ( https://www.antlr.org/download.html ) version is here. Hurray! As you probably already know this is the...
Ivaylo Fiziev
Jun 32 min read
9 views
2 comments


Practical use case: Sorting arrays
How do you arrange the elements of an array in ascending/descending order? This trivial problem has an even more trivial solution - you...
Ivaylo Fiziev
May 302 min read
6 views
0 comments


Typed literals
What are literals? These are the constant values that we use in the code. Examples are: numbers ( 1 , 2 , 10#1 , 16#FF , 8#77 , 3.14 ,...
Ivaylo Fiziev
May 92 min read
7 views
0 comments


Waiting for a signal (the SCL way)
If your experience is mainly with OLP you are probably quite used to waiting for signals to change in your code. It is a natural thing to...
Ivaylo Fiziev
May 53 min read
14 views
0 comments


Semantic code validation tips
I already have a post ( https://ifiziev.wixsite.com/psinside/post/semantic-code-validation ) related to code validation but back then...
Ivaylo Fiziev
May 22 min read
9 views
0 comments


SCL code snippets
Snippets are standard across programming languages. They are small portions of text that can easily be inserted while you type. The text...
Ivaylo Fiziev
Apr 252 min read
16 views
4 comments


Practical use case: Applying a motion profile to a conveyor
If you recall, some time ago I showcased the usage of a custom motion profile on joints. It was just a function that calculates the...
Ivaylo Fiziev
Apr 173 min read
13 views
0 comments


Dynamic expression evaluation
Expressions are everywhere - we use them when expressing conditions, formulas, logic. But how do we position them in the code? We...
Ivaylo Fiziev
Apr 113 min read
6 views
0 comments


Multi-value assignment
We all know that values are assigned to variables using the assign (:=) operator. But do you know that the assign operator may be used...
Ivaylo Fiziev
Mar 282 min read
8 views
0 comments


SCL extensibility
You already know how to add new functions, function blocks and data types using the script. It is easy - just import the related text...
Ivaylo Fiziev
Mar 148 min read
38 views
0 comments


SCL code introspection
Introspection means extracting semantic (meaningful) information from the code. For example: getting variable names, type names, default...
Ivaylo Fiziev
Mar 113 min read
12 views
0 comments


Checking arrays for equality
When you need to compare two integers for equality you use the equality (=) operator in SCL. This is so intuitive that it hardly needs to...
Ivaylo Fiziev
Mar 102 min read
9 views
0 comments


Applying a SCL script to a resource over the API
Scripting is nice. I think we all agree with this statement. It would be even nicer if we can automate the process of creating scripts....
Ivaylo Fiziev
Feb 254 min read
21 views
0 comments


Why the SCL debugger is a separate application?
I get this question from time to time. At first I was puzzled. It is so natural for a debugger to be implemented this way. What do they...
Ivaylo Fiziev
Feb 213 min read
5 views
0 comments


Code highlighting based on the lexer output
How does text highlighting work in an integrated development environment? Tough question ... The straight-forward approach would be to...
Ivaylo Fiziev
Feb 202 min read
6 views
0 comments


Practical use case: Velocity sensor (PoC)
Now that we have the distance sensor available, we can extend its usage and implement a velocity sensor (radar). Just like the distance...
Ivaylo Fiziev
Jan 162 min read
12 views
0 comments


Practical use case: Distance sensor (PoC)
How do we check if the position of a 3D point is above or below a given 3D plane? This is a classic math problem and it has a well known...
Ivaylo Fiziev
Dec 9, 20244 min read
23 views
0 comments


Array initialization list
It has been a while since we allow the usage of arrays in SCL but initialization was a pain until now. Usually you had to populate the...
Ivaylo Fiziev
Dec 4, 20243 min read
16 views
0 comments


Practical use case: Traffic light controller
Traffic lights are simple devices that are quite common but do you know how they work? In this post I'll try to implement a traffic light...
Ivaylo Fiziev
Nov 12, 20244 min read
9 views
0 comments
CONTACT

bottom of page