Tried my first PLC coding tonight. I found the following code in a prior post so I went ahead and pasted that in to the PLC page and hit the Send button. Loaded OK and worked to automatically shut off output 1.
START
tsteq op1[1000] 1
set op1 0
END
I went back to look at the code (which I'd copied and pasted directly from the board post here) and noticed that the formatting was a little strange after it reloaded, it ended up looking like (note the extra space characters):
START
TSTEQ OP1[1000] 1
SET OP1 0
END
Thinking this could be some artifact of the copy and paste and character sets, I edited it to get rid of the white space before and after the commands and hit the Send button again. After a while of the "Sending PLC Instructions..." with increasing dots displayed, up pops:
Error occured whilst sending configuration to WebControl
Further edit attempts failed and even got into stranger states with different error messages popping up even when loading other pages like the System Status. So I tried powering off and on again (which surprisingly reset the PLC code page to default/blank state - no PLC code retained?) and retrying the above (except removing the white space from the code before hitting Send at all) with the same result.
So what am I missing? From other posts it looks like other folks just enter code, Send, test and then edit and re-Send until they finish.
I have a brand new HW 2.2.2 board with v03.02.17f FW. I'm using FF 25.0 on Linux host to access the WebControl web pages.
START
tsteq op1[1000] 1
set op1 0
END
I went back to look at the code (which I'd copied and pasted directly from the board post here) and noticed that the formatting was a little strange after it reloaded, it ended up looking like (note the extra space characters):
START
TSTEQ OP1[1000] 1
SET OP1 0
END
Thinking this could be some artifact of the copy and paste and character sets, I edited it to get rid of the white space before and after the commands and hit the Send button again. After a while of the "Sending PLC Instructions..." with increasing dots displayed, up pops:
Error occured whilst sending configuration to WebControl
Further edit attempts failed and even got into stranger states with different error messages popping up even when loading other pages like the System Status. So I tried powering off and on again (which surprisingly reset the PLC code page to default/blank state - no PLC code retained?) and retrying the above (except removing the white space from the code before hitting Send at all) with the same result.
So what am I missing? From other posts it looks like other folks just enter code, Send, test and then edit and re-Send until they finish.
I have a brand new HW 2.2.2 board with v03.02.17f FW. I'm using FF 25.0 on Linux host to access the WebControl web pages.