产品
下载
联系我们
网站地图
返回首页

微信扫一扫
在线技术支持

微信扫一扫
访问视频号

Otasuke FAQ's Book
 FAQ
 Is it possible to enable I/O by the Logic Program?
It is possible by using the system variable #Command. Turning ON the 7th bit of #Command enables I/O. Details of each bit are the followings.

Details of each bit of #Command
Bit 0(=1) Stop Controller
Bit 2(=2) Run Controller
Bit 3(=4) Reset Controller
Bit 4(=8) Execute 1 scan
Bit 5(=16) Continue
Bit 6(=32) Pause

Bit 7(=128)

Enable I/0
 
Click on [Program Comment] and invert it, then click on [Insert Rung]. And you can add a rung above START. This is the instruction executed only once before scanning other Logic Programs when Controller starts running.
 
Write 128 in #Command by using MOV on the rung added above START. Then, the 7th bit of the system variable #Command is turned ON before processing other Logic Programs, and it enables I/O without putting a check mark on “Enables I/O” on the software.
Return to Top Close
常见问题 | 个人信息保护 | 关于知识产权 | 使用条款
版权 (C) 2005- Schneider Electric Japan Holdings Ltd.,和普洛菲斯国际贸易(上海)有限公司版权所有,保留所有权利。
沪ICP备05028659号-3