top of page

WELCOME
Search


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 3, 20252 min read
Â
Â
Â


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 30, 20252 min read
Â
Â
Â


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 9, 20252 min read
Â
Â
Â


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 5, 20253 min read
Â
Â
Â


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 2, 20252 min read
Â
Â
Â


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 25, 20252 min read
Â
Â
Â


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 17, 20253 min read
Â
Â
Â


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 11, 20253 min read
Â
Â
Â


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 28, 20252 min read
Â
Â
Â


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 14, 20258 min read
Â
Â
Â


SCL code introspection
Introspection means extracting semantic (meaningful) information from the code. For example: getting variable names, type names, default...
Ivaylo Fiziev
Mar 11, 20253 min read
Â
Â
Â


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 10, 20252 min read
Â
Â
Â


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. e.g. generate and assign scripts to resources over the official API of Process Simulate. Is this really possible? Yes it is. The SCL editor does exactly this. It uses the API to assign a script to a resource. It can also set default values for variables as well as connect signals to them. Let's see how this works. Every resource that can h
Ivaylo Fiziev
Feb 25, 20255 min read
Â
Â
Â


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 21, 20253 min read
Â
Â
Â


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 20, 20252 min read
Â
Â
Â


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 16, 20252 min read
Â
Â
Â


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
Â
Â
Â


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
Â
Â
Â


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
Â
Â
Â


Practical use case: Sigmoid motion profile
To continue the topic of motion profiles I would like to present a type of sigmoid function that is kind of useful in the area of...
Ivaylo Fiziev
Oct 24, 20242 min read
Â
Â
Â
CONTACT

bottom of page
