![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-10.jpg)
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-11.jpg)
如何在LAD梯形图下插入SCL语言
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-12.jpg)
LAD与SCL编程的对比(SCL语言添加变量也是在块接口列表中)
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-13.jpg)
对于PLCSIM-Advanced无法仿真的常见故障
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-14.jpg)
此处是可以勾选,则一般会很顺利,如果此处也无法勾选的话,一般要在程序块上设个密码保护就可以勾选了,然后再把密码取消就可以了。
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-15.jpg)
SCL程序段的调试
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-16.jpg)
给SCL程序段添加段点调试
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-17.jpg)
断点的调试步骤与高级语言相似。
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-18.jpg)
SCL语言程序块的调用方法,添加一个SCL程序段
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-19.jpg)
在Main组织块中调用SCL块
![](http://doc.cntworld.cn:8080/wp-content/uploads/2023/04/1-20.jpg)
如何在LAD梯形图下插入SCL语言
LAD与SCL编程的对比(SCL语言添加变量也是在块接口列表中)
对于PLCSIM-Advanced无法仿真的常见故障
此处是可以勾选,则一般会很顺利,如果此处也无法勾选的话,一般要在程序块上设个密码保护就可以勾选了,然后再把密码取消就可以了。
SCL程序段的调试
给SCL程序段添加段点调试
断点的调试步骤与高级语言相似。
SCL语言程序块的调用方法,添加一个SCL程序段
在Main组织块中调用SCL块