top of page

WELCOME
Search


How to use the SCL debugger
I've never done a post related to how the SCL debugger is meant to be used. Here it is - following some recent questions from colleagues. 	You can imagine the SCL debugger as a simplified version of the debugger you have in Visual Studio. It only covers the basics. As you might happen to know Visual Studio works in its own process and attaches to the process running your code when you debug.  Usually you pick the process from a list and then select the debug engine (native, m
Ivaylo Fiziev
Oct 266 min read
 
 
 


Goto statement
The unconditional jump instruction is here. It is strange to announce such a trivial thing but it  was a real challenge to implement. What makes it hard? It is intended to work on a flattened program tree.  Flattening the program tree is the actual problem.  In  version 2512 we have it working with some limitations. But lets start with a short introduction. 	'Goto' is a statement that is often avoided since it tends to make the code unreadable/unmaintainable if overused.  Typ
Ivaylo Fiziev
Oct 222 min read
 
 
 


Language engineering vs. standard user interface
Lately we are working on the topic of material handling. One of our goals was to generate a pick and place robotic operation based on user input. The user is supposed to select the object to be picked, the frame to be used when picking it and the pose of the tool when doing the pick. Then the user selects a frame representing the place location and the pose of the tool when doing the place. In addition the user can specify start/end robot home positions (poses) and approach/d
Ivaylo Fiziev
Oct 176 min read
 
 
 


Visualizing study logic
When we are faced with complex data we always feel lost, aren't we? We don't know anything about the essence of it but still we need to...
Ivaylo Fiziev
Oct 82 min read
 
 
 


Practical use case: RFID sensor (PoC)
From the theory: Radio Frequency Identification (RFID) is a wireless technology that uses radio waves to automatically identify and track...
Ivaylo Fiziev
Sep 123 min read
 
 
 


Declaring arrays in the SCL editor
For quite long time we were missing the ability to declare arrays in the SCL editor. Although arrays are not widely used in Process...
Ivaylo Fiziev
Sep 52 min read
 
 
 


Using external connections from a SCL script
There is something interesting that I have not mentioned before. It was introduced along with the Time critical scripts  but can be used...
Ivaylo Fiziev
Sep 33 min read
 
 
 


Working with VARIANTs
VARIANT is yet another data type that you can use in your functions / function blocks. Usually it comes in handy when defining the...
Ivaylo Fiziev
Aug 263 min read
 
 
 


String handling
When working with strings, often there is a need of doing string processing. e.g. searching, replacing, extracting substrings. SCL offers...
Ivaylo Fiziev
Aug 132 min read
 
 
 


Escape sequences
These are special symbols, often having specific syntax, used in programming and text formats to represent characters that are difficult...
Ivaylo Fiziev
Aug 12 min read
 
 
 


Debugging in Hex
Some time ago a customer asked if we can display numbers in hexadecimal format. It was a question related to the simulation panel in...
Ivaylo Fiziev
Jun 301 min read
 
 
 


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
Jun 133 min read
 
 
 


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
 
 
 


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
 
 
 


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
 
 
 


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
 
 
 


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
 
 
 
CONTACT

bottom of page
