top of page

WELCOME
Search


SCL Counters
Counters? Isn't this just a variable of type INT? Why do they need special attention? Well if you have ever used a step counter you...
Ivaylo Fiziev
May 5, 20232 min read
Â
Â
Â


Type casting
Types are good. They provide meaning to variables, arguments and functions by defining the set of operations that can be applied to them....
Ivaylo Fiziev
Apr 24, 20232 min read
Â
Â
Â


Practical use case: A Boolean signal that changes value every 500ms
Recently I was asked for such an example from customers so I decided to make a post out of it. Interestingly they struggle implementing...
Ivaylo Fiziev
Apr 19, 20231 min read
Â
Â
Â


Driving Conveyors
Conveyors are major building blocks of every factory. In Process Simulate we have support for them since quite long ago. Users are...
Ivaylo Fiziev
Mar 29, 20232 min read
Â
Â
Â


Bit Indexers
I am sure you have used bitwise operations in your practice but have you heard of bit indexers? Personally I didn't know this concept at...
Ivaylo Fiziev
Mar 24, 20232 min read
Â
Â
Â


SCL Triggers
No. This has nothing to do with weapons. Triggers are just the way to detect when the rising/falling edge of a clock signal passes...
Ivaylo Fiziev
Mar 16, 20231 min read
Â
Â
Â


SCL Timers
Timers are used in order to introduce delays in your code. Delays are just time intervals between two events. However in this case we...
Ivaylo Fiziev
Mar 2, 20232 min read
Â
Â
Â


Identifiers in SCL
Identifiers are lexical tokens that provide a way to reference language entities. These can be variables, types, labels, functions,...
Ivaylo Fiziev
Feb 28, 20232 min read
Â
Â
Â


Semantic Code Validation
Next I would like to talk about semantic code validation. This is also widely used in each and every development environment. It happens...
Ivaylo Fiziev
Feb 27, 20233 min read
Â
Â
Â


Semantic Code Completion
You've probably seen this kind of code assistance in many products. We take it for granted but if you try to do something like this...
Ivaylo Fiziev
Feb 16, 20233 min read
Â
Â
Â


IO Exchange
We already know that a resource is assigned a "main" function block. But wait. It cannot work in isolation from other blocks right? How...
Ivaylo Fiziev
Feb 15, 20232 min read
Â
Â
Â


SCL Editor
Ok. We already know SCL a little bit. Now how do I use it in Process Simulate? Where do I write the code? How do I organize my logic?...
Ivaylo Fiziev
Feb 15, 20233 min read
Â
Â
Â


Arrays
Now that we know what a variable is imagine a use case where you need a number of them. Maybe ten, twenty or more? What would you do?...
Ivaylo Fiziev
Aug 2, 20222 min read
Â
Â
Â


Primitive data types
SCL defines a set of primitive data types like any other strongly typed language. These represent the basic data containers that can be...
Ivaylo Fiziev
Aug 2, 20222 min read
Â
Â
Â


Behavior modeling with scripts
What is a script? A sequence of instructions (statements) executed one by one by the language interpreter. Each instruction gets you...
Ivaylo Fiziev
Apr 19, 20222 min read
Â
Â
Â


Using subscripts
As we already know SCL scripts in Process Simulate are placed in the SCL Vault folder. Currently FBs, FCs and UDTs are supported. But how...
Ivaylo Fiziev
Apr 18, 20222 min read
Â
Â
Â


Cyclic evaluation of scripts
In Process Simulate SCL scripts are executed periodically. The execution rate is defined by the ‘LB Update Rate’ in CEE mode. In PLC mode...
Ivaylo Fiziev
Apr 18, 20221 min read
Â
Â
Â


Scripting architecture
Scripting has been around for quite long time. The script enables automation. In other words this is a way to execute code without...
Ivaylo Fiziev
Apr 15, 20222 min read
Â
Â
Â


POUs in Process Simulate
Now that you know what the basic SCL building blocks are, it is time to make use of them in Process Simulate. FB, FC and UDT definitions...
Ivaylo Fiziev
Apr 8, 20221 min read
Â
Â
Â


SCL UDT Syntax
User defined types (UDTs) allow for defining custom structures in SCL. The UDTs then can be used when declaring variables. Nested UDTs...
Ivaylo Fiziev
Apr 8, 20221 min read
Â
Â
Â
CONTACT

bottom of page