I noticed that recently the API had changed again and screwed up my fixture offset routine.
Took me a while to figure out what changed and how to fix it
But this is the basic script in the PLC and just some basic screen additions, just takes time and not giving up.
local var4014 = mc.mcCntlGetPoundVar(inst, 4014);
fixtureNum = (var4014*10)
scr.SetProperty('droFixture', 'Value', tostring(fixtureNum));
if (fixtureNum > 6 and fixtureNum < 127) then
scr.SetProperty('txtFixture', 'Label', 'G54.1 P' .. tostring(fixtureNum-6));
scr.SetProperty('txtFixture', 'Label', 'G' .. tostring(fixtureNum+53));