828d刀塔子程序里有几个变量 $C_MACPAR[1] 、 $C_T_VALUE 、 $P_GG[47]不知道什么意思,具体怎么使用 ,特别是$C_MACPAR[1] 、 $C_T_VALUE ,先谢谢各位大侠了
最佳答案
$C_MACPAR[n]
Macro variable in Iso2/3 mode programmed in the original program with #<number>
$C_T_VALUE
Value of the programmed, non-split address T for
T function replacement and M function replacement (ISO3 mode).
$P_GG[n]
Read active G function of G function group n The index of the G function is supplied as described in the Programming Guide
Fundamentals, Section "List of G functions/preparatory functions".
(This also matches the index output at the PLC interface when configured accordingly)
Example:
;Check for G55
IF $P_GG[8] == 3 GOTOF LABEL_G55
提问者对于答案的评价:
你辛苦了
原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc187853.html