top of page

WELCOME
Search


Practical use case: Assembling parts
"Assembly is the process of putting parts together. It involves placement, joining and fastening of one or more parts in or on another. The process is carried out through manual means. However automatic equipment is used for mass production. For example a conveyor moves an assembly part to a number of workstations and at each one of them certain parts are added. This is the common assembly line. Assemblies are the outcome or the product of the assembly process." In Process S
Ivaylo Fiziev
May 43 min read


Using arrays of variable length as FC/FB arguments
Suppose you have an array of integers that has to be sorted. How would you implement a function that sorts it? The function should be able to take arrays of any length right? How do you express this in SCL? Typically arguments are type checked before calling the function. In SCL the array length is part of the type. This means that Array[1..10] of BYTE and Array[1..15] of BYTE are actually two different types. In other words - the lengths of the argument / actual argument a
Ivaylo Fiziev
Jan 162 min read
CONTACT

bottom of page