// variables that should not need to be edited by user // would like to define these variables as final, but this is // not amenable to script which can run multiple times String plcName = "PLogic:E:36"; String propPosition = "PointerPosition"; String propCellConfig = "EditCellConfig"; String propSaveSettings = "SaveCardSettings"; String valSaveSettings = "Z - save settings to card (partial)"; int addrOutput3 = 35; int addrHigh= 64; int addrLow = 0; // output #3 assigned to be always high mmc.setProperty(plcName, propPosition, addrOutput3); mmc.setProperty(plcName, propCellConfig, addrHigh); // output to be high //mmc.setProperty(plcName, propCellConfig, addrLow); // output to be low // save settings mmc.setProperty(plcName, propSaveSettings, valSaveSettings);