Hello,
I am trying to figure out the on how the JS library you wrote works but i have on problem with reading and storing a value in javascript. (i am a newbie)
i have the following code:
var PLCValue;
$('#Value').ReadValue({
address: 'MW0'
});
I am using the function .ReadValue to read the value from the MW0 adress. But how can i store the value from this function in variable PLCValue
if i try this and use alert to check the value it says 'undefined'
var PLCValue;
$(PLCValue).ReadValue({
address: 'MW0'
});
alert(PLCValue);