发布于 2012-08-13 18:20:44
6楼
The initial value that you entered for the variable if you do not want the software to use the default value for the specified data type.
When you save a data block for the first time, the initial value is used as the current value if you have not explicitly defined actual values for the variables.
Please note: Unlike with actual values, initial values cannot be downloaded to the CPU.
这是西门子的官方解释!
我个人的理解是,initial value 是编程的时候用的,当实际值为空时,用来给实际值初始化用的,也就是编辑菜单里面有个initialize data block命令的作用 。而当实际值已经存在,那么这个initial value 就失去了价值了,除非这些实际值已经失效,要重新初始化并下载到PLC!最后一句话写的明明白白,这个值根本不会被下载到PLC里,我相信在PLC里面存储的值也不会有initial value 这一列!
If anything can go wrong, it will.