Protool Script

Thim

Member
Join Date
Mar 2008
Location
Belgium
Posts
392
Hi folks,

I was playing a bit with protool scripting today.
And have a problem, protool doesn't allow me to have a script of more then 20 lines, is there someone out there how knows a way arround this?

Greetings

Thim
 
Found it but it seems so weird.
Let me explain how i do it.
Make 2 variables(tags), then make a script (Function, not a sub)
Then 1 tag is the return value of the function, and lets say another tag is the input value and also the Call value of that script.
When you define the Call of the script (actually this is been done in the "input" tag it self not in an other script) you also have to define the "return value" tag.

I was suspecting more something like have 1 script and call all the functions you need.

Did i understand it good or is it wrong what i'm doing, It is working that's for sure :)
 

Similar Topics

Hi I'm writing some software in Protool that involves a lot of tags. I've written a script that executes upon 'screen generation' along the...
Replies
6
Views
6,917
Hi! i have write some VBScript that check a plc variable (for example m100.0). When m100.0 raise to 1, the script read up to 50 tags and write...
Replies
8
Views
4,889
I have to generate report in Protool on PC via Trigger from S7 PLC Bit.Like we can generate report by using function Print Report in TAG...
Replies
0
Views
4,029
Hello guys! I have a problem figuring out how to use the VB script functions on a Siemens TP270 to dynamically change the size of a object on the...
Replies
0
Views
4,197
Does anyone know where I can download the Simatic ProTool software? Thanks.
Replies
5
Views
1,522
Back
Top Bottom