top of page

WELCOME
Search


Scripting and OLP
While working on SCL I got this idea of doing OLP with scripts. If you think about it the scripting approach is a direct match for...
Ivaylo Fiziev
Aug 29, 20243 min read
Â
Â
Â


Practical use case: Implementing MJV using a script
To continue the topic of custom motion profiles I'll try to implement the built-in MOVE_JOINT_TO_VALUE FB with a script. The script will...
Ivaylo Fiziev
Jul 31, 20242 min read
Â
Â
Â


Practical use case: Implementing a custom motion profile
Recently I got into an interesting dilemma. The MOVE_JOINT_TO_VALUE FB is meant to be the way to move a joint based on the standard...
Ivaylo Fiziev
Jul 12, 20244 min read
Â
Â
Â


Getting part names in line simulation mode
Ever since we introduced the CREATE_PART_APPEARANCE/ DELETE_PART_APPEARANCE SCL functions, we had a problem - how to get the names of the...
Ivaylo Fiziev
Jun 11, 20241 min read
Â
Â
Â


Practical use case: Palletizing part appearances
Palletization is a term used to describe the process of placing materials and packages onto pallets. Usually this is a use case for OLP...
Ivaylo Fiziev
May 8, 20242 min read
Â
Â
Â


Bit indexer gap for array elements
It has been a while since we had this gap. The bit indexers were simply not implemented in the context of array elements. The syntax was...
Ivaylo Fiziev
Apr 16, 20241 min read
Â
Â
Â


Time critical scripts
In Process Simulate SCL scripts execute periodically. The period is provided by the sampling rate - "LB update rate" as we know it. Users...
Ivaylo Fiziev
Mar 27, 20245 min read
Â
Â
Â


Driving joints
Kinematics is often referred to as the "geometry of motion". It relies on initial conditions (known values) of position velocity and/or...
Ivaylo Fiziev
Mar 25, 20243 min read
Â
Â
Â


Importing FMUs/SCL blocks
This one will be really short. When working with FMUs / SCL scripts we often ask the user to put them in a dedicated folder (vault) as a...
Ivaylo Fiziev
Mar 22, 20241 min read
Â
Â
Â


Recursive vs. iterative SCL code
There are two approaches to solving a problem in computing that requires visiting a lot of states. Iterative and recursive. The iterative...
Ivaylo Fiziev
Mar 20, 20242 min read
Â
Â
Â


User defined external connections
External connections are core part of the virtual commissioning capabilities of Process Simulate. They allow us to communicate with 3rd...
Ivaylo Fiziev
Feb 23, 20242 min read
Â
Â
Â


Changing block state in SCL debugger
When debugging scripts you may want to alter the state of a variable to see the effect it has on the code. Until v2408 this was only...
Ivaylo Fiziev
Feb 19, 20242 min read
Â
Â
Â


Practical use case: Noise generator
A noise generator by definition produces a random signal. In the software world this usually means generating pseudo-random numbers. One...
Ivaylo Fiziev
Feb 7, 20241 min read
Â
Â
Â


Practical use case: Frequency counter
As the name suggests this is a device that measures frequency. It counts the number of pulses in a periodic signal per second. Internally...
Ivaylo Fiziev
Feb 5, 20242 min read
Â
Â
Â


Practical use case: Mux / Demux
A multiplexer is a device that has several digital or analog inputs and a single output. It forwards a given input to the output based on...
Ivaylo Fiziev
Feb 2, 20242 min read
Â
Â
Â


Practical use case: Bit to Byte conversion
I got some requests for this type of conversion recently so I decided to make a post out of it. The logic is quite straight-forward but...
Ivaylo Fiziev
Jan 30, 20242 min read
Â
Â
Â


Practical use case: Safety button
Safety is a top priority feature in every manufacturing solution. With industrial devices it is often the case that safety buttons are...
Ivaylo Fiziev
Dec 21, 20232 min read
Â
Â
Â


Acyclic Communication with PLCSIM Advanced
The classic way to communicate with a PLC is to exchange tags with it. The tags are handled on each PLC cycle. This implies that tags can...
Ivaylo Fiziev
Dec 15, 20233 min read
Â
Â
Â


SCL Expressions
Expressions are language entities just like statements. The main difference is that expressions should be evaluated in order to calculate...
Ivaylo Fiziev
Dec 14, 20233 min read
Â
Â
Â


SCL Control Statements
Statements that allow you to direct the execution of the program into alternative sequences of statements are known as control statements. In every programing language these are the primitives that make your code react to changes in the environment. Overall these are the conditional statements, unconditional jumps and the repetetive statments (loops). The conditional statements are probably the first that come in handy when learning a new language. In SCL these are: 1. IF
Ivaylo Fiziev
Dec 11, 20233 min read
Â
Â
Â
CONTACT

bottom of page
