Script in rexroth HMI?

Fiddeflygare

Member
Join Date
Mar 2009
Location
Värnamo, Sweden
Posts
10
Hi is there anyone that has made scripts in Bosch rexroth HMI:s? I am trying to read a boolean variable from the MLD controller and i want to set the variable to true when the script is active wich it is supposed to be during one of the startup screens. Anyone that can help me? I have tried using the help in VI-composer but i can't even get the script to declare the variable. Compared to making scripts in Siemens Wincc this seems to have a different scriptlanguage that i can't figure out.

According to the VI-composer help this is how you should write the declaration of the variable in order to let the script control the controller variable but it does not work.
Code:
public void Execute()
{
bool klocksynk;
klocksynk = Firmware.ControllerVar.GetBool.(Project.ControllerVar._B_Klocksynk);    
}
 

Similar Topics

Hello, I am learning to create shapes and VB Scripts in HMIWeb Display Builder. I wanted to change color of my rounded rectangle by script. I...
Replies
0
Views
104
Hello, I have a quick question. I have been using scripts to change the color of buttons. The reason, I am usually using multiple hmiruntime.tags...
Replies
1
Views
98
Hi All, I'm keep getting double quotes in between selections rather than the beginning and the end. Here's the script and please help to find...
Replies
7
Views
798
Dear guys, I am not a programmer but I can do simple things myself. I'm stuck with the following. if I want to extract a value from my rx3i...
Replies
46
Views
4,761
Hi guys, I'm busy on the migration of old 3G/RS232 modems to 4-5G / Ethernet modems on about 200 pumping stations across the country. To...
Replies
0
Views
435
Back
Top Bottom