top of page

WELCOME
Search


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


Introduction to SCL
Structured Control Language (SCL) is a high-level textual programming language which derives its syntax from PASCAL. It is based on the...
Ivaylo Fiziev
Mar 8, 20222 min read
Â
Â
Â


SCL FB Syntax
The Function Block (FB) is just a function associated with some data. The data is stored in a Data Block (DB). In Process Simulate we...
Ivaylo Fiziev
Mar 8, 20222 min read
Â
Â
Â


SCL FC Syntax
Function (FC) syntax is quite similar to the FB syntax. Still there are some key differences. I'll talk about these in a minute. Example:...
Ivaylo Fiziev
Mar 8, 20221 min read
Â
Â
Â
CONTACT

bottom of page