这个项目已经正常运行两三年了,最近工艺有些改动,所以程序也要修改.前两天我修改了两个CFC和增加了两个SFC后编译就出错了.错误信息如下:
Log: Compile
Filter:
Responsible user: Administrator
Compiling changes to the charts as program SIMATIC 400(1)\CPU 416-3 PN/DP\S7 Program(1) on 2012-04-01 14:58:49
Generate block drivers: on
Generating SCL sources: off
Set sampling times from 2012-04-01 14:59:02
Setting sampling times completed: 2012-04-01 14:59:03.
E: FC774 is outside the user range
E: FC776 is outside the user range
Error messages from the SCL compilers during generation of the FC776 block
E: E: L 00054 C 00028: Invalid structured data, data block, or instance access.
E: E: L 00054 C 00028: Invalid variable; period not allowed.
E: E: L 00057 C 00027: Invalid structured data, data block, or instance access.
E: E: L 00057 C 00027: Invalid variable; period not allowed.
E: E: L 00058 C 00026: Invalid structured data, data block, or instance access.
E: E: L 00058 C 00026: Invalid variable; period not allowed.
E: E: L 00065 C 00031: Invalid structured data, data block, or instance access.
E: E: L 00065 C 00031: Invalid variable; period not allowed.
E: E: L 00066 C 00044: Invalid structured data, data block, or instance access.
E: E: L 00066 C 00044: Invalid variable; period not allowed.
E: E: L 00124 C 00028: Invalid structured data, data block, or instance access.
E: E: L 00124 C 00028: Invalid variable; period not allowed.
W: W: Code generator not called because of an error.
W: OP10CFC(2)(1) 80 blocks are inserted in the runtime group in OB35. This can lead to problems during compiling with the SCL compiler.
W: In OB35 there are 362 blocks / runtime groups / SFC charts installed. This can lead to problems when compiling with the SCL compiler.
W: In OB100 there are 221 blocks / runtime groups / SFC charts installed. This can lead to problems when compiling with the SCL compiler.
End of code generator: 2012-04-01 14:59:51
14 error(s) and 4 warning(s) found