Uw opmerkingen

Hello.

Thank you for the information. The key must be a string, i.e. the code must look like this:

var defs = ['One','Two'];
var testObj = {
"Z1_1":[defs, defs],
"Z1_2":[defs, defs],
"Z2_1":[defs, defs]
};

However, we will check the operation of JSON.Stringify and report the result.

Hello.

Save the desired .ttf file to a folder C:\Users\%username%\Documents\iRidium pro documents\Studio\Gallery\Fonts\

Hello.

var count = 0;
var period = 3;
IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)
{
IR.Log(name + " = " + value);
if (count < period)
{
count += 1;
}
else
{
IR.Log("action");
count = 0;
}
});
IR.SubscribeTagChange("System.Time.Seconds");

Hello.

IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)
{
IR.Log("Global Listener Activated: " + name + "\tValue: " + value);
});
IR.SubscribeTagChange("UI.Page 1.Item 2.Value");

The listener is triggered when the Value is changed.

IR.SetGlobalListener(IR.EVENT_GLOBAL_TAG_CHANGE, function(name, value)
{
if ((name == "System.Time.Hour") && (value == 1))
{
if((dag == 1) && ((vari == "Server.Tags.ma1") || (vari == "Server.Tags.uur1")) && (value == "1"))
{
IR.Log("test");
}
}
});

IR.SubscribeTagChange("System.Time.Hour");

Hello.

if((dag == 1) && ((vari == "Server.Tags.ma1") || (vari == "Server.Tags.uur1")) && (value == "1"))
{
IR.Log("test");
}

Hello.

EVENT_WORK was created for i2 Control. EVENT_WORK is left in i3 pro for compatibility, but we don't recommend using it in i3 pro. This event is not recommended for using in real JS tasks, because of not the optimal use of resources. Please use SetInterval or the listeners of tag changes.

The archive is corrupted. Repack it to zip.

Hello.

Default PLC ADS port in twincat 2 is 801. In twincat 3 it's 851.

What field in the driver parameters do you mean? Take a screenshot from iRidium Studio.