top of page

WELCOME
Search


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


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


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


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


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


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


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


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


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 255 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 213 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 202 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 162 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
Â
Â
Â


Practical use case: S-R Latch
Set/Reset latches are quite common building blocks. They are also known as bi-stable multivibrators since they maintain two stable...
Ivaylo Fiziev
Oct 10, 20242 min read
Â
Â
Â


Showing runtime errors in SCL debugger
Finding errors can be overwhelming when working with complex piece of code. So many statements ... tricky logic ... How is this even...
Ivaylo Fiziev
Oct 5, 20241 min read
Â
Â
Â


Practical use case: Pick and place using a SCL gripper
Pick and place operations are quite common in the industry. They are often used in high-volume manufacturing. Let's see how we can...
Ivaylo Fiziev
Sep 25, 20242 min read
Â
Â
Â


IS_PICKED/IS_SELECTED SCL functions
I create some of my posts based on real customer questions. This one is a perfect example. The question was: Why is the IS_PICKED...
Ivaylo Fiziev
Sep 11, 20242 min read
Â
Â
Â
CONTACT

bottom of page
