DT-Europe Posted August 20, 2008 Share Posted August 20, 2008 The ELSE condition in script PLCs is not working anymore. Simple test like this is not working: if (counter<100) counter++; else counter=0; here is error received: /var/ftp/usrflash/plc/PLC1.plc:72:1: error #31: Compiler error #12: else P512=0; Same test was working fine in previous versions of IDE/PPMAC FW. Actual system is: PPMAC Firmware: 0.9 of July 23 2008 Power PMAC IDE Suite 0.5(B1) Development software package for Power PMAC machine controllers. Copyright © Delta Tau Data Systems, Inc. 2006-2007 http://www.deltatau.com [Version: 0.0.0.3] [Date:07/31/2008] Link to comment Share on other sites More sharing options...
bradp Posted August 20, 2008 Share Posted August 20, 2008 [quote=DT-Europe] The ELSE condition in script PLCs is not working anymore. Simple test like this is not working: if (counter<100) counter++; else counter=0; here is error received: /var/ftp/usrflash/plc/PLC1.plc:72:1: error #31: Compiler error #12: else P512=0; Same test was working fine in previous versions of IDE/PPMAC FW. Actual system is: PPMAC Firmware: 0.9 of July 23 2008 Power PMAC IDE Suite 0.5(B1) Development software package for Power PMAC machine controllers. Copyright © Delta Tau Data Systems, Inc. 2006-2007 http://www.deltatau.com [Version: 0.0.0.3] [Date:07/31/2008] [/quote] You are correct. This problem appeared in the July 23rd firmware and is fixed in the August 7th firmware. To upgrade you will also need a new IDE version (which is not released yet). I expect this to be available next week (week 35) on the FTP. Until then there is not much that can be done, Sorry. Brad Link to comment Share on other sites More sharing options...
Recommended Posts