Hi all,
Trying to figure out how to convert a block I created in STL to SCL and I run into problems from line one, lol.
Is there a way to input either a DB or a DB number into an FC?
My problem is that the DB can be 10 or 1000 values long, depending on my use. In STL I just input the number as an INT and use it from there.
Any inputs would be great, thank you!
Trying to figure out how to convert a block I created in STL to SCL and I run into problems from line one, lol.
Is there a way to input either a DB or a DB number into an FC?
My problem is that the DB can be 10 or 1000 values long, depending on my use. In STL I just input the number as an INT and use it from there.
Code:
OPN DB [#DBNR]
L DBW [DBD 0]
Any inputs would be great, thank you!