10. TwinCAT 3编程时,有没有类似TwinCAT 2 {library private}属性这样防止内部变量修改?

1

 

答:

TwinCAT 3{attribute 'hide'}类似这种功能,具体介绍见链接

https://infosys.beckhoff.com/content/1033/tc3_plc_intro/2529654667.html?id=5927203996458905204

Attribute 'TcNoSymbol' / 'tc_no_symbol'

https://infosys.beckhoff.com/content/1033/tc3_plc_intro/3108007179.html?id=5248511275946665101



2018.1.15 冯建鹏 编辑