发表于:2004/7/6 19:20:00
#0楼
我现在有这么一个问题:
有这个有个变量:P#L 0.0 BYTE 4
这是一个L区的地址????那我这个功能块里面定义了三种类型
adderss declaration name type initial value
0.0 in ladder1 word w#16#0
0.2 in ladder2 word w#16#0
0.4 in ladder3 word w#16#0
0.6 in ladder4 word w#16#0
0.8 out ladder6 word w#16#0
0.10 out ladder7 word w#16#0
0.12 out ladder8 word w#16#0
0.14 out ladder9 word w#16#0
0.0 temp temp1 int 0
0.2 temp temp2 int 0
0.4 temp temp3 int 0
0.6 temp temp4 int 0
L区是一个局域的,那 P#L 0.0 BYTE 4 指的是什么内容?
不知道有没有这方面的书,可以介绍一下吗?
L区到底是一个什么变量?什么场合要用?
谢谢!!!!!!!!!
有这个有个变量:P#L 0.0 BYTE 4
这是一个L区的地址????那我这个功能块里面定义了三种类型
adderss declaration name type initial value
0.0 in ladder1 word w#16#0
0.2 in ladder2 word w#16#0
0.4 in ladder3 word w#16#0
0.6 in ladder4 word w#16#0
0.8 out ladder6 word w#16#0
0.10 out ladder7 word w#16#0
0.12 out ladder8 word w#16#0
0.14 out ladder9 word w#16#0
0.0 temp temp1 int 0
0.2 temp temp2 int 0
0.4 temp temp3 int 0
0.6 temp temp4 int 0
L区是一个局域的,那 P#L 0.0 BYTE 4 指的是什么内容?
不知道有没有这方面的书,可以介绍一下吗?
L区到底是一个什么变量?什么场合要用?
谢谢!!!!!!!!!
[此贴子已经被作者于2004-7-6 19:24:35编辑过]
我是做工控的,,